|
|
@@ -40,15 +40,15 @@ function handleGo(item: { name: string }) {
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
|
- <view class="page-class bg-#F9F9F9 dark:bg-[var(--wot-dark-background)]">
|
|
|
+ <view class="page-class bg-[#F9F9F9] dark:bg-[var(--wot-dark-background)]">
|
|
|
<wd-navbar
|
|
|
title="个人中心" custom-style="background-color: transparent !important;" :bordered="false"
|
|
|
safe-area-inset-top fixed :z-index="99"
|
|
|
/>
|
|
|
- <view class="header relative h-408rpx rounded-18px">
|
|
|
- <view class="absolute bottom-100rpx left-0 box-border w-full flex items-center justify-between pl48rpx pr58rpx">
|
|
|
+ <view class="header relative h-408rpx rounded-[18px]">
|
|
|
+ <view class="absolute bottom-100rpx left-0 box-border w-full flex items-center justify-between pl-48rpx pr-58rpx">
|
|
|
<template v-if="!token">
|
|
|
- <image :src="`${StaticUrl}/9.png`" alt="" class="h100rpx w100rpx" />
|
|
|
+ <image :src="`${StaticUrl}/9.png`" alt="" class="h-100rpx w-100rpx" />
|
|
|
<view class="text-32rpx font-semibold">
|
|
|
请登录后使用完整功能
|
|
|
</view>
|
|
|
@@ -58,12 +58,12 @@ function handleGo(item: { name: string }) {
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<view class="flex items-center">
|
|
|
- <image :src="getUserAvatar" alt="" class="h100rpx w100rpx flex-shrink-0 rounded-full" />
|
|
|
- <view class="ml20rpx flex-1">
|
|
|
+ <image :src="getUserAvatar" alt="" class="h-100rpx w-100rpx flex-shrink-0 rounded-full" />
|
|
|
+ <view class="ml-20rpx flex-1">
|
|
|
<view class="text-32rpx font-semibold">
|
|
|
{{ userInfo.nickName }}
|
|
|
</view>
|
|
|
- <view class="mt12rpx rounded-8rpx bg-white px12rpx py4rpx text-24rpx text-[var(--them-color)] opacity-70">
|
|
|
+ <view class="mt-12rpx rounded-8rpx bg-white px-12rpx py-4rpx text-24rpx text-[var(--them-color)] opacity-70">
|
|
|
{{ userInfo.channelName }}
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -71,9 +71,9 @@ function handleGo(item: { name: string }) {
|
|
|
<view class="flex flex-col items-center" @click="router.push({ name: 'common-user-center' })">
|
|
|
<image
|
|
|
:src="`${StaticUrl}/user-setting.png`"
|
|
|
- class="h48rpx w48rpx"
|
|
|
+ class="h-48rpx w-48rpx"
|
|
|
/>
|
|
|
- <view class="mt12rpx text-24rpx text-[var(--them-color)]">
|
|
|
+ <view class="mt-12rpx text-24rpx text-[var(--them-color)]">
|
|
|
账户设置
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -97,29 +97,29 @@ function handleGo(item: { name: string }) {
|
|
|
</template>
|
|
|
<view class="grid grid-cols-4 gap-4">
|
|
|
<view v-for="item in tabList" :key="item.title" class="flex flex-col items-center justify-center" @click="handleGo(item)">
|
|
|
- <image :src="item.icon" class="h56rpx w56rpx" />
|
|
|
- <view class="mt20rpx text-24rpx">
|
|
|
+ <image :src="item.icon" class="h-56rpx w-56rpx" />
|
|
|
+ <view class="mt-20rpx text-24rpx">
|
|
|
{{ item.title }}
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="h20rpx" />
|
|
|
+ <view class="h-20rpx" />
|
|
|
</wd-card>
|
|
|
</view>
|
|
|
- <view class="item-cell mt20rpx">
|
|
|
+ <view class="item-cell mt-20rpx">
|
|
|
<wd-card custom-class="card">
|
|
|
<wd-cell-group custom-class="cell-group">
|
|
|
<wd-cell title="收货地址" custom-title-class="cell-title" clickable is-link @click="router.push({ name: 'common-addressList' })">
|
|
|
<template #icon>
|
|
|
- <image :src="`${StaticUrl}/4.png`" class="h50rpx w50rpx" />
|
|
|
+ <image :src="`${StaticUrl}/4.png`" class="h-50rpx w-50rpx" />
|
|
|
</template>
|
|
|
</wd-cell>
|
|
|
<wd-cell custom-title-class="cell-title" clickable is-link>
|
|
|
<template #icon>
|
|
|
- <image :src="`${StaticUrl}/5.png`" class="h50rpx w50rpx" />
|
|
|
+ <image :src="`${StaticUrl}/5.png`" class="h-50rpx w-50rpx" />
|
|
|
</template>
|
|
|
<template #title>
|
|
|
- <view class="ml20rpx w90%">
|
|
|
+ <view class="ml-20rpx w-[90%]">
|
|
|
<Zcontact>联系平台客服</Zcontact>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -127,28 +127,27 @@ function handleGo(item: { name: string }) {
|
|
|
</wd-cell-group>
|
|
|
</wd-card>
|
|
|
</view>
|
|
|
- <view class="item-cell mt20rpx">
|
|
|
+ <view class="item-cell mt-20rpx">
|
|
|
<wd-card custom-class="card">
|
|
|
<wd-cell-group custom-class="cell-group">
|
|
|
<wd-cell title="积分" custom-title-class="cell-title" clickable is-link @click="router.push({ name: 'common-integral' })">
|
|
|
<template #icon>
|
|
|
- <image :src="`${StaticUrl}/7.png`" class="h50rpx w50rpx" />
|
|
|
+ <image :src="`${StaticUrl}/7.png`" class="h-50rpx w-50rpx" />
|
|
|
</template>
|
|
|
</wd-cell>
|
|
|
<wd-cell title="评价" custom-title-class="cell-title" clickable is-link>
|
|
|
<template #icon>
|
|
|
- <image :src="`${StaticUrl}/8.png`" class="h50rpx w50rpx" />
|
|
|
+ <image :src="`${StaticUrl}/8.png`" class="h-50rpx w-50rpx" />
|
|
|
</template>
|
|
|
</wd-cell>
|
|
|
</wd-cell-group>
|
|
|
</wd-card>
|
|
|
</view>
|
|
|
- <view v-if="token" class="mt80rpx flex items-center justify-center">
|
|
|
+ <view v-if="token" class="mt-80rpx flex items-center justify-center">
|
|
|
<wd-button @click="handleLoginOut">
|
|
|
退出登录
|
|
|
</wd-button>
|
|
|
</view>
|
|
|
- <QCode text="123" :qwidth="100" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|