qsh 2 weeks ago
parent 4c65fb9bce
commit 657f237b9f
  1. 2
      src/manifest.json
  2. 6
      src/pages/course/detail.vue

@ -2,7 +2,7 @@
"name": "耕读社",
"appid": "__UNI__59447F7",
"description": "",
"versionName": "1.0.0",
"versionName": "1.0.1",
"versionCode": "100",
"transformPx": false,
"app-plus": {

@ -41,9 +41,6 @@
},
onLoad(op) {
this.getInfo(op.id);
if(!this.userInfo.memberInfo && !this.showMask) {
this.showMask = true;
}
},
methods: {
getInfo(chapterId) {
@ -55,6 +52,9 @@
uni.setNavigationBarTitle({
title: res.data.chapterIndex
});
if(!_this.userInfo.memberInfo && !_this.showMask && !res.data.isFree) {
_this.showMask = true;
}
}
});
} catch (error) {

Loading…
Cancel
Save