张含笑
2025-11-06 e3e0162869910e31d99fc8b98aa6b1f93039b757
feat:我的页面调整边距
1 files modified
11 ■■■■ changed files
src/pages/user/index.vue 11 ●●●● patch | view | raw | blame | history
src/pages/user/index.vue
@@ -1,7 +1,7 @@
<!-- 我的 -->
<template>
  <view class="page-wrap">
  <view class="userBox">
    <view class="flex items-center pb-30rpx pl-30rpx pr-20rpx">
      <view class="mr-20rpx">
        <u-avatar :src="user.avatar" size="70" />
@@ -36,13 +36,13 @@
    </view>
    <div class="bottomLogo"><image src="@/static/images/user/logo1.png" alt="" /></div>
  </view>
  </view>
</template>
<script setup>
  import {
    getUserInfo,
    updateInfo,
    updatePassword
  } from '@/api/user/index.js';
  import {
    useClipboard
@@ -78,7 +78,7 @@
  function getDeviceRegion() {
    getDeviceRegionApi().then(res => {
      // console.log(res.data.data, '用户设备')
    })
  }
  const handelEdit = (val) => {
@@ -113,9 +113,10 @@
    width: 100%;
    height: 100%;
  }
.userBox {
    padding-top: 88rpx;
  }
  .userName {
    font-weight: 700;
    font-size: 36rpx;