首页添加一条新闻
This commit is contained in:
parent
d280be1928
commit
b41f1247ef
@ -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="
|
||||||
|
font-size: 0;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
top: -2px;
|
top: -2px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: relative;">
|
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user