调整vip规则

This commit is contained in:
liuyuan
2025-03-13 11:28:13 +08:00
parent c7875bae17
commit cd31512ac8
11 changed files with 38 additions and 598 deletions

View File

@@ -50,8 +50,7 @@
<view style="
padding: 20rpx; overflow: hidden;
">
<view class="chong_zhi boxShadow box_fillet vip_box"
@click="onPageJump('/pages/mine/vip/index')">
<view class="chong_zhi boxShadow box_fillet vip_box">
<view class="noVip">
<view style="display: flex; align-items: center;">
<view class="zhanghu PM_font" style="text-align: left">
@@ -67,7 +66,7 @@
</view>
<view v-else class="vip_null" style=" padding-left: 30rpx;">办理VIP畅享更多专属权益</view>
</view>
<view class="vip_btn"><button v-if="vipList.length==0">办理</button><button v-else>续费</button></view>
<view class="vip_btn" @click="onPageJump('/pages/mine/vip/index')"><button v-if="vipList.length==0">办理</button><button v-else>续费</button></view>
</view>
</view>
<!-- end -->
@@ -974,11 +973,11 @@
margin-right: 8rpx;
}
.vip_type_item_len{
padding: 0 8rpx;
font-size: 14rpx;
padding: 0 7rpx;
font-size: 13rpx;
line-height: 34rpx;
height: 34rpx;
margin-right: 5rpx;
margin-right: 4rpx;
}
.vip_type_item:last-child{
margin-right: 0;

View File

@@ -20,9 +20,10 @@
<text class="font_bold">课程价格</text>
<view class="vip_qx_v">一年<text class="vip_fee line">{{item.originalPrice||0}}</text></view>
</view>
<text class="vip_item_btn" v-if="item.state==null" @click="openorderModal(item,0)">去办理</text>
<text class="vip_item_btn" v-else @click="openorderModal(item,0)">去续费</text>
<view v-if="$platform!='ios'">
<text class="vip_item_btn" v-if="item.state==null" @click="openorderModal(item,0)">去办理</text>
<text class="vip_item_btn" v-else @click="openorderModal(item,0)">去续费</text>
</view>
<view class="vip_price" v-if="item.vcbList&&item.vcbList.length>0">
<text class="font_bold" v-if="item.type==1||item.type==2">超级VIP价格</text>
@@ -116,6 +117,9 @@ export default{
},
//点击购买
openorderModal(item,type) {
if(this.$platform=='ios'){
return false
}
let text = '';
//如果是右侧按钮点击展示
//判断点击类型是vip价格还是延期价格