timeRange.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .detePickerHeader {
  2. position: relative;
  3. display: flex;
  4. align-items: center;
  5. justify-content: space-between;
  6. width: 750rpx;
  7. height: 100rpx;
  8. padding: 0 30rpx;
  9. box-sizing: border-box;
  10. text {
  11. font-size: 28rpx;
  12. font-family: PingFang SC-Regular, PingFang SC;
  13. color: var(--assist);
  14. }
  15. .type {
  16. display: flex;
  17. width: 384rpx;
  18. height: 80rpx;
  19. border: 1rpx solid var(--assist);
  20. box-sizing: border-box;
  21. position: absolute;
  22. top: 50%;
  23. left: 50%;
  24. transform: translate(-50%, -50%);
  25. border-radius: 4rpx;
  26. overflow: hidden;
  27. .option {
  28. height: 100%;
  29. width: 50%;
  30. padding: 10rpx 0 0 20rpx;
  31. box-sizing: border-box;
  32. font-size: 20rpx;
  33. font-family: PingFang SC-Regular, PingFang SC;
  34. color: var(--assist);
  35. .time {
  36. margin-top: 4rpx;
  37. }
  38. }
  39. .active-op {
  40. background-color: var(--assist);
  41. color: #fff;
  42. }
  43. }
  44. }
  45. .time-range {
  46. display: flex;
  47. .default {
  48. font-family: PingFang SC, PingFang SC;
  49. font-size: 24rpx;
  50. color: #999999;
  51. }
  52. .left {
  53. display: flex;
  54. align-items: center;
  55. flex-shrink: 0;
  56. .iconfont {
  57. font-family: PingFang SC, PingFang SC;
  58. font-size: 24rpx;
  59. color: #333333;
  60. }
  61. .iconfont::before {
  62. font-size: 28rpx;
  63. margin-right: 20rpx;
  64. }
  65. .dateType {
  66. min-width: 128rpx;
  67. font-family: PingFang SC, PingFang SC;
  68. font-size: 24rpx;
  69. color: #999999;
  70. text-align: center;
  71. }
  72. .blue {
  73. color: #3874F6;
  74. }
  75. }
  76. .right {
  77. display: flex;
  78. flex: 1;
  79. width: 0;
  80. flex-shrink: 0;
  81. justify-content: space-between;
  82. .iconfont {
  83. transform: rotate(-90deg);
  84. color: #999999;
  85. }
  86. .range {
  87. display: flex;
  88. align-items: center;
  89. font-family: PingFang SC, PingFang SC;
  90. font-size: 24rpx;
  91. color: #3874F6;
  92. .middle {
  93. color: #999999;
  94. padding: 0 15rpx;
  95. }
  96. }
  97. }
  98. }