BUG 27338
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="notification">
|
||||
<template v-if="showList">
|
||||
<AiTopFixed>
|
||||
<AiTopFixed v-if="!onlyLast">
|
||||
<u-tabs :list="tabs" :is-scroll="false" height="96" :current="index" bar-width="192" @change="change"></u-tabs>
|
||||
</AiTopFixed>
|
||||
<div class="body" v-if="dataList.length">
|
||||
@@ -43,10 +43,9 @@
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<AiEmpty v-else/>
|
||||
<u-loadmore :status="status" v-if="dataList.length"/>
|
||||
<AiAdd @add="handleAdd"/>
|
||||
<AiAdd v-if="!onlyLast" @add="handleAdd"/>
|
||||
<u-popup v-model="show" mode="bottom">
|
||||
<div class="popup-wrap">
|
||||
<u-row justify="between">
|
||||
@@ -97,6 +96,9 @@ export default {
|
||||
tabs() {
|
||||
return [{name: "最新公告"}, {name: "公告管理"}];
|
||||
},
|
||||
onlyLast(){
|
||||
return this.$route.query.last==1
|
||||
},
|
||||
optList() {
|
||||
return [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user