徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
6.6 KiB

<view class="vipGrade"><view class="headerBg"><view class="header"><view class="top acea-row row-between-wrapper"><view class="acea-row row-middle"><view class="pictrue"><image src="{{user_info.avatar}}"></image></view><view><view class="acea-row row-middle"><view class="nickname line1">{{user_info.nickname}}</view><block wx:if="{{level_info.name}}"><view class="name">{{level_info.name}}</view></block><block wx:if="{{level_info.icon}}"><image class="levelImage" src="{{level_info.icon}}"></image></block></view><view class="acea-row row-middle"><view class="progress"><view class="bg-reds" style="{{('width:'+(level_info.exp>level_info.next_exp?100:$root.g0>=5?$root.g1:5)+'%;')}}"></view></view><view class="percent">{{(level_info.exp?$root.g2[0]:0)+"/"+(level_info.next_exp||0)}}</view></view></view></view><view data-event-opts="{{[['tap',[['tapQrCode',['$event']]]]]}}" class="code" bindtap="__e"><view class="iconfont icon-erweima3"></view><view>会员码</view></view></view><view class="bottom acea-row row-middle"><view class="item"><view>积分</view><view class="num">{{user_info.integral||0}}</view></view><view class="item"><view>余额</view><block wx:if="{{user_info.now_money}}"><view class="num">{{''+$root.g3+''}}<block wx:if="{{$root.g4[1]>0}}"><text class="numSp">{{"."+$root.g5[1]}}</text></block></view></block><block wx:else><view class="num">0</view></block></view><view class="item"><view>优惠券</view><view class="num">{{user_info.couponCount||0}}</view></view><view class="item"><view>折扣</view><view class="num">{{level_info.discount/10||0}}</view></view></view></view></view><view class="equity"><view class="title acea-row row-between-wrapper"><view>{{(level_info.name||'')+"会员尊享权益"}}</view><view data-event-opts="{{[['tap',[['more',['$event']]]]]}}" class="more" bindtap="__e">查看更多<text class="iconfont icon-jinru2"></text></view></view><view class="list acea-row row-around row-middle"><view class="item"><view class="pictrue"><image src="{{imgHost+'/statics/images/userVip1.png'}}"></image></view><view>购物折扣</view></view><view class="item"><view class="pictrue"><image src="{{imgHost+'/statics/images/userVip2.png'}}"></image></view><view>专属徽章</view></view><view class="item"><view class="pictrue"><image src="{{imgHost+'/statics/images/userVip3.png'}}"></image></view><view>经验累积</view></view><view class="item"><view class="pictrue"><image src="{{imgHost+'/statics/images/userVip4.png'}}"></image></view><view>尊享客服</view></view></view></view><view class="task"><view class="title acea-row row-between-wrapper"><view>成长任务</view><view data-event-opts="{{[['tap',[['more',['$event']]]]]}}" class="more" bindtap="__e">查看更多<text class="iconfont icon-jinru2"></text></view></view><view class="list"><view class="item acea-row row-between-wrapper"><view class="acea-row row-middle"><view class="pictrue acea-row row-center-wrapper"><text class="iconfont icon-meiriqiandao"></text></view><view class="txt"><view>每日签到</view><view class="exp acea-row row-middle"><image src="../static/exp.png"></image>{{'经验值+'+task_info.sign+''}}</view></view></view><navigator class="bnt acea-row row-center-wrapper" url="/pages/users/user_sgin/index" hover-class="none">去完成</navigator></view><view class="item acea-row row-between-wrapper"><view class="acea-row row-middle"><view class="pictrue acea-row row-center-wrapper"><text class="iconfont icon-goumaishangpin"></text></view><view class="txt"><view>购买商品</view><view class="exp acea-row row-middle"><image src="../static/exp.png"></image>{{'经验值+'+task_info.order+''}}</view></view></view><navigator class="bnt acea-row row-center-wrapper" open-type="switchTab" url="/pages/goods_cate/goods_cate" hover-class="none">去完成</navigator></view><view class="item acea-row row-between-wrapper"><view class="acea-row row-middle"><view class="pictrue acea-row row-center-wrapper"><text class="iconfont icon-yaoqinghaoyou2"></text></view><view class="txt"><view>邀请好友</view><view class="exp acea-row row-middle"><image src="../static/exp.png"></image>{{'经验值+'+task_info.invite+''}}</view></view></view><navigator class="bnt acea-row row-center-wrapper" url="/pages/users/user_spread_code/index" hover-class="none">去完成</navigator></view></view></view><view class="task on"><view class="title acea-row row-between-wrapper"><view>消费记录</view><view data-event-opts="{{[['tap',[['record',['$event']]]]]}}" class="more" bindtap="__e">查看更多<text class="iconfont icon-jinru2"></text></view></view><view class="list"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between row-top"><view class="acea-row row-top"><block wx:if="{{item.type==1}}"><text class="icon iconfont icon-xiaofeijilu1"></text></block><block wx:else><block wx:if="{{item.type==7}}"><text class="icon iconfont icon-fufeihuiyuan1"></text></block><block wx:else><text class="icon iconfont icon-xiaofeijilu-rongcuo"></text></block></block><view class="txt"><view class="line1">{{item.title}}</view><view class="exp record">{{item.type_name}}</view><view class="time">{{item.day}}</view></view></view><view class="num">{{"-"+item.price}}</view></view></block></view></view><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" hidden="{{!(isCode)}}" class="codePopup" catchtouchmove="__e"><view class="header acea-row row-between-wrapper"><block wx:for="{{codeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapCode',[index]]]]]}}" class="{{['title',(codeIndex==index)?'on':'',(codeIndex==1)?'onLeft':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></view><view><view class="acea-row row-center-wrapper"><w-barcode vue-id="051a12f2-1" options="{{config.bar}}" bind:__l="__l"></w-barcode></view><view class="acea-row row-center-wrapper" style="margin-top:35rpx;"><w-qrcode vue-id="051a12f2-2" options="{{config.qrc}}" data-event-opts="{{[['^generate',[['hello']]]]}}" bind:generate="__e" bind:__l="__l"></w-qrcode></view><view class="codeNum">{{config.bar.code}}</view><view class="tip">如遇到扫码失败请将屏幕调至最亮重新扫码</view></view><view data-event-opts="{{[['tap',[['closeCode',['$event']]]]]}}" class="iconfont icon-guanbi2" bindtap="__e"></view></view><block wx:if="{{isCode}}"><view data-event-opts="{{[['touchmove',[['moveHandle',['$event']]]]]}}" class="mark" catchtouchmove="__e"></view></block><block wx:if="{{isShowAuth}}"><authorize bind:authColse="__e" bind:onLoadFun="__e" vue-id="051a12f2-3" data-event-opts="{{[['^authColse',[['authColse']]],['^onLoadFun',[['onLoadFun']]]]}}" bind:__l="__l"></authorize></block></view>