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.
174 lines
8.1 KiB
174 lines
8.1 KiB
<view class="body" wx:if="{{remind}}">
|
|
<view class='zong'>
|
|
<view class="spinner">
|
|
<view class="spinner-container container1">
|
|
<view class="circle1"></view>
|
|
<view class="circle2"></view>
|
|
<view class="circle3"></view>
|
|
<view class="circle4"></view>
|
|
</view>
|
|
<view class="spinner-container container2">
|
|
<view class="circle1"></view>
|
|
<view class="circle2"></view>
|
|
<view class="circle3"></view>
|
|
<view class="circle4"></view>
|
|
</view>
|
|
<view class="spinner-container container3">
|
|
<view class="circle1"></view>
|
|
<view class="circle2"></view>
|
|
<view class="circle3"></view>
|
|
<view class="circle4"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 加载页面结束 -->
|
|
<block wx:else>
|
|
<!-- 导航栏 -->
|
|
<view class="navigation-container" style="height:{{navBarHeight}}">
|
|
<view class="navigation-bar" style="padding-top:{{statusBarHeight}};height:{{navBarHeight-statusBarHeight}}">
|
|
<view class="navigation-buttons" style="height:{{menuBtnHeight}}">
|
|
<image class="btnimg" src="/images/grsz.png" bindtap="navToSetup" />
|
|
</view>
|
|
<view class="navigation-title" style="line-height:{{navBarHeight-statusBarHeight}}">{{title}}</view>
|
|
</view>
|
|
</view>
|
|
<!--导航栏占位空间-->
|
|
<!-- <image src="/images/grsz.png" class="btnimg" lazy-load="true" bindtap="_navigateTo1('/pagesB/setUp/setUp')"></image> -->
|
|
<view style='width:100%;height:100%'>
|
|
<!-- 用户基本信息 -->
|
|
<view class='user_top' style="background-color:{{bgcolor}}">
|
|
<view class='user_top_two'>
|
|
<image class='user_top_image' src="{{user.headimgurl ? user.headimgurl:'/images/heads.png'}}" />
|
|
<block wx:if="{{user}}">
|
|
<view class='user_mc' bindtap="copyText" data-text="{{user.user_id}}" style='display:block;'>
|
|
<view class='user_name'>{{user.user_name}}</view>
|
|
<!-- <image class="level" wx:if="{{user.level==1}}" src="/images/member/lv_1.png" mode="aspectFill" bindtap="navToMemberCenter"></image>
|
|
<image class="level" wx:elif="{{user.level==2}}" src="/images/member/lv_2.png" mode="aspectFill" bindtap="navToMemberCenter"></image>
|
|
<image class="level" wx:elif="{{user.level==3}}" src="/images/member/lv_3.png" mode="aspectFill" bindtap="navToMemberCenter"></image>
|
|
<image class="level" wx:elif="{{user.level==4}}" src="/images/member/lv_4.png" mode="aspectFill" bindtap="navToMemberCenter"></image>
|
|
<image class="level" wx:elif="{{user.level==5}}" src="/images/member/lv_5.png" mode="aspectFill" bindtap="navToMemberCenter"></image>
|
|
<image class="level" wx:elif="{{user.level==6}}" src="/images/member/lv_6.png" mode="aspectFill" bindtap="navToMemberCenter"></image> -->
|
|
<image class="level" src="/images/member/lv_1.png" mode="aspectFill" bindtap="navToMemberCenter"></image>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class='login' bindtap="login">点击登录/注册</view>
|
|
</block>
|
|
<view class="top-message">
|
|
<image src="/images/grxx.png" class="btnimgl" lazy-load="true" bindtap="navToNotice">
|
|
</image>
|
|
<view class="xxnum" wx:if="{{xxnum>0}}">{{ xxnum > 99 ? '99+' : xxnum }}</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="card_bottom">
|
|
<!-- bindtap="navToCoupon" -->
|
|
<view>
|
|
<view>{{user.coupon_num?user.coupon_num:'—'}}</view>
|
|
<text>优惠券</text>
|
|
</view>
|
|
<view bindtap="navToScore">
|
|
<view>{{user.score?user.score:'—'}}</view>
|
|
<text>积分</text>
|
|
</view>
|
|
<view bindtap="navToWallet">
|
|
<view>
|
|
{{user.money?user.money:'—'}}
|
|
</view>
|
|
<text>余额</text>
|
|
</view>
|
|
<view bindtap="navToCollection">
|
|
<view class="relative" style="top: -6rpx;">
|
|
{{collection_num?collection_num:'—'}}
|
|
</view>
|
|
<text>我的收藏</text>
|
|
</view>
|
|
</view>
|
|
<!-- 我的订单 -->
|
|
<view class='user_dd'>
|
|
<view class='dd_stu'>
|
|
<view class="order" data-id="../order/order?index=0&status=" catchtap="jumpgo">
|
|
<view>
|
|
<text>我的订单</text>
|
|
</view>
|
|
<view class='order_right'>
|
|
<view class='order_my'>查看全部</view>
|
|
<view class="iconfont icon-iconset0424"></view>
|
|
</view>
|
|
</view>
|
|
<!-- </navigator> -->
|
|
<view class='order_list'>
|
|
<!-- <navigator class='list' url="../order/order?currentTab=1&order_type1=payment&otype=pay"> -->
|
|
<view class="list" data-id="../order/order?index=1&status=payment" catchtap="jumpgo">
|
|
<text class='tishi' wx:if="{{dfk_num > 0}}">{{dfk_num}}</text>
|
|
<view class='dd_img'>
|
|
<image src='../../images/icons/grdfk.png'></image>
|
|
</view>
|
|
<view style='margin-top:5px'>待付款</view>
|
|
</view>
|
|
<!-- </navigator> -->
|
|
<!-- <navigator class='list' url="../order/order?currentTab=2&order_type1=send&otype=pay"> -->
|
|
<view class="list" data-id="../order/order?index=2&status=send" catchtap="jumpgo">
|
|
<text class='tishi' wx:if="{{dfh_num > 0}}">{{dfh_num}}</text>
|
|
<view class='dd_img'>
|
|
<image src='../../images/icons/grdfh.png'></image>
|
|
</view>
|
|
<view style='margin-top:5px'>待发货</view>
|
|
</view>
|
|
<!-- </navigator> -->
|
|
<!-- <navigator class='list' url="../order/order?currentTab=3&order_type1=receipt&otype=pay"> -->
|
|
<view class="list" data-id="../order/order?index=3&status=receipt" catchtap="jumpgo">
|
|
<text class='tishi' wx:if="{{dsh_num > 0}}">{{dsh_num}}</text>
|
|
<view class='dd_img'>
|
|
<image src='../../images/icons/grdsh.png'></image>
|
|
</view>
|
|
<view style='margin-top:5px'>待收货</view>
|
|
</view>
|
|
<!-- </navigator> -->
|
|
<!-- <navigator class='list' url="../order/order?currentTab=4&order_type1=evaluate&otype=pay"> -->
|
|
<view class="list" data-id="../order/order?index=4&status=evaluete" catchtap="jumpgo">
|
|
<text class='tishi' wx:if="{{dpj_num > 0}}">{{dpj_num}}</text>
|
|
<view class='dd_img'>
|
|
<image src='../../images/icons/my_dpj.png'></image>
|
|
</view>
|
|
<view style='margin-top:5px'>待评价</view>
|
|
</view>
|
|
<!-- </navigator> -->
|
|
<!-- <navigator class='list' url="../aftersales/index?currentTab=0&otype=whole"> -->
|
|
<view class="list" data-id="../aftersales/index?currentTab=0&otype=whole" catchtap="jumpgo">
|
|
<text class='tishi' wx:if="{{th > 0}}">{{th}}</text>
|
|
<view class='dd_img'>
|
|
<image src='../../images/icons/tksh.png'></image>
|
|
</view>
|
|
<view style='margin-top:5px'>退货/售后</view>
|
|
</view>
|
|
<!-- </navigator> -->
|
|
</view>
|
|
</view>
|
|
<!-- 功能列表 -->
|
|
<view class="function" style='background:#fff'>
|
|
<block wx:for="{{list}}" wx:key="id">
|
|
<view class="function_list" catchtap='jumpgo' data-id="/pages/{{item.url}}">
|
|
<view class='function_left'>
|
|
<image style="width: 25px;height: 25px;margin: auto;" src='/images/icons/{{item.icon}}'></image>
|
|
<view class='function_text'>{{item.text}} </view>
|
|
</view>
|
|
<view class='function_right jiantou'>
|
|
<image src="/images/x_right.png"></image>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
<view class='bottom'>
|
|
<view class='bottom_1'>
|
|
<image src="{{logo}}"></image>
|
|
</view>
|
|
{{support}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
<pop id="pop"></pop>
|