//引入全局配置 @import "c/conf"; @import "c/mx"; @import "c/f"; .m-news { position: relative; margin: 0 auto; margin-top:10rpx; background-color: #fff; .cpt-title { position: relative; display: flex; flex-direction: row; justify-content: space-between; // border-bottom: 1rpx solid #e7eeee; line-height: 30rpx; margin-left:38rpx; .cpt-title-m { float: right; font-size: 26rpx; color: #999; padding: 30rpx; image { position: relative; // top: -1rpx; width: 10rpx; height: 19rpx; } } .cpt-title-t { position: relative; margin: 10rpx 0 0; padding: 14rpx 23rpx 0; font-size: 29rpx; line-height: 40rpx; font-family: Source Han Serif SC; font-weight: 800; color: #000000; &::before { content: ""; position: absolute; top: 14rpx; left: 0; width: 9rpx; height: 40rpx; background: rgba(230, 0, 0, 1); border-radius: 3rpx; } } } .list { padding: 0 38rpx 0 40rpx; .item { position: relative; padding:32rpx 0; min-height: 255rpx; border-bottom: 1rpx solid #eee; display: flex; &:first-child { padding-top:20rpx; } .image { position: relative; .d-news-img-state { position: absolute; font-family: PingFang SC; padding: 5rpx 15rpx; font-weight: 400; font-size: 25rpx; left: 0; top: 0; background-color: rgba(170, 170, 170, 0.767); color: rgb(255, 255, 255); border-radius: 0 0 10rpx 0; } >image{ width: 188rpx; height: 255rpx; } } .info{ margin-left:22rpx; display: flex; flex-direction: column; .d-news-title { @include toeM(2); position: relative; margin: 0 0 10rpx; font-size: 33rpx; font-family: Source Han Serif SC; font-weight: 400; color: #000000; line-height: 48rpx; } .d-news-else { margin-top:22rpx; font-size: 24rpx; font-family: Source Han Serif SC; font-weight: 300; color: #BDBDBD; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .d-news-state { margin-top:41rpx; font-size: 27rpx; font-family: Source Han Serif SC; color: #4F4F4F; font-weight: 500; .d-news-state-limit { font-weight: 800; } .d-news-state-act { color: #e50f00; } } } } } } .readmore { width: 100%; text-align: center; padding: 20rpx 0; color: #999; font-size: 26rpx; }