From 9453bef1fc4a3121b28ffa6617f0fbfc81d9f634 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 19 五月 2025 17:35:11 +0800 Subject: [PATCH] fix: 修改首页ui --- apps/taro/src/pages/mine/index.vue | 49 +++++++++++-------------------------------------- 1 files changed, 11 insertions(+), 38 deletions(-) diff --git a/apps/taro/src/pages/mine/index.vue b/apps/taro/src/pages/mine/index.vue index d6a3c92..ef455e0 100644 --- a/apps/taro/src/pages/mine/index.vue +++ b/apps/taro/src/pages/mine/index.vue @@ -1,44 +1,11 @@ <template> - <!-- <PageLayoutWithBg class="mine-page-wrapper" title="鎴戠殑" :need-auth="false"> - <template #navigationBar> - <TransparentNavigationBar - title="涓汉涓績" - :is-absolute="false" - mode="dark" - ></TransparentNavigationBar> - </template> - <template #bg> - <img :src="OssAssets.mine.Bg" class="mine-page-bg" :style="{ height: `${bgHeight}px` }" /> - </template> - <div class="mine-page-top-view" @click="goLogin"> - <img class="mine-avatar" :src="DefaultAvatar" alt="" /> - <div class="user-info"> - <div class="user-info-name" v-if="isLogin"> - {{ hiddenPhoneNumber(virtualPhoneNumber) }} - </div> - <div class="mine-go-login" v-else>鐧诲綍</div> - </div> - </div> - <ContentScrollView> - <List class="mine-list-wrapper"> - <ListItem title="璁㈠崟绠$悊" @click="goOrderManage"></ListItem> - <ListItem title="鎴峰彿绠$悊" @click="goUserAccountList"></ListItem> - <template v-if="isChannelAccount"> - <ListItem title="鏁版嵁鐪嬫澘" @click="goDashboard"></ListItem> - <ListItem title="鎺ㄥ箍浜岀淮鐮�" @click="goShareQrcode"></ListItem> - </template> - <ListItem v-if="isWeb && !isInAlipay" title="鍦ㄧ嚎瀹㈡湇" @click="handleChat"></ListItem> - <ListItem v-if="isLogin" title="閫�鍑虹櫥褰�" @click="goLogout"></ListItem> - </List> - </ContentScrollView> - </PageLayoutWithBg> --> - <PageLayout class="index-page-wrapper" :need-auth="false"> + <PageLayout class="mine-page-wrapper" :need-auth="false"> <template #navigationBar> <TransparentNavigationBar :title="'涓汉涓績'" :is-absolute="false"> </TransparentNavigationBar> </template> <template #bg> - <img :src="OssAssets.common.HomePageBg" class="home-page-bg" /> + <img :src="OssAssets.common.MinePageBg" class="mine-page-bg" /> </template> <div class="mine-page-top-view" @click="goLogin"> <img class="mine-avatar" :src="DefaultAvatar" alt="" /> @@ -49,7 +16,7 @@ <div class="mine-go-login" v-else>鐧诲綍</div> </div> </div> - <ContentView> + <ContentScrollView style="background-color: transparent"> <List class="mine-list-wrapper"> <ListItemV2 :icon="IconMineOrder" title="璁㈠崟绠$悊" @click="goOrderManage"></ListItemV2> <ListItemV2 :icon="IconMineUserId" title="鎴峰彿绠$悊" @click="goUserAccountList"></ListItemV2> @@ -67,9 +34,14 @@ title="鍦ㄧ嚎瀹㈡湇" @click="handleChat" ></ListItemV2> - <ListItemV2 v-if="isLogin" title="閫�鍑虹櫥褰�" @click="goLogout"></ListItemV2> + <ListItemV2 + v-if="isLogin" + title="閫�鍑虹櫥褰�" + @click="goLogout" + :icon="IconMineExist" + ></ListItemV2> </List> - </ContentView> + </ContentScrollView> </PageLayout> </template> @@ -84,6 +56,7 @@ import IconMineDataBoard from '@/assets/mine/icon-mine-data-board.png'; import IconMinePromotion from '@/assets/mine/icon-mine-promotion.png'; import IconMineCustomerService from '@/assets/mine/icon-mine-customer-service.png'; +import IconMineExist from '@/assets/mine/icon-mine-exist.png'; import { useSystemStore } from '@/stores/modules/system'; import { useUserStore } from '@/stores/modules/user'; import { Message } from '@/utils'; -- Gitblit v1.9.1