diff --git a/components/BaseLogin/index.vue b/components/BaseLogin/index.vue
index 96a6495..859f1d7 100644
--- a/components/BaseLogin/index.vue
+++ b/components/BaseLogin/index.vue
@@ -67,7 +67,7 @@
-
+
其他方式登陆
@@ -113,6 +113,9 @@ export default {
pwdPlaceholder() {
return "请填写密码";
},
+ showWeixinLogin() {
+ return Number(uni.getStorageSync('showWeixinLogin')) === 1
+ },
},
watch: {
type() {
diff --git a/manifest.json b/manifest.json
index 4e3d0f3..6ff66f0 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "梦航教育宝",
"appid" : "__UNI__640EC10",
"description" : "1.1",
- "versionName" : "1.0.3",
- "versionCode" : 103,
+ "versionName" : "1.0.4",
+ "versionCode" : 104,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
@@ -61,7 +61,8 @@
"urltypes" : "zsff.xinbadaweb.cn",
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "该应用需要读取你的相册,以便为你编辑用户信息",
- "NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,以便为你编辑用户信息"
+ "NSPhotoLibraryAddUsageDescription" : "该应用需要读取你的相册,以便为你编辑用户信息",
+ "NSLocationWhenInUseUsageDescription": "该应用需要获取你的地理位置,以便为你推荐附近的线下课程"
}
},
/* SDK配置 */
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8bd5c2f..ee29581 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -669,8 +669,10 @@ export default {
try {
const { data } = await getCopyrightInfo();
uni.setStorageSync('openMember', data.is_open_member);
+ uni.setStorageSync('showWeixinLogin', data.is_show_weixin_login);
} catch (err) {
uni.setStorageSync('openMember', 0);
+ uni.setStorageSync('showWeixinLogin', 0);
}
},
getPositionAddress(longitude, latitude,) {
diff --git a/pages/learningCenter/reciteDetail.vue b/pages/learningCenter/reciteDetail.vue
index 6a4e31c..4b4cc6f 100644
--- a/pages/learningCenter/reciteDetail.vue
+++ b/pages/learningCenter/reciteDetail.vue
@@ -31,7 +31,6 @@
-->
-