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

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

parent 3ab0bbb7
...@@ -183,9 +183,11 @@ ...@@ -183,9 +183,11 @@
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>
</a-row> </a-row>
</div> </div>
...@@ -574,6 +576,7 @@ export default { ...@@ -574,6 +576,7 @@ export default {
text-align: center; text-align: center;
color: #fff; color: #fff;
border-radius: 5px; border-radius: 5px;
.item-text{
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
...@@ -582,6 +585,7 @@ export default { ...@@ -582,6 +585,7 @@ export default {
} }
} }
} }
}
.btn_box { .btn_box {
display: flex; display: flex;
justify-content: center; justify-content: center;
......
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