diff --git a/miniprogram/pages/home/home.wxml b/miniprogram/pages/home/home.wxml index ba8fc7f..71caf74 100644 --- a/miniprogram/pages/home/home.wxml +++ b/miniprogram/pages/home/home.wxml @@ -5,7 +5,7 @@ - + @@ -24,7 +24,7 @@ 西海岸先锋 - + @@ -32,6 +32,7 @@ 到居住社区报到 + @@ -42,9 +43,41 @@ - + + 推荐 + + + + + 围绕“经济抓党建,抓好党建促 发展”主题展开活动 + + 2023-05-22XXX社区党支部 + + + + + + + 围绕“经济抓党建,抓好党建促 发展”主题展开活动 + + 2023-05-22XXX社区党支部 + + + + + + + 围绕“经济抓党建,抓好党建促 发展”主题展开活动 + + 2023-05-22XXX社区党支部 + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/miniprogram/pages/home/home.wxss b/miniprogram/pages/home/home.wxss index 4a2e857..62c9b30 100644 --- a/miniprogram/pages/home/home.wxss +++ b/miniprogram/pages/home/home.wxss @@ -23,7 +23,7 @@ page { z-index: 10; left: 0; top: 0; */ - position: fixed; + position: absolute; height: 100%; z-index: -999; } @@ -145,7 +145,7 @@ page { .bgw { background-color: #fff; margin: 20rpx; - margin-top: -50rpx; + border-radius: 20rpx; padding: 40rpx 30rpx; box-sizing: border-box; @@ -172,20 +172,26 @@ page { } +.grid2outer { + display: flex; + justify-content: space-between; + +} + .grid2 { - width: 50%; + flex: 1; background: linear-gradient(90deg, #F5F9FE 0%, #FBFDFF 100%); border-radius: 16rpx; display: flex; padding: 30rpx; - margin: 20rpx 10rpx; + margin: 20rpx 0rpx 0rpx; } + .grid2 .h1 { - font-size: 32rpx; font-weight: bold; - line-height: 32rpx; + line-height: 36rpx; } .grid2 .h2 { @@ -197,7 +203,7 @@ page { .grid2 image { width: 64rpx; height: 64rpx; - margin-right:10rpx + margin-right: 10rpx } .blue { @@ -212,10 +218,70 @@ page { color: #80A4C7; } -.red { background: linear-gradient(90deg, #FEFBF0 0%, #FFFDF9 100%);} +.red { + background: linear-gradient(90deg, #FEFBF0 0%, #FFFDF9 100%); +} -.red .h1 {color: #CD9058;} +.red .h1 { + color: #CD9058; +} .red .h2 { color: #C89C74; +} + +.topf50 { + margin-top: -50rpx; +} + +.top16 { + margin-top: 16rpx +} + +.w40 { + width: 40rpx; +} +.vbetween{ + display: flex; + flex-direction: column; + justify-content:space-between; +} +.title01 { + font-size: 36rpx; + font-family: FZZongYi-M05; + font-weight: 400; + color: #121212; + line-height: 42rpx; +} + +.home_news_list { + padding: 20rpx 0rpx +} + +.home_news_list .item { + padding: 20rpx 0rpx; + border-bottom: solid #EAEAEA 1px; + display: flex; +} + +.home_news_list .item image { + width: 220rpx; + height: 140rpx; + margin-right: 18rpx; + border-radius: 12rpx; +} + +.home_news_list .item .h1 { + font-size: 32rpx; + color: #333333; + line-height: 40rpx; +} + +.home_news_list .item .h2 { + font-size: 24rpx; + color: #AAAAAA; + line-height: 24rpx; +} +.home_news_list .item .h2 .time{ + float: right; } \ No newline at end of file