From d9a89d83c2048a964f16ca179feb2b7f21b9d33a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:28:47 +0800
Subject: [PATCH] 提交

---
 wechat_staff/pages/store/staff.wxml |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/wechat_staff/pages/store/staff.wxml b/wechat_staff/pages/store/staff.wxml
index c02b291..4fb840c 100644
--- a/wechat_staff/pages/store/staff.wxml
+++ b/wechat_staff/pages/store/staff.wxml
@@ -2,28 +2,32 @@
   <back />
   <image src="../../static/images/design_banner@2x.png" mode="widthFix" class="bg_wrap"></image>
   <view class="container">
-    <image class="avatar" src="{{userInfo.imgurlFull}}"></image>
+    <image class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image>
     <view class="name_wrap">
       <view class="left">
         <view class="name">{{userInfo.name}}</view>
         <view class="tag">瀵艰喘</view>
         <!-- <view class="tag">5骞寸粡楠�</view> -->
       </view>
-      <image bind:tap="showQrcode" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
+      <image wx:if="{{ userInfo.qrcodeImgFull }}" bind:tap="showQrcode" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
     </view>
     <view class="desc">
       <image src="../../static/icon/mingpian_ic_edit@2x.png" mode="widthFix"></image>
-      <view>{{userInfo.slogans}}</view>
+      <view class="text">{{userInfo.slogans}}</view>
       <view class="icon"></view>
     </view>
     <view class="static">
       <view class="card">
+        <image src="../../static/images/mingpian_bg_nianxian.png" class="bg"></image>
         <view>浠庝笟骞撮檺</view>
-        <view class="num">{{userInfo.jobDate||'0'}}</view>
+        <view class="num">{{ userInfo.jobDate || '5' }}</view>
       </view>
       <view class="card">
+      <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
         <view>鏈嶅姟瀹㈡埛</view>
-        <view class="num">{{userInfo.costomerNum||'0'}}</view>
+        <view class="num" wx:if="{{ userInfo.costomerNum || userInfo.costomerNum == 0 }}">{{ userInfo.costomerNum || '--' }}+ 
+        </view>
+        <view wx:else class="num">--</view>
       </view>
     </view>
     <view class="guide">
@@ -56,10 +60,10 @@
   <van-popup show="{{ isShow }}" closeable round bind:close="onClose">
     <view class="modal">
       <view class="header">
-        <image class="avatar" src="{{userInfo.imgurlFull}}"></image>
+        <image class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image>
         <view class="content">
           <view class="name">{{userInfo.name}}</view>
-          <view class="desc">瀵艰喘 锝� {{userInfo.jobDate ||'0'}}骞寸粡楠�</view>
+          <view class="desc">瀵艰喘 锝� {{userInfo.jobDate ||'5'}}骞寸粡楠�</view>
         </view>
       </view>
       <image class="qrcode" src="{{userInfo.qrcodeImgFull}}"></image>

--
Gitblit v1.9.3