Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
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
c7d8800f
Commit
c7d8800f
authored
Apr 25, 2020
by
zhenghaiyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h
parent
63a8cb84
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
brandDetail.wxml
pages/brandDetail/brandDetail.wxml
+1
-1
category.wxml
pages/category/category.wxml
+1
-1
category.wxss
pages/category/category.wxss
+10
-0
goods.wxml
pages/goods/goods.wxml
+1
-1
No files found.
pages/brandDetail/brandDetail.wxml
View file @
c7d8800f
...
...
@@ -21,7 +21,7 @@
<navigator class="item {{iindex % 2 == 0 ? 'item-b' : ''}}" url="../goods/goods?id={{iitem.id}}">
<image class="img" src="{{iitem.picUrl}}" background-size="cover"></image>
<text class="name">{{iitem.name}}</text>
<text class="price">¥{{iitem.retailPrice}}</text>
<text class="price">¥{{iitem.retailPrice}}
<text class="score" wx:if="{{iitem.useScores}}">+{{iitem.useScores}}EB</text>
</text>
</navigator>
</block>
</view>
...
...
pages/category/category.wxml
View file @
c7d8800f
...
...
@@ -17,7 +17,7 @@
<navigator class="item {{(iindex + 1) % 2 == 0 ? 'item-b' : ''}}" url="/pages/goods/goods?id={{iitem.id}}" wx:for="{{goodsList}}" wx:key="id" wx:for-item="iitem" wx:for-index="iindex">
<image class="img" src="{{iitem.picUrl}}" background-size="cover"></image>
<text class="name">{{iitem.name}}</text>
<text class="price">¥{{iitem.retailPrice}}</text>
<text class="price">¥{{iitem.retailPrice}}
<text class="score" wx:if="{{iitem.useScores}}">+{{iitem.useScores}}EB</text>
</text>
</navigator>
</view>
</view>
...
...
pages/category/category.wxss
View file @
c7d8800f
...
...
@@ -128,3 +128,13 @@
font-weight:400;
color:#FF1B40;
}
.score {
width: 365.625rpx;
height: 30rpx;
text-align: center;
font-size: 22rpx;
font-family:PingFangSC-Regular;
font-weight:400;
color:#FF1B40;
}
pages/goods/goods.wxml
View file @
c7d8800f
...
...
@@ -127,7 +127,7 @@
<navigator url="/pages/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>
...
...
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