修改样式
This commit is contained in:
parent
235b905e10
commit
10a847deb0
|
@ -1,4 +1,4 @@
|
|||
NODE_ENV=production
|
||||
VUE_APP_API_BASE_URL=http://124.71.184.231:8890/gjc
|
||||
VUE_APP_API_BASE_URL=http://124.71.184.231:8891/nyzy
|
||||
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
|
||||
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
|
|
@ -18,9 +18,9 @@
|
|||
</a>
|
||||
</li>
|
||||
</ul> -->
|
||||
<el-carousel height="200px" direction="vertical" :autoplay="true">
|
||||
<el-carousel-item v-for="(tt,ttIndex) in ttList" :key="ttIndex">
|
||||
<h2 @click="$to('detailedPage',{id:tt.id})">{{tt.title}}</h2>
|
||||
<el-carousel height="100px" direction="vertical" :autoplay="true">
|
||||
<el-carousel-item v-for="(tt,ttIndex) in ttList" :key="ttIndex" class="toutiaoItem">
|
||||
<h2 class="toutiaoH" @click="$to('detailedPage',{id:tt.id})">{{tt.title}}</h2>
|
||||
<p class="elli" @click="$to('detailedPage',{id:tt.id})">{{$tfnm(tt,'content',60)}}</p>
|
||||
</el-carousel-item>
|
||||
</el-carousel>
|
||||
|
@ -544,4 +544,24 @@ export default {
|
|||
top: -1rem;
|
||||
}
|
||||
}
|
||||
.toutiaoItem{
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
transition: 0.5s all;
|
||||
-webkit-transition: 0.5s all;
|
||||
-moz-transition: 0.5s all;
|
||||
-o-transition: 0.5s all;
|
||||
}
|
||||
.toutiaoH{
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 10px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue