{{ $t('login.hasSendTo') }}
+{{ selectedZone }} {{ phoneNum }}
diff --git a/app/pages/profile/index.vue b/app/pages/profile/index.vue
index 592eada..5bdbdcb 100644
--- a/app/pages/profile/index.vue
+++ b/app/pages/profile/index.vue
@@ -17,7 +17,6 @@ const localState = ref({
refreshing: false
})
-// 简化分组排序函数
const groupByDate = (data) => {
if (!Array.isArray(data)) return []
@@ -31,7 +30,6 @@ const groupByDate = (data) => {
}, {})).sort((a, b) => new Date(b.userCreatedAt) - new Date(a.userCreatedAt))
}
-// 获取数据
const fetchData = async () => {
try {
const res = await userArtworks({})
@@ -43,18 +41,15 @@ const fetchData = async () => {
}
}
-// 刷新处理
const onRefresh = async () => {
localState.value.refreshing = true
await fetchData()
localState.value.refreshing = false
}
-// 导航函数
const goPay = () => router.push('/signature/protocol')
const goDetail = (item) => router.push({ path: '/artDetail', query: { uuid: item.uuid } })
-// 初始化
fetchData()
@@ -88,8 +83,8 @@ fetchData()

-
您暂无拍品
-
快去竞拍吧
+
{{$t('profile.text1')}}
+
{{$t('profile.text2')}}
diff --git a/app/pages/realAuth/index.vue b/app/pages/realAuth/index.vue
index f1118e1..24be68f 100644
--- a/app/pages/realAuth/index.vue
+++ b/app/pages/realAuth/index.vue
@@ -7,6 +7,7 @@ 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'
+import {fddCheck} from "~/api/goods/index.js";
const router = useRouter();
const { locale } = useI18n()
const {userInfo}= authStore()
@@ -43,6 +44,7 @@ function isFormComplete(obj) {
}
return true;
}
+
const statusCode=ref(0)
const confirm=async ()=>{
const thatForm=active.value===0?form1.value:form.value
@@ -52,7 +54,11 @@ const confirm=async ()=>{
if (res.status===0){
userInfo.value=res.data
message.success(t('realAuth.success_mess'))
- statusCode.value=1
+ /*statusCode.value=1*/
+ const res1=await fddCheck()
+ if (res1.status===0){
+ console.log('res1',res1)
+ }
}
}else {
message.error(t('realAuth.cnTabDesc'))
diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json
index 0e808ea..758a8f2 100644
--- a/i18n/locales/zh-CN.json
+++ b/i18n/locales/zh-CN.json
@@ -34,7 +34,9 @@
},
"profile": {
"name": "姓名",
- "phone": "手机号"
+ "phone": "手机号",
+ "text1": "您暂无拍品",
+ "text2": "快去竞拍吧"
},
"error_page": {
"back_btn": "返回",