|
@@ -57,8 +57,10 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row type="flex" @click.native="toHtml(`news.html#/${item.id}`)" v-for="(item, index) in news.infoList" :key="index" class="data_list">
|
|
|
- <el-col :span="6"> 【{{ news.title }}】 </el-col>
|
|
|
- <el-col :span="18">{{ item.title }}</el-col>
|
|
|
+ <el-col :span="7"> 【{{ news.title }}】 </el-col>
|
|
|
+ <el-col :span="17">
|
|
|
+ <p class="textOver">{{ item.title }}</p>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div class="list">
|
|
@@ -71,8 +73,10 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row type="flex" v-for="(item, index) in notice.infoList" :key="index" class="data_list">
|
|
|
- <el-col :span="6"> 【{{ notice.title }}】 </el-col>
|
|
|
- <el-col :span="18">{{ item.title }}</el-col>
|
|
|
+ <el-col :span="7"> 【{{ notice.title }}】 </el-col>
|
|
|
+ <el-col :span="17">
|
|
|
+ <p class="textOver">{{ item.title }}</p>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div class="list">
|
|
@@ -259,6 +263,10 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
+p {
|
|
|
+ padding: 0;
|
|
|
+ margin: 0;
|
|
|
+}
|
|
|
.title {
|
|
|
height: 3rem;
|
|
|
}
|
|
@@ -301,7 +309,11 @@ export default {
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
.data_list {
|
|
|
- font-size: 0.85rem;
|
|
|
+ font-size: 16px;
|
|
|
+ padding: 5px 0;
|
|
|
+}
|
|
|
+.data_list .textOver {
|
|
|
+ padding: 0 15px 0 0;
|
|
|
overflow: hidden;
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|