苹果内购调整,苹果端隐藏vip相关内容
This commit is contained in:
@@ -74,10 +74,8 @@
|
||||
<!-- </text> -->
|
||||
</view>
|
||||
<view class="tag-view">
|
||||
|
||||
|
||||
<uni-tag @click="goBuy()" text="购买课程" type="warning" style="larg" />
|
||||
<uni-tag @click="onPageJump('/pages/mine/vip/index')" style="margin-left: 20rpx;" text="开通VIP" type="success" />
|
||||
<uni-tag @click="goBuy()" text="购买课程" type="warning" size="normal" />
|
||||
<uni-tag v-if="isAndorid" @click="onPageJump('/pages/mine/vip/index')" size="normal" style="margin-left: 20rpx;" text="开通VIP" type="success" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -116,6 +114,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
isAndorid: true,
|
||||
playData: {},
|
||||
catalogueId: null,
|
||||
// fixed: false,
|
||||
@@ -208,7 +207,8 @@
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
this.getData(this.courseId)
|
||||
this.getData(this.courseId)
|
||||
this.getOS()
|
||||
},
|
||||
onReachBottom() {
|
||||
console.log('触底');
|
||||
@@ -225,7 +225,17 @@
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
// console.log(oprateOs)
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
getUserInfo() {
|
||||
// 用户详情
|
||||
// if (this.userInfo.id != undefined) {
|
||||
|
||||
Reference in New Issue
Block a user