ios系统同步显示vip规则,但是不允许购买

This commit is contained in:
liuyuan
2025-03-13 09:44:59 +08:00
parent 59823a2ca1
commit 2cc0395549
2 changed files with 19 additions and 36 deletions

View File

@@ -49,7 +49,7 @@
<view
class="user_vip_box"
v-if="(isAndorid && hasVipType1) || (isAndorid && hasVipType2)"
v-if="hasVipType1||hasVipType2"
>
<view
class="user_vip super"
@@ -82,7 +82,7 @@
>手机号({{ userMes.tel }})</view
>
<template v-if="isAndorid && textList.length > 0">
<template v-if="textList.length > 0">
<view class="vip_type">
<view
class="vip_type_item"
@@ -98,7 +98,6 @@
</view>
<view
v-if="isAndorid"
style="
padding: 20rpx 20rpx 0;
margin-top: 50rpx;
@@ -384,8 +383,6 @@ export default {
signShow: false,
signContent: "是否要退出登录?",
playData: {},
isAndorid: true,
platform: null, // 设备系统
pageList: [
{
@@ -430,10 +427,7 @@ export default {
},
//第一次加载
onLoad(e) {
// #ifdef APP-PLUS
this.getOS();
this.platform = uni.getSystemInfoSync().platform;
// #endif
},
computed: {
...mapState(["userInfo"]),
@@ -568,16 +562,6 @@ export default {
break;
}
},
// 获得操作系统
getOS() {
let oprateOs = "";
oprateOs = uni.getSystemInfoSync().platform;
if (oprateOs == "android") {
this.isAndorid = true;
} else {
this.isAndorid = false;
}
},
haveSelected(data) {
console.log(data, " 选择的是");
if (data.index == 0) {