Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
599c4d9e
Commit
599c4d9e
authored
Apr 02, 2024
by
侯体倬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品价格展示优化
parent
19e7be38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
static/nativeComponents/GoodsList/GoodsItem/index.wxml
+3
-3
No files found.
static/nativeComponents/GoodsList/GoodsItem/index.wxml
View file @
599c4d9e
...
@@ -180,12 +180,12 @@
...
@@ -180,12 +180,12 @@
</view>
</view>
</block>
</block>
<view
<view
class="price
flex
"
class="price"
style="color:{{datas.componentData['priceColor']}};font-size:{{datas.componentData['priceFontSize']}}em;"
style="color:{{datas.componentData['priceColor']}};font-size:{{datas.componentData['priceFontSize']}}em;
display:{{datas.componentData['columnNum']<3?'flex':'block'}}
"
wx:elif="{{datas.componentData['priceShow']}}"
wx:elif="{{datas.componentData['priceShow']}}"
>
>
<text>¥{{items!=null ? minPrice : 0}}</text>
<text>¥{{items!=null ? minPrice : 0}}</text>
<text style="font-size:24rpx;color:#999;text-decoration:line-through;" wx:if="{{items!=null&&datas.componentData['priceMarking']&&items['minGoodsSuggestedRetailPrice']&&(minPrice-0<minGoodsSuggestedRetailPrice-0)&&datas.componentData['columnNum']<4}}">¥{{minGoodsSuggestedRetailPrice}}</text>
<text style="font-size:24rpx;color:#999;text-decoration:line-through;
display:{{datas.componentData['columnNum']<3?'inline-block':'block'}}
" wx:if="{{items!=null&&datas.componentData['priceMarking']&&items['minGoodsSuggestedRetailPrice']&&(minPrice-0<minGoodsSuggestedRetailPrice-0)&&datas.componentData['columnNum']<4}}">¥{{minGoodsSuggestedRetailPrice}}</text>
</view>
</view>
<view class="vipPrice2 flex" wx:if="{{datas.componentData.vipPrice}}">
<view class="vipPrice2 flex" wx:if="{{datas.componentData.vipPrice}}">
<view class="left" wx:if="{{items.showVipPrice==true}}">
<view class="left" wx:if="{{items.showVipPrice==true}}">
...
...
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