修复VIP折扣价销售价的字段错误问题

This commit is contained in:
唐明明
2021-11-10 17:45:08 +08:00
parent c1c0d720f7
commit c11511e1fa
2 changed files with 7 additions and 9 deletions

View File

@@ -20,7 +20,6 @@
<view class="canPop-btn" @click="canSubmit">提交</view> <view class="canPop-btn" @click="canSubmit">提交</view>
</block> </block>
</view> </view>
<swiper class="vip-container" previous-margin="55rpx" next-margin="55rpx" :current="tabsIndex" circular @change="swiperChange"> <swiper class="vip-container" previous-margin="55rpx" next-margin="55rpx" :current="tabsIndex" circular @change="swiperChange">
<swiper-item class="swiper-item" v-for="(item, index) in identitiesData" :key="index"> <swiper-item class="swiper-item" v-for="(item, index) in identitiesData" :key="index">
<view class="vip-item"> <view class="vip-item">
@@ -55,12 +54,12 @@
<view class="privilege-text"> <view class="privilege-text">
<view class="privilege-name">开通价格</view> <view class="privilege-name">开通价格</view>
<block v-if="identitiesData[tabsIndex].is_activity"> <block v-if="identitiesData[tabsIndex].is_activity">
<view class="privilege-price">折扣价{{identitiesData[tabsIndex].cost}}</view> <view class="privilege-price">折扣价{{identitiesData[tabsIndex].price}}</view>
<view class="privilege-price lineation">日常价{{identitiesData[tabsIndex].price}}</view> <view class="privilege-price lineation">日常价{{identitiesData[tabsIndex].cost}}</view>
<view class="privilege-label">活动名额剩余{{identitiesData[tabsIndex].count.residue}}/{{identitiesData[tabsIndex].count.stock}}</view> <view class="privilege-label">活动名额剩余{{identitiesData[tabsIndex].count.residue}}/{{identitiesData[tabsIndex].count.stock}}</view>
</block> </block>
<block v-else> <block v-else>
<view class="privilege-price">{{identitiesData[tabsIndex].price}}</view> <view class="privilege-price">{{identitiesData[tabsIndex].cost}}</view>
</block> </block>
</view> </view>
</view> </view>
@@ -171,7 +170,6 @@
this.payAppConfig(res.tapIndex) this.payAppConfig(res.tapIndex)
} }
}) })
//
} else { } else {
this.canForm = true this.canForm = true
} }

File diff suppressed because one or more lines are too long