Commit 63a8cb84 authored by zhenghaiyuan's avatar zhenghaiyuan

商品添加eb

parent c57fd418
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<view class="text"> <view class="text">
<text class="name">{{item.name}}</text> <text class="name">{{item.name}}</text>
<text class="desc" wx:if="{{index<1}}">{{item.brief}}</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>
</view> </view>
</navigator> </navigator>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<navigator hover-class="none" url="../goods/goods?id={{item.id}}"> <navigator hover-class="none" url="../goods/goods?id={{item.id}}">
<image class="img" src="{{item.picUrl}}" background-size="cover"></image> <image class="img" src="{{item.picUrl}}" background-size="cover"></image>
<text class="name">{{item.name}}</text> <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> </navigator>
</view> </view>
</view> </view>
......
...@@ -668,6 +668,15 @@ page { ...@@ -668,6 +668,15 @@ page {
margin-top: 10rpx; 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 { .a-popular .b .a-popular-small .price {
width: 100%; width: 100%;
text-align: center; text-align: center;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment