calendar.wxss 1.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
@import "./icon/icon.wxss";


.selected_date{
  width: 100%;
  height: 56rpx;
  padding-bottom: 16rpx;
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
}
.selected_date>view{
恪愚's avatar
恪愚 已提交
14
  width: 29.5%;
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
}
.calendar_panel{
  width: 100%;
  /* height: 600rpx; */
  height: calc(100% - 56rpx);
}
.calendar_panel_two{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.calendar_box{
  width: 100%;
  background: #fff;
  overflow: hidden;
  display: flex;
  height: calc(100% / 6);
恪愚's avatar
恪愚 已提交
32
  align-items: center;
33 34 35 36 37 38
}
.weekday_label{
  width: calc(100% / 7);
  /* float: left; */
  /* text-align: center; */
  font-size: 27rpx;
恪愚's avatar
恪愚 已提交
39
  padding: 12rpx 0;
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.weekday_label>view{
  box-sizing: border-box;
  padding: 20%;
}

.select_icon{
  width: 30rpx;
  height: 30rpx;
}
.active_date{
  background: rgba(0,0,0,.12);
恪愚's avatar
恪愚 已提交
56
  color: rgba(0,0,0,.6);
57
  /* border-radius: 50%; */
恪愚's avatar
恪愚 已提交
58 59 60 61 62 63
  /* padding: 12rpx;
  box-sizing: border-box; */
  overflow: hidden;
  position: relative;
}
.active_dates{
恪愚's avatar
恪愚 已提交
64 65
  background: rgba(0,0,0,.1);
  color: rgba(0,0,0,.5);
恪愚's avatar
恪愚 已提交
66 67 68 69 70
  position: relative;
}
.active_dates::before{
  content: "今天";
  position: absolute;
恪愚's avatar
恪愚 已提交
71
  top: 0;
恪愚's avatar
恪愚 已提交
72 73 74
  left: 50%;
  transform: translateX(-50%);
  color: blue;
75 76 77 78 79 80 81 82 83 84 85 86 87 88
  font-size: 18rpx;
}
.actived_date{
  overflow: hidden;
  position: relative;
}
.actived_date::after{
  content: attr(data-event);
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  color: blue;
  font-size: 16rpx;
89 90 91 92 93
}
.show_box{
  padding: 20rpx;
  font-size: 26rpx;
}