Commit 96105f19 authored by wangqinghua's avatar wangqinghua

更滑splash图片

调整文章列表的样式
parent 9113f2cf
...@@ -191,6 +191,7 @@ p { ...@@ -191,6 +191,7 @@ p {
line-height: 4rem; line-height: 4rem;
width: calc(100% / 4); width: calc(100% / 4);
display: inline-block; display: inline-block;
color: #747378;
} }
} }
.news-content::-webkit-scrollbar { .news-content::-webkit-scrollbar {
......
src/assets/imgs/flag.png

1.44 KB | W: | H:

src/assets/imgs/flag.png

2.21 KB | W: | H:

src/assets/imgs/flag.png
src/assets/imgs/flag.png
src/assets/imgs/flag.png
src/assets/imgs/flag.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -33,7 +33,7 @@ slide { ...@@ -33,7 +33,7 @@ slide {
height: 2rem; height: 2rem;
line-height: 2rem; line-height: 2rem;
padding: 0 1rem; padding: 0 1rem;
font-size: 1.5rem; font-size: 1.6rem;
font-weight: 500; font-weight: 500;
font-family: 'SourceHanSans-Bold'; font-family: 'SourceHanSans-Bold';
.slide-index{ .slide-index{
......
...@@ -56,6 +56,9 @@ page-search-new { ...@@ -56,6 +56,9 @@ page-search-new {
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
padding: .5rem 0; padding: .5rem 0;
color: #333333;
font-size: 1.6rem;
font-family: SourceHanSans-Bold;
} }
.news-end{ .news-end{
align-self: flex-end; align-self: flex-end;
......
...@@ -42,7 +42,7 @@ export class SearchNewPage { ...@@ -42,7 +42,7 @@ export class SearchNewPage {
} }
this.tabs.stuffPage(data).subscribe( this.tabs.stuffPage(data).subscribe(
(res)=>{ (res)=>{
this.newList = res.data; this.newList = res.data.list;
this.newList.forEach(e => { this.newList.forEach(e => {
if (e.attachments.length > 0) { if (e.attachments.length > 0) {
e.imgUrl = e.attachments[0].path; e.imgUrl = e.attachments[0].path;
......
...@@ -82,10 +82,13 @@ page-discover { ...@@ -82,10 +82,13 @@ page-discover {
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
margin-bottom: 1rem; margin-bottom: 1rem;
color: #333333;
font-size: 1.6rem;
font-family: SourceHanSans-Bold;
} }
.news-end{ .news-end{
align-self: flex-end; align-self: flex-end;
color: #999999; color: #989898;
font-size: 1.5rem; font-size: 1.5rem;
margin-top: .8rem; margin-top: .8rem;
span{ span{
......
...@@ -85,7 +85,7 @@ page-home { ...@@ -85,7 +85,7 @@ page-home {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: 2px;
img { img {
width: 2.5rem; width: 2.5rem;
} }
...@@ -93,6 +93,7 @@ page-home { ...@@ -93,6 +93,7 @@ page-home {
.middle-right { .middle-right {
line-height: 2.2rem; line-height: 2.2rem;
padding: 2px;
} }
} }
} }
...@@ -133,11 +134,13 @@ page-home { ...@@ -133,11 +134,13 @@ page-home {
font-weight: bold; font-weight: bold;
width: 100%; width: 100%;
margin-bottom: .6rem; margin-bottom: .6rem;
color: #333333;
font-size: 1.6rem;
font-family: SourceHanSans-Bold;
} }
.news-end { .news-end {
//align-self: flex-end; color: #989898;
color: #999999;
span { span {
margin-right: 1rem; margin-right: 1rem;
} }
...@@ -176,7 +179,7 @@ page-home { ...@@ -176,7 +179,7 @@ page-home {
position: absolute; position: absolute;
top: 0; top: 0;
left: 100%; left: 100%;
line-height: 30px; line-height: 33px;
display: block; display: block;
word-break: keep-all; word-break: keep-all;
text-overflow: ellipsis; text-overflow: ellipsis;
......
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