Commit b17cdd58 by 林家欣

修改首页H5下标题超宽显示省略号

parent aaf0abf6
......@@ -334,9 +334,7 @@
// 超宽显示省略号
@mixin ellipsis {
@media screen and (min-width: 992px){
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
\ No newline at end of file
<template>
<div class="list">
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col-lg-10 list-left">
<div class="col-9 col-lg-10 list-left">
<span></span>
<span>{{tmp.title}}</span>
<span :title="tmp.title">{{tmp.title}}</span>
</div>
<div class="col-lg-2 list-right">{{tmp.time}}</div>
<div class="col-3 col-lg-2 list-right">{{tmp.time}}</div>
</div>
<div class="row">
<div class="col">
......
......@@ -3,7 +3,7 @@
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col li">
<span></span>
<span>{{tmp.title}}</span>
<span :title="tmp.title">{{tmp.title}}</span>
</div>
</div>
</div>
......
......@@ -3,7 +3,7 @@
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col li">
<span></span>
<span>{{tmp.name}}</span>
<span :title="tmp.name">{{tmp.name}}</span>
</div>
</div>
</div>
......
......@@ -3,7 +3,7 @@
<div v-for="(tmp, i) in list" :key="i" class="row" @click="handelMsg">
<div class="col li">
<span></span>
<span>{{tmp.name}}</span>
<span :title="tmp.name">{{tmp.name}}</span>
</div>
</div>
</div>
......
......@@ -91,6 +91,7 @@ export default {
"吉林分中心",
"长春分中心",
"黑龙江分中心",
"哈尔滨分中心",
],
},
{
......
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