Commit 8a6b2ec47d178b56efb303c2d2382855311fcebf
1 parent
173c95ad
普通商品详情的价格
Showing
1 changed file
with
9 additions
and
7 deletions
pages/goods/goodsInfo/goodsInfo.wxml
| ... | ... | @@ -295,6 +295,8 @@ |
| 295 | 295 | <!-- 不是拼团,不是积分购 --> |
| 296 | 296 | <block wx:if="{{prom_type!=6 && prom_type!=4}}"> |
| 297 | 297 | |
| 298 | + | |
| 299 | + | |
| 298 | 300 | <view class="goods-price"> |
| 299 | 301 | |
| 300 | 302 | <view class="flex jc_sb ai_c"> |
| ... | ... | @@ -308,16 +310,16 @@ |
| 308 | 310 | </view> |
| 309 | 311 | <text class="rel yuan">¥</text> |
| 310 | 312 | {{filters.toFix(data[card_field],2)}} |
| 313 | + </block> | |
| 311 | 314 | |
| 312 | - <view wx:if="{{is_retail_price}}" class='yj' style="top:35rpx"> | |
| 313 | - <text>零售价:¥{{filters.toFix(data.market_price,2)}}</text> | |
| 314 | - </view> | |
| 315 | -<!-- <view wx:else class='yj' style="top:35rpx">--> | |
| 316 | -<!-- <text>¥{{filters.toFix(data.shop_price,2)}}</text>--> | |
| 317 | -<!-- </view>--> | |
| 318 | - | |
| 315 | + <block wx:else > | |
| 316 | + <text class="rel yuan">¥</text>{{filters.toFix(data.shop_price,2)}} | |
| 319 | 317 | </block> |
| 320 | 318 | |
| 319 | + <view wx:if="{{is_retail_price}}" class='yj' style="margin-left:10rpx"> | |
| 320 | + <text>零售价:¥{{filters.toFix(data.market_price,2)}}</text> | |
| 321 | + </view> | |
| 322 | + | |
| 321 | 323 | </view> |
| 322 | 324 | </view> |
| 323 | 325 | <!-- 这个是分享按钮 --> | ... | ... |