From 69da027c23cc297f626fce1ea73c4f000cc911bc Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Mon, 19 Aug 2024 15:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=90=8E=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E5=88=B0=E8=81=8A=E5=A4=A9=E5=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 75 ++ pages/index/index.vue | 44 + pages/publicTwo/bind.vue | 189 ++++ pages/publicTwo/css/main.css | 93 ++ pages/publicTwo/forgetPwd.vue | 201 ++++ pages/publicTwo/login.vue | 735 +++++++++++++++ pages/publicTwo/loginmsg.vue | 246 +++++ pages/publicTwo/loginphone.vue | 206 ++++ pages/publicTwo/pwd.vue | 188 ++++ pages/publicTwo/register.vue | 400 ++++++++ pages/therapist/therapistDingdan - 副本.vue | 986 ++++++++++++++++++++ 11 files changed, 3363 insertions(+) create mode 100644 pages/publicTwo/bind.vue create mode 100644 pages/publicTwo/css/main.css create mode 100644 pages/publicTwo/forgetPwd.vue create mode 100644 pages/publicTwo/login.vue create mode 100644 pages/publicTwo/loginmsg.vue create mode 100644 pages/publicTwo/loginphone.vue create mode 100644 pages/publicTwo/pwd.vue create mode 100644 pages/publicTwo/register.vue create mode 100644 pages/therapist/therapistDingdan - 副本.vue diff --git a/pages.json b/pages.json index a559257..99812eb 100644 --- a/pages.json +++ b/pages.json @@ -721,6 +721,81 @@ }, // #endif // #ifndef H5 + { + "path": "pages/publicTwo/login", + "style": { + "navigationBarTitleText": "登录", + "app-plus": { + "titleNView": false + } + } + }, + // #endif + { + "path": "pages/publicTwo/bind", + "style": { + "navigationBarTitleText": "绑定手机号", + "app-plus": { + "titleNView": false + } + } + }, + { + "path": "pages/publicTwo/forgetPwd", + "style": { + "navigationBarTitleText": "重置密码", + "app-plus": { + "titleNView": false + } + } + }, + + { + "path": "pages/publicTwo/loginphone", + "style": { + "navigationBarTitleText": "登录", + "app-plus": { + "titleNView": false + } + } + }, + { + "path": "pages/publicTwo/loginmsg", + "style": { + "navigationBarTitleText": "登录", + "app-plus": { + "titleNView": false + } + } + }, + { + "path": "pages/publicTwo/pwd", + "style": { + "navigationBarTitleText": "修改密码", + "navigationStyle": "custom", + "app-plus": { + "titleNView": false + } + } + }, + { + "path": "pages/publicTwo/register", + "style": { + "navigationBarTitleText": "注册" + } + }, + // #ifdef H5 + { + "path": "pages/public/login", + "style": { + "navigationBarTitleText": "登录", + "app-plus": { + "titleNView": false + } + } + }, + // #endif + // #ifndef H5 { "path": "pages/public/login", "style": { diff --git a/pages/index/index.vue b/pages/index/index.vue index 235309c..47743b9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -239,6 +239,10 @@ + + + + @@ -538,6 +542,23 @@ } }, methods: { + goMsg() { //客服聊天 + let data = { + userId: uni.getStorageSync('userId'), + focusedUserId: '0', + // userName:this.order.userName + } + // app/chat/insertChatConversation + this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => { + if (res.data) { + let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId + uni.navigateTo({ + url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId + + '&byUserId=' + res.data.userId + }) + } + }) + }, selectCity(longitude, latitude) { var that=this; var longitude = that.longitude; @@ -1160,6 +1181,29 @@ diff --git a/pages/publicTwo/css/main.css b/pages/publicTwo/css/main.css new file mode 100644 index 0000000..3474926 --- /dev/null +++ b/pages/publicTwo/css/main.css @@ -0,0 +1,93 @@ +.content { + display: flex; + flex-direction: column; + justify-content:center; + /* margin-top: 128upx; */ +} + +/* 头部 logo */ +.header { + text-align: center; + + width:161upx; + height:161upx; + box-shadow:0upx 0upx 60upx 0upx rgba(0,0,0,0.1); + border-radius:50%; + background: -moz-linear-gradient(left, #F15B6C, #e10a07 100%); + background: -webkit-gradient(linear, left top, left right, color-stop(0, #F15B6C), color-stop(100%, #e10a07)); + background: -webkit-linear-gradient(left, #F15B6C 0, #e10a07 100%); + background: -o-linear-gradient(left, #F15B6C 0, #e10a07 100%); + background: -ms-linear-gradient(left, #F15B6C 0, #e10a07 100%); + background: linear-gradient(to left, #F15B6C 0, #e10a07 100%); + margin-top: 180upx; + margin-bottom: 72upx; + font-size: 60upx; + color: white; + font-weight: bold; + padding-top: 32upx; + margin-left: auto; + margin-right: auto; +} +.header image{ + width:161upx; + height:161upx; + border-radius:50%; +} + +/* 主体 */ +.main { + display: flex; + flex-direction: column; + padding-left: 70upx; + padding-right: 70upx; +} +.tips { + color: #999999; + font-size: 28upx; + margin-top: 64upx; + margin-left: 48upx; +} + +/* 其他登录方式 */ +.other_login{ + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + margin-top: 256upx; + text-align: center; +} +.login_icon{ + border: none; + font-size: 64upx; + margin: 0 64upx 0 64upx; + color: rgba(0,0,0,0.7) +} +.wechat_color{ + color: #83DC42; +} +.weibo_color{ + color: #F9221D; +} +.github_color{ + color: #24292E; +} + +/* 底部 */ +.footer{ + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + font-size: 28upx; + margin-top: 64upx; + color: rgba(0,0,0,0.7); + text-align: center; + height: 40upx; + line-height: 40upx; +} +.footer text{ + font-size: 24upx; + margin-left: 15upx; + margin-right: 15upx; +} \ No newline at end of file diff --git a/pages/publicTwo/forgetPwd.vue b/pages/publicTwo/forgetPwd.vue new file mode 100644 index 0000000..955dc6c --- /dev/null +++ b/pages/publicTwo/forgetPwd.vue @@ -0,0 +1,201 @@ + + + + + diff --git a/pages/publicTwo/login.vue b/pages/publicTwo/login.vue new file mode 100644 index 0000000..9deaa45 --- /dev/null +++ b/pages/publicTwo/login.vue @@ -0,0 +1,735 @@ + + + + diff --git a/pages/publicTwo/loginmsg.vue b/pages/publicTwo/loginmsg.vue new file mode 100644 index 0000000..c2c52f8 --- /dev/null +++ b/pages/publicTwo/loginmsg.vue @@ -0,0 +1,246 @@ + + + + + diff --git a/pages/publicTwo/loginphone.vue b/pages/publicTwo/loginphone.vue new file mode 100644 index 0000000..71c2936 --- /dev/null +++ b/pages/publicTwo/loginphone.vue @@ -0,0 +1,206 @@ + + + + + diff --git a/pages/publicTwo/pwd.vue b/pages/publicTwo/pwd.vue new file mode 100644 index 0000000..781054b --- /dev/null +++ b/pages/publicTwo/pwd.vue @@ -0,0 +1,188 @@ + + + + + diff --git a/pages/publicTwo/register.vue b/pages/publicTwo/register.vue new file mode 100644 index 0000000..f6329bc --- /dev/null +++ b/pages/publicTwo/register.vue @@ -0,0 +1,400 @@ + + + + + \ No newline at end of file diff --git a/pages/therapist/therapistDingdan - 副本.vue b/pages/therapist/therapistDingdan - 副本.vue new file mode 100644 index 0000000..f8f17c5 --- /dev/null +++ b/pages/therapist/therapistDingdan - 副本.vue @@ -0,0 +1,986 @@ + + + +