Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wx-shopping-mall
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
engine
wx-shopping-mall
Commits
63a8cb84
Commit
63a8cb84
authored
Apr 24, 2020
by
zhenghaiyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品添加eb
parent
c57fd418
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
index.wxml
pages/index/index.wxml
+2
-2
index.wxss
pages/index/index.wxss
+9
-0
No files found.
pages/index/index.wxml
View file @
63a8cb84
...
...
@@ -40,7 +40,7 @@
<view class="text">
<text class="name">{{item.name}}</text>
<text class="desc" wx:if="{{index<1}}">{{item.brief}}</text>
<text class="price">¥{{item.retailPrice}}</text>
<text class="price">¥{{item.retailPrice}}
<text class="score" wx:if="{{item.useScores}}">+{{item.useScores}}EB</text>
</text>
</view>
</view>
</navigator>
...
...
@@ -65,7 +65,7 @@
<navigator hover-class="none" url="../goods/goods?id={{item.id}}">
<image class="img" src="{{item.picUrl}}" background-size="cover"></image>
<text class="name">{{item.name}}</text>
<text class="price">¥{{item.retailPrice}}</text>
<text class="price">¥{{item.retailPrice}}
<text class="score" wx:if="{{item.useScores}}">+{{item.useScores}}EB</text>
</text>
</navigator>
</view>
</view>
...
...
pages/index/index.wxss
View file @
63a8cb84
...
...
@@ -668,6 +668,15 @@ page {
margin-top: 10rpx;
}
.score {
width:377rpx;
font-size:20rpx;
font-family:PingFangSC-Regular;
font-weight:400;
color:#FF1B40;
margin-top: 10rpx;
}
.a-popular .b .a-popular-small .price {
width: 100%;
text-align: center;
...
...
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