serviceCode.wxml
1.55 KB
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
<view class="layout">
<view class="box">
<view class="merchant flex">
<view class="icon">
<glsx-image webp src="pages/default-merchant.png"></glsx-image>
</view>
<block wx:if="{{detail.merchantName}}">
<view class="name text-hide">{{detail.merchantName}}</view>
</block>
</view>
<view class="qr-box flex">
<view class="text">“您好,我是您的专属服务顾问。长按识别二维码,添加我的企业微信”</view>
<view class="icon">
<glsx-image webp src="pages/qr-icon.png"></glsx-image>
</view>
<view class="qr">
<glsx-image webp src="{{detail.url || 'pages/qr.png'}}" show-menu-by-longpress="{{detail.url}}" bindlongtap="longtap"></glsx-image>
<block wx:if="{{!userInfo || !detail.url}}">
<view class="btn box-center" bindtap="refresh">
<glsx-image webp src="pages/btn.png"></glsx-image>
</view>
</block>
</view>
<block wx:if="{{!userInfo}}">
<view class="refresh">
点击刷新,重新授权
</view>
</block>
</view>
<view class="title">— 添加我的企业微信可获得以下服务 —</view>
<view class="list">
<block wx:for="{{list}}" wx:key="index">
<view class="item text-center">
<view class="icon">
<glsx-image webp src="pages/active-icon.png"></glsx-image>
</view>
{{item}}
</view>
</block>
</view>
</view>
<view class="tips">—— 顾客至上 服务第一 ——</view>
</view>