refactor:修改风格
@@ -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)
|
||||
|
||||
@@ -64,16 +64,26 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<wd-popup v-model="showRealName" custom-style="border-radius:32rpx;">
|
||||
<view class="p-15 w-345">
|
||||
<text class="custom-txt">实名立即送5000股马尔代夫股权</text>
|
||||
<view
|
||||
@click="handleRealName"
|
||||
class="mt-15 btn-gradient rounded-full text-center text-14 text-white py-15 mt-15"
|
||||
>
|
||||
去认证
|
||||
</view>
|
||||
</view>
|
||||
<wd-popup
|
||||
v-model="showRealName"
|
||||
custom-style="border-radius:32rpx;"
|
||||
:close-on-click-modal="false"
|
||||
lockScroll
|
||||
>
|
||||
<image
|
||||
class="w-300 h-416"
|
||||
src="@/static/images/realname-popup.jpeg"
|
||||
mode="widthFix"
|
||||
@click="handleRealName"
|
||||
/>
|
||||
</wd-popup>
|
||||
<wd-popup closable v-model="showReward" custom-style="border-radius:32rpx;">
|
||||
<image
|
||||
class="w-300 h-416"
|
||||
src="@/static/images/reward-bg.jpg"
|
||||
mode="widthFix"
|
||||
@click="showReward = false"
|
||||
/>
|
||||
</wd-popup>
|
||||
</view>
|
||||
</template>
|
||||
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
v-model="formData.account"
|
||||
placeholder-class="text-#889BC6"
|
||||
class="text-right flex-1 text-14"
|
||||
placeholder="请输入用户名"
|
||||
placeholder="请输入手机号"
|
||||
/>
|
||||
</view>
|
||||
<view class="flex items-center py-15">
|
||||
@@ -74,7 +74,7 @@ onLoad((options) => {
|
||||
const handleLogin = async () => {
|
||||
if (!formData.value.account || !formData.value.password) {
|
||||
return uni.showToast({
|
||||
title: '请输入用户名和密码',
|
||||
title: '请输入手机号和密码',
|
||||
icon: 'none',
|
||||
})
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<view class="text-16 mt-10">{{ userStore.userInfo.nickname }}</view>
|
||||
<view class="text-12 mt-8">账号:{{ userStore.userInfo.username }}</view>
|
||||
</view>
|
||||
<view class="flex justify-center text-center mt-15 items-center px-30">
|
||||
<view class="flex justify-center text-center mt-30 items-center px-30">
|
||||
<view class="flex-1">
|
||||
<view class="text-30 font-bold">{{ Number(userStore.userInfo.money) }}</view>
|
||||
<view class="text-14 mt-10 text-#3B81F3">我的余额</view>
|
||||
@@ -33,7 +33,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="flex px-15 mt-15">
|
||||
<view class="flex px-15 mt-30">
|
||||
<view
|
||||
class="flex py-30 justify-center items-center rounded-tl-10 rounded-br-10 flex-1 bg-[linear-gradient(180deg,#D9EBFF,#9EDAFF)] border-1 border-#5FAEFF80 border-solid"
|
||||
@click="handleWithdrawal"
|
||||
@@ -53,7 +53,7 @@
|
||||
<image
|
||||
class="w-330 h-123 mx-auto mt-15 block"
|
||||
src="@/static/images/my/recommend.png"
|
||||
mode="aspectFill"
|
||||
mode="widthFix"
|
||||
@click="handleInvite"
|
||||
/>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 255 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 157 KiB |