吉安感知网项目-前端
张含笑
2026-01-09 dc3c19ec783e8be03b88c3deb56a1f189c60ab57
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;
    }