首页添加一条新闻

This commit is contained in:
77 2024-08-01 14:40:41 +08:00
parent d280be1928
commit b41f1247ef

View File

@ -30,11 +30,11 @@
</div>
<div class="content-right">
<div class="index-top" @click="changeto(indexNew[0]?.id)" style="cursor: pointer;">
<div class="index-top" v-for="(item, index) in indexNew" :key="index" @click="changeto(item?.id)" style="cursor: pointer;">
<h3 style="font-size: 24px;
color: #3c3c48;
color: rgba(60, 60, 72, .8);
line-height: 30px;">{{indexNew[0]?.subTitle||'' }}
line-height: 30px;">{{item?.subTitle||'' }}
</h3>
<div style=" color: rgba(115, 115, 124, .6); font-size: 13px;
@ -44,18 +44,20 @@
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
text-align: justify;" v-html=" indexNew[0]?.subContent||''">
text-align: justify;" v-html=" item?.subContent||''">
</div>
</div>
<div style="overflow: hidden;">
</div>
<!-- <div style="overflow: hidden;">
</div> -->
<div @click="changeto(false)" style="cursor: pointer;">
<div class="dot_box" style=" font-size: 0;
<div class="dot_box" style="
font-size: 0;
margin-top: 20px;
top: -2px;
display: inline-block;
text-align: center;
position: relative;">
position: relative;"
>
<div class="i"></div>
<div class="i"></div>
<div class="i"></div>