diy_user_info.wxml
3.41 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
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
<view class="xc-user" >
<view class="xc-head rel">
<block wx:if="{{object.bg_type==1}}">
<image class="xc-background" src="{{iurl}}{{ad_img?ad_img:'/miniapp/images/user_index_powder.jpg'}}">
<block vw:if="{{object.style==0}}">
<include src="style1.wxml"></include>s
</block>
</image>
</block>
<block wx:else>
<view class="xc-background" style="background-color:{{object.bg_color}}">
<block vw:if="{{object.style==0}}">
<include src="style1.wxml"></include>
</block>
</view>
</block>
</view>
</view>
<block wx:if="{{is_no_plus}}">
<view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==2 && show_buy_plus }}">
<view class="xc-add-member flex-center-around ">
<view class="flex jc-center ai-center">
<image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image>
<view class="member fs28 "> 加入plus会员预计可省3031元</view>
</view>
<view class="xc-opening-button t-c" data-url="/pages/user/plus/plus" bindtap="goto">
<view class="xc-opening fs28">立即开通</view>
</view>
</view>
</view>
<view class="xc-add-member-frame flex-level rel addplus" wx:if="{{is_dengji==3 && show_buy_plus}}">
<view class="xc-add-member flex-center-around ">
<view class="flex jc-center ai-center">
<image class="xc-icon" src="{{iurl}}/miniapp/images/user/user_vip.png"></image>
<view class="member fs28 "> 加入plus会员预计可省3031元</view>
</view>
<view class="xc-opening-button t-c" data-url="/packageE/pages/user/cardinfo/cardinfo" bindtap="goto">
<view class="xc-opening fs28">立即续费</view>
</view>
</view>
</view>
</block>
<!--弹出层内容,其中的“我知道”中绑定让弹出层消失的函数:bindtap="hide"-->
<view class="tc_view" hidden='{{tc_hide}}' bindtap='hide_tc'>
<view class="modal-box" hidden="{{flag}}" bindtap="hide" catchtouchmove="true"></view>
<view class="modal-body" catchtouchmove="true">
<view class="modal-content">
<view class="flex">
<image src="{{userInfo.head_pic?userInfo.head_pic:defaultAvatar}}" class="hd_img"></image>
<view class="ctent_txt">
<view class='txt1'>{{userInfo.nickname}}
<image wx:if="{{userInfo.sex==2}}" class="arrow-right" style="width: 35rpx; height:35rpx; top: 5rpx" src="{{iurl}}/miniapp/images/user/wum.png"></image>
<image wx:else class="arrow-right fu" style="width: 35rpx; height:35rpx;top:5rpx" src="{{iurl}}/miniapp/images/user/man.png"></image>
</view>
<view wx:if="{{userInfo.address}}" class='txt2'>{{userInfo.address}}</view>
</view>
</view>
<view class="m_ta">
<!--<image class='g_img' src='https://mshop.yolipai.net//index.php?m=Home&c=Index&a=qr_code&data={{userInfo.mobile}}'></image>-->
<canvas class="g_img" canvas-id="qrcode" />
</view>
<view class="s_sao">前台收银扫此二维码,即可享受优惠!</view>
</view>
</view>
</view>