Commit 1a4526039acffc6628496191a5ba369b456c7ee2

Authored by abson
1 parent 256b10d2

分销商品图片显示

pages/goods/goodsInfo/goodsInfo.wxml
... ... @@ -274,6 +274,7 @@
274 274 </view>
275 275 </view>
276 276 <view class="goods-title">
  277 + <image wx:if="{{data.commission > 0}}" style="width: 25rpx;height: 25rpx;margin-right: 6rpx;" src="https://mshop-lib.yolipai.net/template/mobile/new/static/images/addmoney.png"></image>
277 278 <view class="goods-name elli">{{data.goods_name}}</view>
278 279 </view>
279 280 <view class="goods-num">
... ... @@ -391,6 +392,7 @@
391 392 <!-- 许程商品名字 -->
392 393 <view wx:if="{{prom_type!=1 && prom_type!=2 }}">
393 394 <view class="goods-title">
  395 + <image wx:if="{{data.commission > 0}}" style="width: 25rpx;height: 25rpx;margin-right: 6rpx;" src="https://mshop-lib.yolipai.net/template/mobile/new/static/images/addmoney.png"></image>
394 396 <view class="goods-name elli">{{data.goods_name}}</view>
395 397 </view>
396 398 </view>
... ...
pages/goods/goodsInfo/goodsInfo.wxss
... ... @@ -127,6 +127,8 @@ image {
127 127 .goods-title {
128 128 display: flex;
129 129 justify-content: space-between;
  130 + align-items: center;
  131 + vertical-align: middle;
130 132 /* overflow: hidden; */
131 133 /* height: 108rpx; */
132 134 }
... ...