Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
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
viitto
mallapp
Commits
56791fd4
Commit
56791fd4
authored
Aug 05, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2f0239df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
1 deletion
+56
-1
goods.vue
pages/goods/goods.vue
+56
-1
No files found.
pages/goods/goods.vue
View file @
56791fd4
...
...
@@ -252,7 +252,21 @@
<view
class=
"label"
>
限购
</view>
<view
class=
"content"
>
{{ g.goods_marketing.limit }}
</view>
</view>
<!-- 优惠 -->
<view
class=
"goods-Discount"
v-if=
"g.goodsPreferentialList.length>0"
>
<view
class=
"discount-left"
>
优惠
</view>
<view
class=
"discount-right"
>
<view
v-for=
"(item,index) in g.goodsPreferentialList"
:key=
"index"
class=
"discount-item"
>
<view
class=
"discount-type"
>
{{item.PriceDiscountTypeStr.slice(0,2)}}
</view>
{{item.PriceDiscountTypeStr}}{{item.PriceMoney}}%
</view>
</view>
</view>
<view
class=
"sku-box u-skeleton-rect"
v-if=
"comments.length == 0 && setting.is_comment == 1&&setting.is_show_korea==0"
>
<view
class=
"label"
>
暂无评论信息
</view>
</view>
...
...
@@ -1187,4 +1201,45 @@ export default {
font-size
:
12px
;
margin
:
0
10px
20px
0
;
}
.goods-Discount
{
background-color
:
#FFFFFF
;
box-sizing
:
border-box
;
padding
:
15
rpx
30
rpx
;
display
:
flex
;
}
.discount-left
{
width
:
80
rpx
;
font-size
:
26
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
800
;
color
:
#111111
;
box-sizing
:
border-box
;
padding-top
:
15
rpx
;
}
.discount-right
{
flex-grow
:
1
;
}
.discount-item
{
font-size
:
22
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#111111
;
display
:
flex
;
align-items
:
center
;
margin-top
:
15
rpx
;
margin-bottom
:
15
rpx
;
}
.discount-type
{
width
:
52
rpx
;
box-sizing
:
border-box
;
padding
:
0
6
rpx
;
text-align
:
center
;
background-color
:
#C5D6D3
;
border-radius
:
4
rpx
;
font-size
:
20
rpx
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
color
:
#40766E
;
margin-right
:
20
rpx
;
}
</
style
>
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