Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 873855b1
authored
Aug 27, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复工单确认页面样式
1 parent
ed9bb8dc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
15 deletions
assets/css/sprite.scss
assets/images/sprite.png
assets/spritesmith/coupon.png
pages/boutique/tool/components/ConfirmOrder.vue
assets/css/sprite.scss
View file @
873855b
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
873855b
2.61 MB
|
W:
|
H:
2.61 MB
|
W:
|
H:
2-up
Swipe
Onion skin
assets/spritesmith/coupon.png
View file @
873855b
2.93 KB
|
W:
|
H:
7.13 KB
|
W:
|
H:
2-up
Swipe
Onion skin
pages/boutique/tool/components/ConfirmOrder.vue
View file @
873855b
...
@@ -55,20 +55,20 @@
...
@@ -55,20 +55,20 @@
<text
class=
"good-name"
>
商品名称:
{{
replaceItemText
(
item
.
upgradeGoodsName
)
||
''
}}
</text>
<text
class=
"good-name"
>
商品名称:
{{
replaceItemText
(
item
.
upgradeGoodsName
)
||
''
}}
</text>
<text
class=
"good-price"
>
¥
{{
item
.
price
}}
</text>
<text
class=
"good-price"
>
¥
{{
item
.
price
}}
</text>
</view>
</view>
<view
class=
"flex justify-between align-center pt-
6
"
>
<view
class=
"flex justify-between align-center pt-
12
"
>
<text
class=
"good-alias"
>
商品别名:
{{
replaceItemText
(
item
.
upgradeGoodsAlias
)
||
''
}}
</text>
<text
class=
"good-alias"
>
商品别名:
{{
replaceItemText
(
item
.
upgradeGoodsAlias
)
||
''
}}
</text>
</view>
</view>
<view
class=
"flex align-center pt-
12
"
>
<view
class=
"flex align-center pt-
24
"
>
<text
class=
"good-sku"
>
{{
item
.
positionStr
||
item
.
upgradeGoodsTypeName
}}
</text>
<text
class=
"good-sku"
>
{{
item
.
positionStr
||
item
.
upgradeGoodsTypeName
}}
</text>
<text
class=
"good-count"
>
x
{{
item
.
number
}}
</text>
<text
class=
"good-count"
>
x
{{
item
.
number
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"flex align-center py-
8
"
v-if=
"orderInfo"
>
<view
class=
"flex align-center py-
16 coupon
"
v-if=
"orderInfo"
>
<view
class=
"sprite-icon icon-coupon
fs-14
"
></view>
<view
class=
"sprite-icon icon-coupon"
></view>
<text
class=
"fs-
14
coupon-name"
>
{{
orderInfo
.
couponName
||
''
}}{{
orderInfo
.
customerCoupon
.
customerCouponCode
||
''
}}
(
{{
orderInfo
.
customerCoupon
.
employeeName
||
''
}}
)
</text>
<text
class=
"fs-
28
coupon-name"
>
{{
orderInfo
.
couponName
||
''
}}{{
orderInfo
.
customerCoupon
.
customerCouponCode
||
''
}}
(
{{
orderInfo
.
customerCoupon
.
employeeName
||
''
}}
)
</text>
</view>
</view>
<view
class=
"flex justify-end align-center"
v-if=
"orderInfo"
>
<view
class=
"flex justify-end align-center
mt-24
"
v-if=
"orderInfo"
>
<text
class=
"good-total-lable"
>
商品总金额:
</text>
<text
class=
"good-total-lable"
>
商品总金额:
</text>
<text
class=
"good-total-value"
>
<text
class=
"good-total-value"
>
<text
class=
"unit"
>
¥
</text>
<text
class=
"unit"
>
¥
</text>
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<view
class=
"box-shell"
>
<view
class=
"box-shell"
>
<view
class=
"box-shell-title"
>
工单信息
</view>
<view
class=
"box-shell-title"
>
工单信息
</view>
<view
class=
"order-info pt-16"
>
<view
class=
"order-info pt-16"
>
<view
v-for=
"(item, index) in orderObj"
:key=
"index"
class=
"flex align-center pt-
8
"
>
<view
v-for=
"(item, index) in orderObj"
:key=
"index"
class=
"flex align-center pt-
16
"
>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
v-if=
"item.key == 'status'"
>
<view
v-if=
"item.key == 'status'"
>
<view
class=
"value"
:style=
"
{ color: status[orderInfo.status].color || '' }">
<view
class=
"value"
:style=
"
{ color: status[orderInfo.status].color || '' }">
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
<view
class=
"box-shell"
>
<view
class=
"box-shell"
>
<view
class=
"box-shell-title"
>
客户信息
</view>
<view
class=
"box-shell-title"
>
客户信息
</view>
<view
class=
"order-info pt-16"
>
<view
class=
"order-info pt-16"
>
<view
class=
"flex align-center pt-
8
"
v-for=
"(item, index) in customerObj"
:key=
"index"
>
<view
class=
"flex align-center pt-
16
"
v-for=
"(item, index) in customerObj"
:key=
"index"
>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"value"
:style=
"
{ color: item.color || '#333' }">
<view
class=
"value"
:style=
"
{ color: item.color || '#333' }">
<view
v-if=
"item.arr"
>
<view
v-if=
"item.arr"
>
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
</PublishPopup>
</PublishPopup>
<PublishPopup
ref=
"calendarPopup"
popupClass=
"calendarPopup"
:showClose=
"false"
:showTitle=
"false"
@
confirm=
"confirmCalendar"
>
<PublishPopup
ref=
"calendarPopup"
popupClass=
"calendarPopup"
:showClose=
"false"
:showTitle=
"false"
@
confirm=
"confirmCalendar"
>
<
template
#
content
>
<
template
#
content
>
<uni-calendar
class=
"calendar"
:showMonth=
"false"
@
change=
"calendarChange"
/>
<uni-calendar
class=
"calendar"
:showMonth=
"false"
:endDate=
"endDate"
@
change=
"calendarChange"
/>
</
template
>
</
template
>
</PublishPopup>
</PublishPopup>
<order-popup
ref=
"openDate"
popupType=
"13"
@
onConfirm=
"confirmDate"
/>
<order-popup
ref=
"openDate"
popupType=
"13"
@
onConfirm=
"confirmDate"
/>
...
@@ -231,7 +231,7 @@ export default {
...
@@ -231,7 +231,7 @@ export default {
this
.
getPositionList
()
this
.
getPositionList
()
// "this.transmissionOfData.orderCode"
// "this.transmissionOfData.orderCode"
this
.
getDetail
(
this
.
transmissionOfData
.
orderCode
)
this
.
getDetail
(
this
.
transmissionOfData
.
orderCode
)
this
.
successDate
=
dayjs
().
format
(
'YYYY-MM-DD
00:00
:00'
)
this
.
successDate
=
dayjs
().
format
(
'YYYY-MM-DD
HH:mm
:00'
)
}
}
},
},
immediate
:
true
immediate
:
true
...
@@ -247,7 +247,8 @@ export default {
...
@@ -247,7 +247,8 @@ export default {
selectDate
:
null
,
selectDate
:
null
,
time
:
null
,
time
:
null
,
wxqrcode
:
''
,
wxqrcode
:
''
,
posQrCode
:
''
posQrCode
:
''
,
endDate
:
dayjs
().
format
(
'YYYY-MM-DD'
)
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -389,7 +390,7 @@ export default {
...
@@ -389,7 +390,7 @@ export default {
},
},
confirmDate
(
date
)
{
confirmDate
(
date
)
{
const
{
chooseContent
}
=
date
const
{
chooseContent
}
=
date
this
.
successDate
=
dayjs
(
chooseContent
).
format
(
'YYYY-MM-DD HH:mm:
ss
'
)
this
.
successDate
=
dayjs
(
chooseContent
).
format
(
'YYYY-MM-DD HH:mm:
00
'
)
console
.
log
(
this
.
successDate
)
console
.
log
(
this
.
successDate
)
},
},
calendarChange
(
date
)
{
calendarChange
(
date
)
{
...
@@ -670,12 +671,18 @@ export default {
...
@@ -670,12 +671,18 @@ export default {
.pt-12
{
.pt-12
{
padding-top
:
toRpx
(
12
);
padding-top
:
toRpx
(
12
);
}
}
.pt-24
{
padding-top
:
toRpx
(
24
);
}
.fs-14
{
.fs-14
{
font-size
:
toRpx
(
14
);
font-size
:
toRpx
(
14
);
}
}
.fs-32
{
.fs-32
{
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
32
);
}
}
.fs-28
{
font-size
:
toRpx
(
28
);
}
.fs-26
{
.fs-26
{
font-size
:
toRpx
(
26
);
font-size
:
toRpx
(
26
);
}
}
...
@@ -691,8 +698,11 @@ export default {
...
@@ -691,8 +698,11 @@ export default {
.mt-16
{
.mt-16
{
margin-top
:
toRpx
(
16
);
margin-top
:
toRpx
(
16
);
}
}
.py-8
{
.mt-24
{
padding
:
toRpx
(
8
)
0
;
margin-top
:
toRpx
(
24
);
}
.py-16
{
padding
:
toRpx
(
16
)
0
;
}
}
.date-box
{
.date-box
{
display
:
flex
;
display
:
flex
;
...
@@ -830,6 +840,7 @@ export default {
...
@@ -830,6 +840,7 @@ export default {
color
:
#999999
;
color
:
#999999
;
font-size
:
toRpx
(
24
);
font-size
:
toRpx
(
24
);
font-weight
:
400
;
font-weight
:
400
;
margin-right
:
toRpx
(
24
);
}
}
.good-count
{
.good-count
{
color
:
#999999
;
color
:
#999999
;
...
@@ -838,12 +849,16 @@ export default {
...
@@ -838,12 +849,16 @@ export default {
}
}
}
}
}
}
.coupon
{
border-bottom
:
1px
solid
#f7f7f6
;
.coupon-name
{
.coupon-name
{
color
:
#292d33
;
color
:
#292d33
;
font-size
:
toRpx
(
24
);
font-size
:
toRpx
(
28
);
font-weight
:
400
;
font-weight
:
400
;
margin-left
:
toRpx
(
8
);
margin-left
:
toRpx
(
8
);
}
}
}
.good-total-lable
{
.good-total-lable
{
color
:
#757980
;
color
:
#757980
;
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
...
@@ -869,6 +884,8 @@ export default {
...
@@ -869,6 +884,8 @@ export default {
color
:
#222222
;
color
:
#222222
;
font-size
:
toRpx
(
26
);
font-size
:
toRpx
(
26
);
font-weight
:
400
;
font-weight
:
400
;
white-space
:
wrap
;
flex
:
1
;
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment