| 1 |
- <view><view class="top-cont"><view class="top-inner"><view class="status_bar" style="{{'height:'+(statusBarHeight)+';'}}"></view><view class="user-info"><view data-event-opts="{{[['tap',[['openPersonInfo']]]]}}" class="left" bindtap="__e"><view class="head-img"><image src="{{user.avatar==null?'/static/images/detault_head.jpg':user.avatar}}" mode="aspectFill"></image></view><view class="name-phone"><view class="name">{{user.nickname}}</view><block wx:if="{{user.phone!=''}}"><view class="phone">{{$root.g0}}</view></block></view></view><view class="right"><uni-badge vue-id="5c2bbbc2-1" size="small" text="{{msgNum}}" absolute="rightTop" type="error" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/personInfo']]]]]}}" class="set" bindtap="__e"><image src="../../static/images/icon-set.png" mode></image></view></uni-badge><uni-badge vue-id="5c2bbbc2-2" size="small" text="{{msgNum}}" absolute="rightTop" type="error" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/message']]]]]}}" class="msg-box" bindtap="__e"><image src="../../static/images/icon-msg.png" mode></image></view></uni-badge></view></view><view class="my-order"><view class="inner"><view class="title-box"><text class="title">我的订单</text><view data-event-opts="{{[['tap',[['showOrder',['']]]]]}}" class="all-order" bindtap="__e"><text class="text">全部订单</text><image src="../../static/images/arrow4.png" mode></image></view></view><view class="status-box"><uni-badge vue-id="5c2bbbc2-3" size="small" text="{{count0}}" absolute="rightTop" type="error" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['showOrder',['0']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/payment.png" mode></image><text class="text">待付款</text></view></uni-badge><uni-badge vue-id="5c2bbbc2-4" size="small" text="{{count1}}" absolute="rightTop" type="error" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['showOrder',['1']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/send_goods.png" mode></image><text class="text">待发货</text></view></uni-badge><uni-badge vue-id="5c2bbbc2-5" size="small" text="{{count2}}" absolute="rightTop" type="error" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['showOrder',['2']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/sou_goods.png" mode></image><text class="text">待收货</text></view></uni-badge><view data-event-opts="{{[['tap',[['showOrder',['3']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/completed.png" mode></image><text class="text">已完成</text></view><uni-badge vue-id="5c2bbbc2-6" size="small" text="{{afterSalesCount}}" absolute="rightTop" type="error" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/refundOrderList']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/after_sales.png" mode></image><text class="text">售后/退款</text></view></uni-badge></view></view></view><view class="content"><view class="used-tools"><view class="title">常用工具</view><view class="tools-list"><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/prescribeOrder']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/prescription.png" mode></image><text class="text">我的处方</text></view><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/patient']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/management.png" mode></image><text class="text">就诊人管理</text></view><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/address']]]]]}}" class="item" bindtap="__e"><image src="../../static/images/address.png" mode></image><text class="text">收货地址</text></view><view data-event-opts="{{[['tap',[['navgetTo',['/pages_shopping/shopping/myCoupon']]]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/mycoupon.png" mode></image><text class="text">优惠券</text></view><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/storeProductRelation']]]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/service_file.png" mode></image><text class="text">我的足迹</text></view><view data-event-opts="{{[['tap',[['openH5',[1]]]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/service_file.png" mode></image><text class="text">用户协议</text></view><view data-event-opts="{{[['tap',[['openH5',[2]]]]]}}" class="item no-marin-bottom align-top" bindtap="__e"><image src="../../static/images/advice.png" mode></image><text class="text">隐私保护</text></view><view class="item no-marin-bottom"><image src="../../static/images/customer1.png" mode></image><text class="text">专属客服</text><button class="contact-btn" open-type="contact"></button></view><block wx:if="{{user.isPromoter==0}}"><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/userTuiAdd']]]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/my_promotion.png" mode></image><text class="text">申请健康大使</text></view></block><block wx:if="{{user.isPromoter==1}}"><view data-event-opts="{{[['tap',[['navgetTo',['/pages_user/user/userTui']]]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/my_promotion.png" mode></image><text class="text">我的推广</text></view></block><view data-event-opts="{{[['tap',[['navgetTo',['/pages/home/cert']]]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/service_file.png" mode></image><text class="text">资质证书</text></view><view data-event-opts="{{[['tap',[['toManager']]]]}}" class="item no-marin-bottom" bindtap="__e"><image src="../../static/images/sale_file.png" mode></image><text class="text">销售管理</text></view></view></view></view><block wx:if="{{user.nickname!=''}}"><view style="padding-bottom:20rpx;padding:20rpx;"><view data-event-opts="{{[['tap',[['loginOUt',['$event']]]]]}}" class="log-out x-c" bindtap="__e">退出登录</view></view></block><view class="like-product"><like-product class="vue-ref" vue-id="5c2bbbc2-7" data-ref="product" bind:__l="__l"></like-product></view></view></view></view>
|