diff --git a/app/api/goods/index.js b/app/api/goods/index.js index fb25bf1..3e2a5e7 100644 --- a/app/api/goods/index.js +++ b/app/api/goods/index.js @@ -61,4 +61,12 @@ export async function signOffline(data) { method: 'POST', data }) +} +export async function fddCheck(data) { + + return await request( { + url:'/api/v1/m/user/fdd/check', + method: 'POST', + data + }) } \ No newline at end of file diff --git a/app/components/waterfallFlow/index.vue b/app/components/waterfallFlow/index.vue index cfc506c..a3c5b43 100644 --- a/app/components/waterfallFlow/index.vue +++ b/app/components/waterfallFlow/index.vue @@ -69,5 +69,4 @@ onMounted(() => { break-inside: avoid; } -/* 默认样式可以移到使用组件时自定义 */ \ No newline at end of file diff --git a/app/layouts/README.md b/app/layouts/README.md deleted file mode 100644 index ff0c124..0000000 --- a/app/layouts/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Layouts - -Vue components in this dir are used as layouts. - -By default, `default.vue` will be used unless an alternative is specified in the route meta. - -```vue - -``` - -Learn more on diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue index bda8b11..3ef7bf1 100644 --- a/app/pages/login/index.vue +++ b/app/pages/login/index.vue @@ -142,7 +142,7 @@ const goLogin =async () => { -
+
@@ -170,7 +170,7 @@ const goLogin =async () => {
-
+
{{ $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": "返回",