精选动态

This commit is contained in:
shijingjing
2023-04-04 18:00:23 +08:00
parent 8a896f2289
commit 1fbc5e2448

View File

@@ -38,8 +38,8 @@
<u-icon name="arrow-right" color="#687DA6" size="28"></u-icon>
</div>
</div>
<div class="list" @click="toPages('内容建设中...')" v-if="list.length">
<div v-for="(item,index) in list" :key="index">
<div class="list" v-if="list.length">
<div class="card" v-for="(item,index) in list" :key="index" @click="toPages(`./handpick?id=${item.id}`)">
<div class="top">
<div class="left">百年征和波澜壮阔百年初心历争议弥坚7月1日上午庆祝中国共产党成立100周年</div>
<div class="right">
@@ -52,7 +52,6 @@
<img src="https://cdn.cunwuyun.cn/fengdu/img-jifenlist.png" alt="">
</div>
</div>
</div>
<!-- <AiEmpty :description="`暂无数据`" class="emptyWrap" v-else/> -->
</div>
@@ -89,7 +88,7 @@ export default {
})
},
handleBannerClick() {
},
toPages(url,status) {
if(!this.user.idNumber) {
@@ -134,7 +133,8 @@ export default {
<style lang="scss" scoped>
.AppNewFarmerBank {
padding-bottom: 20px;
box-sizing: border-box;
.swiper-content {
width: 100%;
height: 332px;
@@ -251,40 +251,42 @@ export default {
}
.list {
padding: 32px 24px;
box-sizing: border-box;
background: #FFF;
border-radius: 12px;
// margin-bottom: 24px;
.top {
display: flex;
justify-content: space-between;
.left {
width: 562px;
overflow:hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
.card {
margin-bottom: 24px;
padding: 32px 24px;
box-sizing: border-box;
background: #FFF;
border-radius: 12px;
.top {
display: flex;
justify-content: space-between;
.left {
width: 562px;
overflow:hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.right {
width: 52px;
text-align: center;
img {
width: 40px;
height: 40px;
}
span {
font-size: 28px;
font-weight: 400;
color: #687DA6;
}
}
}
.right {
width: 52px;
text-align: center;
.bottom {
img {
width: 40px;
height: 40px;
width: 100%;
height: 202px;
}
span {
font-size: 28px;
font-weight: 400;
color: #687DA6;
}
}
}
.bottom {
img {
width: 100%;
height: 202px;
}
}
}