fix:最新版本
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
<base-input v-model="password" icon="lock" type="password" placeholder="请输入密码" />
|
||||
<base-input v-model="confirmPassword" icon="lock" type="password" placeholder="请确认密码" />
|
||||
|
||||
<text class="auth-form-page__hint">{{ passwordRuleHint }}</text>
|
||||
|
||||
<view class="auth-form-page__btn">
|
||||
<primary-button text="立即注册" @click="submit" />
|
||||
</view>
|
||||
@@ -25,8 +27,11 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PASSWORD_RULE_HINT } from '@/utils/validate'
|
||||
import { useRegister } from './use-register'
|
||||
|
||||
const passwordRuleHint = `${PASSWORD_RULE_HINT}。`
|
||||
|
||||
const {
|
||||
phone,
|
||||
code,
|
||||
@@ -58,6 +63,14 @@ const {
|
||||
margin-bottom: 48rpx;
|
||||
}
|
||||
|
||||
.auth-form-page__hint {
|
||||
display: block;
|
||||
margin-top: 16rpx;
|
||||
font-size: 24rpx;
|
||||
color: $color-text-secondary;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.auth-form-page__btn {
|
||||
margin-top: 16rpx;
|
||||
margin-bottom: 40rpx;
|
||||
|
||||
Reference in New Issue
Block a user