|
|
@@ -9,9 +9,7 @@
|
|
|
:rules="formRules.mobilephone">
|
|
|
<template #label>
|
|
|
<span>{{ $t('user.register.mobile') }}</span>
|
|
|
- <span style="margin-left: 10px;" @click="show = true">
|
|
|
- {{ countryCode }}
|
|
|
- </span>
|
|
|
+ <span style="margin-left: 10px;" @click="show = true">{{ countryCode }}</span>
|
|
|
<Popup v-model:show="show" position="bottom" teleport="body" round>
|
|
|
<Picker :columns="datalist" @cancel="onCancel" @confirm="onConfirm"
|
|
|
:confirm-button-text="$t('operation.confirm')" :cancel-button-text="$t('operation.cancel')">
|
|
|
@@ -52,7 +50,7 @@
|
|
|
<CellGroup inset>
|
|
|
<Cell>
|
|
|
<template #title>
|
|
|
- <div style="display: flex;align-items: center;font-size: 12px;">
|
|
|
+ <div style="display: flex;align-items: center;font-size: 13px;">
|
|
|
<Checkbox shape="square" icon-size="16px" v-model="checked">
|
|
|
{{ $t('user.register.checked') }}
|
|
|
</Checkbox>
|
|
|
@@ -79,7 +77,7 @@
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
import { reactive, shallowRef, ref, computed, onMounted } from 'vue'
|
|
|
-import { CellGroup, Cell, Button, Field, Form, FormInstance, Checkbox, showFailToast, showToast, FieldRule, Popup, Picker, PickerConfirmEventParams } from 'vant'
|
|
|
+import { CellGroup, Cell, Button, Icon, Field, Form, FormInstance, Checkbox, showFailToast, showToast, FieldRule, Popup, Picker, PickerConfirmEventParams } from 'vant'
|
|
|
import { useCountDown } from '@vant/use'
|
|
|
import { fullloading, dialog } from '@/utils/vant'
|
|
|
import { validateRules } from '@/constants/regex'
|