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 1789d51..38a68f1 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" + } + }, { "path" : "pages/common/feedback", "style": { @@ -108,6 +117,34 @@ "navigationBarTextStyle": "white" } }, + { + "path" : "pages/student/my/lesson_consumption", + "style": { + "navigationBarTitleText": "课时消耗", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#333333", + "navigationBarTextStyle": "white" + } + }, + { + "path" : "pages/student/my/my_members", + "style": { + "navigationBarTitleText": "我的成员", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#333333", + "navigationBarTextStyle": "white" + } + }, + { + "path" : "pages/student/my/personal_data", + "style": { + "navigationBarTitleText": "个人资料", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#333333", + "navigationBarTextStyle": "white" + } + }, + diff --git a/pages/common/feedback.vue b/pages/common/feedback.vue index 5cc6250..9c6237c 100644 --- a/pages/common/feedback.vue +++ b/pages/common/feedback.vue @@ -1,189 +1,202 @@ \ No newline at end of file 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/lesson_consumption.vue b/pages/student/my/lesson_consumption.vue new file mode 100644 index 0000000..1fa68be --- /dev/null +++ b/pages/student/my/lesson_consumption.vue @@ -0,0 +1,158 @@ + + + + + \ No newline at end of file diff --git a/pages/student/my/my.vue b/pages/student/my/my.vue index 7fbc68b..8a8dc6e 100644 --- a/pages/student/my/my.vue +++ b/pages/student/my/my.vue @@ -5,7 +5,7 @@ - + 包子皮 @@ -44,11 +44,11 @@ - + 课时消耗 - + 我的成员 @@ -68,7 +68,7 @@ 负责人 - + 意见反馈 @@ -81,8 +81,12 @@ diff --git a/pages/student/my/my_members.vue b/pages/student/my/my_members.vue new file mode 100644 index 0000000..3fb54b8 --- /dev/null +++ b/pages/student/my/my_members.vue @@ -0,0 +1,158 @@ + + + + + \ No newline at end of file diff --git a/pages/student/my/personal_data.vue b/pages/student/my/personal_data.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/student/my/personal_data.vue @@ -0,0 +1,22 @@ + + + + + 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 @@