Merge pull request '首页添加一条新闻' (#2) from Branch_csl into master

Reviewed-on: http://120.46.37.243:3000/cms/feiyang-web/pulls/2
This commit is contained in:
root 2024-08-01 06:41:28 +00:00
commit fd708cbc18

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;
margin-top: 20px;
top: -2px;
display: inline-block;
text-align: center;
position: relative;">
<div class="dot_box" style="
font-size: 0;
margin-top: 20px;
top: -2px;
display: inline-block;
text-align: center;
position: relative;"
>
<div class="i"></div>
<div class="i"></div>
<div class="i"></div>