From dc3c19ec783e8be03b88c3deb56a1f189c60ab57 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 09 Jan 2026 11:22:45 +0800
Subject: [PATCH] feat:调整
---
uniapps/work-app/src/pages/user/index.vue | 34 +++++++++++++++++++---------------
1 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/uniapps/work-app/src/pages/user/index.vue b/uniapps/work-app/src/pages/user/index.vue
index 5874535..fb2096c 100644
--- a/uniapps/work-app/src/pages/user/index.vue
+++ b/uniapps/work-app/src/pages/user/index.vue
@@ -20,7 +20,7 @@
</view>
<view class="personalInformation">
<div class="message">
- <div class="messagebox">个人信息</div>
+ <div class="messagebox">个人资料</div>
<div class="editInfo" @click="handelEdit(1)">
点击编辑
<image :src="rightImage" alt="" />
@@ -35,7 +35,7 @@
</div>
</view>
- <view class="mt-20rpx">
+ <view class="goOutBtn">
<div class="goOutStyle" @click="logOut">退出登录</div>
</view>
@@ -54,7 +54,6 @@
const { setClipboardData, getClipboardData } = useClipboard();
const rightImage = getAssetsImage("/images/user/rightBtn.svg");
-const logoImage = getAssetsImage("/images/user/logo1.png");
const userStore = useUserStore();
const user = ref("");
@@ -71,9 +70,6 @@
});
}
-function getDeviceRegion() {
- getDeviceRegionApi().then((res) => {});
-}
const handelEdit = (val) => {
if (val === 1) {
uni.navigateTo({
@@ -103,7 +99,7 @@
}
.userBox {
- padding-top: 88rpx;
+ padding-top: 212rpx;
}
.userName {
font-weight: 700;
@@ -153,20 +149,28 @@
height: 52rpx;
}
}
-
+.goOutBtn {
+ display: flex;
+ justify-content: center;
+ position: absolute;
+ bottom: 72rpx;
+ left: 0;
+ right: 0;
+}
.goOutStyle {
- width: 590rpx;
- height: 76rpx;
- background: #1d6fe9;
- border-radius: 40rpx;
+ width: 670rpx;
+ height: 100rpx;
+ background: #1D6FE9;
+ border-radius: 8rpx 8rpx 8rpx 8rpx;
font-family: "Source Han Sans CN";
font-weight: 400;
- font-size: 28rpx;
+ font-size: 36rpx;
color: #ffffff;
text-align: center;
- line-height: 76rpx;
+ line-height: 100rpx;
margin: auto;
margin-top: 114rpx;
+
}
.personalInformation {
@@ -183,7 +187,7 @@
padding: 20rpx 40rpx;
font-family: "Source Han Sans CN";
font-weight: 500;
- font-size: 28rpx;
+ font-size: 32rpx;
color: #000000;
}
--
Gitblit v1.9.3