Commit 6be16064 by Jianli Ou

样式处理

parent a35c02bb
<template> <template>
<div class="notice mask" v-if="show"> <div class="notice mask" v-if="false">
<div class="notice-kj"> <div class="notice-kj">
<img <img
src="../../../assets/image/home/notice-close.png" src="../../../assets/image/home/notice-close.png"
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<a :href="tmp.href" @click.prevent="InfoFn(tmp.articleId, tmp.href)" v-html="tmp.title" target="_blank"></a> <a :href="tmp.href" @click.prevent="InfoFn(tmp.articleId, tmp.href)" v-html="tmp.title" target="_blank"></a>
</div> </div>
</li> </li>
<li style=" height: 0;margin:0" v-for="(i,a) in 4" :key="'a'+a"></li> <li style=" height: 0;margin:0;border:0;" v-for="(i,a) in 4" :key="'a'+a"></li>
</ul> </ul>
<pages :total="tableResult.totalCount" :currPage="tableResult.currPage" :pageSize="tableResult.pageSize" @getLimit='initListFn' /> <pages :total="tableResult.totalCount" :currPage="tableResult.currPage" :pageSize="tableResult.pageSize" @getLimit='initListFn' />
</div> </div>
...@@ -213,10 +213,12 @@ export default { ...@@ -213,10 +213,12 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
list-style: none; list-style: none;
li { li {
overflow: hidden;
width: 216px; width: 216px;
background: #ffffff; background: #ffffff;
border-radius: 4px; border-radius: 4px;
margin-bottom: 30px; margin-bottom: 30px;
border: 1px solid #dddddd;
cursor: pointer; cursor: pointer;
list-style: none; list-style: none;
&:hover{ &:hover{
...@@ -228,11 +230,16 @@ export default { ...@@ -228,11 +230,16 @@ export default {
.picNews-li-bt { .picNews-li-bt {
width: 90%; width: 90%;
margin: 0 auto; margin: 0 auto;
text-align: center; //text-align: center;
color: #414345; color: #414345;
font-size: 14px; font-size: 14px;
padding: 14px 0; padding: 14px 0;
a{ a{
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
color: #414345; color: #414345;
&:hover{ &:hover{
text-decoration: none; text-decoration: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment