123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302 |
- @import './theme/iconfont.wxss';
- @import './theme/theme-default.wxss';
- @import './theme/theme-elegant.wxss';
- .b {
- display: flex;
- }
- .lr {
- flex-direction: row;
- }
- .tb {
- flex-direction: column;
- }
- .pc {
- justify-content: center;
- }
- .ac {
- align-items: center;
- }
- .cc {
- align-items: center;
- justify-content: center;
- }
- .wrap {
- flex-wrap: wrap;
- }
- .flex {
- flex-grow: 1;
- }
- .bg {
- background-image: linear-gradient(to bottom, #faefe7, #ffcbd7);
- overflow: hidden;
- }
- .white-color {
- color: #fff;
- }
- .fs24 {
- font-size: 24rpx;
- }
- .fs28 {
- font-size: 28rpx;
- }
- .fs32 {
- font-size: 32rpx;
- }
- .fs36 {
- font-size: 36rpx;
- }
- .fsnd {
- font-weight: 500;
- font-size: 45rpx;
- }
- .calendar {
- width: 100%;
- box-sizing: border-box;
- }
- /* 日历操作栏 */
- .handle {
- height: 80rpx;
- }
- .prev-handle,
- .next-handle {
- padding: 20rpx;
- }
- .date-in-handle {
- height: 90rpx;
- }
- /* 星期栏 */
- .weeks {
- height: 60rpx;
- line-height: 60rpx;
- font-size: 30rpx;
- font-weight: 600;
- opacity: 0.8;
- }
- .week {
- text-align: center;
- }
- .grid,
- .week {
- width: 14.286014285714286%;
- }
- .date-wrap {
- width: 100%;
- /* height: 96rpx; */
- height: 104rpx;
- position: relative;
- left: 0;
- top: 0;
- }
- .date {
- position: relative;
- left: 0;
- top: 0;
- width: 65rpx;
- height: 65rpx;
- text-align: center;
- line-height: 65rpx;
- font-size: 42rpx;
- font-weight: 600;
- border-radius: 50%;
- transition: all 0.3s;
- animation-name: choosed;
- animation-duration: 0.5s;
- animation-timing-function: linear;
- animation-iteration-count: 1;
- }
- .date-area-mode {
- width: 100%;
- border-radius: 0;
- }
- .date-desc {
- width: 150%;
- height: 32rpx;
- font-size: 20rpx;
- line-height: 32rpx;
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- overflow: hidden;
- word-break: break-all;
- text-overflow: ellipsis;
- white-space: nowrap;
- -webkit-line-clamp: 1;
- text-align: center;
- }
- @keyframes choosed {
- from {
- transform: scale(1);
- }
- 50% {
- transform: scale(0.9);
- }
- to {
- transform: scale(1);
- }
- }
- /* 日期圆圈标记 */
- .todo-circle {
- border-width: 1rpx;
- border-style: solid;
- box-sizing: border-box;
- }
- /* 待办点标记相关样式 */
- .todo-dot {
- width: 10rpx;
- height: 10rpx;
- border-radius: 50%;
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- }
- .todo-dot-top {
- top: 3rpx;
- }
- .todo-dot.todo-dot-top-always {
- top: -8rpx;
- }
- .todo-dot.todo-dot-bottom {
- bottom: 0;
- }
- .todo-dot.todo-dot-bottom-always {
- bottom: -10rpx;
- }
- /* 日期描述文字(待办文字/农历)相关样式 */
- .date-desc.date-desc-top {
- top: -6rpx;
- }
- .date-desc.date-desc-top-always {
- top: -20rpx;
- }
- .date-desc.date-desc-bottom {
- bottom: -32rpx;
- /* color: #6495ED; */
- color: #3B82F6;
- font-size: 22rpx;
- font-weight: 400;
- }
- .todo-circle .date-desc.date-desc-bottom {
- bottom: -30rpx;
- }
- .date-desc.date-desc-bottom-always {
- bottom: -28rpx;
- }
- /* 补充 */
- .calendar {
- background: #fff;
- border: 1rpx solid #dddee1;
- border-radius: 10rpx;
- }
- .calendar_title{
- font-size: 36rpx;
- }
- .calendar_header{
- border-bottom: 1rpx solid #dddee1;
- position: relative;
- }
- .calendar_body{
- padding: 4rpx;
- }
- .calendar_date .date-wrap{
- box-sizing: border-box;
- border: 4rpx solid transparent;
- }
- .calendar_date .date {
- margin-top: -20rpx;
- }
- .calendar_today{
- color: #2563EB;
- }
- .calendar_date .calendar_date_choosed{
- border: 4rpx solid #3B82F6;
- border-radius: 16rpx;
- }
- .calander-todos{
- position: absolute;
- top: 62rpx;
- left: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- }
- .calander-todo{
- margin: 0 4rpx;
- font-size: 20rpx;
- line-height: 28rpx;
- min-width: 28rpx;
- border-radius: 15rpx;
- color: #fff;
- text-align: center;
- background-color: #3B82F6;
- }
- .calender-search{
- position: absolute;
- height: 80rpx;
- width: 80rpx;
- right: 80rpx;
- top: 0rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .calender-search .icon {
- margin-top: -6rpx;
- }
|