From 73393bacf16a3ab018f0688b89ca58984ddbbd70 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 25 七月 2024 15:24:50 +0800
Subject: [PATCH] ''
---
wechat_staff/pages/work/index.wxml | 36 +++++++++++++++++++++++++-----------
1 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/wechat_staff/pages/work/index.wxml b/wechat_staff/pages/work/index.wxml
index 00d9b82..686f9c1 100644
--- a/wechat_staff/pages/work/index.wxml
+++ b/wechat_staff/pages/work/index.wxml
@@ -1,18 +1,18 @@
<view class="container">
-<view class="topbg" style="background-image:url('{{topimg}}');background-color: aquamarine;">
- <view class="navbar" style="padding-top: {{ clientTop }}px;height: {{clientHeight + clientTop}}px;">宸ヤ綔鍙�</view>
- <view class="userinfo" data-index="0" bindtap="changePath">
- <image class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image>
- <view class="content" >
- <view class="header">
- <view class="name">{{userInfo.name}}</view>
+ <view class="topbg" style="background-image:url('{{topimg}}');background-color: aquamarine;">
+ <view class="navbar" style="padding-top: {{ clientTop }}px;height: {{clientHeight + clientTop}}px;">宸ヤ綔鍙�</view>
+ <view class="userinfo">
+ <image data-index="0" bindtap="changePath" class="avatar" src="{{userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png'}}"></image>
+ <view data-index="0" bindtap="changePath" class="content">
+ <view class="header">
+ <view class="name">{{userInfo.name}}</view>
+ </view>
+ <view class="addr">{{userInfo.phone}}</view>
+ <view class="detail">{{userInfo.shopName}}</view>
</view>
- <view class="addr">{{userInfo.phone}}</view>
- <view class="detail">{{userInfo.shopName}}</view>
+ <image data-index="0" bindtap="showQrcode" class="edit" src="../../static/icon/gongzuotai_ic_erweima@2x.png" mode="widthFix"></image>
</view>
- <image data-index="0" bindtap="changePath" class="edit" src="../../static/icon/gongzuotai_ic_erweima@2x.png" mode="widthFix"></image>
</view>
-</view>
<view class="main_content">
<view class="func_list">
<view class="line" data-index="1" bindtap="changePath">
@@ -35,4 +35,18 @@
</view>
</view>
</view>
+ <!-- 璇︽儏 -->
+ <van-popup show="{{ showCard }}" closeable round bind:close="onClose">
+ <view class="modal">
+ <view class="header">
+ <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>
+ </view>
+ <image class="qrcode" src="{{userInfo.qrcodeImgFull}}"></image>
+ <view class="text">闀挎寜鍥剧墖璇嗗埆浜岀淮鐮�</view>
+ </view>
+ </van-popup>
</view>
\ No newline at end of file
--
Gitblit v1.9.3