|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <view class="u-page">
|
|
|
+ <view class="u-page" v-if="orderList.length!=0">
|
|
|
<u-swipe-action :show="item.show" :index="index" v-for="(item, index) in orderList" :key="index" @click="click(item.sendUserId)"
|
|
|
@content-click="inSystem" @open="open(index)" :options="options">
|
|
|
<navigator
|
|
@@ -32,6 +32,7 @@
|
|
|
</navigator>
|
|
|
</u-swipe-action>
|
|
|
</view>
|
|
|
+ <u-empty style="margin-top: 100rpx;" v-else text="暂无数据" mode="list"></u-empty>
|
|
|
<!-- <u-tabbar v-model="current" :list="list"></u-tabbar> -->
|
|
|
</view>
|
|
|
</template>
|
|
@@ -95,7 +96,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
console.log(res);
|
|
|
this.orderList = res.data.category;
|
|
|
-
|
|
|
+ console.log(this.orderList.length)
|
|
|
for (let i = 0; i < res.data.data.category.length; i++) {
|
|
|
// this.orderList = res.data.data.category[i]
|
|
|
this.gatTime = res.data.data.category[i].gatTime;
|