index.wxml 10.0 KB

1
  1. <view class="new-users copy-data" style="{{'height:'+(pageHeight)+';'}}"><view class="top" style="{{(colorStyle)}}"><view class="sys-head"><view class="sys-bar" style="{{'height:'+(sysHeight)+';'}}"></view><view class="sys-title" style="{{(member_style==3?'color:#333':'')}}">{{$root.m0}}</view><view class="bg" style="{{(member_style==3?'background:#f5f5f5':'')}}"></view></view></view><view class="mid" style="{{'flex:1;overflow:hidden;'+(colorStyle)}}"><scroll-view style="height:100%;" scroll-y="true"><view class="head"><view class="{{['user-card',member_style==3?'unBg':'']}}"><view class="bg"></view><view class="user-info"><view><view class="{{['avatar-box',(userInfo.is_money_level)?'on':'']}}"><block wx:if="{{userInfo.avatar}}"><image class="avatar" src="{{userInfo.avatar}}" data-event-opts="{{[['tap',[['goEdit']]]]}}" bindtap="__e"></image></block><block wx:else><image class="avatar" src="/static/images/f.png" mode data-event-opts="{{[['tap',[['goEdit']]]]}}" bindtap="__e"></image></block><block wx:if="{{userInfo.is_money_level&&userInfo.svip_open}}"><view class="headwear"><image src="/static/images/headwear.png"></image></view></block></view></view><view class="info"><block wx:if="{{!userInfo.uid}}"><view data-event-opts="{{[['tap',[['openAuto',['$event']]]]]}}" class="name" style="height:100%;display:flex;align-items:center;" bindtap="__e">{{''+$root.m1+''}}</view></block><block wx:if="{{userInfo.uid}}"><view class="name"><text class="line1 nickname">{{userInfo.nickname}}</text><block wx:if="{{userInfo.vip_icon}}"><image class="live" src="{{userInfo.vip_icon}}"></image></block><block wx:if="{{userInfo.is_money_level>0&&userInfo.svip_open}}"><view class="vip"><image src="/static/images/svip.png"></image></view></block></view></block><block wx:if="{{userInfo.phone}}"><view data-event-opts="{{[['tap',[['goEdit']]]]}}" class="num" bindtap="__e"><view class="num-txt">{{userInfo.phone}}</view></view></block><block wx:if="{{!userInfo.phone&&isLogin}}"><button class="phone" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]]]}}" bindgetphonenumber="__e">{{$root.m2}}</button></block></view><view class="message"><block wx:if="{{isLogin}}"><navigator url="/pages/users/user_info/index" hover-class="none"><view class="iconfont icon-shezhi"></view></navigator></block></view><view class="message"><block wx:if="{{isLogin}}"><navigator url="/pages/users/message_center/index" hover-class="none"><block wx:if="{{userInfo.service_num}}"><view class="num">{{''+(userInfo.service_num>=100?'99+':userInfo.service_num)+''}}</view></block><view class="iconfont icon-s-kefu"></view></navigator></block></view></view><view class="num-wrapper"><block wx:if="{{userInfo.balance_func_status}}"><view data-event-opts="{{[['tap',[['goMenuPage',['/pages/users/user_money/index']]]]]}}" class="num-item" bindtap="__e"><text class="num">{{userInfo.now_money||0}}</text><view class="txt">{{$root.m3}}</view></view></block><block wx:else><view data-event-opts="{{[['tap',[['goMenuPage',['/pages/users/user_goods_collection/index']]]]]}}" class="num-item" bindtap="__e"><text class="num">{{userInfo.collectCount||0}}</text><view class="txt">{{$root.m4}}</view></view></block><view data-event-opts="{{[['tap',[['goMenuPage',['/pages/users/user_coupon/index']]]]]}}" class="num-item" bindtap="__e"><text class="num">{{userInfo.couponCount||0}}</text><view class="txt">{{$root.m5}}</view></view><view data-event-opts="{{[['tap',[['goMenuPage',['/pages/users/user_integral/index']]]]]}}" class="num-item" bindtap="__e"><text class="num">{{userInfo.integral||0}}</text><view class="txt">{{$root.m6}}</view></view></view><block wx:if="{{userInfo.svip_open&&member_style==1}}"><view class="cardVipA acea-row row-between-wrapper"><view class="left-box"><block wx:if="{{userInfo.vip_status==1}}"><view class="small">{{$root.m7}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==3}}"><view class="small">{{$root.m8+"\n\t\t\t\t\t\t\t\t"+$root.f0+''}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==-1}}"><view class="small">{{$root.m9}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==2}}"><view class="small">{{$root.m10+''}}</view></block></block></block></block></view><view class="acea-row row-middle"><block wx:if="{{userInfo.vip_status==1}}"><navigator class="btn" url="/pages/annex/vip_paid/index" hover-class="none">{{$root.m11}}</navigator></block><block wx:else><navigator class="btn" url="/pages/annex/vip_paid/index" hover-class="none">{{''+(userInfo.overdue_time?$root.m12:$root.m13)+''}}</navigator></block><text class="iconfont icon-xiangyou"></text></view></view></block><block wx:if="{{userInfo.svip_open&&member_style==3}}"><view class="cardVipB acea-row row-between"><view class="left-box acea-row"><view class="pictrue"><image src="../../static/images/member01.png"></image></view><block wx:if="{{userInfo.vip_status==1}}"><view class="small">{{$root.m14}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==3}}"><view class="small">{{$root.m15+"\n\t\t\t\t\t\t\t\t"+$root.f1+''}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==-1}}"><view class="small">{{$root.m16}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==2}}"><view class="small">{{$root.m17+''}}</view></block></block></block></block></view><view class="acea-row"><block wx:if="{{userInfo.vip_status==1}}"><navigator class="btn" url="/pages/annex/vip_paid/index" hover-class="none">{{$root.m18}}</navigator></block><block wx:else><navigator class="btn" url="/pages/annex/vip_paid/index" hover-class="none">{{''+(userInfo.overdue_time?$root.m19:$root.m20)+''}}</navigator></block><text class="iconfont icon-xiangyou btn"></text></view></view></block></view><block wx:if="{{userInfo.svip_open&&member_style==2}}"><view class="card-vip"><view class="left-box"><view class="big">{{$root.m21}}</view><block wx:if="{{userInfo.vip_status==1}}"><view class="small">{{$root.m22}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==3}}"><view class="small">{{$root.m23+"\n\t\t\t\t\t\t\t"+$root.f2+''}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==-1}}"><view class="small">{{$root.m24}}</view></block><block wx:else><block wx:if="{{userInfo.vip_status==2}}"><view class="small">{{$root.m25+''}}</view></block></block></block></block></view><block wx:if="{{userInfo.vip_status==1}}"><navigator class="btn" url="/pages/annex/vip_paid/index" hover-class="none">{{$root.m26}}</navigator></block><block wx:else><navigator class="btn" url="/pages/annex/vip_paid/index" hover-class="none">{{''+(userInfo.overdue_time?$root.m27:$root.m28)+''}}</navigator></block></view></block><view class="{{['order-wrapper',userInfo.svip_open?'':'height']}}"><view class="order-hd flex"><view class="left">{{$root.m29}}</view><navigator class="right flex" hover-class="none" url="/pages/goods/order_list/index" open-type="navigate">{{''+$root.m30+''}}<text class="iconfont icon-xiangyou"></text></navigator></view><view class="order-bd"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><navigator class="order-item" hover-class="none" url="{{item.$orig.url}}"><view class="pic"><text class="{{['iconfont',item.$orig.img]}}"></text><block wx:if="{{item.$orig.num>0}}"><text class="order-status-num">{{item.$orig.num}}</text></block></view><view class="txt">{{item.m31}}</view></navigator></block></block></view></view></view><block wx:if="{{$root.g0}}"><view class="slider-wrapper"><swiper indicator-dots="true" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff"><block wx:for="{{imgUrls}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><swiper-item><view class="slide-navigator acea-row row-between-wrapper" hover-class="none" data-event-opts="{{[['tap',[['goMenuPage',['$0'],[[['imgUrls','',index,'url']]]]]]]}}" bindtap="__e"><image class="slide-image" src="{{item.pic}}"></image></view></swiper-item></block></block></swiper></view></block><view class="user-menus" style="margin-top:20rpx;"><view class="menu-title">{{$root.m32}}</view><view class="list-box"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.$orig.url!='#'&&item.$orig.url!='/pages/service/index'&&item.$orig.url!='/pages/extension/customer_list/chat'||item.$orig.url=='/pages/extension/customer_list/chat'&&routineContact==0}}"><view data-event-opts="{{[['tap',[['goMenuPage',['$0','$1'],[[['MyMenus','',index,'url']],[['MyMenus','',index,'name']]]]]]]}}" class="item" bindtap="__e"><image src="{{item.$orig.pic}}"></image><text>{{item.m33}}</text></view></block></block></block><block wx:if="{{routineContact==1}}"><button class="item" open-type="contact"><image src="/static/images/contact.png"></image><text>{{$root.m34}}</text></button></block></view></view><block wx:if="{{$root.g1}}"><view class="user-menus" style="margin-top:20rpx;"><view class="menu-title">{{$root.m35}}</view><view class="list-box"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.$orig.url!='#'&&item.$orig.url!='/pages/service/index'}}"><view class="item" url="{{item.$orig.url}}" hover-class="none" data-event-opts="{{[['tap',[['goMenuPage',['$0','$1'],[[['storeMenu','',index,'url']],[['storeMenu','',index,'name']]]]]]]}}" bindtap="__e"><image src="{{item.$orig.pic}}"></image><text>{{item.m36}}</text></view></block></block></block></view></view></block><image class="support" src="{{copyRightPic}}" alt></image><view class="uni-p-b-98"></view></scroll-view><edit-user-modal vue-id="5c2bbbc2-1" isShow="{{editModal}}" data-event-opts="{{[['^closeEdit',[['closeEdit']]],['^editSuccess',[['editSuccess']]]]}}" bind:closeEdit="__e" bind:editSuccess="__e" bind:__l="__l"></edit-user-modal></view><block wx:if="{{!is_diy}}"><tab-bar vue-id="5c2bbbc2-2" pagePath="/pages/user/index" bind:__l="__l"></tab-bar></block><block wx:else><page-footer vue-id="5c2bbbc2-3" bind:__l="__l"></page-footer></block></view>