|
|
@@ -147,7 +147,7 @@
|
|
|
</uni-forms-item>
|
|
|
</uni-col>
|
|
|
<uni-col :xs="24" :md="24">
|
|
|
- <uni-row >
|
|
|
+ <uni-row :gutter="20">
|
|
|
<uni-col :xs="24" :md="12">
|
|
|
<uni-forms-item name="birthDate" :label="t('newSignup.item18')">
|
|
|
<uni-datetime-picker type="date" v-model="formData.birthDate"
|
|
|
@@ -452,8 +452,8 @@ const isAgeValid = computed(() => {
|
|
|
return age >= 18
|
|
|
})
|
|
|
|
|
|
-const checkAge = () => {
|
|
|
- if (formData.value.birthDate && !isAgeValid.value) {
|
|
|
+const checkAge = (value) => {
|
|
|
+ if (value && !isAgeValid.value) {
|
|
|
confirm({
|
|
|
title: t('Msg.SystemPrompt'),
|
|
|
content: t('signup.ageRestriction'),
|
|
|
@@ -1443,9 +1443,11 @@ button {
|
|
|
|
|
|
.btn-code {
|
|
|
//margin-left: -10px;
|
|
|
- width: px2rpx(120);
|
|
|
+ width: auto;
|
|
|
+ min-width: px2rpx(80);
|
|
|
height: 3rem;
|
|
|
box-sizing: border-box;
|
|
|
+ padding: 0 px2rpx(10);
|
|
|
background-color: #102047;
|
|
|
//border: 1px solid rgb(229, 229, 229);
|
|
|
color: #fff;
|