diff --git a/app/components/drag-window/index.vue b/app/components/drag-window/index.vue index ed9c8e1..458b623 100644 --- a/app/components/drag-window/index.vue +++ b/app/components/drag-window/index.vue @@ -1,199 +1,119 @@ - - - \ No newline at end of file diff --git a/app/components/itemDetail/index.vue b/app/components/itemDetail/index.vue index c6e8f92..f2ca9d6 100644 --- a/app/components/itemDetail/index.vue +++ b/app/components/itemDetail/index.vue @@ -39,7 +39,7 @@ const props = defineProps({
{{$t('detail.text6')}}:
-
RMB 1,000
+
{{detailInfo?.startPriceCurrency}} {{detailInfo?.startPrice}}
{{$t('detail.text7')}}:
diff --git a/app/components/x-van-date/index.vue b/app/components/x-van-date/index.vue index 939069e..7acabd5 100644 --- a/app/components/x-van-date/index.vue +++ b/app/components/x-van-date/index.vue @@ -1,11 +1,10 @@
diff --git a/app/pages/realAuth/index.vue b/app/pages/realAuth/index.vue index 65d8ce7..4cf808e 100644 --- a/app/pages/realAuth/index.vue +++ b/app/pages/realAuth/index.vue @@ -5,18 +5,14 @@ import {userUpdate} from "@/api/auth/index.js"; import {message} from '@/components/x-message/useMessage.js' import detail from './components/detail.vue' import {authStore} from "@/stores/auth/index.js"; +import XVanDate from '@/components/x-van-date/index.vue' +import XVanSelect from '@/components/x-van-select/index.vue' const router = useRouter(); -const route = useRoute(); -const showPicker = ref(false); +const { locale } = useI18n() const {userInfo}= authStore() -const birthdayDate = ref([]) -const showBirthdayPicker = ref(false) -const minDate = new Date(1950, 0, 1) -const maxDate = new Date(2025, 12, 31) -const active=ref(0) +const active=ref(locale.value==='zh-CN'?0:1) const { t } = useI18n() const form=ref({ - idNum: "", realName: "", sex:'', birthDate:'', @@ -34,15 +30,6 @@ const columns=ref([ { text: t('realAuth.male'), value: 1 }, { text: t('realAuth.female'), value: 2 }, ]) -const onConfirm = ({ selectedValues, selectedOptions }) => { -form.value.sex=selectedValues?.[0] - showPicker.value = false -} -const onBirthdayConfirm = (value) => { - form.value.birthDate=value.selectedValues.join('-') - showBirthdayPicker.value = false -} - function isFormComplete(obj) { for (const key in obj) { if (typeof obj[key] === 'object' && obj[key] !== null) { @@ -58,6 +45,7 @@ function isFormComplete(obj) { const statusCode=ref(0) const confirm=async ()=>{ const thatForm=active.value===0?form1.value:form.value + thatForm.userExtend.isMainland=active.value===0?1:0 if (isFormComplete(thatForm)){ const res=await userUpdate(thatForm) if (res.status===0){ @@ -74,7 +62,6 @@ const goHome=()=>{ router.push('/') } definePageMeta({ - title: '实名认证', i18n: 'realAuth.title', }) @@ -100,16 +87,13 @@ definePageMeta({
{{ $t('realAuth.otherTabDesc') }}
- +
- +
- - +
{{ $t('home.go_home')}}
- - - - - -
diff --git a/app/pages/signature/personal-Info/index.vue b/app/pages/signature/personal-Info/index.vue index 4505929..a11b43f 100644 --- a/app/pages/signature/personal-Info/index.vue +++ b/app/pages/signature/personal-Info/index.vue @@ -28,10 +28,10 @@ const adress=ref('')
- {{$t(personal.title)}} + {{$t('personal.title')}}
- + diff --git a/app/static/images/zu5512@2x.png b/app/static/images/zu5512@2x.png new file mode 100644 index 0000000..e94948e Binary files /dev/null and b/app/static/images/zu5512@2x.png differ diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index 42baccb..ffaf303 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -73,7 +73,8 @@ "bankCardPlaceholder": "请输入银行卡号码", "cancel": "取消", "confirm": "确定", - "success_mess": "提交成功" + "success_mess": "提交成功", + "text1": "请选择性别" }, "detail": { "text1": "作者",