xbx #112

Merged
theluyuan merged 8 commits from xbx into master 2020-11-03 06:36:05 +00:00
5 changed files with 21 additions and 6 deletions
Showing only changes of commit f1667c865e - Show all commits

View File

@ -34,8 +34,11 @@
</tbody>
</table>
<template v-if="!withdrawallist.total">
<a-empty />
</template>
<div class="pages">
<a-pagination v-model:current="page" :total="withdrawallist.total" :showLessItems="true" @change="pagechange"/>
<a-pagination v-if="!withdrawallist.total" v-model:current="page" :total="withdrawallist.total" :showLessItems="true" @change="pagechange"/>
</div>
</div>
<NavBottom class="navbottom"></NavBottom>

View File

@ -193,9 +193,12 @@
</tbody>
</table>
<template v-if="!salelist.total">
<a-empty />
</template>
</div>
<div class="pages">
<a-pagination v-model:current="page" :total="salelist.total" :showLessItems="true" @change="pagechange"/>
<a-pagination v-if="!salelist.total" v-model:current="page" :total="salelist.total" :showLessItems="true" @change="pagechange"/>
</div>
</div>
<NavBottom class="navbottom"></NavBottom>

View File

@ -63,8 +63,11 @@
:zid="i.liveid"
></LiveItem>
</div>
<template v-if="!livelist.total">
<a-empty />
</template>
<div class="pages">
<a-pagination v-model:current="page" :total="livelist.total" :showLessItems="true" />
<a-pagination v-if="!livelist.total" v-model:current="page" :total="livelist.total" :showLessItems="true" />
</div>
</div>
</template>

View File

@ -50,11 +50,13 @@
</div>
</div>
</div>
<template v-if="!teacherlikedlist.total">
<a-empty />
</template>
</div>
</div>
<div class="pages">
<a-pagination v-model:current="page" :total="teacherlikedlist.total" :showLessItems="true" @change="pagechange"/>
<a-pagination v-if="!teacherlikedlist.total" v-model:current="page" :total="teacherlikedlist.total" :showLessItems="true" @change="pagechange"/>
</div>
</div>
</template>

View File

@ -20,7 +20,11 @@
<input type="text" :placeholder="lan.$t('shipinsousuo')" @keyup.enter="sel()" v-model="input"/>
</div>
</div>
<template v-if="!videolist.total">
<a-empty />
</template>
<div class="list" v-if="tabindex == 4">
<VideoItem
v-for="(i, j) in videolist.data"
:key="j"
@ -86,7 +90,7 @@
></VideoItem>
</div>
<div class="pages">
<a-pagination v-model:current="page" :total="videolist.total" :showLessItems="true" @change="pagechange" />
<a-pagination v-if="!videolist.total" v-model:current="page" :total="videolist.total" :showLessItems="true" @change="pagechange" />
</div>
</div>
</template>