Commit f170f85fd61d14e22a075b5cf4b3c057a7ad24f1

Authored by 后端开发-许程
1 parent 6535bd14

商品详情的价格修改

pages/goods/goodsInfo/goodsInfo.wxml
... ... @@ -235,6 +235,9 @@
235 235 <view class="fs24 white view card-name ellipsis-1">{{card_name}}</view>
236 236 </view>
237 237 <text class="rel yuan">¥</text>{{filters.toFix(data[card_field],2)}}
  238 + <view class='yj' style="top:35rpx">
  239 + <text>原价:¥{{data.market_price}}</text>
  240 + </view>
238 241 </block>
239 242 <block wx:else>
240 243 <text class="rel yuan">¥</text>{{ filters.toFix(data.shop_price,2)}}
... ... @@ -255,7 +258,10 @@
255 258 <image class="img" src="{{iurl}}/miniapp/images/userinfo/userinfo/privilege_t.png"></image>
256 259 <view class="fs24 white view card-name ellipsis-1">{{g_filters.get_card_price(data,card_list,1)}}</view>
257 260 </view>
258   - <view class="fs32 xc-black3 ai_and"><text class="fs26">¥</text>{{g_filters.get_card_price(data,card_list,0)}}</view>
  261 + <view class="fs32 xc-black3 ai_and carde_frame">
  262 + <text class="fs26">
  263 + ¥</text>{{g_filters.get_card_price(data,card_list,0)}}
  264 + </view>
259 265 </view>
260 266  
261 267  
... ...
pages/goods/goodsInfo/goodsInfo.wxss
... ... @@ -2298,4 +2298,8 @@ right:17rpx; top:55rpx;
2298 2298 transform: rotate(45deg);display:inline-block;
2299 2299 margin-bottom:3rpx;
2300 2300  
  2301 +}
  2302 +.carde_frame{
  2303 + height: 50rpx;
  2304 + line-height: 18rpx
2301 2305 }
2302 2306 \ No newline at end of file
... ...