/* pages/account/growthCourse/component/calendar.wxss */ .todayBg { background: #F9DED6; border-radius: 10rpx; } .clickBg { background-color: #FFF3F4; color: #E03D42; border: 2rpx solid #E03D42; border-radius: 100%; } .tips { background-color: #E03D42; display: inline-block; height: 14px; line-height: 14px; min-width: 14px; color: white; position: absolute; right: 0px; border-radius: 50% 50% 50% 0; } /* 例子的样式 */ .container { font-size: 28rpx; height: 100%; min-height: 100%; display: flex; flex-direction: column; } .week_body { display: flex; justify-content: space-between; align-items: center; } .week_date { width: 100rpx; height: 80rpx; font-size: 28rpx; line-height: 80rpx; font-weight: bold; text-align: center; flex: 1; } /* 日期样式 */ .layout_body .date_container { height: 600rpx; text-align: center; position: relative; font-size: 32rpx; overflow: hidden; } .date_box1 { width: 100%; height: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; align-content: space-around; } /* 滑动的动画 */ .animated { animation-duration: 2s; animation-fill-mode: both; } .grid { width: 80rpx; margin: 0 10rpx; height: 80rpx; line-height: 80rpx; float: left; position: relative; font-size: 24rpx; text-align: center; } .old { color: #e9eaec } @keyframes fadeOutLeft { from { opacity: 1; } to { opacity: 0; transform: translate3d(-100%, 0, 0); } } .fadeOutLeft { animation-name: fadeOutLeft; } @keyframes fadeOutRight { from { opacity: 1; } to { opacity: 0; transform: translate3d(100%, 0, 0); } } .fadeOutRight { animation-name: fadeOutRight; } /* 模板 */ .recommend { width: 100%; background: #F5F5F4; padding: 30rpx 20rpx; box-sizing: border-box; margin-top: 10rpx } .recommendtitle { width: 152rpx; height: 29rpx; margin: 68rpx auto 20rpx; display: block; background: #fff; } .monthTitle { text-align: center; font-weight: 600; font-size: 28rpx; padding: 10rpx; }