ios放开vip模块
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<public-module></public-module>
|
||||
<z-nav-bar title="课程介绍"></z-nav-bar>
|
||||
<view class="contentBox commonPageContentBox">
|
||||
<view v-if="goBuyTitle && isAndorid" class="describe_block">
|
||||
<view v-if="goBuyTitle" class="describe_block">
|
||||
<view style=" display: flex;">
|
||||
<uni-icons type="info" size="20" color="#fff"></uni-icons>
|
||||
<text>{{goBuyTitle}}</text>
|
||||
@@ -13,7 +13,7 @@
|
||||
立即购买
|
||||
</button>
|
||||
</view>
|
||||
<view class="curseImg" :style="isAndorid?'padding-top:80rpx;':''">
|
||||
<view class="curseImg" style="padding-top:80rpx;">
|
||||
<image v-if="!course.image" src="/static/nobg.jpg" mode="widthFix"></image>
|
||||
<image v-else :src="course.image" mode="widthFix"></image>
|
||||
</view>
|
||||
@@ -213,7 +213,7 @@
|
||||
@click="handleClickGetGoodsList(librayList[curIndex])" text="购买课程"></u-button>
|
||||
<u-button class="btn" type="success" size="small"
|
||||
@click="goNewPay(librayList[curIndex])" text="复读" v-if="showNewPayBtn"></u-button>
|
||||
<u-button size="small" v-if="isAndorid" class="btn" type="primary"
|
||||
<u-button size="small" class="btn" type="primary"
|
||||
@click="onPageJump('/pages/mine/vip/index')" text="开通VIP"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -537,7 +537,6 @@
|
||||
newPayment:"common/courseRelearn/courseCatalogueCanRelearn", // 检查复读地址
|
||||
newPaymentList:"common/courseRelearn/relearnShopProductList", // 获取复读列表
|
||||
},
|
||||
isAndorid: true,
|
||||
oprateOsName: '',
|
||||
linkClassList: [], // 可加入关联班级数组
|
||||
classInfo: [], // 所在班级信息
|
||||
@@ -571,7 +570,6 @@
|
||||
//是否是vip
|
||||
this.getCourseByVip();
|
||||
this.getSayList();
|
||||
this.getOS();
|
||||
},
|
||||
onPageScroll(e) {
|
||||
this.scrollTop = e.scrollTop;
|
||||
@@ -902,18 +900,6 @@
|
||||
this.classInfo = {}
|
||||
});
|
||||
},
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
this.oprateOsName = uni.getSystemInfoSync().platform;
|
||||
console.log('oprateOs', oprateOs)
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
async checkPermision() {
|
||||
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE")
|
||||
if (result != 1) {
|
||||
|
||||
Reference in New Issue
Block a user