ios放开vip模块
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<image src="@/static/icon/home_icon_logo.png" v-else
|
||||
class="per_mes_img color_shandow"></image>
|
||||
</view>
|
||||
<view class="user_vip_box" v-if="isAndorid&&hasVipType1 || isAndorid&&hasVipType2">
|
||||
<view class="user_vip_box" v-if="hasVipType1 || hasVipType2">
|
||||
<view class="user_vip super" :style="hasVipType2?'width: 170rpx;':''">
|
||||
<view class="user_vip_item" v-if="hasVipType1"><text>医学</text><image src="@/static/icon/chao_svip.png"></image></view>
|
||||
<view class="user_vip_item" v-if="hasVipType2"><text>国学心理学</text><image src="@/static/icon/chao_svip.png"></image></view>
|
||||
@@ -34,7 +34,7 @@
|
||||
<template v-if="userMes.tel">
|
||||
<view class="phone">手机号:({{ userMes.tel }})</view>
|
||||
</template>
|
||||
<template v-if="isAndorid&&textList.length>0">
|
||||
<template v-if="textList.length>0">
|
||||
<view class="vip_type">
|
||||
<view class="vip_type_item" v-for="(item,index) in textList" :key="index">
|
||||
{{item}}<image src="@/static/icon/chao_vip.png"></image>
|
||||
@@ -50,8 +50,8 @@
|
||||
<view style="
|
||||
padding: 20rpx; overflow: hidden;
|
||||
">
|
||||
<!-- vip 只有安卓才显示-->
|
||||
<view v-if="isAndorid" class="chong_zhi boxShadow box_fillet vip_box"
|
||||
|
||||
<view class="chong_zhi boxShadow box_fillet vip_box"
|
||||
@click="onPageJump('/pages/mine/vip/index')">
|
||||
<view class="noVip">
|
||||
<view style="display: flex; align-items: center;">
|
||||
@@ -204,8 +204,6 @@
|
||||
userCouponNum:0, // 优惠券数量
|
||||
directorShow: false, // 主任是否显示班级入口
|
||||
monitorShow: false, // 其他管理是否显示班级入口
|
||||
isAndorid: true,
|
||||
platform: null, // 设备系统
|
||||
pageList: [{
|
||||
name: "我的订单",
|
||||
url: "/pages/bookShop/orderList?type=mine",
|
||||
@@ -248,8 +246,6 @@
|
||||
onLoad(e) {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
this.getOS();
|
||||
this.platform = uni.getSystemInfoSync().platform;
|
||||
},
|
||||
computed: {
|
||||
...mapState(["userInfo"]),
|
||||
@@ -331,16 +327,6 @@
|
||||
break;
|
||||
}
|
||||
},
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
haveSelected(data) {
|
||||
if (data.index == 0) {
|
||||
// 分享到好友
|
||||
@@ -1011,7 +997,6 @@
|
||||
}
|
||||
.vip_btn{
|
||||
margin-right: 15rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
.vip_btn button{
|
||||
background: none;
|
||||
|
||||
Reference in New Issue
Block a user