UserInfo.wxml 1.96 KB
<view class="user-wrapper">
  <view class="user-box">
    <view class="user-info" data-item="{{cardInfo}}">
      <block wx:if="{{!showWechant}}">
        <view class="user-company">
          <image class="company-logo" src="{{IMGURL}}home/logo.png"></image>
        </view>
        <view class="user-name">
          <view class="name">{{cardInfo.staffName || ''}}</view>
          <view class="position">{{cardInfo.operation || ''}}</view>
        </view>
        <view class="user-phone">
          <image class="user-icon" webp src="{{IMGURL}}share/icon-phone.png"></image>
          <view>{{cardInfo.staffPhone || ''}}</view>
        </view>
        <view class="user-address">
          <image class="user-icon" webp src="{{IMGURL}}share/icon-address.png"></image>
          <view class="address">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view>
        </view>
        <image class="user-avatar" src="{{cardInfo.image}}" lazy-load></image>
        <image bindtap="addWechat" class="add-wechat" webp src="{{IMGURL}}home/add-wechat.png"></image>
      </block>
      <view class="scrm" wx:else>
        <image class="srcm-img" show-menu-by-longpress src="{{cardInfo.qrCode}}" lazy-load></image>
        <view class="scrm-text">长按识别二维码,免费体验嘀加SCRM</view>
        <image bindtap="addWechat" class="add-wechat" webp src="{{IMGURL}}home/back-user.png"></image>
      </view>
    </view>
    <image class="user-bg" webp src="{{IMGURL}}home/user-bg.png" />
  </view>
  <view class="btn-group">
    <view class="phone-btn" bindtap="callPhone">
      <image class="icon-dial" webp src="{{IMGURL}}home/icon-dial.png"></image>
      <view class="phone-text">拨打电话</view>
    </view>
    <button class="btn-plain btn" bindtap="addPhone">保存名片</button>
    <button class="btn-primary btn" open-type="share">分享名片</button>
  </view>
</view>
<authorize buttonType="openSetting" show="{{showAuth}}" isShowCheck="{{false}}"></authorize>