| 1 |
- <view class="container"><view class="vheigh"></view><view class="top-image"><image src="{{baseURL+'/static/image/user-top.png'}}" mode></image></view><view class="user-set flex"><view data-event-opts="{{[['tap',[['navTo',['/pages/set/userinfo']]]]]}}" class="set-logo" bindtap="__e"></view></view><view class="user-wrap"><view class="info-left flex"><view class="user-name"><block wx:if="{{userInfo.avatar}}"><image src="{{userInfo.avatar}}" mode></image></block><block wx:else><image src="../../static/error/missing-face.png" mode></image></block><view class="user-font"><block wx:if="{{userInfo.nickname}}"><view class="name clamp">{{userInfo.nickname}}</view></block><block wx:if="{{hasLogin&&userInfo.nickname==''}}"><view class="name clamp">微信用户</view></block><block wx:if="{{!hasLogin}}"><view class="name clamp">游客</view></block><block wx:if="{{userInfo.spread_nickname}}"><view class="phone">{{"推荐人:"+userInfo.spread_nickname}}</view></block><block wx:if="{{userInfo.uid}}"><view class="phone">{{"邀请码:"+userInfo.uid}}</view></block></view></view><block wx:if="{{userInfo.level>=1}}"><view class="kpi"><image src="../../static/icon/u-v.png" mode="widthFix"></image>{{''+(userInfo.level==1?'会员VIP':'创业合伙人')+''}}</view></block></view><view class="main-box"><view class="main flex"><view data-event-opts="{{[['tap',[['navTo',['/pages/money/wallet']]]]]}}" class="item" bindtap="__e"><view class="item-num">{{userInfo.now_money||0}}</view><view class="item-font">我的钱包</view></view><view style="width:1rpx;height:100rpx;background:#EEEEEE;"></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/award']]]]]}}" class="item" bindtap="__e"><view class="item-num">{{userInfo.brokerage_price||0}}</view><view class="item-font">我的佣金</view></view><view style="width:1rpx;height:100rpx;background:#EEEEEE;"></view><view data-event-opts="{{[['tap',[['navTo',['/pages/user/team']]]]]}}" class="item" bindtap="__e"><view class="item-num">{{userInfo.spread_count||0}}</view><view class="item-font">我的推广</view></view></view></view></view><view style="height:20rpx;"></view><uni-list class="tool-list" vue-id="380011e0-1" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{userInfo.clerk_type==1}}"><uni-list-item vue-id="{{('380011e0-2')+','+('380011e0-1')}}" title="券码核销" thumb="/static/user/user1.png" data-event-opts="{{[['^click',[['shao']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-3')+','+('380011e0-1')}}" title="核销历史" thumb="/static/user/user2.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/hxjl']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-4')+','+('380011e0-1')}}" title="添加优惠券" thumb="/static/icon/addyhq.png" data-event-opts="{{[['^click',[['navTo',['/pages/shop/createYhq']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-5')+','+('380011e0-1')}}" title="我的优惠券" thumb="/static/icon/g-l.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/myyhq']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><block wx:if="{{userInfo.uid}}"><uni-list-item vue-id="{{('380011e0-6')+','+('380011e0-1')}}" title="兑换码兑换" thumb="/static/user/mybank.png" data-event-opts="{{[['^click',[['openDh']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><block wx:if="{{userInfo.level}}"><uni-list-item vue-id="{{('380011e0-7')+','+('380011e0-1')}}" title="邀请有礼" thumb="/static/user/user3.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/shareQrCode']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><block wx:if="{{userInfo.level!=2}}"><uni-list-item vue-id="{{('380011e0-8')+','+('380011e0-1')}}" title="加入创业合伙人" thumb="/static/icon/good-gift.png" data-event-opts="{{[['^click',[['navTo',['/pages/product/product?id=1']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><uni-list-item vue-id="{{('380011e0-9')+','+('380011e0-1')}}" title="我的收藏" thumb="/static/user/user4.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/favorites']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-10')+','+('380011e0-1')}}" title="客服中心" thumb="/static/user/user5.png" data-event-opts="{{[['^click',[['openKf']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-11')+','+('380011e0-1')}}" title="设置" thumb="/static/user/user6.png" data-event-opts="{{[['^click',[['navTo',['/pages/set/userinfo']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><block wx:else><uni-list-item vue-id="{{('380011e0-12')+','+('380011e0-1')}}" title="我的优惠券" thumb="/static/icon/g-l.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/myyhq']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><block wx:if="{{userInfo.uid}}"><uni-list-item vue-id="{{('380011e0-13')+','+('380011e0-1')}}" title="兑换码兑换" thumb="/static/user/mybank.png" data-event-opts="{{[['^click',[['openDh']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><block wx:if="{{userInfo.level}}"><uni-list-item vue-id="{{('380011e0-14')+','+('380011e0-1')}}" title="邀请有礼" thumb="/static/user/user3.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/shareQrCode']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><block wx:if="{{userInfo.level!=2}}"><uni-list-item vue-id="{{('380011e0-15')+','+('380011e0-1')}}" title="加入创业合伙人" thumb="/static/icon/good-gift.png" data-event-opts="{{[['^click',[['navTo',['/pages/product/product?id=1']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block><uni-list-item vue-id="{{('380011e0-16')+','+('380011e0-1')}}" title="我的收藏" thumb="/static/user/user4.png" data-event-opts="{{[['^click',[['navTo',['/pages/user/favorites']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-17')+','+('380011e0-1')}}" title="客服中心" thumb="/static/user/user5.png" data-event-opts="{{[['^click',[['openKf']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('380011e0-18')+','+('380011e0-1')}}" title="设置" thumb="/static/user/user6.png" data-event-opts="{{[['^click',[['navTo',['/pages/set/userinfo']]]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></block></uni-list><uni-popup class="vue-ref" vue-id="380011e0-19" type="center" data-ref="popupkf" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-box"><view class="img"><image src="{{baseURL+'/static/image/img009.png'}}" mode></image></view><view class="mian"><view class="delivery"><view class="title">已经为您定制专属客服</view><image src="../../static/img/img010.png" mode></image></view><view class="nocancel">{{"客服VX:"+text}}</view><view class="comfirm-box"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['comfirm',['$0'],['text']]]]]}}" class="comfirm" bindtap="__e">复制微信</view></view></view></view></uni-popup><uni-popup class="agree-wrapper vue-ref" vue-id="380011e0-20" data-ref="popuphx" bind:__l="__l" vue-slots="{{['default']}}"><view class="hx-wrapper"><view class="hx-img"><image src="../../static/img/hxbg.png" mode></image></view><view class="hx-body"><view class="hx-title">输入核销码核销</view><input type="text" placeholder="请输入核销码" placeholder-class="hx-placeholder" data-event-opts="{{[['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['qhx',['$event']]]]]}}" class="hx-btn" bindtap="__e">立即核销</view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="hx-close" bindtap="__e"><image src="../../static/icon/close.png" mode></image></view></view></uni-popup><uni-popup class="agree-wrapper vue-ref" vue-id="380011e0-21" data-ref="popupdh" bind:__l="__l" vue-slots="{{['default']}}"><view class="hx-wrapper"><view class="hx-img"><image src="../../static/img/hxbg.png" mode></image></view><view class="hx-body"><view class="hx-title">输入礼包兑换码</view><input type="text" placeholder="请输入兑换码" placeholder-class="hx-placeholder" data-event-opts="{{[['input',[['__set_model',['','dhcode','$event',[]]]]]]}}" value="{{dhcode}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['goDh']]]]}}" class="hx-btn" catchtap="__e">立即兑换</view></view><view data-event-opts="{{[['tap',[['closeDh']]]]}}" class="hx-close" bindtap="__e"><image src="../../static/icon/close.png" mode></image></view></view></uni-popup><view style="height:40rpx;"></view></view>
|