/* pages/invest/invest.wxss */ .scroll-tab-box { background-color: white; position: fixed; top: 0; left: 0; z-index: 2; } .tabs-container { display: flex; flex-direction: row; white-space: nowrap; background-color: white; padding: 16rpx; margin-left: 16rpx; } .tab-sel { background-color: #EBEBEB; font-family: Source Han Sans CN; font-size: 24rpx; text-align: center; color: #256742; padding: 10rpx 30rpx; border-radius: 5rpx; } .tab-normal { padding: 10rpx 30rpx; font-family: Source Han Sans CN; font-size: 24rpx; text-align: center; color: #676767; } .news { padding: 30rpx; border-bottom: 5px solid #FBFBFB; margin-top: 5rpx; } .news-box { padding: 30rpx 0; border-bottom: 1px solid #EBEBEB; display: flex; flex-direction: column; } .news-title { color: #242424; font-size: 30rpx; font-weight: bold; } .news-info { color: #949494; margin-top: 15rpx; font-size: 24rpx; } .news-info text { margin-right: 20rpx; } .voice-box { padding-right: 30px; position: relative; } .voice-box iamge { position: absolute; top: 0; right: 0; width: 25rpx; height: 25rpx; } .news-big-pic, .news-small-pic { margin-top: 10rpx; } .news-big-pic { position: relative; } .news-big-pic image { width: 100%; height: 380rpx; } .news-big-pic image.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80rpx; height: 80rpx; } .news-small-pic image { width: 30%; height: 150rpx; margin-right: 20rpx; } .transverse-news { flex-direction: row; justify-content: space-between; } .news-row-img { width: 30%; height: 150rpx; } .news-row-img image { width: 100%; height: 100%; } .news-row-info { width: 68%; }