From 567fb186b00e8cb8cc90beb9e18c1b01b9c3f4ec Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期四, 28 八月 2025 10:52:11 +0800 Subject: [PATCH] 1.图标修改 --- src/pages/mine.vue | 35 ++++++++++++++++++++++------------- 1 files changed, 22 insertions(+), 13 deletions(-) diff --git a/src/pages/mine.vue b/src/pages/mine.vue index f0f075d..40a2645 100644 --- a/src/pages/mine.vue +++ b/src/pages/mine.vue @@ -22,9 +22,9 @@ </view> </view> </view> - <view class="right" @click="handleToInfo"> - <text class="link">涓汉淇℃伅</text> - <view class="iconfont icon-right"></view> + <view class="right" @click="handleLogout"> + <text class="link">閫�鍑虹櫥褰�</text> +<!-- <view class="iconfont icon-right"></view>--> </view> </view> @@ -32,21 +32,27 @@ <view class="menu-card"> <view class="menu-item" @click="handleUnitManage"> <uni-icons type="home" size="22" color="#3C96F3" /> - <text class="label">鍗曚綅绠$悊</text> + <text class="label">鍗曚綅淇℃伅</text> <uni-icons class="arrow" type="right" size="18" color="#c0c4cc" /> </view> - <view class="menu-item" @click="handleUserManage"> + <view class="menu-item" @click="handleToInfo"> <uni-icons type="person" size="22" color="#3C96F3" /> - <text class="label">鐢ㄦ埛绠$悊</text> + <text class="label">鐢ㄦ埛淇℃伅</text> <uni-icons class="arrow" type="right" size="18" color="#c0c4cc" /> </view> <view class="menu-item" @click="handleContractManage"> <uni-icons type="compose" size="22" color="#3C96F3" /> - <text class="label">鍚堝悓绠$悊</text> + <text class="label">鍚堝悓淇℃伅</text> <uni-icons class="arrow" type="right" size="18" color="#c0c4cc" /> </view> </view> - + <view> + <uni-popup ref="popup" type="dialog"> + <uni-popup-dialog type="info" cancelText="鍏抽棴" confirmText="閫�鍑�" title="閫氱煡" content="纭畾娉ㄩ攢骞堕��鍑虹郴缁熷悧" + @confirm="dialogConfirm"> + </uni-popup-dialog> + </uni-popup> + </view> <!-- 搴曢儴涓や釜淇℃伅鍗$墖 --> <!-- <view class="info-cards"> <view class="info-card"> @@ -89,7 +95,6 @@ uni.$on('refresh', () => { avatar.value = userStore.avatar; }) - function handleToInfo() { uni.navigateTo({ url: '/pages_mine/pages/info/index' @@ -120,19 +125,23 @@ // 鐜版湁璺宠浆鏂规硶淇濈暀锛歨andleToInfo / handleToLogin / handleToAvatar / handleHelp 绛� function handleUnitManage() { - // TODO: 鏇挎崲涓虹湡瀹炶矾鐢� - uni.showToast({ title: '妯″潡寤鸿涓瓇', icon: 'none' }); + uni.navigateTo({ + url: '/pages_mine/pages/company/index' + }); } function handleUserManage() { // TODO: 鏇挎崲涓虹湡瀹炶矾鐢� uni.showToast({ title: '妯″潡寤鸿涓瓇', icon: 'none' }); } function handleContractManage() { - // TODO: 鏇挎崲涓虹湡瀹炶矾鐢� - uni.showToast({ title: '妯″潡寤鸿涓瓇', icon: 'none' }); + uni.navigateTo({ + url: '/pages_mine/pages/contract/index' + }); } onMounted(() => { // 璁剧疆鐢ㄦ埛淇℃伅 + // 璁剧疆鐢ㄦ埛淇℃伅 + userStore.getInfo() }); </script> -- Gitblit v1.9.3