From ebc6e7ee67f13e7aa311e737dfcb4c5caed112ee Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 15 八月 2024 18:23:57 +0800
Subject: [PATCH] ll
---
wechat_jiaxuan/pages/store/staff.wxml | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/wechat_jiaxuan/pages/store/staff.wxml b/wechat_jiaxuan/pages/store/staff.wxml
index fb49595..1444035 100644
--- a/wechat_jiaxuan/pages/store/staff.wxml
+++ b/wechat_jiaxuan/pages/store/staff.wxml
@@ -1,7 +1,7 @@
-<view>
+<view class="app">
<!-- <navBar></navBar> -->
<image src="../../static/images/design_banner@2x.png" mode="widthFix" class="bg_wrap"></image>
- <view class="container">
+ <view class="containe">
<image class="avatar" src="{{ info.imgurlFull ? info.imgurlFull : '../../static/images/default_avatar.png' }}"></image>
<view class="name_wrap">
<view class="left">
@@ -9,23 +9,25 @@
<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 || '--' }}
+ <text class="icon">+</text>
+ </view>
<view wx:else class="num">--</view>
</view>
</view>
@@ -34,22 +36,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 + 6}}px;">
<view class="btn">
<image src="../../static/icon/call.png" mode="widthFix"></image>
<view>鑱旂郴TA</view>
@@ -59,10 +61,10 @@
<van-popup show="{{ isShow }}" closeable round bind:close="onClose">
<view class="modal">
<view class="header">
- <image class="avatar" src="{{ info.imgurlFull }}"></image>
+ <image show-menu-by-longpress 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