k94314517
2024-08-15 89e7ed902461f28d6a7dd3e6c927eaf40b154f5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<view class="app">
  <back />
  <view class="bg_wrap">
    <image src="../../static/images/design_banner@2x.png" mode="widthFix" ></image>
  </view>
  <view wx:if="{{ !isShow }}" bindtap="jumpUser" class="editBtn">编辑资料</view>
  <view class="container">
    <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 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 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 || '5' }}</view>
      </view>
      <view class="card">
      <image src="../../static/images/mingpian_bg_kehu.png" class="bg"></image>
        <view>服务客户</view>
        <view class="num" wx:if="{{ userInfo.costomerNum || userInfo.costomerNum == 0 }}">{{ userInfo.costomerNum || '--' }}
          <text class="icon">+</text>
        </view>
        <view wx:else class="num">--</view>
      </view>
    </view>
    <view class="guide">
      <view class="title">导购信息</view>
      <view class="line">
        <image class="icon" src="../../static/icon/mingpian_ic_phone@2x.png" mode="widthFix"></image>
        <text class="label">联系电话</text>
        <text class="val">{{userInfo.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">{{userInfo.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">{{userInfo.shopAddress}}</text>
      </view>
    </view>
  </view>
  <!-- footer -->
  <view class="footer" style="bottom: {{bottomLift}}px;">
    <view class="btn" bindtap="openModal">
      <image src="../../static/icon/share.png" mode="widthFix"></image>
      <view>分享</view>
    </view>
  </view>
  <!-- 详情 -->
  <van-popup show="{{ isShow }}" 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 ||'5'}}年经验</view>
        </view>
      </view>
      <image show-menu-by-longpress class="qrcode" src="{{userInfo.qrcodeImgFull}}"></image>
      <view class="text">长按图片识别二维码</view>
    </view>
  </van-popup>
  <!-- 用户名片 -->
  <view wx:if="{{ isShow2 }}" class="card_wrap">
    <view class="img1">
      <image mode="widthFix" src="{{userCard}}"></image>
    </view>
    <view class="btns">
      <view class="btn" bind:tap="closeCard">取消</view>
      <view class="btn save" bind:tap="saveCard">保存到相册</view>
    </view>
  </view>
  <van-overlay z-index="10" show="{{ isShow2 }}" bind:click="onClickHide" />
</view>