|
|
|
|
@ -9,6 +9,7 @@
|
|
|
|
|
<view class="statusBox">
|
|
|
|
|
<text v-for="(item,index) in statusLabels" :key="index" @click="changeStatus(index)" :class="{cur: index == status}">{{item}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view style="height:120rpx;"></view>
|
|
|
|
|
<view class="orderCol" v-for="(item, index) in list" :key="item.id" @click="goDetail(item.id)">
|
|
|
|
|
<view class="title">
|
|
|
|
|
<view>{{item.order_name || '暂无'}}<!-- <text class="free">免费</text> --></view>
|
|
|
|
|
@ -87,6 +88,7 @@
|
|
|
|
|
},
|
|
|
|
|
getOrderList() {
|
|
|
|
|
const phone_token = uni.getStorageSync('phone_token')
|
|
|
|
|
uni.showLoading({title: '加载中',mask:true});
|
|
|
|
|
uni.request({
|
|
|
|
|
url: this.baseUrl + '/api/member/get-orders',
|
|
|
|
|
method: 'GET',
|
|
|
|
|
@ -96,6 +98,7 @@
|
|
|
|
|
token: phone_token.token
|
|
|
|
|
},
|
|
|
|
|
success: r => {
|
|
|
|
|
setTimeout(function () {uni.hideLoading();}, 100);
|
|
|
|
|
this.list = this.list.concat(r.data.data)
|
|
|
|
|
this.page++
|
|
|
|
|
}
|
|
|
|
|
@ -210,12 +213,15 @@
|
|
|
|
|
height:120rpx;
|
|
|
|
|
background: #fff;
|
|
|
|
|
display: flex;
|
|
|
|
|
paddind:0 30rpx;
|
|
|
|
|
padding:0 30rpx;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
align-items: center;
|
|
|
|
|
align-content: center;
|
|
|
|
|
color:#666;
|
|
|
|
|
font-size:28rpx;
|
|
|
|
|
position: fixed;
|
|
|
|
|
left:0;
|
|
|
|
|
top:-1rpx;
|
|
|
|
|
text{display:block;width: 156rpx;height: 64rpx;background: #F0F0F0;border-radius: 32rpx;text-align: center;line-height:64rpx;}
|
|
|
|
|
.cur{background: #FF578A;color:#fff;}
|
|
|
|
|
}
|
|
|
|
|
|