From d9a89d83c2048a964f16ca179feb2b7f21b9d33a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:28:47 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/pages/store/staff.wxml | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/wechat_jiaxuan/pages/store/staff.wxml b/wechat_jiaxuan/pages/store/staff.wxml
index 9afdc2c..611f7fb 100644
--- a/wechat_jiaxuan/pages/store/staff.wxml
+++ b/wechat_jiaxuan/pages/store/staff.wxml
@@ -2,30 +2,30 @@
<!-- <navBar></navBar> -->
<image src="../../static/images/design_banner@2x.png" mode="widthFix" class="bg_wrap"></image>
<view class="container">
- <image class="avatar" src="{{ info.imgurlFull }}"></image>
+ <image class="avatar" src="{{ info.imgurlFull ? info.imgurlFull : '../../static/images/default_avatar.png' }}"></image>
<view class="name_wrap">
<view class="left">
<view class="name">{{ info.name }}</view>
<view class="tag">瀵艰喘</view>
<!-- <view class="tag">{{ info.jobDate || '-' }}骞寸粡楠�</view> -->
</view>
- <image bindtap="openModal" class="qrcode" src="../../static/icon/mingpian_erweima@2x.png" mode="widthFix"></image>
+ <image wx:if="{{ info.qrcodeImgFull }}" bindtap="openModal" 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>{{ info.slogans }}</view>
+ <view class="text">{{ info.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">{{ info.jobDate || '-' }}</view>
+ <view class="num">{{ info.jobDate || '5' }}</view>
</view>
<view class="card">
<image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
<view>鏈嶅姟瀹㈡埛</view>
- <view class="num" wx:if="{{ info.costomerNum || info.costomerNum == 0 }}">{{ info.costomerNum || '-' }}+</view>
+ <view class="num" wx:if="{{ info.costomerNum || info.costomerNum == 0 }}">{{ info.costomerNum || '--' }}+</view>
<view wx:else class="num">--</view>
</view>
</view>
@@ -34,22 +34,22 @@
<view class="line">
<image class="icon" src="../../static/icon/mingpian_ic_phone@2x.png" mode="widthFix"></image>
<text class="label">鑱旂郴鐢佃瘽</text>
- <text class="val">{{ info.phone }}</text>
+ <text class="val">{{ info.phone || '--' }}</text>
</view>
<view class="line">
<image class="icon" src="../../static/icon/mingpian_ic_mendian@2x.png" mode="widthFix"></image>
<text class="label">闂ㄥ簵鍚嶇О</text>
- <text class="val">{{ info.shopName }}</text>
+ <text class="val">{{ info.shopName || '--' }}</text>
</view>
<view class="line">
<image class="icon" src="../../static/icon/mingpian_ic_dizhi@2x.png" mode="widthFix"></image>
<text class="label">闂ㄥ簵鍦板潃</text>
- <text class="val">{{ info.shopAddress }}</text>
+ <text class="val">{{ info.shopAddress || '--' }}</text>
</view>
</view>
</view>
<!-- footer -->
- <view bindtap="openModal" class="footer" style="bottom: {{bottomLift}}px;">
+ <view bindtap="makePhone" class="footer" style="bottom: {{bottomLift}}px;">
<view class="btn">
<image src="../../static/icon/call.png" mode="widthFix"></image>
<view>鑱旂郴TA</view>
@@ -62,7 +62,7 @@
<image class="avatar" src="{{ info.imgurlFull }}"></image>
<view class="content">
<view class="name">{{ info.name }}</view>
- <view class="desc">瀵艰喘 锝� {{ info.jobDate || '--' }}骞寸粡楠�</view>
+ <view class="desc">瀵艰喘 锝� {{ info.jobDate || 5 }}骞寸粡楠�</view>
</view>
</view>
<image class="qrcode" src="{{ info.qrcodeImgFull }}"></image>
--
Gitblit v1.9.3