gaoluyang
4 天以前 025e46e11cb2962fd7692adfa401333758cc779b
src/pages_mine/pages/info/index.vue
@@ -1,14 +1,14 @@
<template>
  <view class="container">
    <view class="card">
      <van-cell-group inset>
        <van-cell icon="user" title="昵称" :value="user.nickName" />
        <van-cell icon="phone" title="手机号码" :value="user.phonenumber" />
        <van-cell icon="invitation" title="邮箱" :value="user.email" />
        <van-cell icon="medal" title="岗位" :value="postGroup" />
        <van-cell icon="friends" title="角色" :value="roleGroup" />
        <van-cell icon="notes" title="创建日期" :value="user.createTime" />
      </van-cell-group>
      <u-cell-group>
        <u-cell icon="account" title="昵称" :value="user.nickName" />
        <u-cell icon="phone" title="手机号码" :value="user.phonenumber" />
        <u-cell icon="email" title="邮箱" :value="user.email" />
        <u-cell icon="order" title="岗位" :value="postGroup" />
        <u-cell icon="star" title="角色" :value="roleGroup" />
        <u-cell icon="calendar" title="创建日期" :value="user.createTime" />
      </u-cell-group>
    </view>
    <!-- <u-button @click="register()">绑定微信</u-button> -->
@@ -54,21 +54,21 @@
.container {
  min-height: 100vh;
  padding: 0.75rem; /* 24rpx -> 0.75rem */
  padding: 0; /* 24rpx -> 0.75rem */
  box-sizing: border-box;
}
/* 列表卡片容器 */
.card {
  background-color: #ffffff;
  border-radius: 0.625rem; /* 20rpx -> 0.625rem */
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.06); /* 0 12rpx 32rpx -> 0 0.375rem 1rem */
  overflow: hidden;
}
/* 适配 Vant Cell */
:deep(.van-cell) {
  min-height: 2.875rem; /* 92rpx -> 2.875rem */
  min-height: 3rem; /* 92rpx -> 2.875rem */
   align-items: center;
}
:deep(.van-cell__title) {