|
@@ -21,10 +21,10 @@
|
|
<el-col :span="24" class="mainRightList" v-for="(item, index) in mainRightList" :key="index"
|
|
<el-col :span="24" class="mainRightList" v-for="(item, index) in mainRightList" :key="index"
|
|
:type="item.type">
|
|
:type="item.type">
|
|
<el-col :span="20" class="title" @click.native="$router.push({ name: 'detail', params:{id:item.id} })">
|
|
<el-col :span="20" class="title" @click.native="$router.push({ name: 'detail', params:{id:item.id} })">
|
|
- <el-link :underline="false">{{item.title}}</el-link>
|
|
|
|
|
|
+ <p class="textOver">{{ item.title }}</p>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="4" class="time">
|
|
<el-col :span="4" class="time">
|
|
- {{item.time}}
|
|
|
|
|
|
+ {{item.publish_time}}
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="page">
|
|
<el-col :span="24" class="page">
|
|
@@ -67,6 +67,15 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
|
|
+p{
|
|
|
|
+ margin:0;
|
|
|
|
+ padding:0;
|
|
|
|
+}
|
|
|
|
+.textOver {
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+}
|
|
.search {
|
|
.search {
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
}
|
|
}
|
|
@@ -74,13 +83,13 @@ export default {
|
|
height: 32px;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
line-height: 32px;
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
- border: 2px solid #850000;
|
|
|
|
|
|
+ border: 2px solid #336699;
|
|
}
|
|
}
|
|
/deep/.search .button .el-button {
|
|
/deep/.search .button .el-button {
|
|
padding: 7px 20px;
|
|
padding: 7px 20px;
|
|
- border: 2px solid #850000;
|
|
|
|
|
|
+ border: 2px solid #336699;
|
|
border-radius: 0;
|
|
border-radius: 0;
|
|
- background: #850000;
|
|
|
|
|
|
+ background: #336699;
|
|
color: #fff;
|
|
color: #fff;
|
|
}
|
|
}
|
|
.main {
|
|
.main {
|
|
@@ -90,9 +99,11 @@ export default {
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
border-bottom: 1px dashed #ccc;
|
|
border-bottom: 1px dashed #ccc;
|
|
}
|
|
}
|
|
-.mainRightList .title .el-link--inner {
|
|
|
|
- font-size: 15px;
|
|
|
|
- color: #333;
|
|
|
|
|
|
+.mainRightList .title p{
|
|
|
|
+ color:#666;
|
|
|
|
+}
|
|
|
|
+.mainRightList .title p:hover {
|
|
|
|
+ color: #336699;
|
|
}
|
|
}
|
|
.mainRightList .time {
|
|
.mainRightList .time {
|
|
text-align: right;
|
|
text-align: right;
|