diff --git a/src/hooks/useListPageRequest.ts b/src/hooks/useListPageRequest.ts index 3f51a1d..86bb41a 100644 --- a/src/hooks/useListPageRequest.ts +++ b/src/hooks/useListPageRequest.ts @@ -50,7 +50,6 @@ function useListPageRequest( ...getPagingParams.value, ...customParams, }) - console.log(data) data.forEach((item: any) => { item.createtime = formatTime(item.createtime) item.image = getImageUrl(item.image) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 9939a78..41204f2 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -64,16 +64,26 @@ - - - 实名立即送5000股马尔代夫股权 - - 去认证 - - + + + + + @@ -123,17 +133,9 @@ const handleOfficialCommunity = () => { const handleDownload = () => { downloadAppAPI() } - +const showReward = ref(false) const handleReward = () => { - showModal( - `1.注册立即送5000股马尔代夫股权;\n -2.每股马尔代夫股权价值500元;\n -3.每邀请一人可以获得20股马尔代夫股权`, - { - title: '奖励制度', - confirmText: '我知道了', - }, - ) + showReward.value = true } const showRealName = ref(false) @@ -146,6 +148,7 @@ const handleRealName = () => { onLoad(async () => { const res = await getRealNameAuthAPI() if (!res.data) { + uni.hideTabBar() showRealName.value = true } }) diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index eb4abc5..d40bf96 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -22,7 +22,7 @@ v-model="formData.account" placeholder-class="text-#889BC6" class="text-right flex-1 text-14" - placeholder="请输入用户名" + placeholder="请输入手机号" /> @@ -74,7 +74,7 @@ onLoad((options) => { const handleLogin = async () => { if (!formData.value.account || !formData.value.password) { return uni.showToast({ - title: '请输入用户名和密码', + title: '请输入手机号和密码', icon: 'none', }) } diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue index 1b58532..85f3841 100644 --- a/src/pages/my/index.vue +++ b/src/pages/my/index.vue @@ -15,7 +15,7 @@ {{ userStore.userInfo.nickname }} 账号:{{ userStore.userInfo.username }} - + {{ Number(userStore.userInfo.money) }} 我的余额 @@ -33,7 +33,7 @@ - + @@ -174,7 +174,7 @@ const handleConvert = () => { .my-page { min-height: 100vh; padding-bottom: 100rpx; - background-image: url('@/static/images/bg.png'); + background-image: url('@/static/images/my/bg.jpg'); background-position: top; background-size: cover; } diff --git a/src/static/images/default-avatar.png b/src/static/images/default-avatar.png index 383aaa0..07c798f 100644 Binary files a/src/static/images/default-avatar.png and b/src/static/images/default-avatar.png differ diff --git a/src/static/images/my/bg.jpg b/src/static/images/my/bg.jpg new file mode 100644 index 0000000..122793b Binary files /dev/null and b/src/static/images/my/bg.jpg differ diff --git a/src/static/images/my/recommend.png b/src/static/images/my/recommend.png index f9f29e1..509616d 100644 Binary files a/src/static/images/my/recommend.png and b/src/static/images/my/recommend.png differ diff --git a/src/static/images/my/top-up.png b/src/static/images/my/top-up.png index 8a4b85d..8733bc7 100644 Binary files a/src/static/images/my/top-up.png and b/src/static/images/my/top-up.png differ diff --git a/src/static/images/my/withdrawal.png b/src/static/images/my/withdrawal.png index ee3a3c0..accc4fd 100644 Binary files a/src/static/images/my/withdrawal.png and b/src/static/images/my/withdrawal.png differ diff --git a/src/static/images/realname-popup.jpeg b/src/static/images/realname-popup.jpeg new file mode 100644 index 0000000..e3ac1b5 Binary files /dev/null and b/src/static/images/realname-popup.jpeg differ diff --git a/src/static/images/reward-bg.jpg b/src/static/images/reward-bg.jpg new file mode 100644 index 0000000..3494615 Binary files /dev/null and b/src/static/images/reward-bg.jpg differ