|
|
<!--userCenter.wxml-->
|
|
|
<import src="../goodsList/productListCell.wxml"/>
|
|
|
<scroll-view scroll-y='true' style="height: {{windowHeight}}px" bindscroll="scroll" scroll-top="{{scrollTop}}">
|
|
|
<view class="container">
|
|
|
|
|
|
<view class="my-page yoho-page" >
|
|
|
<view class="my-header">
|
|
|
<image src="images/mine_bg@2x.png" class="header_bg"></image>
|
|
|
<view class="user-info">
|
|
|
<button wx:if="{{!isLogin}}" class="login-btn" bindtap="{{!hasUnionID?'loginAndRegisterTapped':''}}" open-type="{{hasUnionID?'getPhoneNumber':''}}" bindgetphonenumber="getPhoneNumber">登录/注册</button>
|
|
|
<block wx:else>
|
|
|
<image src="{{userInfo.avatarUrl}}" class="user-avatar"></image>
|
|
|
<view class="username">{{userInfo.nickName}}</view>
|
|
|
|
|
|
<image wx:if="{{userInfo.uid}}" class='vip-icon-image' src='{{vipImg}}'></image>
|
|
|
</block>
|
|
|
|
|
|
</view>
|
|
|
<!-- <image src='images/mine_bg@2x.png' class="new_head_bg">
|
|
|
|
|
|
</image> -->
|
|
|
</view>
|
|
|
<view class="my-order" style='border-bottom:0'>
|
|
|
<view class="my-order-title" data-index="0" bindtap="navToOrders">
|
|
|
<view class='titleDesc' style='color:#444444'>我的订单</view>
|
|
|
<view style="color: #aeaeae;font-size:29rpx;">全部订单</view>
|
|
|
<image class='arrow-image' style='margin-right:20rpx' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
<view class="order-type clearfix" style='border-bottom:0'>
|
|
|
<view class="type-item" data-index="1" bindtap="navToOrders">
|
|
|
<view class="iconfont">
|
|
|
<image src="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 class="container">
|
|
|
|
|
|
<view class="my-page yoho-page">
|
|
|
<view class="my-header">
|
|
|
<image src="images/mine_bg@2x.png" class="header_bg"></image>
|
|
|
<view class="user-info">
|
|
|
<button wx:if="{{!isLogin}}" class="login-btn" bindtap="{{!hasUnionID?'loginAndRegisterTapped':''}}"
|
|
|
open-type="{{hasUnionID?'getPhoneNumber':''}}" bindgetphonenumber="getPhoneNumber">登录/注册
|
|
|
</button>
|
|
|
<block wx:else>
|
|
|
<image src="{{userInfo.avatarUrl}}" class="user-avatar"></image>
|
|
|
<view class="username">{{userInfo.nickName}}</view>
|
|
|
|
|
|
<image wx:if="{{userInfo.uid}}" class='vip-icon-image' src='{{vipImg}}'></image>
|
|
|
</block>
|
|
|
|
|
|
</view>
|
|
|
<!-- <image src='images/mine_bg@2x.png' class="new_head_bg">
|
|
|
|
|
|
</image> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
待付款
|
|
|
</view>
|
|
|
<view class="type-item" data-index="2" bindtap="navToOrders">
|
|
|
<view class="iconfont">
|
|
|
<image src="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 class="my-order" style='border-bottom:0'>
|
|
|
<view class="my-order-title" data-index="0" bindtap="navToOrders">
|
|
|
<view class='titleDesc' style='color:#444444'>我的订单</view>
|
|
|
<view style="color: #aeaeae;font-size:29rpx;">全部订单</view>
|
|
|
<image class='arrow-image' style='margin-right:20rpx' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
<view class="order-type clearfix" style='border-bottom:0'>
|
|
|
<view class="type-item" data-index="1" bindtap="navToOrders">
|
|
|
<view class="iconfont">
|
|
|
<image src="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>
|
|
|
</view>
|
|
|
待付款
|
|
|
</view>
|
|
|
<view class="type-item" data-index="2" bindtap="navToOrders">
|
|
|
<view class="iconfont">
|
|
|
<image src="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>
|
|
|
</view>
|
|
|
待发货
|
|
|
</view>
|
|
|
<view class="type-item" data-index="3" bindtap="navToOrders">
|
|
|
<view class="iconfont">
|
|
|
<image src="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>
|
|
|
</view>
|
|
|
待收货
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
待发货
|
|
|
</view>
|
|
|
<view class="type-item" data-index="3" bindtap="navToOrders">
|
|
|
<view class="iconfont">
|
|
|
<image src="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 class="view-splite clearfix">
|
|
|
</view>
|
|
|
<view class='address-back-view' style='border-top:0;border-bottom:0' bindtap='navToAddressManagerPage'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/address-ic@2x.png" class="icon-image"></image>
|
|
|
</view>
|
|
|
<view class="address-title">地址管理</view>
|
|
|
</view>
|
|
|
<image class='arrow-image' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
<view class='address-back-view' style='border-top:0;border-bottom:0' catchtap='navToServiceFeedBack'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/fwyfk-ic@2x.png" class="icon-image"></image>
|
|
|
</view>
|
|
|
<view class="address-title">服务与反馈</view>
|
|
|
</view>
|
|
|
|
|
|
<image class='arrow-image' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
<view class="view-splite clearfix"/>
|
|
|
<view class='titleContainer'>
|
|
|
<view class='titleLine'></view>
|
|
|
<view class='titleDesc'> 为你优选</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
待收货
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="view-splite clearfix">
|
|
|
</view>
|
|
|
|
|
|
<view class='address-back-view'style='border-top:0' bindtap='couponTapAction'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/yhq-ic@2x.png" class="icon-image"></image>
|
|
|
</view>
|
|
|
<view class="address-title">优惠券</view>
|
|
|
</view>
|
|
|
|
|
|
<view class='arrow-text' wx:if='{{infoNum.coupon_num?true:false}}'>{{infoNum.coupon_num}} 张 </view>
|
|
|
<image class='arrow-image' src='images/arrow_right@2x.png'></image>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class='yohocoin-back-view'style='border-bottom:0' bindtap='yohocoinTapAction'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/yoho-coin@2x.png" class="icon-image"></image>
|
|
|
</view>
|
|
|
<view class="address-title" >有货币</view>
|
|
|
</view>
|
|
|
|
|
|
<view class='arrow-text' style='margin-right:20rpx'>{{infoNum.yoho_coin_num?infoNum.yoho_coin_num:0}}个</view>
|
|
|
|
|
|
</view>
|
|
|
<view class="view-splite clearfix"/>
|
|
|
|
|
|
<view class='address-back-view' style='border-top:0' bindtap='navToGoodsCollectPage'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/like@2x.png" class="icon-image"></image>
|
|
|
</view>
|
|
|
<view class="address-title">商品收藏</view>
|
|
|
</view>
|
|
|
<image class='arrow-image' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
|
|
|
<view class='address-back-view' style='border-top:0;border-bottom:0' bindtap='navToAddressManagerPage'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/address-ic@2x.png" class="icon-image"></image>
|
|
|
</view>
|
|
|
<view class="address-title">地址管理</view>
|
|
|
</view>
|
|
|
<image class='arrow-image' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
|
|
|
<view class="view-splite clearfix"/>
|
|
|
<!--猜你喜欢列表-->
|
|
|
<view class="likeContainer">
|
|
|
<block wx:for="{{recommdData}}" wx:key="{{index}}">
|
|
|
<template is="productListCell"
|
|
|
data="{{listWidth, listHeight, listImageWidth, listImageHeight, listImageTop, listMarginHorizontal,index,f_index:3, item}}"/>
|
|
|
</block>
|
|
|
</view>
|
|
|
|
|
|
<view class='address-back-view' style='border-top:0;border-bottom:0' catchtap='navToServiceFeedBack'>
|
|
|
<view class='address-left-back-view'>
|
|
|
<view class="left-icon-image">
|
|
|
<image src="images/fwyfk-ic@2x.png" class="icon-image"></image>
|
|
|
<view class="my-service" hidden='true'>
|
|
|
<view class="service-type clearfix">
|
|
|
<text class="service-text">更多优质服务,您可以选择:\n1.关注微信服务号“ YOHOBUY有货”咨询在线客服\n2.拨打 400-889-9646 电话客服</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="address-title">服务与反馈</view>
|
|
|
</view>
|
|
|
|
|
|
<image class='arrow-image' src='images/arrow_right@2x.png'></image>
|
|
|
</view>
|
|
|
<view class="view-splite clearfix"/>
|
|
|
<!-- 猜你喜欢标题 -->
|
|
|
<!-- <view class="sectionContainer">
|
|
|
<view class="sectionLine"></view>
|
|
|
<view class="sectionTitle">猜你喜欢</view>
|
|
|
<view class="sectionLine"></view>
|
|
|
</view> -->
|
|
|
<view class='titleContainer'>
|
|
|
<view class='titleLine'></view>
|
|
|
<view class='titleDesc'> 为你优选</view>
|
|
|
</view>
|
|
|
|
|
|
<!--猜你喜欢列表-->
|
|
|
<view class="likeContainer">
|
|
|
<block wx:for="{{recommdData}}" wx:key="{{index}}">
|
|
|
<template is="productListCell" data="{{listWidth, listHeight, listImageWidth, listImageHeight, listImageTop, listMarginHorizontal,index,f_index:3, item}}"/>
|
|
|
</block>
|
|
|
</view>
|
|
|
|
|
|
<view class="my-service" hidden='true'>
|
|
|
<view class="service-type clearfix">
|
|
|
<text class="service-text">更多优质服务,您可以选择:\n1.关注微信服务号“ YOHOBUY有货”咨询在线客服\n2.拨打 400-889-9646 电话客服</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
<quickNavigation id="quickNavigation" isShowIndicator="{{isShowIndicator}}" isShowShopCart="{{true}}" isShowMenu="{{false}}" marginBottom="{{50}}" bind:backToTop="backToTop"></quickNavigation>
|
|
|
<import src="../../vendors/toast/wetoast.wxml" />
|
|
|
<template is="wetoast" data="{{...__wetoast__}}" /> |
|
|
\ No newline at end of file |
|
|
<quickNavigation id="quickNavigation" isShowIndicator="{{isShowIndicator}}" isShowShopCart="{{true}}"
|
|
|
isShowMenu="{{false}}" marginBottom="{{50}}" bind:backToTop="backToTop"></quickNavigation>
|
|
|
<import src="../../vendors/toast/wetoast.wxml"/>
|
|
|
<template is="wetoast" data="{{...__wetoast__}}"/> |
|
|
\ No newline at end of file |
...
|
...
|
|