diff --git a/components/AQ/AQTabber.vue b/components/AQ/AQTabber.vue
index 1f725ff..b2aa29a 100644
--- a/components/AQ/AQTabber.vue
+++ b/components/AQ/AQTabber.vue
@@ -27,7 +27,7 @@
methods: {
async init(){
- uni.setStorageSync('userType','1')
+ uni.setStorageSync('userType','3')
let userType = uni.getStorageSync('userType')
this.userType = userType
diff --git a/pages.json b/pages.json
index 239c706..3cdfcd1 100644
--- a/pages.json
+++ b/pages.json
@@ -99,6 +99,15 @@
"navigationBarTextStyle": "black"
}
},
+ {
+ "path" : "pages/student/my/update_pass",
+ "style": {
+ "navigationBarTitleText": "修改密码",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationBarTextStyle": "black"
+ }
+ },
diff --git a/pages/common/privacy_agreement.vue b/pages/common/privacy_agreement.vue
index 8183fd0..cef72a8 100644
--- a/pages/common/privacy_agreement.vue
+++ b/pages/common/privacy_agreement.vue
@@ -1,6 +1,6 @@
-
-
+
+
@@ -8,15 +8,46 @@
export default {
data() {
return {
-
+ type: 1, //类型 1为用户协议,2为隐私策略
+ text: '',
}
},
+ onLoad(item) {
+ console.log(item.type, '类型')
+ this.init(item.type)
+ },
methods: {
-
+ //初始化拿数据的接口
+ init(type) {
+ if (type == 1) {
+ //用户协议
+ this.text = '用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议用户协议'
+ uni.setNavigationBarTitle({
+ title: '用户协议'
+ });
+ } else if (type == 2) {
+ //隐私策略
+ this.text = '隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略隐私策略'
+ uni.setNavigationBarTitle({
+ title: '隐私策略'
+ });
+ }
+ }
}
}
-
+ .html-style {
+ padding: 10rpx 20rpx;
+ line-height: 1.8;
+ font-size: 30rpx;
+ }
+
\ No newline at end of file
diff --git a/pages/student/my/set_up.vue b/pages/student/my/set_up.vue
index e38d8dd..b98a620 100644
--- a/pages/student/my/set_up.vue
+++ b/pages/student/my/set_up.vue
@@ -1,9 +1,9 @@
- 修改密码
- 用户协议
- 隐私策略
+ 修改密码
+ 用户协议
+ 隐私策略
清空缓存
@@ -20,7 +20,16 @@
}
},
methods: {
-
+ privacy_agreement(type){
+ uni.navigateTo({
+ url: '/pages/common/privacy_agreement?type='+type
+ })
+ },
+ update_pass(){
+ uni.navigateTo({
+ url: '/pages/student/my/update_pass'
+ })
+ }
}
}
diff --git a/pages/student/my/update_pass.vue b/pages/student/my/update_pass.vue
new file mode 100644
index 0000000..45e4190
--- /dev/null
+++ b/pages/student/my/update_pass.vue
@@ -0,0 +1,101 @@
+
+
+
+ 1.验证手机号码
+ 2.设置新密码
+
+
+
+
+
+ 为保障您的账号安全,修改密码前请填写原密码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 下一步
+ 提交
+
+ 忘记原密码
+
+
+
+
+
+
+
+
+
\ No newline at end of file