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 @@ 或者 - - - 手机号验证码 + + + + 手机号验证码 + + + + 我是患者 +