学员端小程序
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.

181 lines
3.0 KiB

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