苹果内购调整,苹果端隐藏vip相关内容
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<public-module></public-module>
|
||||
<z-nav-bar title="课程价格"></z-nav-bar>
|
||||
<view class="addVip">
|
||||
<u-alert v-if="" style="
|
||||
<u-alert v-if="isAndorid" style="
|
||||
width: 100%;
|
||||
" :title="goBuyTitle" type="warning" :show-icon="true">
|
||||
<template slot="rightSlot" slot-scope="slotProps">
|
||||
@@ -105,7 +105,8 @@
|
||||
proPriceList: [],
|
||||
pricespop: false,
|
||||
userMsg: {},
|
||||
cartList: []
|
||||
cartList: [],
|
||||
isAndorid:true
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
@@ -115,6 +116,7 @@
|
||||
// console.log(e, '------')
|
||||
this.getUserInfo()
|
||||
this.getCoursePriceList1()
|
||||
this.getOS()
|
||||
},
|
||||
computed: {
|
||||
...mapState(['userInfo'])
|
||||
@@ -122,7 +124,7 @@
|
||||
//页面显示
|
||||
onShow() {
|
||||
// 隐藏原生的tabbar
|
||||
uni.hideTabBar();
|
||||
uni.hideTabBar();
|
||||
// this.getCoursePriceList()
|
||||
},
|
||||
onPageScroll(e) {
|
||||
@@ -138,6 +140,17 @@
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
// console.log(oprateOs)
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
loadMoreCourse(val, i) {
|
||||
console.log(val, 'val',i,'++++++++++++++++')
|
||||
let _page = val.subpage
|
||||
|
||||
Reference in New Issue
Block a user