xuxy
2024-07-27 dcc7b2d14fcbac97fb6d2c8975a3cd93dfbcc458
pages/user/supplier-user.vue
@@ -16,18 +16,22 @@
      <!-- v-if="currentInfo&&(currentInfo.id)" -->
      <view class="flex user-info">
        <!-- 头像 -->
        <image class="user-icon" v-if="!currentInfo.picture"
            <image class="user-icon" v-if="currentInfo.picture
               ||currentInfo.customerDTO&&currentInfo.customerDTO.cover
               ||currentInfo.supplierDTO&&currentInfo.supplierDTO.cover
               " :src="currentInfo.picture
               ||currentInfo.customerDTO&&currentInfo.customerDTO.cover
               ||currentInfo.supplierDTO&&currentInfo.supplierDTO.cover" mode="aspectFit"></image>
            <image class="user-icon" v-else
               src='https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png'
               mode="aspectFit"></image>
        <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image>
        <view class="name" v-if="currentInfo.id">
          <view class="t1">
            {{
              (!!currentInfo.supplierDTO ? (currentInfo.supplierDTO.name) : "") || currentInfo.nickName || currentInfo.loginName || '-'
            }}<span
              v-if="currentInfo.supplierDTO&&currentInfo.supplierDTO.status!=='P'">
              (!!currentInfo.supplierDTO ? (currentInfo.supplierDTO.name) : "") || (!!currentInfo.customerDTO ? (currentInfo.customerDTO.name) : "") || currentInfo.nickName || currentInfo.loginName || '-'
            }}<span v-if="currentInfo.supplierDTO&&currentInfo.supplierDTO.status!=='P'">
                     ({{ currentInfo.supplierDTO ? currentInfo.supplierDTO.statusStr : '' }})</span>
          </view>
          <view class="t2">{{ currentInfo.tel || '暂无电话' }}</view>
@@ -66,8 +70,7 @@
        <view class="title flex">
          <view class="flex1">我的订单</view>
          <view class="m-r-a m-r-0 more" @click="goto('/pages/order/order',true)">全部订单
            <uni-icons class="" type="right"
                       size="12"></uni-icons>
                  <uni-icons class="" type="right" size="12"></uni-icons>
          </view>
        </view>
        <view class="flex order-icons-container">
@@ -165,8 +168,7 @@
          <uni-icons type="right"></uni-icons>
        </view>
      </view>
      <view class="user-util m-t-12 "
            v-if="selftype==='supplier'||selftype==='customer' || !selftype">
         <view class="user-util m-t-12 " v-if="selftype==='supplier'||selftype==='customer' || !selftype">
        <view class="title">我的客服</view>
        <view class="flex">
          <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image>
@@ -210,8 +212,8 @@
          </view>
          <view class="userName">
            <text style="padding-bottom: 20rpx;">修改昵称:</text>
            <input :clearable="false" type="nickname" class="weui-input" :value="regUserName" @blur="onBindblur"
                   placeholder="请输入昵称" @input="onBindinput"/>
                  <input :clearable="false" type="nickname" class="weui-input" :value="regUserName"
                     @blur="onBindblur" placeholder="请输入昵称" @input="onBindinput" />
          </view>
          <view style="width: 100%;height: 1px; background: #EEE;">