From 9a6911ff7785f88be845720a974abee12d523c3d Mon Sep 17 00:00:00 2001 From: kola-web Date: Sat, 16 Aug 2025 12:24:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E7=94=9F=E7=AB=AF=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=A1=B5=E5=A2=9E=E5=8A=A0=E5=88=87=E6=8D=A2=E6=82=A3=E8=80=85?= =?UTF-8?q?=E7=AB=AF=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/index.scss | 30 +++++++++++++++++------------- src/pages/login/index.ts | 5 +++++ src/pages/login/index.wxml | 12 +++++++++--- 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/src/pages/login/index.scss b/src/pages/login/index.scss index b60fd38..925bddd 100644 --- a/src/pages/login/index.scss +++ b/src/pages/login/index.scss @@ -50,21 +50,25 @@ page { color: rgba(173, 172, 178, 1); } } - .tel-btn { - margin: 20rpx auto 0; - padding: 4rpx 0; - width: 266rpx; + .other { display: flex; align-items: center; - justify-content: center; - gap: 12rpx; - background: #fff; - border-radius: 24rpx; - font-size: 24rpx; - color: rgba(173, 172, 178, 1); - .icon { - width: 40rpx; - height: 40rpx; + .tel-btn { + margin: 20rpx auto 0; + padding: 4rpx 0; + width: 266rpx; + display: flex; + align-items: center; + justify-content: center; + gap: 12rpx; + background: #fff; + border-radius: 24rpx; + font-size: 24rpx; + color: rgba(173, 172, 178, 1); + .icon { + width: 40rpx; + height: 40rpx; + } } } .form { diff --git a/src/pages/login/index.ts b/src/pages/login/index.ts index a68ae76..2c42cfd 100644 --- a/src/pages/login/index.ts +++ b/src/pages/login/index.ts @@ -162,6 +162,11 @@ Page({ } }); }, + handlePatient() { + wx.reLaunch({ + url: '/patient/pages/login/index', + }); + }, handleShowPopup() { this.setData({ popupShow: true, diff --git a/src/pages/login/index.wxml b/src/pages/login/index.wxml index 01f51c1..cfb7841 100644 --- a/src/pages/login/index.wxml +++ b/src/pages/login/index.wxml @@ -21,9 +21,15 @@ 或者 - - - 手机号验证码 + + + + 手机号验证码 + + + + 我是患者 +