苹果内购调整,苹果端隐藏vip相关内容
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
<view class="contentBox commonPageContentBox">
|
||||
<u-alert
|
||||
v-if="goBuyTitle"
|
||||
v-if="goBuyTitle && isAndorid"
|
||||
style="
|
||||
background: linear-gradient(90deg, #258feb 0%, #00e1ec 100%);
|
||||
position: fixed;
|
||||
@@ -599,7 +599,7 @@ export default {
|
||||
uploadPicLIst: [], // 上传的图片列表
|
||||
courseId: null,
|
||||
sayList: [],
|
||||
pPage: 1,
|
||||
pPage: 1,
|
||||
totalP: 0,
|
||||
status: 88,
|
||||
loadFlag: false,
|
||||
@@ -638,6 +638,7 @@ export default {
|
||||
goodsList: "sociology/product/getProductListForCourse",
|
||||
startStudyForMF: "sociology/course/startStudyForMF",
|
||||
},
|
||||
isAndorid:true
|
||||
};
|
||||
},
|
||||
//第一次加载
|
||||
@@ -652,6 +653,7 @@ export default {
|
||||
// this.getCateList(this.courseId)
|
||||
await this.getData(e.id);
|
||||
await this.getSayList();
|
||||
this.getOS()
|
||||
},
|
||||
onPageScroll(e) {
|
||||
this.scrollTop = e.scrollTop;
|
||||
@@ -670,6 +672,7 @@ export default {
|
||||
uni.hideTabBar();
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
|
||||
},
|
||||
onUnload() {
|
||||
this.selectGoodsData = {};
|
||||
@@ -700,6 +703,17 @@ export default {
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
// 获得操作系统
|
||||
getOS() {
|
||||
let oprateOs = "";
|
||||
oprateOs = uni.getSystemInfoSync().platform;
|
||||
// console.log(oprateOs)
|
||||
if (oprateOs == "android") {
|
||||
this.isAndorid = true;
|
||||
} else {
|
||||
this.isAndorid = false;
|
||||
}
|
||||
},
|
||||
async checkPermision(){
|
||||
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE")
|
||||
if (result != 1) {
|
||||
@@ -1492,7 +1506,7 @@ export default {
|
||||
} else {
|
||||
list = [];
|
||||
}
|
||||
console.log("at line 1333:", list);
|
||||
// console.log("at line 1333:", list);
|
||||
this.$forceUpdate();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user