diff --git a/common/platform/BasePlatform.js b/common/platform/BasePlatform.js
index b21c8ca..d970664 100644
--- a/common/platform/BasePlatform.js
+++ b/common/platform/BasePlatform.js
@@ -147,13 +147,21 @@ class BasePlatform {
if (uni.getStorageSync('token') != null && uni.getStorageSync('token') != "") {
m.push({
- id: 8,
- show: true,
- title: '退出登录',
- icon: 'my/exit.png',
- path: '',
- handler: this.handleLogout.bind(this)
- })
+ id: 8,
+ show: true,
+ title: '注销账号',
+ icon: 'my/s10.png',
+ path: '/pages/user/cancel-account-page',
+ handler: this.navigateToPath.bind(this)
+ }),
+ m.push({
+ id: 8,
+ show: true,
+ title: '退出登录',
+ icon: 'my/exit.png',
+ path: '',
+ handler: this.handleLogout.bind(this)
+ })
}
return m;
}
diff --git a/manifest.json b/manifest.json
index aa34a27..cc08458 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "友达赏",
"appid" : "__UNI__2E6CB39",
"description" : "",
- "versionName" : "1.0.1",
- "versionCode" : 101,
+ "versionName" : "1.0.3",
+ "versionCode" : 103,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
@@ -22,7 +22,7 @@
/* 模块配置 */
"modules" : {
"Payment" : {},
- "Camera" : {}
+ "Share" : {}
},
/* 应用发布信息 */
"distribute" : {
@@ -53,11 +53,7 @@
"ios" : {
"dSYMs" : false,
"urltypes" : "youdas",
- "idfa" : false,
- "privacyDescription" : {
- "NSPhotoLibraryUsageDescription" : "为了设置您的个人头像,我们需要访问您的照片图库。这将允许您从相册中选择现有照片作为头像。我们只会在您主动选择更换头像时访问照片,未经您的许可绝不会查看您的其他照片。",
- "NSPhotoLibraryAddUsageDescription" : "我们需要访问权限以便将生成的海报保存到您的相册中。这样您就可以方便地在照片应用中查看和分享这些海报。我们只会在您明确选择保存时才将图片存入相册。"
- }
+ "idfa" : false
},
/* SDK配置 */
"sdkConfigs" : {
@@ -196,5 +192,6 @@
"enable" : false
}
},
- "fallbackLocale" : "zh-Hans"
+ "fallbackLocale" : "zh-Hans",
+ "sassImplementationName" : "node-sass"
}
diff --git a/pages.json b/pages.json
index b3b6f02..b2d9dd0 100644
--- a/pages.json
+++ b/pages.json
@@ -403,6 +403,13 @@
"style": {
"navigationStyle": "custom"
}
+ },
+ {
+ "path" : "pages/user/cancel-account-page",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
}
],
"subPackages": [{
diff --git a/pages/user/cancel-account-page.vue b/pages/user/cancel-account-page.vue
new file mode 100644
index 0000000..a947ea6
--- /dev/null
+++ b/pages/user/cancel-account-page.vue
@@ -0,0 +1,123 @@
+
+
+
+
+ 尊敬的用户,您正式开始有关帐号的注销流程前,我们先为您做出如下特别说明:注销本帐号后,除法律法规另有规定外,您在该帐号下的个人信息将进行删除或匿名化处理,且此前已关联该帐号的相关产品与服务将不再关联。该帐号一旦注销完成,将无法恢复,请您谨慎操作。若您经过慎重考虑后仍执意决定注销本帐号的,请您务必先行仔细阅读和充分理解本《帐号注销协议》
+ (“本协议”),并同意本协议全部内容。您按照我们的注销操作流程开始注销流程的,或者您勾选本注销协议并开始下一步操作的,均视为您已经同意和遵守本协议全部内容。为确保注销的顺利完成,请您在锁定期内不要登录和使用该帐号,否则视为您撤销注销该帐号。注销流程大概需要7-15个工作日!如您在注销后需要再次使用我们的服务的,欢迎您重新注册登录。
+
+
+
+
+ 确定注销
+
+
+
+
+
+
+
+
+
+ 注销账户
+ 你确定要注销当前账户吗?
+ 7-15个工作日内注销账户
+
+
+
+
+ 取消
+
+
+ 确认
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file