清除异常
This commit is contained in:
@@ -68,7 +68,7 @@ const start = () => {
|
||||
navigationStyle: "custom"
|
||||
}
|
||||
}
|
||||
findApp('src/apps', file => {
|
||||
findApp('src/utils', file => {
|
||||
if (/.*\\.+\\App[^\\]+\.vue/g.test(file)) {
|
||||
let app = {
|
||||
name: file.replace(/.*\\([^\\]+).vue/g, '$1'),
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
<label>
|
||||
<b v-if="index==0 && item.readStatus==0"></b>
|
||||
<div class="tag" v-if="index==1" :style="color(item.status)">
|
||||
{{$dict.getLabel("announcementStatus",item.status)}}
|
||||
{{ $dict.getLabel("announcementStatus", item.status) }}
|
||||
</div>
|
||||
{{item.title}}
|
||||
{{ item.title }}
|
||||
</label>
|
||||
<u-gap height="16"></u-gap>
|
||||
<span class="info">
|
||||
<text>{{item.releaseUserName}}</text>
|
||||
<text>{{item.releaseTime}}</text>
|
||||
<text>{{ item.releaseUserName }}</text>
|
||||
<text>{{ item.releaseTime }}</text>
|
||||
</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -26,14 +26,14 @@
|
||||
<label>
|
||||
<b v-if="index==0 && item.readStatus==0"></b>
|
||||
<div class="tag" v-if="index==1" :style="color(item.status)">
|
||||
{{$dict.getLabel("announcementStatus",item.status)}}
|
||||
{{ $dict.getLabel("announcementStatus", item.status) }}
|
||||
</div>
|
||||
{{item.title}}
|
||||
{{ item.title }}
|
||||
</label>
|
||||
<u-gap height="16"></u-gap>
|
||||
<span class="info">
|
||||
<text>{{item.releaseUserName}}</text>
|
||||
<text>{{item.releaseTime}}</text>
|
||||
<text>{{ item.releaseUserName }}</text>
|
||||
<text>{{ item.releaseTime }}</text>
|
||||
</span>
|
||||
</div>
|
||||
<img :src="item.imgUrl" alt="">
|
||||
@@ -51,7 +51,7 @@
|
||||
<div class="colum" v-for="(item,index) in optList" :key="index" @click="handleOpt(item)">
|
||||
<u-icon :name="item.icon" size="100" :custom-style="{backgroundColor:'#fff',borderRadius:'8px'}"></u-icon>
|
||||
<u-gap height="16"></u-gap>
|
||||
{{item.name}}
|
||||
{{ item.name }}
|
||||
</div>
|
||||
</u-row>
|
||||
<div class="btn" @click="show=false">关闭</div>
|
||||
@@ -66,12 +66,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiAdd from "../../components/AiAdd";
|
||||
import AiEmpty from "../../components/AiEmpty";
|
||||
import AiTopFixed from "../../components/AiTopFixed";
|
||||
import {add, detail, read} from "./components"
|
||||
import AiAdd from "../../components/AiAdd";
|
||||
import AiEmpty from "../../components/AiEmpty";
|
||||
import AiTopFixed from "../../components/AiTopFixed";
|
||||
import {add, detail, read} from "./components"
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: "AppNotification",
|
||||
appName: "通知公告",
|
||||
components: {AiAdd, AiEmpty, AiTopFixed, add, detail, read},
|
||||
@@ -135,9 +135,9 @@
|
||||
},
|
||||
|
||||
methods: {
|
||||
emitShow(){
|
||||
emitShow() {
|
||||
const {id} = this.$route.query
|
||||
if(id){
|
||||
if (id) {
|
||||
this.comp = "detail";
|
||||
this.params = {
|
||||
id,
|
||||
@@ -148,7 +148,7 @@
|
||||
this.current = 1;
|
||||
this.getList();
|
||||
},
|
||||
emitReachBottom(){
|
||||
emitReachBottom() {
|
||||
this.current = this.current + 1;
|
||||
this.getList()
|
||||
},
|
||||
@@ -199,7 +199,6 @@
|
||||
flag: false
|
||||
};
|
||||
this.showList = false;
|
||||
return
|
||||
}
|
||||
},
|
||||
color(status) {
|
||||
@@ -250,13 +249,13 @@
|
||||
this.dataList = this.current > 1 ? [...this.dataList, ...res.data.records] : res.data.records
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.notification {
|
||||
.notification {
|
||||
min-height: 100%;
|
||||
background-color: #F5F5F5;
|
||||
padding-bottom: 32px;
|
||||
@@ -385,5 +384,5 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user