Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
f09909c6
Commit
f09909c6
authored
Aug 08, 2024
by
石建新(贵阳日报)
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.platform.xinhuaapp.com/pengjiani/groupPurchase-miniapp
parents
612e75b5
3a27604a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
55 deletions
+67
-55
index.vue
src/pages/assistingAgriculture/index/index.vue
+3
-3
detail.vue
src/pages/assistingAgriculture/order/detail.vue
+8
-7
remark.vue
src/pages/order/remark.vue
+56
-45
No files found.
src/pages/assistingAgriculture/index/index.vue
View file @
f09909c6
...
@@ -277,8 +277,8 @@ page {
...
@@ -277,8 +277,8 @@ page {
color
:
#fa5151
;
color
:
#fa5151
;
}
}
::v-deep
.icon
{
::v-deep
.icon
{
width
:
40
rpx
;
width
:
40rpx
;
height
:
40
rpx
;
height
:
40rpx
;
margin-left
:
40
rpx
;
margin-left
:
40rpx
;
}
}
</
style
>
</
style
>
src/pages/assistingAgriculture/order/detail.vue
View file @
f09909c6
...
@@ -266,15 +266,16 @@ page {
...
@@ -266,15 +266,16 @@ page {
}
}
}
}
}
}
}
.product
{
.product
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
background-color
:
#fff
;
margin-top
:
10rpx
;
.header
{
.header
{
display
:
flex
;
display
:
flex
;
}
}
}
}
}
}
}
...
...
src/pages/order/remark.vue
View file @
f09909c6
...
@@ -3,54 +3,56 @@
...
@@ -3,54 +3,56 @@
<Header
title=
"评论"
></Header>
<Header
title=
"评论"
></Header>
<view
class=
"content"
>
<view
class=
"content"
>
<wd-form
ref=
"form"
:model=
"formdata"
:rules=
"rules"
class=
"remake"
>
<wd-form
ref=
"form"
:model=
"formdata"
:rules=
"rules"
class=
"remake"
>
<text
class=
"textarea"
>
{{
shopname
}}
</text>
<wd-cell-group>
<view
class=
"itemPicker"
>
<text
class=
"textarea"
>
{{
shopname
}}
</text>
<view
class=
"item01"
prop=
"merchantServices"
>
<view
class=
"itemPicker"
>
<text
class=
"label"
>
评分
</text>
<view
class=
"item01"
prop=
"merchantServices"
>
<!-- 评分 -->
<text
class=
"label"
>
评分
</text>
<wd-rate
<!-- 评分 -->
v-model=
"formdata.merchantServices"
<wd-rate
active-color=
"#ff0000"
v-model=
"formdata.merchantServices"
size=
"50rpx"
active-color=
"#ff0000"
space=
"10px"
size=
"50rpx"
@
change=
"handlemerchant"
space=
"10px"
@
change=
"handlemerchant"
/>
</view>
<view
class=
"item02"
>
<text>
{{
merList
[
formdata
.
merchantServices
]
}}
</text>
</view>
</view>
<!-- 内容描述 -->
<view
prop=
"evaluation"
>
<wd-textarea
v-model=
"formdata.evaluation"
placeholder=
"亲,分享您的看法,给其他人一个参考哦!"
/>
/>
</view>
</view>
<view
class=
"item02"
>
<wd-cell
title-width=
"0px"
></wd-cell>
<text>
{{
merList
[
formdata
.
merchantServices
]
}}
</text>
<text
class=
"textarea"
>
上传图片/视频
</text>
<!-- 图片上传 -->
<view
class=
"wdUpload"
prop=
"images"
>
<wd-upload
multiple
:action=
"action"
@
change=
"handleFile"
:file-list=
"formdata.images"
:before-remove=
"beforeRemove"
:header=
"headers"
></wd-upload>
</view>
</view>
</view>
<!-- 内容描述 -->
<view
prop=
"evaluation"
>
<wd-textarea
v-model=
"formdata.evaluation"
placeholder=
"亲,分享您的看法,给其他人一个参考哦!"
/>
</view>
<text
class=
"textarea"
>
上传图片/视频
</text>
<!-- 图片上传 -->
<view
class=
"wdUpload"
prop=
"images"
>
<!-- 匿名评价 -->
<wd-upload
<wd-cell
title=
"匿名评价"
prop=
"isAnonymous"
class=
"itemSwichval"
>
multiple
<wd-switch
:action=
"action"
size=
"48rpx"
@
change=
"handleFile"
active-color=
"#EC1B1B"
:file-list=
"formdata.images"
v-model=
"formdata.isAnonymous"
:before-remove=
"beforeRemove"
active-value=
"1"
:header=
"headers"
inactive-value=
"0"
></wd-upload>
/>
</view>
</wd-cell>
<!-- 匿名评价 -->
</wd-cell-group>
<wd-cell
title=
"匿名评价"
prop=
"isAnonymous"
class=
"itemSwichval"
>
<wd-switch
size=
"48rpx"
active-color=
"#EC1B1B"
v-model=
"formdata.isAnonymous"
active-value=
"1"
inactive-value=
"0"
/>
</wd-cell>
</wd-form>
</wd-form>
<wd-button
type=
"error"
block
@
click=
"handleSubmit"
>
发布
</wd-button>
<wd-button
type=
"error"
block
@
click=
"handleSubmit"
>
发布
</wd-button>
...
@@ -108,7 +110,7 @@ const rules = {
...
@@ -108,7 +110,7 @@ const rules = {
// images: [
// images: [
// {
// {
// required: true,
// required: true,
// message: '请上传图片',
// message: '请上传图片
1
',
// validator: (value: any) => {
// validator: (value: any) => {
// if (value.length) {
// if (value.length) {
// console.log('上传成功');
// console.log('上传成功');
...
@@ -309,6 +311,15 @@ const handleSubmit = async () => {
...
@@ -309,6 +311,15 @@ const handleSubmit = async () => {
:deep
(
.wd-upload__status-content
)
{
:deep
(
.wd-upload__status-content
)
{
background-color
:
#000
;
background-color
:
#000
;
}
}
:deep
(
.wd-upload
)
{
gap
:
20rpx
;
.wd-upload__preview
{
width
:
calc
((
100%
-
60rpx
)
/
4
);
margin
:
0
;
border-radius
:
12rpx
;
overflow
:
hidden
;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment