...
|
...
|
@@ -3,13 +3,11 @@ |
|
|
<view class="my-page yoho-page">
|
|
|
<view class="my-header">
|
|
|
<view class="user-info">
|
|
|
<button wx:if="{{!isLogin}}" class="login-btn" bindtap="{{!hasUnionID ? 'loginRegTap' : ''}}"
|
|
|
<button wx:if="{{!isLogin}}" class="login-btn" bindtap="{{!hasUnionID ? 'loginRegTap' : ''}}"
|
|
|
plain="true"
|
|
|
open-type="{{hasUnionID ? 'getPhoneNumber' : ''}}" bindgetphonenumber="getPhoneNumber">登录
|
|
|
</button>
|
|
|
<block wx:else>
|
|
|
<image wx:if="{{userInfo.defaultAvatar}}" src="{{userInfo.avatarUrl}}"
|
|
|
class="user-avatar"></image>
|
|
|
<image src="{{userInfo.avatarUrl}}" class="user-avatar"></image>
|
|
|
<view class="username">{{userInfo.nickName}}</view>
|
|
|
|
...
|
...
|
@@ -22,34 +20,30 @@ |
|
|
<view class="my-order" style='border-bottom:0'>
|
|
|
<view class="my-order-title" data-type="1" bindtap="toOrdersTap">
|
|
|
<view class='titleDesc' style='color:#444444'>我的订单</view>
|
|
|
<view style="color: #aeaeae;font-size:29rpx;">全部订单</view>
|
|
|
<image class='arrow-image' style='margin-right:20rpx' src='../../static/images/arrow_right@2x.png'></image>
|
|
|
<view class="right-desc">
|
|
|
<text class="desc">全部订单</text>
|
|
|
<text class="iconfont icon-right"></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="order-type clearfix" style='border-bottom:0'>
|
|
|
<view class="type-item" data-type="2" bindtap="toOrdersTap">
|
|
|
<view class="iconfont">
|
|
|
<image src="../../static/images/dd_icon_dfk@2x.png" class="icon-image"></image>
|
|
|
<view class='red-point' hidden='{{infoNum.wait_pay_num?false:true}}'>
|
|
|
{{infoNum.wait_pay_num>100?'99+':infoNum.wait_pay_num}}
|
|
|
</view>
|
|
|
<text class="iconfont icon-card"></text>
|
|
|
<view class="red-point" hidden="{{!infoNum.wait_pay_num}}">
|
|
|
{{infoNum.wait_pay_num>100?'99+':infoNum.wait_pay_num}}
|
|
|
</view>
|
|
|
待付款
|
|
|
</view>
|
|
|
<view class="type-item" data-type="3" bindtap="toOrdersTap">
|
|
|
<view class="iconfont">
|
|
|
<image src="../../static/images/dd_icon_dfh@2x.png" class="icon-image"></image>
|
|
|
<view class='red-point' hidden='{{infoNum.wait_cargo_num?false:true}}'>
|
|
|
{{infoNum.wait_cargo_num>100?'99+':infoNum.wait_cargo_num}}
|
|
|
</view>
|
|
|
<text class="iconfont icon-save"></text>
|
|
|
<view class="red-point" hidden="{{!infoNum.wait_cargo_num}}">
|
|
|
{{infoNum.wait_cargo_num>100?'99+':infoNum.wait_cargo_num}}
|
|
|
</view>
|
|
|
待发货
|
|
|
</view>
|
|
|
<view class="type-item" data-type="4" bindtap="toOrdersTap">
|
|
|
<view class="iconfont">
|
|
|
<image src="../../static/images/dd_icon_dsh@2x.png" class="icon-image"></image>
|
|
|
<view class='red-point' hidden='{{infoNum.send_cargo_num?false:true}}'>
|
|
|
{{infoNum.send_cargo_num>100?'99+':infoNum.send_cargo_num}}
|
|
|
</view>
|
|
|
<text class="iconfont icon-car"></text>
|
|
|
<view class="red-point" hidden="{{!infoNum.send_cargo_num}}">
|
|
|
{{infoNum.send_cargo_num>100?'99+':infoNum.send_cargo_num}}
|
|
|
</view>
|
|
|
待收货
|
|
|
</view>
|
...
|
...
|
@@ -59,28 +53,30 @@ |
|
|
<view class='action-item address' bindtap='toAddress'>
|
|
|
<view class='item-sub-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="../../static/images/address-ic@2x.png" class="icon-image"></image>
|
|
|
<text class="iconfont icon-location"></text>
|
|
|
</view>
|
|
|
<view class="address-title">地址管理</view>
|
|
|
</view>
|
|
|
<image class='arrow-image' src='../../static/images/arrow_right@2x.png'></image>
|
|
|
<view class="right-desc"><text class="iconfont icon-right"></text></view>
|
|
|
</view>
|
|
|
<view class='action-item' catchtap='toService'>
|
|
|
<view class='item-sub-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="../../static/images/fwyfk-ic@2x.png" class="icon-image"></image>
|
|
|
<text class="iconfont icon-service"></text>
|
|
|
</view>
|
|
|
<view class="address-title">服务与反馈</view>
|
|
|
</view>
|
|
|
<image class='arrow-image' src='../../static/images/arrow_right@2x.png'></image>
|
|
|
<view class="right-desc"><text class="iconfont icon-right"></text></view>
|
|
|
</view>
|
|
|
<view class="view-splite clearfix"/>
|
|
|
<view class='titleContainer'>
|
|
|
<view class='titleLine'></view>
|
|
|
<view class='titleDesc'> 为你优选</view>
|
|
|
<view class='titleDesc'>为你优选</view>
|
|
|
</view>
|
|
|
<view class="product-list">
|
|
|
<product-list list="{{productList}}"></product-list>
|
|
|
</view>
|
|
|
<view class="product-list"><product-list list="{{productList}}"></product-list></view>
|
|
|
<copyright></copyright>
|
|
|
</view>
|
|
|
</view>
|
|
|
</scroll-view> |
|
|
\ No newline at end of file |
|
|
</scroll-view> |
...
|
...
|
|