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