/* pages/avg/avg.wxss */ .title{ margin-left: 20rpx; margin-top: 20rpx; font-size: 34rpx; } .info{ margin-top: 5rpx; margin-left: 20rpx; font-size: 28rpx; color: rgb(128, 128, 128); } .tab{ background: #fff; margin-top: 16rpx; padding:0 20rpx; display: flex; border-bottom: 1px solid #f2f2f2; } .tab view{ font-size: 28rpx; color: #333; line-height: 80rpx; transition: all .1s linear; margin-right: 30rpx; } .tab .act{ color: #FF583D; border-bottom: 2px solid #FF583D; font-size: 32rpx; } .content{ font-size: 30rpx; font-weight: 500; } .container { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; box-sizing: border-box; height: 50vh; background: #fff; z-index: 9; } ec-canvas { width: 100%; height: 100%; position: relative; z-index: 99; } .imgs,.content{ margin-bottom: 20rpx; background: #fff; padding: 30rpx; position: relative; } .month{ text-align: right; position: absolute; right: 30rpx; top: 30rpx; } .month>image{ height: 40rpx; display: inline-block; vertical-align: middle; } picker{ display: inline-block; vertical-align: middle; margin: 0 20rpx; } .date-picker{ font-size: 36rpx; font-weight: 500; } .date-picker image{ height: 24rpx; } .day{ display: flex; justify-content: space-between; padding: 10rpx; background: #f5f5f5; margin: 20rpx 0; } .day text{ color: #999; width: 14%; text-align: center; } .days{ display: flex; flex-wrap: wrap; /* justify-content: space-between; */ } .days view{ width: 14%; text-align: center; font-weight: 500; height: 96rpx; /* margin-bottom: 10rpx; */ } .days text{ display: block; color: #666; font-size: 20rpx; position: relative; top: -5rpx; font-weight: 400; } .days view view{ width: 100% !important; } .days view view text{ color: #fff; } .down1{ background: #07B20B; color: #fff; } .up1{ background: #E90001; color: #fff; }