Commit 6de894a3 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化站点信息模块显示

parent 3ab0bbb7
...@@ -183,7 +183,9 @@ ...@@ -183,7 +183,9 @@
v-for="(v, i) in item.modelData" v-for="(v, i) in item.modelData"
:key="i" :key="i"
> >
<div class="item-text">
{{ v }} {{ v }}
</div>
</div> </div>
</div> </div>
</a-col> </a-col>
...@@ -574,10 +576,12 @@ export default { ...@@ -574,10 +576,12 @@ export default {
text-align: center; text-align: center;
color: #fff; color: #fff;
border-radius: 5px; border-radius: 5px;
display: -webkit-box; .item-text{
-webkit-box-orient: vertical; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden; -webkit-line-clamp: 2;
overflow: hidden;
}
} }
} }
} }
......
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