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

78 lines
1.5 KiB

  1. <template>
  2. <view class="step1">
  3. <view class="card">
  4. <view class="carModel">C1小型汽车手动挡</view>
  5. </view>
  6. <view class="card">
  7. <view class="carModel active">C2小型汽车自动挡</view>
  8. </view>
  9. <view class="btn_row" style="margin-top: 108rpx;">
  10. <view class="border btn" @click="changeStep(3)">返回上一步</view>
  11. <view class="btn" @click="changeStep(5)">下一步</view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. export default {
  17. data() {
  18. return {
  19. dateArr: [
  20. {week: '一', num: '08'},
  21. {week: '二', num: '09'},
  22. {week: '三', num: '10'},
  23. {week: '四', num: '11'},
  24. {week: '五', num: '12'},
  25. ],
  26. show: true
  27. }
  28. },
  29. methods: {
  30. changeStep(val) {
  31. this.$emit('changeStep', val)
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .card {
  38. margin-bottom: 20rpx;
  39. .carModel {
  40. padding: 0 36rpx;
  41. height: 152rpx;
  42. background: #FFFFFF;
  43. border-radius: 16rpx;
  44. font-size: 32rpx;
  45. font-weight: 600;
  46. line-height: 152rpx;
  47. &.active {
  48. background: rgba(25,137,250,0.1);
  49. color: $themC;
  50. border: 2rpx solid #1989FA;
  51. }
  52. }
  53. }
  54. .btn_row {
  55. display: flex;
  56. justify-content: space-between;
  57. padding-bottom: 30rpx;
  58. .btn {
  59. width: 47%;
  60. height: 72rpx;
  61. background: #1989FA;
  62. border-radius: 8rpx;
  63. font-size: 28rpx;
  64. color: #fff;
  65. text-align: center;
  66. line-height: 72rpx;
  67. &.border {
  68. background: rgba(25, 137, 250, 0.1);
  69. border: 2rpx solid $themC;
  70. color: $themC;
  71. }
  72. }
  73. }
  74. </style>