|
@@ -26,14 +26,18 @@
|
|
|
</u-swiper>
|
|
|
<view class="product-info view-wrap">
|
|
|
<view class="red">
|
|
|
- <view class="u-flex">
|
|
|
- <text class="price">¥ <text class="price-num">{{details.vipPrice}}</text></text>
|
|
|
- <text class="price-type" style="margin-left: 20rpx;">会员价</text>
|
|
|
+ <view class="">
|
|
|
+
|
|
|
<!-- <text class="vip-icon">VIP</text> -->
|
|
|
<view class="exchangeCredit u-flex" v-if="details.isCredit==1">
|
|
|
+ <text class="price">¥ <text class="price-num">{{details.exchangeType==0?0:details.salePrice}}</text></text>
|
|
|
+{{details.exchangeCredit}}
|
|
|
<text style="font-size: 30rpx;">积分</text>
|
|
|
</view>
|
|
|
+ <view class="u-flex" v-else>
|
|
|
+ <text class="price">¥ <text class="price-num">{{details.vipPrice}}</text></text>
|
|
|
+ <text class="price-type" style="margin-left: 20rpx;">会员价</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<!-- <view class="" v-else>
|
|
|
<text v-if="details.isCredit==1&&details.exchangeType==0" class="price">¥ <text class="price-num">0</text></text>
|
|
@@ -42,7 +46,7 @@
|
|
|
</view> -->
|
|
|
</view>
|
|
|
<view class="u-flex u-row-between gray">
|
|
|
- <text class="line-through">¥ <text class="">{{details.salePrice}}</text></text>
|
|
|
+ <text class="line-through" v-if="details.isCredit!=1">¥ <text class="">{{details.salePrice}}</text></text>
|
|
|
<text class="">库存 {{details.stock}}</text>
|
|
|
</view>
|
|
|
<view class="name">{{details.goodsName}}</view>
|