|
@@ -7,7 +7,7 @@
|
|
<scroll-view v-if="order_list.length > 0" style="height: 95vh;" class="floor-list"
|
|
<scroll-view v-if="order_list.length > 0" style="height: 95vh;" class="floor-list"
|
|
:scroll-top="scrollTop" scroll-y="true" @scroll="scroll" @scrolltoupper="upper" @scrolltolower="lower"
|
|
:scroll-top="scrollTop" scroll-y="true" @scroll="scroll" @scrolltoupper="upper" @scrolltolower="lower"
|
|
:refresher-enabled="false">
|
|
:refresher-enabled="false">
|
|
- <view v-for="(item,index) in order_list" :key="index" class="cart-list">
|
|
|
|
|
|
+ <view v-for="(item,index) in order_list" :key="index" class="cart-list">
|
|
<view class="topTip" @click="goStore(item.store_id)">
|
|
<view class="topTip" @click="goStore(item.store_id)">
|
|
<view>
|
|
<view>
|
|
<image :src="pictureUrl+'/uploads/home/store/'+item.store_id+'/'+item.store_avatar" style="border-radius: 50%;
|
|
<image :src="pictureUrl+'/uploads/home/store/'+item.store_id+'/'+item.store_avatar" style="border-radius: 50%;
|
|
@@ -32,13 +32,11 @@
|
|
</view>
|
|
</view>
|
|
<view class="topTip">
|
|
<view class="topTip">
|
|
<view style="font-size: 28upx;">合计:{{item.order_amount}}</view>
|
|
<view style="font-size: 28upx;">合计:{{item.order_amount}}</view>
|
|
- <!-- <view class="deleChange" v-if="item.order_state == 10">未付款</view>
|
|
|
|
|
|
+ <view class="deleChange" v-if="item.order_state == 10">去付款</view>
|
|
<view class="deleChange" v-if="item.order_state == 20">催单</view>
|
|
<view class="deleChange" v-if="item.order_state == 20">催单</view>
|
|
- <view class="deleChange" v-if="item.order_state == 20">确认收货</view> uni.navigateTo({
|
|
|
|
- url:`/pages/myOrder/paymoment?order_id=${order_id}&prices=${prices}`
|
|
|
|
- })
|
|
|
|
- <view class="deleChange" v-if="item.order_state == 40 && item.evaluation_state == 0">去评价</view> -->
|
|
|
|
- <view class="deleChange" @click="gopay(item)">{{item.operate}}</view>
|
|
|
|
|
|
+ <view class="deleChange" v-if="item.order_state == 30">确认收货</view>
|
|
|
|
+ <view class="deleChange" v-if="item.order_state == 40 && item.evaluation_state == 0">去评价</view>
|
|
|
|
+ <!-- <view class="deleChange" @click="gopay(item)">{{item.operate}}</view> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -120,12 +118,7 @@
|
|
this.order_list = [];
|
|
this.order_list = [];
|
|
this.getlist();
|
|
this.getlist();
|
|
})
|
|
})
|
|
- // 我的跳掉订单
|
|
|
|
- // uni.$on('getstate', (e) => {
|
|
|
|
- // console.log(e);
|
|
|
|
- // console.log("ss")
|
|
|
|
- // })
|
|
|
|
- // 完成支付
|
|
|
|
|
|
+
|
|
uni.$on(" finshlist",()=>{
|
|
uni.$on(" finshlist",()=>{
|
|
this.page = 1;
|
|
this.page = 1;
|
|
this.order_list = [];
|
|
this.order_list = [];
|
|
@@ -193,7 +186,6 @@
|
|
// },
|
|
// },
|
|
changeselect(e) {
|
|
changeselect(e) {
|
|
if(this.successlogion && this.hasLogin) {
|
|
if(this.successlogion && this.hasLogin) {
|
|
- console.log(e);
|
|
|
|
this.active = e.target.name;
|
|
this.active = e.target.name;
|
|
this.page = 1;
|
|
this.page = 1;
|
|
this.ispull = true;
|
|
this.ispull = true;
|