From b2d360d9113b6955287108ca9e90d76a1f3c1419 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期日, 29 九月 2024 15:05:11 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_staff/pages/work/index.wxml | 41 +++++++++++++++++++++++++++++------------
1 files changed, 29 insertions(+), 12 deletions(-)
diff --git a/wechat_staff/pages/work/index.wxml b/wechat_staff/pages/work/index.wxml
index 00d9b82..0a75c06 100644
--- a/wechat_staff/pages/work/index.wxml
+++ b/wechat_staff/pages/work/index.wxml
@@ -1,18 +1,19 @@
<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 >
+ <image class="topbg" mode="widthFix" src="{{topimg}}"></image>
+ <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">
@@ -23,7 +24,7 @@
<view class="name">鎴戠殑鏀惰棌</view>
<image class="icon" src="../../static/icon/mine_ic_ar.png" mode="widthFix"></image>
</view>
- <view class="line" data-index="3" bindtap="changePath">
+ <view class="line" wx:if="{{userInfo.manageShop}}" data-index="3" bindtap="changePath">
<view class="name">闂ㄥ簵绠$悊</view>
<image class="icon" src="../../static/icon/mine_ic_ar.png" mode="widthFix"></image>
</view>
@@ -34,5 +35,21 @@
<image class="icon" src="../../static/icon/mine_ic_ar.png" mode="widthFix"></image>
</view>
</view>
+ <!-- index.wxml -->
+ <!-- <button bindtap="subscribe">璁㈤槄娑堟伅</button> -->
</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 show-menu-by-longpress class="qrcode" src="{{userInfo.qrcodeImgFull}}"></image>
+ <view class="text">闀挎寜鍥剧墖璇嗗埆浜岀淮鐮�</view>
+ </view>
+ </van-popup>
</view>
\ No newline at end of file
--
Gitblit v1.9.3