calendar.wxss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. @charset "UTF-8";
  2. /**
  3. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  4. *
  5. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  6. */
  7. /* 颜色变量 */
  8. /* 行为相关颜色 */
  9. /* 文字基本颜色 */
  10. /* 背景颜色 */
  11. /* 边框颜色 */
  12. /* 尺寸变量 */
  13. /* 文字尺寸 */
  14. /* 图片尺寸 */
  15. /* Border Radius */
  16. /* 水平间距 */
  17. /* 垂直间距 */
  18. /* 透明度 */
  19. /* 文章场景相关 */
  20. .card_time_tag {
  21. width: 100%;
  22. display: flex;
  23. align-items: center;
  24. padding-top: 10rpx;
  25. border-top: 1rpx solid #f5f5f5;
  26. }
  27. .time_tag {
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. font-size: 36rpx;
  32. color: #82848a;
  33. flex: 1;
  34. }
  35. .u-mask-zoom {
  36. -webkit-transform: scale(1, 1);
  37. transform: scale(1, 1);
  38. }
  39. .calendar {
  40. display: flex;
  41. align-items: flex-end;
  42. justify-content: center;
  43. height: 100%;
  44. margin-top: 20rpx;
  45. }
  46. .calendar .content {
  47. display: flex;
  48. flex-direction: column;
  49. justify-content: center;
  50. align-items: center;
  51. width: 100%;
  52. background-color: #fff;
  53. border-top-left-radius: 24rpx;
  54. border-top-right-radius: 24rpx;
  55. }
  56. .calendar .content .title {
  57. display: flex;
  58. flex-direction: row;
  59. align-items: center;
  60. height: 76rpx;
  61. width: 100%;
  62. background-color: #f3f4f6;
  63. justify-content: space-between;
  64. border-radius: 40rpx;
  65. margin-bottom: 20rpx;
  66. }
  67. .calendar .content .title .left {
  68. color: #666666;
  69. font-size: 30rpx;
  70. padding-left: 30rpx;
  71. }
  72. .calendar .content .title .sure {
  73. display: flex;
  74. justify-content: center;
  75. align-items: center;
  76. width: 120rpx;
  77. height: 100%;
  78. background-color: #c4c4c4;
  79. color: #fff;
  80. font-size: 30rpx;
  81. border-radius: 50rpx;
  82. }
  83. .calendar .content picker-view {
  84. width: 100%;
  85. height: 480rpx;
  86. }
  87. .calendar .content picker-view .item {
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. color: #333333;
  92. font-size: 32rpx;
  93. font-weight: bold;
  94. }
  95. .calendar .content picker-view .uni-picker-view-wrapper uni-picker-view-column {
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. color: #333333;
  100. font-size: 32rpx;
  101. font-weight: bold;
  102. }
  103. .calendar .content picker-view .uni-picker-view-wrapper uni-picker-view-column .uni-picker-view-group .uni-picker-view-content {
  104. text-align: center;
  105. line-height: 110rpx;
  106. }
  107. .calendar .content picker-view .uni-picker-view-wrapper uni-picker-view-column .uni-picker-view-group .uni-picker-view-content .item {
  108. display: flex;
  109. align-items: center;
  110. justify-content: center;
  111. color: #333333;
  112. font-size: 32rpx;
  113. font-weight: bold;
  114. }
  115. .calendar .content .bottom {
  116. height: 110rpx;
  117. width: calc(100% - 31rpx);
  118. display: flex;
  119. align-items: center;
  120. justify-content: flex-end;
  121. padding-right: 31rpx;
  122. background-color: #FFFFFF;
  123. }
  124. .calendar .content .bottom .switch {
  125. background-color: #E6E6E6;
  126. width: 180rpx;
  127. height: 70rpx;
  128. display: flex;
  129. flex-direction: row;
  130. border-radius: 35rpx;
  131. justify-content: space-around;
  132. align-items: center;
  133. position: relative;
  134. }
  135. .calendar .content .bottom .switch .left {
  136. position: absolute;
  137. z-index: 1;
  138. left: 25%;
  139. font-size: 28rpx;
  140. -webkit-transform: translateX(-50%);
  141. transform: translateX(-50%);
  142. }
  143. .calendar .content .bottom .switch .right {
  144. color: #333333;
  145. font-size: 28rpx;
  146. position: absolute;
  147. right: 0;
  148. -webkit-transform: translateX(-25%);
  149. transform: translateX(-25%);
  150. color: #333333;
  151. z-index: 1;
  152. }
  153. .calendar .content .bottom .switch .bg {
  154. background-color: #EB344A;
  155. color: #333333;
  156. height: 70rpx;
  157. border-radius: 40rpx;
  158. width: 90rpx;
  159. position: absolute;
  160. top: 0;
  161. z-index: 0;
  162. }
  163. .calendar .content .bottom .switch .active {
  164. color: #FFFFFF;
  165. }
  166. .calendar .content .bottom .switch .lunar {
  167. left: 90rpx;
  168. -webkit-animation: switchsolar 500ms;
  169. animation: switchsolar 500ms;
  170. }
  171. @-webkit-keyframes switchsolar {
  172. 0% {
  173. left: 0;
  174. }
  175. 100% {
  176. left: 90rpx;
  177. }
  178. }
  179. @keyframes switchsolar {
  180. 0% {
  181. left: 0;
  182. }
  183. 100% {
  184. left: 90rpx;
  185. }
  186. }
  187. .calendar .content .bottom .switch .solar {
  188. left: 0;
  189. -webkit-animation: switchlunar 500ms;
  190. animation: switchlunar 500ms;
  191. }
  192. @-webkit-keyframes switchlunar {
  193. 0% {
  194. left: 90rpx;
  195. }
  196. 100% {
  197. left: 0;
  198. }
  199. }
  200. @keyframes switchlunar {
  201. 0% {
  202. left: 90rpx;
  203. }
  204. 100% {
  205. left: 0;
  206. }
  207. }
  208. .head_calendar {
  209. width: 100%;
  210. display: flex;
  211. align-items: center;
  212. justify-content: space-between;
  213. margin-bottom: 20rpx;
  214. }
  215. .card_tag {
  216. display: flex;
  217. width: fit-content;
  218. width: -webkit-fit-content;
  219. width: -moz-fit-content;
  220. border: 1rpx solid #e9e9e9;
  221. border-radius: 40rpx;
  222. }
  223. .tab_item {
  224. font-size: 30rpx;
  225. min-width: 140rpx;
  226. height: 64rpx;
  227. color: #b1b1b1;
  228. }
  229. .activate_tab {
  230. color: #d5bd9d;
  231. background-color: #010101;
  232. border-radius: 40rpx;
  233. }
  234. .today_card {
  235. width: 80rpx;
  236. }
  237. .today_box {
  238. width: 80rpx;
  239. display: flex;
  240. justify-content: center;
  241. align-items: center;
  242. height: 64rpx;
  243. color: #d5bd9d;
  244. background-color: #010101;
  245. border-radius: 40rpx;
  246. }
  247. .range_hint {
  248. display: flex;
  249. justify-content: center;
  250. font-size: 32rpx;
  251. margin-top: 30rpx;
  252. }
  253. .saving_time {
  254. width: 100%;
  255. display: flex;
  256. align-items: center;
  257. justify-content: flex-end;
  258. }
  259. .icon-yiwen {
  260. color: #82848a;
  261. font-size: 40rpx;
  262. }
  263. .saving_title {
  264. color: #82848a;
  265. font-size: 32rpx;
  266. padding: 0rpx 10rpx;
  267. }
  268. .confirm_title {
  269. margin-top: 20rpx;
  270. border-radius: 40rpx;
  271. color: #d5bd9d;
  272. width: 100%;
  273. height: 80rpx;
  274. display: flex;
  275. justify-content: center;
  276. align-items: center;
  277. background-color: #010101;
  278. }
  279. .card_four_box {
  280. width: 100%;
  281. margin-bottom: 50rpx;
  282. }
  283. .card_prin {
  284. display: flex;
  285. align-items: center;
  286. justify-content: space-around;
  287. flex-wrap: wrap;
  288. margin-top: 20rpx;
  289. }
  290. .cipal_box_flex {
  291. flex: 0 0 25%;
  292. display: flex;
  293. justify-content: center;
  294. align-items: center;
  295. }
  296. .cipal_box {
  297. display: flex;
  298. justify-content: center;
  299. align-items: center;
  300. color: #fff;
  301. width: 120rpx;
  302. height: 120rpx;
  303. font-size: 50rpx;
  304. border-radius: 50%;
  305. background-color: #b8b8b8;
  306. margin-bottom: 20rpx;
  307. }
  308. .activate_cipal {
  309. background-color: #b2955d;
  310. }