diff --git a/pages/index/index.js b/pages/index/index.js index 3fae5a0..6a84e8c 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -64,6 +64,7 @@ onScrollToLower(e){ } if(!parm.type) delete parm.type getIntelligentMessage(parm).then(res=>{ + console.log('1234',parm) res.data.list = res.data.list.map(item => { if (item.createdByName && item.createdByName.length >= 3) { item.createdByName = item.createdByName.slice(1,3); diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 20b0737..75944a3 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -68,8 +68,25 @@ - + + 消息提醒 + 更多 + + + + + {{item.content}} + {{item.readFlag != '1'?'未读':'已读'}} + + + 啦啦啦啦 + {{}} + + + + + \ No newline at end of file diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 6e641a0..81c1424 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -1,5 +1,5 @@ /**index.wxss**/ -.select{ +/* .select{ width: 100%; height: 90rpx; background-color: #fff; @@ -33,17 +33,18 @@ height: 30rpx; } .content{ - width: 100%; - padding:0 20rpx ; - box-sizing: border-box; - margin: 20rpx 0 0 10rpx; - + width: 100%; + display: flex; + height: auto; + flex-direction: column; + justify-content: flex-center; + margin: 30rpx 20rpx 0 30rpx; } /* .content .scroll { height: calc(100vh - 130rpx); */ -.box{ +/* .box{ display: flex; flex-direction: column; background-color: #fff; @@ -81,8 +82,8 @@ .content .card::before{ content: ""; position: absolute; - left: 30rpx; /* 调整间距 */ - right: 30rpx; /* 调整间距 */ + left: 30rpx; + right: 30rpx; bottom: 0; border-bottom: 2rpx solid #EAEAEA; } @@ -163,8 +164,8 @@ .content .card .right .bottom .flex_box{ display: flex; justify-content: left; -} -.bgBule{ +} */ +/* .bgBule{ background-color: #dfebfb; border: 1px solid #3A80E7; border-radius: 32rpx; @@ -173,7 +174,7 @@ } .bgBule image{ margin-left: 50rpx !important; -} +} */ .page { overflow: hidden; position: relative; @@ -181,7 +182,7 @@ height: auto; display: flex; flex-direction: column; - background-color: rgba(247,247,247,1.000000); + background-color: #F7F7F7; z-index: -9999; } .header { @@ -887,20 +888,87 @@ line-height: 40rpx; margin-top: 4rpx; } -.information{ +.content{ display: flex; flex-direction: column; + width: 710rpx; + height:auto ; + background-color: #FFFFFF; + margin: 30rpx 0 0 30rpx; + border-radius: 30rpx; } -.more_more{ - width: 53rpx; - height: 26rpx; - overflow-wrap: break-word; - color: rgba(180,180,180,1); - font-size: 28rpx; - font-family: PingFang-SC-Medium; +.hd_news{ + display: flex; + justify-content: space-between; + flex-direction: row; + margin: 30rpx 30rpx 30rpx 30rpx; +} +.news_remind{ + font-family: PingFang SC; + font-weight: bold; + font-size: 34rpx; + color: #333333; + line-height: 52rpx; +} +.more{ + font-family: PingFang SC; font-weight: 500; - text-align: left; - white-space: nowrap; + font-size: 28rpx; + color: #B4B4B4; line-height: 36rpx; - margin-top: 6rpx; -} \ No newline at end of file +} +.Information{ + height: 100rpx; + display: flex; + flex-direction: column; + margin: 10rpx 30rpx 30rpx 30rpx; + border-bottom: 2rpx solid #EAEAEA; + +} +.Information_one{ + display: flex; + justify-content: space-between; +} +.Information_test{ + width: 490rpx; +height: auto; +font-family: PingFang SC; +font-weight: 500; +font-size: 32rpx; +color: #333333; +line-height: 32rpx; +overflow: hidden; +text-overflow: ellipsis; +white-space: nowrap; +} +.Information_test2{ + width: 60rpx; + height: 25rpx; + font-family: PingFang SC; + font-weight: 500; + font-size: 26rpx; + color: #666666; + line-height: 40rpx; +} +.Information_two{ + display: flex; + justify-content: space-between; +} +.Information_test3{ + width: 169rpx; +height: 27rpx; +font-family: PingFang SC; +font-weight: 500; +font-size: 28rpx; +color: #999999; +line-height: 40rpx; +} +.Information_test4{ + width: 228rpx; + height: 20rpx; +font-family: PingFang SC; +font-weight: 500; +font-size: 26rpx; +color: #C1C1C1; +line-height: 40rpx; +}