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

@ -2,7 +2,7 @@
"name": "耕读社", "name": "耕读社",
"appid": "__UNI__59447F7", "appid": "__UNI__59447F7",
"description": "", "description": "",
"versionName": "1.0.0", "versionName": "1.0.1",
"versionCode": "100", "versionCode": "100",
"transformPx": false, "transformPx": false,
"app-plus": { "app-plus": {
@ -85,4 +85,4 @@
"vueVersion": "3", "vueVersion": "3",
"fallbackLocale": "zh-Hans", "fallbackLocale": "zh-Hans",
"locale": "zh-Hans" "locale": "zh-Hans"
} }

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

Loading…
Cancel
Save