diff --git a/src/news/detail/index.jsx b/src/news/detail/index.jsx
index c2bf3f0d..76e6266f 100644
--- a/src/news/detail/index.jsx
+++ b/src/news/detail/index.jsx
@@ -30,7 +30,7 @@ function detail(props) {
}, [id])
function getDocListByDirId(id) {
- getSubDocList(id).then(res => {
+ getSubDocList(id, {pageSize:10,pageNum:1}).then(res => {
if (res && res.data.rows) {
let rows = res.data.rows;
setList1(rows);
diff --git a/src/news/list/index.jsx b/src/news/list/index.jsx
index 0c435107..6fd40806 100644
--- a/src/news/list/index.jsx
+++ b/src/news/list/index.jsx
@@ -70,7 +70,7 @@ function List() {
{item.summary}
-
+
{item.publishTime}发布
@@ -79,7 +79,7 @@ function List() {
{list1.slice(4).map(item => {
- return {item.name}{item.name}{item.name}
+ return {item.name}
})}
@@ -87,7 +87,7 @@ function List() {
精彩活动
{firstActivity &&
-
{firstActivity.summary}
+
{firstActivity.summary}
{moment(firstActivity.name).format('MM/DD')}
{moment(firstActivity.name).format('HH:MM')}
@@ -100,7 +100,7 @@ function List() {
{item.name}
{item.summary}
-
+
})}
@@ -114,7 +114,7 @@ function List() {
{firstDynamics &&
{firstDynamics.name}
{firstDynamics.summary}
-
+ {/*
*/}
}
{list3.slice(1, 9).map(item=>{
diff --git a/src/news/list/index.scss b/src/news/list/index.scss
index 8f0866e6..9e00887d 100644
--- a/src/news/list/index.scss
+++ b/src/news/list/index.scss
@@ -17,6 +17,7 @@
}
&.moreheight{
height: 40px;
+ line-height: 40px;
}
}