wjt
2024-06-21 07401392be0115d291e64471325fcc4c17ba2be9
policy/components/mine.vue
@@ -6,12 +6,12 @@
            <image src="/static/policy/header.png" mode="widthFix"></image>
            <view class="user-info">
               <view class="user-name">
                  <view class="inckname">刘小雅</view>
                  <view class="inckname">{{userInfo.data.nickName}}</view>
                  <view class="direc"></view>
                  <view class="dept-per">执法人员</view>
               </view>
               <view class="dept-name">
                  环保局--第一部门
                  {{userInfo.data.dept.parentName}}
               </view>
            </view>
         </view>
@@ -19,13 +19,14 @@
      <view class="main-box">
         <view class="show-phone-number">
            <text class="label">联系电话</text>
            <text>168****4164</text>
            <text v-if="userInfo.phonenumber">{{userInfo.data.phonenumber.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2")}}</text>
            <text v-else>暂无手机号</text>
         </view>
         <view class="show-phone-number" @click="goChangePhone">
            <view class="set-flex">
               <!-- <u-icon name="phone" size="22"></u-icon> -->
               <image src="/static/policy/phone.png" mode="widthFix"></image>
               <text class="change" >修改手机号</text>
               <text class="change">修改手机号</text>
            </view>
            <u-icon name="arrow-right"></u-icon>
         </view>
@@ -38,6 +39,12 @@
<script>
   export default {
      props: {
         userInfo: {
            type: Object,
            default: () => ({})
         },
      },
      data(){
         return {
            src: '/static/policy/header.png'