|
|
|
|
@ -12,33 +12,33 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view class="myMain">
|
|
|
|
|
<view class="myInfo">
|
|
|
|
|
<image mode="scaleToFill" src="../../static/banner@3x.png"></image>
|
|
|
|
|
<view class="title">王大宝</view>
|
|
|
|
|
<image mode="scaleToFill" :src="userProfile.avatarUrl ? userProfile.avatarUrl : '../../static/banner@3x.jpg'"></image>
|
|
|
|
|
<view class="title">{{userProfile.nickName || '匿名用户'}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="myOrder">
|
|
|
|
|
<view class="orderTab">
|
|
|
|
|
<uni-segmented-control :current="current" :values="items.map(v=>v.title)" @clickItem="onClickItem" styleType="text" activeColor="#666"></uni-segmented-control>
|
|
|
|
|
<uni-segmented-control :current="current" :values="items.map(v=>v.title)" @clickItem="onClickItem" styleType="text" activeColor="#FF578A"></uni-segmented-control>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="tabCol" v-show="current === 0">
|
|
|
|
|
<view class="orderMenu">
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daifukuan@2x.png"></image>
|
|
|
|
|
<text>待付款</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daifuwu@2x.png"></image>
|
|
|
|
|
<text>待服务</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_yifuwu@2x.png"></image>
|
|
|
|
|
<text>已服务</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daipingjia@2x.png"></image>
|
|
|
|
|
<text>待评价</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol allOrder">
|
|
|
|
|
<view class="menuCol allOrder" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_dingdan@2x.png"></image>
|
|
|
|
|
<text>全部订单</text>
|
|
|
|
|
<image class="line" src="../../static/bg_yinying@2x.png"></image>
|
|
|
|
|
@ -47,23 +47,23 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view class="tabCol" v-show="current === 1">
|
|
|
|
|
<view class="orderMenu">
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daifukuan@2x.png"></image>
|
|
|
|
|
<text>待付款</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daifahuo@2x.png"></image>
|
|
|
|
|
<text>待发货</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_yishouhuo@2x.png"></image>
|
|
|
|
|
<text>待收货</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol">
|
|
|
|
|
<view class="menuCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daipingjia@2x.png"></image>
|
|
|
|
|
<text>待评价</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menuCol allOrder">
|
|
|
|
|
<view class="menuCol allOrder" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_dingdan@2x.png"></image>
|
|
|
|
|
<text>全部订单</text>
|
|
|
|
|
<image class="line" src="../../static/bg_yinying@2x.png"></image>
|
|
|
|
|
@ -76,74 +76,62 @@
|
|
|
|
|
<view class="introBox">
|
|
|
|
|
<view class="normal_tit">更多服务</view>
|
|
|
|
|
<view class="serviceBox">
|
|
|
|
|
<navigator class="serviceCol" url="../myCollect/myCollect">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_shoucang_1@2x.png"></image>
|
|
|
|
|
<text>我的收藏</text>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
<view class="serviceCol">
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_pingjia@2x.png"></image>
|
|
|
|
|
<text>评价中心</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="serviceCol">
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_tousu@2x.png"></image>
|
|
|
|
|
<text>用户投诉</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="serviceCol">
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_tuikuan@2x.png"></image>
|
|
|
|
|
<text>我的退款</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="serviceCol">
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_fenxiang@2x.png"></image>
|
|
|
|
|
<text>分享</text>
|
|
|
|
|
</view>
|
|
|
|
|
<navigator class="serviceCol" url="../myCoupon/myCoupon">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_youhuiquan@2x.png"></image>
|
|
|
|
|
<text>优惠券</text>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!--推广业绩-->
|
|
|
|
|
<view class="introBox">
|
|
|
|
|
<view class="normal_tit">推广业绩</view>
|
|
|
|
|
<view class="serviceBox">
|
|
|
|
|
<navigator class="serviceCol" url="../myspeadOrder/myspeadOrder">
|
|
|
|
|
<view >
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_daifukuan@2x.png"></image>
|
|
|
|
|
<text>我的订单</text>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
<navigator class="serviceCol" url="../speadApply/speadApply">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_shenqingzhuce@2x.png"></image>
|
|
|
|
|
<text>申请注册</text>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!--推广工具-->
|
|
|
|
|
<view class="introBox">
|
|
|
|
|
<view class="normal_tit">推广工具</view>
|
|
|
|
|
<view class="serviceBox">
|
|
|
|
|
<navigator class="serviceCol" url="../poster/poster">
|
|
|
|
|
<view >
|
|
|
|
|
<view class="serviceCol" @tap="nodata()">
|
|
|
|
|
<image src="../../static/icon_poster@2x.png"></image>
|
|
|
|
|
<text>专属海报</text>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
<navigator class="serviceCol" url="../speadPro/speadPro">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="serviceCol" @tap="goTuiguang()">
|
|
|
|
|
<image src="../../static/icon_shangpin@2x.png"></image>
|
|
|
|
|
<text>推广商品</text>
|
|
|
|
|
<text>推广申请</text>
|
|
|
|
|
</view>
|
|
|
|
|
</navigator>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!--为您精选-->
|
|
|
|
|
<view class="introBox">
|
|
|
|
|
<!--<view class="introBox">
|
|
|
|
|
<view class="normal_tit">为您精选</view>
|
|
|
|
|
<view class="intro_row">
|
|
|
|
|
<view class="row_col">
|
|
|
|
|
@ -165,7 +153,7 @@
|
|
|
|
|
<view class="price"><text class="font_red">免费</text></view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
@ -180,14 +168,22 @@
|
|
|
|
|
{title:"活动订单"},
|
|
|
|
|
{title:"商品订单"}
|
|
|
|
|
],
|
|
|
|
|
current:0
|
|
|
|
|
current:0,
|
|
|
|
|
userProfile: {},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
|
|
|
|
this.stytemInfo();
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
let userProfile = uni.getStorageSync('user_profile')
|
|
|
|
|
if (userProfile) {
|
|
|
|
|
this.userProfile = userProfile
|
|
|
|
|
} else {
|
|
|
|
|
uni.navigateTo({ url: '../login/index?showProfile=1'})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onPageScroll(e) {
|
|
|
|
|
console.log(e)
|
|
|
|
|
var that = this;
|
|
|
|
|
if(e.scrollTop > 60 ){
|
|
|
|
|
that.showTiele = true;
|
|
|
|
|
@ -206,6 +202,17 @@
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
goTuiguang(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:"../../packages/packagePromotion/pages/speadApply/speadApply"
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
nodata(){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '正在建设中',
|
|
|
|
|
duration: 1000
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
onClickItem(e){
|
|
|
|
|
if(this.current !== e.currentIndex)
|
|
|
|
|
{
|
|
|
|
|
|