//引入全局配置 @import "c/conf"; @import "c/mx"; @import "c/f"; @import "a/c"; .g-scroll_page { position: relative; box-sizing: border-box; padding-bottom:120rpx; .item_bottom { overflow: hidden; height: 0; opacity: 0; } } .task-info { width: 100%; height: 180rpx; box-sizing: border-box; padding: 24rpx 20rpx 20rpx 62rpx; background: linear-gradient(180deg, #EF3C3D 0%, #D62121 100%); position:relative; .task-info-title{ font-size: 36rpx; font-family: PingFang SC; font-weight: bold; color: #FFFFFF; } .task-info-point { margin-top: 20rpx; font-size: 28tpx; font-family: PingFang SC; font-weight: 500; color: #FFFFFF; } .titel-image{ position: absolute; right:54rpx; top:70rpx; height:86rpx; width:96rpx; } } .task-function{ margin-top:-20rpx; border-radius: 20rpx 20rpx 0 0; background: #fff; height:200rpx; position: relative; box-sizing: border-box; padding: 10rpx 20rpx 20rpx; background: #ffffff; box-shadow: 0rpx 3rpx 24rpx 0rpx rgba(211, 211, 211, 0.26); display: flex; align-items: center; flex-wrap: wrap; justify-content: space-around; .menu { box-sizing: border-box; // width: 33.3%; padding: 10rpx 20rpx; font-size: 26rpx; font-family: Source Han Serif SC; font-weight: 500; color: #666666; line-height: 34rpx; text-align: center; image { display: block; margin: 15rpx auto; width: 80rpx; height: 80rpx; } text{ font-size: 28rpx; font-family: PingFang SC; font-weight: bold; color: #333333; line-height: 46rpx; } } } .view-notice{ position: relative; margin-top:40rpx; .view-read{ position: absolute; right:20rpx; top:0; width: 152rpx; height: 40rpx; background: rgba(207,211,217,0.15); border: 2rpx solid #B4B5B5; border-radius: 20rpx; line-height: 40rpx; text-align: center; >image{ width:24rpx; height:24rpx; } >text{ margin-left:7rpx; font-size: 24rpx; font-family: PingFang SC; font-weight: 400; color: #666666; line-height: 40rpx; } } .notice-list{ padding:60rpx 20rpx 10rpx 20rpx; .notice-item-left{ margin-bottom:40rpx; .left-row1{ display: flex; justify-content: center; .time{ text-align: center; width: 250rpx; height: 40rpx; background: #CFD3D9; border-radius: 20rpx; font-size: 24rpx; font-family: PingFang SC; font-weight: 400; color: #FEFEFE; line-height: 40rpx; } } .left-row2{ display: flex; justify-content: flex-start; margin-top:28rpx; .notice-content{ width: 520rpx; // height: 268rpx; background: #FFFFFF; border-radius: 10rpx; padding:28rpx 30rpx 30rpx 30rpx; margin-left:22rpx; .content-tips{ font-size: 32rpx; font-family: PingFang SC; font-weight: bold; color: #333333; display: flex; >image{ width:38rpx; height:38rpx; margin-right:9rpx; } } .content-msg{ margin-top:30rpx; font-size: 30rpx; font-family: PingFang SC; font-weight: 400; color: #666666; line-height: 56rpx; } .content-list{ margin-top:20rpx; .act-list-item{ padding:26rpx 0 26rpx 30rpx; display: flex; justify-content: space-between; border-bottom: 1rpx solid #e3e3e3; align-items: center; .topic{ width: 400rpx; font-size: 30rpx; font-family: PingFang SC; font-weight: 400; color: #333333; overflow:hidden;// 多余的部分隐藏 white-space:nowrap;// 让文字强制一行显示 text-overflow:ellipsis;// 多余的部分显示省略号 } >image{ width:10rpx; height:14rpx; } } } } .read-state{ margin-top:10rpx; margin-left:22rpx; font-size: 22rpx; font-family: PingFang SC; font-weight: 400; color: #AEAEAE; } .unread{ color: #009FFB; } } } .notice-item-right{ .left-row2{ display: flex; justify-content: flex-end; } .right-content{ padding:0 26rpx; text-align: center; height: 60rpx; background: linear-gradient(90deg, #EB382F 0%, #F9644C 100%); border-radius: 10rpx; font-size: 30rpx; font-family: PingFang SC; font-weight: 400; color: #FFFFFF; line-height: 60rpx; margin-right:26rpx; } } } } .notice-head{ >image{ width:70rpx; height:70rpx; } } .view-send{ position: fixed; bottom:0rpx; width:100%; background: #FFFFFF; height: 100rpx; display: flex; justify-content: space-between; align-items: center; // padding:0 24rpx 0 24rpx; .send-input{ padding-left:24rpx; display: flex; justify-content: flex-start; align-items: center; >image{ width:28rpx; height:28rpx; margin-right:12rpx; } .z-placeholder { font-size: 28rpx; font-family: PingFang SC; font-weight: 400; color: #C2C2C2; } } .send-btn{ flex:0 0 160rpx; // width: 160rpx; height: 70rpx; background: linear-gradient(90deg, #DC1B03 0%, #F37B03 100%); box-shadow: 0rpx 4rpx 10rpx 0rpx rgba(241,114,3,0.32); border-radius: 36rpx; line-height: 70rpx; text-align: center; font-size: 32rpx; font-family: Source Han Serif CN; font-weight: 400; color: #FFFFFF; margin-right:24rpx; } }