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

1 line
4.3 KiB
Plaintext
Raw Normal View History

<block wx:if="{{isLoading}}"><view class="pad-x170"><view class="my-top"><view class="my-bg"><image src="/static/img/my-bg.jpg" mode="widthFix"></image></view><view class="my-herder pad-zy20 border-box"><view class="my-message color-ff flex"><view class="my-portrait radius100"><image src="{{headPortrait}}" mode="widthFix"></image></view><view class="my-txt flex"><view class="my-nickname font36 flex"><text>{{nickName}}</text><block wx:if="{{vip_info.ico!==''}}"><image src="{{vip_info.ico}}" mode="widthFix"></image></block></view><view class="my-vip-txt font24 background-orange radius25 pad-zy40 mar-s20 flex">{{vip_info.name}}</view></view></view><view class="my-money color-ff flex"><view data-event-opts="{{[['tap',[['goPage',['/pagesA/integral/integral']]]]]}}" class="item" bindtap="__e"><view class="font48">{{userInfo.score}}</view><text class="font24">我的积分</text></view><view data-event-opts="{{[['tap',[['goPage',['/pagesA/coupon/coupon']]]]]}}" class="item" bindtap="__e"><view class="font48">{{userInfo.coupon_count}}</view><text class="font24">我的优惠券</text></view><view data-event-opts="{{[['tap',[['goPage',['/pagesA/recharge/recharge']]]]]}}" class="item" bindtap="__e"><view class="font48">{{$root.m0>0?userInfo.balance:0}}</view><text class="font24">我的余额</text></view></view><view class="my-order background-grey border-box flex"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeOrder',[index]]]]]}}" class="item" bindtap="__e"><view class="img flex"><image style="{{'width:'+(item.$orig.iconWidth+'rpx')+';'+('height:'+(item.$orig.iconHeight+'rpx')+';')}}" src="{{item.$orig.imgSrc}}" mode="widthFix"></image><block wx:if="{{item.g0}}"><view class="point radius100 flex"><text class="font22 color-ff">{{myOrder[index].num}}</text></view></block></view><view class="txt font24 color-ff">{{item.$orig.title}}</view></view></block></view></view></view><view class="my-content pad-all40"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.g1!=-1}}"><view data-event-opts="{{[['tap',[['toMore',[index]]]]]}}" class="item flex" catchtap="__e"><view class="title 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 font28">{{item.$orig.titele}}</view></view><view class="more"><image style="width:14rpx;height:26rpx;" src="/static/icon/icon-join.png" mode="widthFix"></image></view><block wx:if="{{index==0&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumberA',['$event']]]]]}}" bindgetphonenumber="__e"></button></block><block wx:if="{{index==1&&mobile==''}}"><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumberB',['$event']]]]]}}" bindgetphonenumber="__e"></button></block></view></block></block></view><block wx:if="{{isVip||isShow}}"><view class="pull-bg" style="background-color:rgba(0,0,0,.3);"></view></block><block wx:if="{{isVip}}"><view class="vip-box-bg border-box"><view class="vip-box radius20 background-white font30"><view class="title">会员注册</view><view class="vip-list"><view class="vip-item mar-s20"><view class="tips color-99">姓名</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 mar-s40"><view class="tips color-99">电话</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><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="submit-btn font36 background-orange radius30 mar-s60 flex" bindt