diff --git a/common/css/base.scss b/common/css/base.scss index 0453de4..2dc4853 100644 --- a/common/css/base.scss +++ b/common/css/base.scss @@ -1,5 +1,5 @@ page { - background: #f6f7f8; + background: #f3f4f5; } .hide-txt { diff --git a/common/js/request.js b/common/js/request.js index f26ac3d..7ff726d 100644 --- a/common/js/request.js +++ b/common/js/request.js @@ -54,7 +54,7 @@ export default (options = {}) => { title: '网络异常,请稍后再试', }) uni.reLaunch({ - url: '/pages/login/login', + url: '/pages/user/login', }); }, }) @@ -72,7 +72,7 @@ function errHandler (res) { uni.removeStorageSync('Cookie'); uni.clearStorageSync(); // #endif - uni.reLaunch({ url: '/pages/login/login' }) + uni.reLaunch({ url: '/pages/user/login' }) break default: uni.showToast({ diff --git a/common/js/util.js b/common/js/util.js index 1b59732..2a50b96 100644 --- a/common/js/util.js +++ b/common/js/util.js @@ -192,7 +192,7 @@ const loadConfig = (call, need_fresh = false) => { }).catch(err => { globalConfigIsLoading = false; console.warn(err); - // uni.reLaunch({ url: '/pages/login/login' }) + // uni.reLaunch({ url: '/pages/user/login' }) }) } diff --git a/components/Cn-grid-item/Cn-grid-item.vue b/components/Cn-grid-item/Cn-grid-item.vue new file mode 100644 index 0000000..6a65ea5 --- /dev/null +++ b/components/Cn-grid-item/Cn-grid-item.vue @@ -0,0 +1,70 @@ + + + + \ No newline at end of file diff --git a/components/Cn-grid/Cn-grid.vue b/components/Cn-grid/Cn-grid.vue new file mode 100644 index 0000000..cefb844 --- /dev/null +++ b/components/Cn-grid/Cn-grid.vue @@ -0,0 +1,52 @@ + + + + \ No newline at end of file diff --git a/components/Cn-page/Cn-page.vue b/components/Cn-page/Cn-page.vue index 39c9cd9..a2c9536 100644 --- a/components/Cn-page/Cn-page.vue +++ b/components/Cn-page/Cn-page.vue @@ -1,7 +1,7 @@ @@ -31,12 +43,23 @@ export default { methods: { init () { }, + upgrade (code) { + console.log(code); + uni.showToast({ + title: '升级成功', + icon: 'none' + }) + }, jump (type) { switch (type) { case 'login': uni.navigateTo({ - url: `/pages/login/login` + url: `/pages/user/login` }) + break; + case 'upgrade': + this.$refs.inputDialog.open() + break; default: uni.navigateTo({ url: `/pages/mine/${type}` @@ -75,6 +98,12 @@ export default { font-size: 36rpx; color: #111; font-weight: 700; + + .tag { + margin-top: 10rpx; + font-size: 24rpx; + color: #aaa; + } } } diff --git a/pages/mine/about.vue b/pages/mine/about.vue new file mode 100644 index 0000000..87f8396 --- /dev/null +++ b/pages/mine/about.vue @@ -0,0 +1,52 @@ + + + \ No newline at end of file diff --git a/pages/login/agreement.vue b/pages/mine/agreement.vue similarity index 89% rename from pages/login/agreement.vue rename to pages/mine/agreement.vue index fc1593c..4ffa9e6 100644 --- a/pages/login/agreement.vue +++ b/pages/mine/agreement.vue @@ -2,7 +2,7 @@ - 用户协议 + 用户协议 。。。。 diff --git a/pages/mine/company.vue b/pages/mine/company.vue new file mode 100644 index 0000000..69d4bd6 --- /dev/null +++ b/pages/mine/company.vue @@ -0,0 +1,25 @@ + + + \ No newline at end of file diff --git a/pages/mine/message.vue b/pages/mine/message.vue new file mode 100644 index 0000000..44d576c --- /dev/null +++ b/pages/mine/message.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/pages/login/policy.vue b/pages/mine/policy.vue similarity index 100% rename from pages/login/policy.vue rename to pages/mine/policy.vue diff --git a/pages/mine/setup.vue b/pages/mine/setup.vue index 7f05506..efbbdab 100644 --- a/pages/mine/setup.vue +++ b/pages/mine/setup.vue @@ -1,15 +1,34 @@