1 line
4.6 KiB
Plaintext
1 line
4.6 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><view class="my-vip flex"><image src="/static/public/icon-vip.png" mode="widthFix"></image></view></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="{{listData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><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.iconWidth+'rpx')+';'+('height:'+(item.iconHeight+'rpx')+';')}}" src="{{item.imgSrc}}" mode="widthFix"></image></view><view class="title">{{item.titele}}</view></view><block wx:if="{{index==1}}"><view class="tips">输入会员码成为会员</view></block><block wx:if="{{index==2}}"><view class="tips">申请成为会员可查看低价</view></block></view><view class="right"><block wx:if="{{index!==6}}"><view class="more"><image src="/static/public/icon-my-more.png" mode="widthFix"></image></view></block><block wx:if="{{index==6}}"><view data-event-opts="{{[['tap',[['changeShow',['$event']]]]]}}" class="{{['btn','flex',isShow?'show':'']}}" catchtap="__e"><view class="circular"></view></view></block></view></view></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 class="title">会员申请</view><view class="vip-list"><view class="vip-item"><view class="tips">姓名<text>*</text></view><input class="input" type="text" placeholder="请输入姓名" placeholder-color="#c9c9c9" 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-color="#c9c9c9" 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-color="#c9c9c9" 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-color="#c9c9c9" data-event-opts="{{[['input',[['__set_model',['','inviteeCode','$event',[]]]]]]}}" value="{{inviteeCode}}" bindinput="__e"/></view></view><view class="vip-btns"><view data-event-opts="{{[['tap',[['closeEv',['$event']]]]]}}" class="btn" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn" bindtap="__e">提交</view></view></view></view></block><block wx:if="{{isChecked}}"><view class="edit-box-bg"><view class="edit-box"><view class="title">验证会员码</view><view class="subtitle">会员码<text>*</text></view><input class="input" type="text" placeholder="请输入会员码" placeholder-color="#c9c9c9" data-event-opts="{{[['input',[['__set_model',['','vipCode','$event',[]]]]]]}}" value="{{vipCode}}" bindinput="__e"/><view class="edit-btns"><view data-event-opts="{{[['tap',[['closeCheck',['$event']]]]]}}" class="btn" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['checkCode',['$event']]]]]}}" class="btn" bindtap="__e">确认</view></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> |