luban-mall/unpackage/dist/dev/mp-weixin/pages/tabbar/my/my.wxml

1 line
5.1 KiB
Plaintext

<view class="pad-b150"><status-nav vue-id="6ed9f9ef-1" ifReturn="{{false}}" navBarTitle="我的" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="my-herder"><view class="my-portrait"><view class="my-portrait-img"><image src="{{headPortrait}}" mode="widthFix"></image></view><block wx:if="{{businessCode!==''}}"><view class="my-vip flex"><image src="/static/public/icon-vip.png" mode="widthFix"></image></view></block></view><view class="my-nick-name">{{nickName}}</view><view class="my-order flex"><block wx:for="{{myOrder}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeOrder',[index]]]]]}}" class="item" bindtap="__e"><block wx:if="{{item.num<100}}"><text>{{item.num}}</text></block><block wx:if="{{item.num>=100}}"><text>99+</text></block><view>{{item.title}}</view></view></block></view></view><view class="my-content"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g0!=-1}}"><view data-event-opts="{{[['tap',[['toMore',[index]]]]]}}" class="item flex" catchtap="__e"><view class="left flex"><view class="flex"><view class="img flex"><image style="{{'width:'+(item.$orig.iconWidth+'rpx')+';'+('height:'+(item.$orig.iconHeight+'rpx')+';')}}" src="{{item.$orig.imgSrc}}" mode="widthFix"></image></view><view class="title">{{businessCode!==''&&index==1?'会员码':item.$orig.titele}}</view></view><block wx:if="{{index==1}}"><view class="tips">{{businessCode!==''?businessCode:'输入会员码成为会员'}}</view></block><block wx:if="{{index==2}}"><view class="tips">申请成为会员可查看低价</view></block></view><view class="right"><block wx:if="{{index==6}}"><view data-event-opts="{{[['tap',[['changeShowVip',['$event']]]]]}}" class="{{['btn','flex',showVip=='true'?'show':'']}}" catchtap="__e"><view class="circular"></view></view></block><block wx:else><view class="more" style="{{'opacity:'+(index==1&&businessCode!==''?0:1)+';'}}"><image src="/static/public/icon-my-more.png" mode="widthFix"></image></view></block></view><block wx:if="{{index==0&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"></button></block></view></block></block></view><block wx:if="{{isCustomer}}"><view data-event-opts="{{[['tap',[['closeCustomer',['$event']]]]]}}" class="customer-all-bg" style="{{'padding-top:'+(newTop+'px')+';'}}" catchtap="__e"><view class="customer-txt"><image src="{{customerSrc}}" mode="widthFix"></image><text>请保存相册扫码添加客服</text><view data-event-opts="{{[['tap',[['saveImg',['$event']]]]]}}" class="btn" catchtap="__e">保存二维码</view></view></view></block><view hidden="{{!(isVip||isChecked)}}" class="pull-all-bg"></view><block wx:if="{{isVip}}"><view class="vip-box-bg"><view class="vip-box"><view data-event-opts="{{[['tap',[['closeEv',['$event']]]]]}}" class="vip-close" bindtap="__e"><text>X</text></view><view class="title">会员申请</view><view class="vip-list"><view class="vip-item"><view class="tips">姓名<text>*</text></view><input class="input" type="text" placeholder="请输入姓名" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','myName','$event',[]]]]]]}}" value="{{myName}}" bindinput="__e"/></view><view class="vip-item"><view class="tips">电话<text>*</text></view><input class="input" type="number" placeholder="请输入电话" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','myPhone','$event',[]]]]]]}}" value="{{myPhone}}" bindinput="__e"/></view><view class="vip-item"><view class="tips">邀请人姓名</view><input class="input" type="text" placeholder="请输入邀请人姓名" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','inviteeName','$event',[]]]]]]}}" value="{{inviteeName}}" bindinput="__e"/></view><view class="vip-item"><view class="tips">邀请人会员码</view><input class="input" type="text" placeholder="请输入邀请人会员码" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','inviteeCode','$event',[]]]]]]}}" value="{{inviteeCode}}" bindinput="__e"/></view></view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn" bindtap="__e">提交验证</view></view></view></block><block wx:if="{{isChecked}}"><view class="edit-box-bg"><view class="edit-box"><view data-event-opts="{{[['tap',[['closeCheck']]]]}}" class="edit-close" bindtap="__e"><text>X</text></view><view class="title">验证会员码</view><view class="subtitle">会员码<text>*</text></view><input class="input" type="text" placeholder="请输入会员邀请码" placeholder-style="color:#000000" data-event-opts="{{[['input',[['__set_model',['','vipCode','$event',[]]]]]]}}" value="{{vipCode}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['checkCode',['$event']]]]]}}" class="btn" bindtap="__e">提交验证</view></view></view></block><enter-cart vue-id="6ed9f9ef-2" bottom="{{150}}" bind:__l="__l"></enter-cart><foot-tab vue-id="6ed9f9ef-3" current="4" bind:__l="__l"></foot-tab></view>