学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
2.8 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="step1">
  3. <pickDateTimer/>
  4. <view class="btn" @click="changeStep(2)">下一步</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. }
  12. },
  13. mounted() {
  14. },
  15. methods: {
  16. changeStep(val) {
  17. this.$emit('changeStep', val)
  18. },
  19. }
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. .card {
  24. width: 100%;
  25. margin-bottom: 24rpx;
  26. overflow: hidden;
  27. .dateBox {
  28. padding: 36rpx 0 40rpx 0;
  29. .month-row {
  30. display: flex;
  31. justify-content: center;
  32. align-items: center;
  33. margin-bottom: 36rpx;
  34. .month {
  35. font-size: 32rpx;
  36. color: $themC;
  37. }
  38. .arrow {
  39. margin-left: 6rpx;
  40. }
  41. }
  42. .date_row {
  43. width: 100%;
  44. height: 100rpx;
  45. position: relative;
  46. .icon {
  47. width: 40rpx;
  48. height: 40rpx;
  49. background: rgba(51,51,51,0.18);
  50. backdrop-filter: blur(4rpx);
  51. position: absolute;
  52. top: 50%;
  53. transform: translateY(-50%);
  54. display: flex;
  55. align-items: center;
  56. justify-content: center;
  57. border-radius: 50%;
  58. &.left {
  59. left: 16rpx;
  60. }
  61. &.right {
  62. right: 16rpx;
  63. }
  64. }
  65. .dateArr {
  66. display: flex;
  67. padding: 0 70rpx;
  68. // justify-content: space-between;
  69. &.oneDate {
  70. justify-content: center;
  71. }
  72. .dateWidth {
  73. width: 20%;
  74. display: flex;
  75. justify-content: center;
  76. }
  77. .date {
  78. width: 74rpx;
  79. height: 100rpx;
  80. border-radius: 16rpx;
  81. display: flex;
  82. flex-direction: column;
  83. align-items: center;
  84. justify-content: center;
  85. font-size: 28rpx;
  86. color: #333;
  87. &.active {
  88. background: rgba(25,137,250,0.1);
  89. border: 2rpx solid #1989FA;
  90. color: $themC;
  91. }
  92. .week {
  93. }
  94. .num {
  95. margin-top: 4rpx;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. .card {
  103. .timeCon {
  104. padding: 0 24rpx 40rpx 24rpx;
  105. }
  106. .h2 {
  107. line-height: 90rpx;
  108. font-weight: 500;
  109. color: #333;
  110. }
  111. .time_box {
  112. display: flex;
  113. flex-wrap: wrap;
  114. justify-content: space-between;
  115. .time_item {
  116. width: 30%;
  117. height: 120rpx;
  118. background: #F8F8F8;
  119. border-radius: 12rpx;
  120. display: flex;
  121. flex-direction: column;
  122. justify-content: center;
  123. align-items: center;
  124. border-radius: 12rpx;
  125. color: #333;
  126. &.active {
  127. background: rgba(25,137,250,0.1);
  128. border: 2rpx solid #1989FA;
  129. color: $themC;
  130. }
  131. &.disable {
  132. opacity: 0.4;
  133. }
  134. .lab {
  135. font-size: 28rpx;
  136. font-weight: 500;
  137. }
  138. .time {
  139. font-size: 24rpx;
  140. margin-top: 4rpx;
  141. }
  142. }
  143. }
  144. }
  145. .btn {
  146. width: 47%;
  147. height: 72rpx;
  148. background: #1989FA;
  149. border-radius: 8rpx;
  150. font-size: 28rpx;
  151. color: #fff;
  152. text-align: center;
  153. line-height: 72rpx;
  154. margin: 108rpx auto 50rpx auto;
  155. }
  156. </style>