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
4.2 KiB

<view class="container"><view class="user-section"><image class="bg" src="/static/img/user-bg.jpg"></image><view class="user-info-box"><view class="portrait-box"><image class="portrait" src="{{userInfo.portrait||'/static/img/missing-face.png'}}"></image></view><view class="info-box"><text class="username">{{personinfo.name||'游客'}}</text><text data-event-opts="{{[['tap',[['checklogin']]]]}}" class="usercode" bindtap="__e">{{"取货号"+(personinfo.usercode||'请登录')}}</text></view></view></view><view class="cover-container"><image class="arc" src="/static/img/arc.png"></image><block wx:if="{{showsh}}"><view class="tj-sction"><view data-event-opts="{{[['tap',[['tochongzhi']]]]}}" class="tj-item" bindtap="__e"><text class="num">{{personinfo.yue}}<block wx:if="{{personinfo.djmoney}}"><text class="djmoney">{{"冻结:"+personinfo.djmoney}}</text></block></text><text>余额</text></view><view data-event-opts="{{[['tap',[['tocoupon',['$event']]]]]}}" class="tj-item" bindtap="__e"><text class="num">{{personinfo.yhqnum}}</text><text>优惠券</text></view><view data-event-opts="{{[['tap',[['tojifen']]]]}}" class="tj-item" bindtap="__e"><text class="num">{{personinfo.jifen}}</text><text>积分</text></view></view></block><view class="order-section"><view class="order-item" hover-class="common-hover" hover-stay-time="{{50}}" data-event-opts="{{[['tap',[['navTo',['/pages/orderlist/orderlist?state=0']]]]]}}" bindtap="__e"><text class="yticon icon-shouye" style="color:#3883FA;"></text><text>全部订单</text></view><view class="order-item" hover-class="common-hover" hover-stay-time="{{50}}" data-event-opts="{{[['tap',[['navTo',['/pages/orderlist/orderlist?state=1']]]]]}}" bindtap="__e"><text class="yticon icon-daifukuan" style="color:#3883FA;"></text><text>待付款</text></view><view class="order-item" hover-class="common-hover" hover-stay-time="{{50}}" data-event-opts="{{[['tap',[['navTo',['/pages/orderlist/orderlist?state=2']]]]]}}" bindtap="__e"><text class="yticon icon-yishouhuo" style="color:#3883FA;"></text><text>待收货</text></view><view class="order-item" hover-class="common-hover" hover-stay-time="{{50}}" data-event-opts="{{[['tap',[['navTo',['/pages/orderlist/orderlist?state=3']]]]]}}" bindtap="__e"><text class="yticon icon-shouhoutuikuan" style="color:#3883FA;"></text><text>退款/售后</text></view></view><view class="history-section icon"><view class="sec-header"><text class="yticon icon-lishijilu"></text><block wx:if="{{recordlist.length>0}}"><text>浏览历史</text></block><block wx:if="{{recordlist.length==0}}"><text data-event-opts="{{[['tap',[['tipnomore']]]]}}" bindtap="__e">浏览历史</text></block><block wx:if="{{recordlist.length>0}}"><view data-event-opts="{{[['tap',[['cleanall']]]]}}" class="clean" bindtap="__e">清除历史</view></block></view><scroll-view class="h-list" scroll-x="{{true}}"><block wx:for="{{recordlist}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image src="{{item.img}}" mode="aspectFill" data-event-opts="{{[['tap',[['navTo',['/pages/product/product?fid='+item.fid]]]]]}}" bindtap="__e"></image></block></scroll-view><list-cell vue-id="380011e0-1" icon="icon-dizhi" iconColor="#5fcda2" title="地址管理" data-event-opts="{{[['^eventClick',[['navTo',['/pages/address/address']]]]]}}" bind:eventClick="__e" bind:__l="__l"></list-cell><list-cell vue-id="380011e0-2" icon="icon-shoucang_xuanzhongzhuangtai" iconColor="#54b4ef" title="我的收藏" data-event-opts="{{[['^eventClick',[['navTo',['/pages/user/keep']]]]]}}" bind:eventClick="__e" bind:__l="__l"></list-cell><view class="kf"><view class="kfleft"><image src="../../static/img/kefu.png"></image></view><view class="kfright"><button class="kfbt" open-type="contact">联系客服</button></view></view><block wx:if="{{userInfo.openid}}"><list-cell vue-id="380011e0-3" icon="icon-shezhi1" iconColor="#e07472" title="退出" border data-event-opts="{{[['^eventClick',[['logout']]]]}}" bind:eventClick="__e" bind:__l="__l"></list-cell></block><block wx:if="{{!userInfo.openid}}"><list-cell vue-id="380011e0-4" icon="icon-shezhi1" iconColor="#e07472" title="登录" border data-event-opts="{{[['^eventClick',[['checklogin']]]]}}" bind:eventClick="__e" bind:__l="__l"></list-cell></block></view></view></view>