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