From fbb9db437311e85ac2847862c56fdfb425ef2eac Mon Sep 17 00:00:00 2001 From: liudianxin Date: Wed, 3 Jun 2020 19:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A3=81=E5=89=AA=EF=BC=8C?= =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E6=A1=A3=E6=A1=88=E9=83=A8=E5=88=86=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.css | 4 + src/components/cropper.vue | 2 +- src/pages/user/user_info.vue | 138 ++++++++++++++++++++++++++++++++--- src/request/http.js | 7 +- 4 files changed, 132 insertions(+), 19 deletions(-) diff --git a/src/assets/css/index.css b/src/assets/css/index.css index b14a51d..93fca1c 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -190,8 +190,12 @@ div{ .el-dialog{ border-radius: 10px; } +.el-dialog__header { + border-bottom: 1px solid #edf0ff; +} .el-dialog__title{ font-size: 16px; + font-weight: 700; color: #1d1e20; border-left: 4px solid #0367f6; padding-left: 8px; diff --git a/src/components/cropper.vue b/src/components/cropper.vue index cbe5a47..4d11f72 100644 --- a/src/components/cropper.vue +++ b/src/components/cropper.vue @@ -54,8 +54,8 @@ - 确  认 取  消 + 确  认 diff --git a/src/pages/user/user_info.vue b/src/pages/user/user_info.vue index cc43a10..b000cc9 100644 --- a/src/pages/user/user_info.vue +++ b/src/pages/user/user_info.vue @@ -10,19 +10,20 @@ - +

账号:

- +

密码:

+ 修改密码
- +

昵称:

- +

头像:

- +

联系人:

- +

手机号:

- +

邮箱:

- +

组织机构:

- +

当前角色:

+ 升级为开发者
+ + +
+ + +

旧密码:

+ +
+ +

新密码:

+ +
+ +

请再次输入密码:

+ +
+
+
+ +
@@ -78,21 +111,102 @@ export default { organization: "", role: "" }, - imgList: [] + imgList: [], + diaPassWord: false }), mounted() { - this.imgList.push("https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg") + this.imgList.push( + "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" + ); }, methods: { changeTab() {}, getNewList(val) { console.log(val); + }, + previous() {}, + registe() {}, + changePassword() { + this.diaPassWord = true; + }, + cancelChangePwd() { + this.diaPassWord = false; + }, + submitChangePwd() {}, + upLevel() { + this.diaPassWord = true; } } }; + \ No newline at end of file diff --git a/src/request/http.js b/src/request/http.js index f308240..fe75f2c 100644 --- a/src/request/http.js +++ b/src/request/http.js @@ -18,12 +18,7 @@ const tip = msg => { * 登录用 bg-login ,具体链接晚几天加 */ const toLogin = () => { - router.replace({ - path: '/login', - query: { - redirect: router.currentRoute.fullPath - } - }); + window.location.href = "/login?redirect=" + router.currentRoute.fullPath } /** -- 2.26.0