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: "", // 市