Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
34542cae
authored
Jul 17, 2024
by
puhui999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【优化】客服订单卡片样式优化
parent
416df14b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
52 deletions
+17
-52
src/views/mall/promotion/kefu/components/message/OrderMessageItem.vue
+6
-34
src/views/mall/promotion/kefu/components/message/ProductItem.vue
+11
-18
No files found.
src/views/mall/promotion/kefu/components/message/OrderMessageItem.vue
View file @
34542cae
...
...
@@ -13,7 +13,7 @@
<div
:key=
"getMessageContent.id"
class=
"order-list-card-box mt-14px"
>
<div
class=
"order-card-header flex items-center justify-between p-x-20px"
>
<div
class=
"order-no"
>
订单号:
{{
getMessageContent
.
no
}}
</div>
<div
:class=
"formatOrderColor(getMessageContent)"
class=
"order-state font-
2
6"
>
<div
:class=
"formatOrderColor(getMessageContent)"
class=
"order-state font-
1
6"
>
{{
formatOrderStatus
(
getMessageContent
)
}}
</div>
</div>
...
...
@@ -26,7 +26,7 @@
:title=
"item.spuName"
/>
</div>
<div
class=
"pay-box
mt-30px
flex justify-end pr-20px"
>
<div
class=
"pay-box flex justify-end pr-20px"
>
<div
class=
"flex items-center"
>
<div
class=
"discounts-title pay-color"
>
共
{{
getMessageContent
?.
productCount
}}
件商品,总金额:
...
...
@@ -108,23 +108,23 @@ function formatOrderStatus(order: any) {
background-color
:
#e2e2e2
;
.order-card-header
{
height
:
80
px
;
height
:
28
px
;
.order-no
{
font-size
:
2
6px
;
font-size
:
1
6px
;
font-weight
:
500
;
}
}
.pay-box
{
.discounts-title
{
font-size
:
24
px
;
font-size
:
16
px
;
line-height
:
normal
;
color
:
#999999
;
}
.discounts-money
{
font-size
:
24
px
;
font-size
:
16
px
;
line-height
:
normal
;
color
:
#999
;
font-family
:
OPPOSANS
;
...
...
@@ -134,34 +134,6 @@ function formatOrderStatus(order: any) {
color
:
#333
;
}
}
.order-card-footer
{
height
:
100px
;
.more-item-box
{
padding
:
20px
;
.more-item
{
height
:
60px
;
.title
{
font-size
:
26px
;
}
}
}
.more-btn
{
color
:
#999999
;
font-size
:
24px
;
}
.content
{
width
:
154px
;
color
:
#333333
;
font-size
:
26px
;
font-weight
:
500
;
}
}
}
.warning-color
{
...
...
src/views/mall/promotion/kefu/components/message/ProductItem.vue
View file @
34542cae
...
...
@@ -110,33 +110,26 @@ const skuString = computed(() => {
</
script
>
<
style
lang=
"scss"
scoped
>
.score-img
{
width
:
36px
;
height
:
36px
;
margin
:
0
4px
;
}
.ss-order-card-warp
{
max-width
:
60%
;
padding
:
20px
;
border-radius
:
10px
;
background-color
:
#e2e2e2
;
.img-box
{
width
:
164
px
;
height
:
164
px
;
width
:
80
px
;
height
:
80
px
;
border-radius
:
10px
;
overflow
:
hidden
;
.order-img
{
width
:
164
px
;
height
:
164
px
;
width
:
80
px
;
height
:
80
px
;
}
}
.box-right
{
flex
:
1
;
//
width
:
500px
;
//
height
:
164px
;
position
:
relative
;
.tool-box
{
...
...
@@ -147,13 +140,13 @@ const skuString = computed(() => {
}
.title-text
{
font-size
:
28
px
;
font-size
:
16
px
;
font-weight
:
500
;
line-height
:
4
0px
;
line-height
:
2
0px
;
}
.spec-text
{
font-size
:
24
px
;
font-size
:
16
px
;
font-weight
:
400
;
color
:
#999999
;
min-width
:
0
;
...
...
@@ -165,15 +158,15 @@ const skuString = computed(() => {
}
.price-text
{
font-size
:
24
px
;
font-size
:
16
px
;
font-weight
:
500
;
font-family
:
OPPOSANS
;
}
.total-text
{
font-size
:
24
px
;
font-size
:
16
px
;
font-weight
:
400
;
line-height
:
24
px
;
line-height
:
16
px
;
color
:
#999999
;
margin-left
:
8px
;
}
...
...
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