25226
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
</AiTopFixed>
|
</AiTopFixed>
|
||||||
<div class="body" v-if="dataList.length">
|
<div class="body" v-if="dataList.length">
|
||||||
<div class="card" v-for="(item,idx) in dataList" :key="idx" @click="handeClick(item)">
|
<div class="card" v-for="(item,idx) in dataList" :key="idx" @click="handeClick(item)">
|
||||||
<template>
|
<template v-if="!item.imgUrl">
|
||||||
<label>
|
<label>
|
||||||
<span class="status" v-if="index==0 && item.readStatus==0">未读</span>
|
<span class="status" v-if="index==0 && item.readStatus==0">未读</span>
|
||||||
<span class="status read" v-if="index==0 && item.readStatus!=0">已读</span>
|
<span class="status read" v-if="index==0 && item.readStatus!=0">已读</span>
|
||||||
@@ -21,25 +21,26 @@
|
|||||||
<text>{{ item.releaseTime }}</text>
|
<text>{{ item.releaseTime }}</text>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<!-- <template v-else>-->
|
<template v-else>
|
||||||
<!-- <div class="has-pic">-->
|
<div class="has-pic">
|
||||||
<!-- <div class="left">-->
|
<div class="left">
|
||||||
<!-- <label>-->
|
<label>
|
||||||
<!-- <b v-if="index==0 && item.readStatus==0"></b>-->
|
<span class="status" v-if="index==0 && item.readStatus==0">未读</span>
|
||||||
<!-- <div class="tag" v-if="index==1" :style="color(item.status)">-->
|
<span class="status read" v-if="index==0 && item.readStatus!=0">已读</span>
|
||||||
<!-- {{ $dict.getLabel("announcementStatus", item.status) }}-->
|
<div class="tag" v-if="index==1" :style="color(item.status)">
|
||||||
<!-- </div>-->
|
{{ $dict.getLabel("announcementStatus", item.status) }}
|
||||||
<!-- {{ item.title }}-->
|
</div>
|
||||||
<!-- </label>-->
|
{{ item.title }}
|
||||||
<!-- <u-gap height="16"></u-gap>-->
|
</label>
|
||||||
<!-- <span class="info">-->
|
<u-gap height="16"></u-gap>
|
||||||
<!-- <text>{{ item.releaseUserName }}</text>-->
|
<span class="info">
|
||||||
<!-- <text>{{ item.releaseTime }}</text>-->
|
<text>{{ item.releaseUserName }}</text>
|
||||||
<!-- </span>-->
|
<text>{{ item.releaseTime }}</text>
|
||||||
<!-- </div>-->
|
</span>
|
||||||
<!-- <img :src="item.imgUrl" alt="">-->
|
</div>
|
||||||
<!-- </div>-->
|
<img :src="item.imgUrl" alt="">
|
||||||
<!-- </template>-->
|
</div>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -296,23 +297,6 @@ export default {
|
|||||||
line-height: 44px;
|
line-height: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
|
||||||
display: inline-block;
|
|
||||||
width: 88px;
|
|
||||||
height: 36px;
|
|
||||||
font-size: 26px;
|
|
||||||
color: #FF8822;
|
|
||||||
background:rgba(255,136,34,.1);
|
|
||||||
line-height: 36px;
|
|
||||||
text-align: center;
|
|
||||||
margin-right: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.read{
|
|
||||||
background: rgba(102,102,102,.1);
|
|
||||||
color: #666666;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
width: 96px;
|
width: 96px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
@@ -361,6 +345,23 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status {
|
||||||
|
display: inline-block;
|
||||||
|
width: 88px;
|
||||||
|
height: 36px;
|
||||||
|
font-size: 26px;
|
||||||
|
color: #FF8822;
|
||||||
|
background:rgba(255,136,34,.1);
|
||||||
|
line-height: 36px;
|
||||||
|
text-align: center;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.read{
|
||||||
|
background: rgba(102,102,102,.1);
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-wrap {
|
.popup-wrap {
|
||||||
|
|||||||
Reference in New Issue
Block a user