From e593596af70429f2c6fb1e8e295a5be2aee67d2a Mon Sep 17 00:00:00 2001 From: blak-kong <546598185@qq.com> Date: Tue, 16 Jan 2024 17:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=88=90=E5=8A=9F=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8Fbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/popup/popup-alert.less | 17 +++++++++++++++++ src/components/popup/popup-alert.tsx | 4 ++-- src/pages/register/register.tsx | 2 +- src/store/features/userInfo.js | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/components/popup/popup-alert.less b/src/components/popup/popup-alert.less index 46925df..f083123 100644 --- a/src/components/popup/popup-alert.less +++ b/src/components/popup/popup-alert.less @@ -18,3 +18,20 @@ color: #666; } } + +.alert-popup-btns { + display: flex; + margin-top: 76rpx; + justify-content: center; + .alert-popup-btn { + width: 480rpx; + height: 80rpx; + line-height: 80rpx; + font-size: 30rpx; + text-align: center; + border: 1rpx solid #000; + border-radius: 40rpx; + color: #fff; + background-color: #000; + } +} diff --git a/src/components/popup/popup-alert.tsx b/src/components/popup/popup-alert.tsx index c647c17..77664dd 100644 --- a/src/components/popup/popup-alert.tsx +++ b/src/components/popup/popup-alert.tsx @@ -124,8 +124,8 @@ export default class PopupAlert extends Component { )} {type !== "3" && ( - - diff --git a/src/pages/register/register.tsx b/src/pages/register/register.tsx index 2bfcbcc..fa32cad 100644 --- a/src/pages/register/register.tsx +++ b/src/pages/register/register.tsx @@ -239,7 +239,7 @@ class Register extends Component { src={require("../../img/welcome/unchecked.png")} > )} - + 我已阅读并同意《用户协议》和《隐私政策》 diff --git a/src/store/features/userInfo.js b/src/store/features/userInfo.js index 8cfe66e..e8503f1 100644 --- a/src/store/features/userInfo.js +++ b/src/store/features/userInfo.js @@ -9,7 +9,7 @@ const userInfoReducer = createSlice({ mobile: "", nickname: "", headimg: "", - birthday: "", // 生日 + birthday: dayjs().format("YYYY-MM-DD"), // 生日 province: "", // 省 provinceId: "", city: "", // 市