diff --git a/epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.wxss b/epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.wxss index a84887f..e7ebfd1 100644 --- a/epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.wxss +++ b/epdc-resident-mp-yushan/subpages/home/pages/newsDetail/newsDetail.wxss @@ -24,6 +24,7 @@ line-height: 68rpx; color: #333333; padding-top: 40rpx; + word-break: break-all; } .detail-subtitle { display: flex; diff --git a/epdc-resident-mp-yushan/subpages/home/pages/notice/notice.wxss b/epdc-resident-mp-yushan/subpages/home/pages/notice/notice.wxss index fa08f58..d8dc2b5 100644 --- a/epdc-resident-mp-yushan/subpages/home/pages/notice/notice.wxss +++ b/epdc-resident-mp-yushan/subpages/home/pages/notice/notice.wxss @@ -1,6 +1,11 @@ +page { + width: 100%; + height: auto; + overflow-y: auto; + background: #f7f7f7; +} .notice { width: 100%; - height: 100vh; background: #f7f7f7; } .nav { diff --git a/epdc-resident-mp-yushan/utils/util.js b/epdc-resident-mp-yushan/utils/util.js index b58ea36..8883cfd 100644 --- a/epdc-resident-mp-yushan/utils/util.js +++ b/epdc-resident-mp-yushan/utils/util.js @@ -15,7 +15,7 @@ const formatNumber = n => { } const formatRichText = html => { - let newContent= html.replace(/\