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 12cd2ce7
authored
Apr 11, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
历史订单添加性别
1 parent
3f422606
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
pages/detail/components/Media_6.vue
pages/detail/components/Media_6.vue
View file @
12cd2ce
...
@@ -11,7 +11,9 @@
...
@@ -11,7 +11,9 @@
<view
class=
"card-list"
>
<view
class=
"card-list"
>
<
template
v-if=
"historyList.length > 0"
>
<
template
v-if=
"historyList.length > 0"
>
<view
class=
"card-item"
v-for=
"item in historyList"
:key=
"item.id"
>
<view
class=
"card-item"
v-for=
"item in historyList"
:key=
"item.id"
>
<view
class=
"name"
>
{{
nameHide
(
item
.
customerName
)
}}
</view>
<view
class=
"name"
>
{{
nameHide
(
item
.
customerName
)
}}
<view
:class=
"['sex-avatar sprite-icon',`icon-$
{sexType[item.ownerGender]}`]">
</view>
</view>
<view
class=
"goods-name"
>
{{
item
.
goodsName
}}
</view>
<view
class=
"goods-name"
>
{{
item
.
goodsName
}}
</view>
<view
class=
"card-info"
<view
class=
"card-info"
><view>
车架号
</view
><view>
车架号
</view
...
@@ -92,6 +94,10 @@ export default {
...
@@ -92,6 +94,10 @@ export default {
1
:
'icon-weixin'
,
1
:
'icon-weixin'
,
2
:
'icon-shop'
2
:
'icon-shop'
},
},
sexType
:
{
'男'
:
'icon-male'
,
'女'
:
'icon-female'
},
goodsName
:
'M5'
,
goodsName
:
'M5'
,
shopMerchantId
:
''
,
shopMerchantId
:
''
,
currentPage
:
1
,
currentPage
:
1
,
...
@@ -202,6 +208,7 @@ export default {
...
@@ -202,6 +208,7 @@ export default {
margin
:
0
72
rpx
;
margin
:
0
72
rpx
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
664
rpx
);
grid-template-columns
:
repeat
(
3
,
664
rpx
);
grid-template-rows
:
0
fr
;
justify-content
:
center
;
justify-content
:
center
;
grid-gap
:
32
rpx
;
grid-gap
:
32
rpx
;
min-height
:
calc
(
100vh
-
368
rpx
);
min-height
:
calc
(
100vh
-
368
rpx
);
...
@@ -215,10 +222,17 @@ export default {
...
@@ -215,10 +222,17 @@ export default {
border-radius
:
16
rpx
;
border-radius
:
16
rpx
;
height
:
448
rpx
;
height
:
448
rpx
;
.name
{
.name
{
display
:
flex
;
align-items
:
center
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32
rpx
;
font-size
:
32
rpx
;
color
:
#1a1a1a
;
color
:
#1a1a1a
;
margin-bottom
:
16
rpx
;
margin-bottom
:
16
rpx
;
.sex-avatar
{
width
:
32
rpx
;
height
:
32
rpx
;
margin-left
:
8
rpx
;
}
}
}
.goods-name
{
.goods-name
{
margin-bottom
:
16
rpx
;
margin-bottom
:
16
rpx
;
...
...
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