添加空提示
This commit is contained in:
parent
1cc3f289fe
commit
3d04824b83
@ -4,17 +4,24 @@
|
||||
<view class="tab-swiper">
|
||||
<u-tabs :list="list" font-size="26" gutter="10" item-width="130" bar-width="120" active-color="#FF780F" :current="current" @change="tabsChange"></u-tabs>
|
||||
</view>
|
||||
|
||||
<view class="order-list" v-if="current == 0">
|
||||
<view v-for="(item, index) in allorder" :key="index"><OrderItem :info="item"></OrderItem></view>
|
||||
<u-empty margin-top="20" v-if="!allorder.length" mode="order"></u-empty>
|
||||
|
||||
</view>
|
||||
<view v-else-if="current == 1">
|
||||
<view v-for="(item, index) in testlist" :key="index"><testList :info="item"></testList></view>
|
||||
<u-empty margin-top="20" v-if="!testlist.length" mode="order"></u-empty>
|
||||
|
||||
</view>
|
||||
<view v-else-if="current == 2">
|
||||
<view v-for="(item, index) in worklist" :key="index"><OrderItem :info="item"></OrderItem></view>
|
||||
<u-empty margin-top="20" v-if="!worklist.length" mode="order"></u-empty>
|
||||
</view>
|
||||
<view v-else-if="current == 3">
|
||||
<view v-for="(item, index) in translist" :key="index"><OrderItem :info="item"></OrderItem></view>
|
||||
<u-empty margin-top="20" v-if="!translist.length" mode="order"></u-empty>
|
||||
</view>
|
||||
<view v-else-if="current == 4">
|
||||
<view class="complaint">
|
||||
@ -41,11 +48,13 @@
|
||||
<view v-for="(item, index) in finshlist" :key="index">
|
||||
<OrderItem :info="item"></OrderItem>
|
||||
</view>
|
||||
<u-empty margin-top="20" v-if="!finshlist.length" mode="order"></u-empty>
|
||||
</view>
|
||||
<view v-else-if="current == 6">
|
||||
<view v-for="(item, index) in badlist" :key="index">
|
||||
<OrderItem :info="item"></OrderItem>
|
||||
</view>
|
||||
<u-empty margin-top="20" v-if="!badlist.length" mode="order"></u-empty>
|
||||
</view>
|
||||
<view class="release-btn" @click="publish">
|
||||
<image src="../../static/image/index/publish.png"></image>
|
||||
|
Loading…
Reference in New Issue
Block a user