-
+
- {{item.title.slice(0,14)}}...
- {{item.title}}
+ {{item.title}}
{{item.createTime.split(' ')[0]}}
@@ -544,14 +543,14 @@
this.$http.post(`/door/gwArticleList?categoryId=6`).then(res=>{
this.explainList = res.data.rows.slice(0,6)
this.explainFirst = this.explainList.find(ele=>{
- return ele.coverImage!=''
+ return ele.coverImage&&ele.coverImage!=''
})
})
// 陈展
this.$http.post(`/door/gwArticleList?categoryId=5`).then(res=>{
this.showList = res.data.rows.slice(0,6)
this.showFirst = this.showList.find(ele=>{
- return ele.coverImage!=''
+ return ele.coverImage&&ele.coverImage!=''
})
})
// 小推车公益
@@ -640,6 +639,7 @@
height: .4rem;
display: flex;
align-items: center;
+
img{
width: .4125rem;
}
@@ -663,18 +663,30 @@
justify-content: space-between;
border-bottom: 2px dashed #cecece;
cursor: pointer;
- .circle{
- display: inline-block;
- width: .15rem;
- height: .15rem;
- border-radius: 50%;
- border: 1px solid #961824;
- }
- .name{
- font-size: .25rem;
- color: #6e6d6d;
- margin-left: .125rem;
+ .item-left{
+ width: 80%;
+ display: flex;
+ align-items: center;
+ .circle{
+ width: 10%;
+ display: inline-block;
+ width: .15rem;
+ height: .15rem;
+ border-radius: 50%;
+ border: 1px solid #961824;
+ }
+ .name{
+ display: block;
+ width: 90%;
+ font-size: .25rem;
+ color: #6e6d6d;
+ margin-left: .125rem;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
}
+
.time{
font-size: .2rem;
color: #505050;
diff --git a/src/views/pages/notice.vue b/src/views/pages/notice.vue
index 4ada84c..8e11634 100644
--- a/src/views/pages/notice.vue
+++ b/src/views/pages/notice.vue
@@ -213,7 +213,13 @@
font-size: .2rem;
color: #666;
}
- }
+ }
+ .big-page{
+ display: block;
+ }
+ .small-page{
+ display: none;
+ }
}
}
}
diff --git a/src/views/pages/relic.vue b/src/views/pages/relic.vue
index bce9992..f907c92 100644
--- a/src/views/pages/relic.vue
+++ b/src/views/pages/relic.vue
@@ -249,6 +249,9 @@
overflow: hidden;
text-overflow: ellipsis;
}
+ .small-time{
+ display: none;
+ }
}
}
@@ -373,6 +376,7 @@
display: none;
}
.small-time{
+ display: block;
font-size: .3rem;
}
}