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

103 lines
2.1 KiB

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="pageBgImg">
  3. <topNavbar :title="title"></topNavbar>
  4. <view class="pad" style="padding-bottom: 60rpx;">
  5. <coachInfo/>
  6. <view class="h1">预约时间</view>
  7. <pickDateTimer/>
  8. <view class="h1">教练车</view>
  9. <view class="card">
  10. <view class="car">
  11. <view class="carTag">赣A98299学</view>
  12. </view>
  13. </view>
  14. <view class="h1">训练场地</view>
  15. <view class="card" >
  16. <view class="site">
  17. <view class="leftTxt">
  18. <view class="adrs">某某场地</view>
  19. <view class="adrsTxt">江西省江西市江西区尚坤丁兰国际1190</view>
  20. </view>
  21. <view class="icon">
  22. <image src="@/static/images/car/btn_daohang.png" mode=""></image>
  23. <!-- <image src="@/static/images/car/btn_daohang_cli.png" mode=""></image> -->
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. import coachInfo from './comp/coachInfo'
  32. import step2 from './comp/step2'
  33. import step3 from './comp/step3'
  34. import step4 from './comp/step4'
  35. export default {
  36. components: { coachInfo, step2, step3, step4 },
  37. data() {
  38. return {
  39. currentStep: 2,
  40. subject: 2,
  41. title: '实操训练预约'
  42. }
  43. },
  44. onLoad(options) {
  45. this.subject = options.subject
  46. if(this.subject==2) {
  47. this.title = '实操训练科目二预约'
  48. this.currentStep = 2
  49. }else if(this.subject==3) {
  50. this.title = '实操训练科目三预约'
  51. this.currentStep = 2
  52. }
  53. },
  54. methods: {
  55. changeStep(num) {
  56. this.currentStep = num
  57. }
  58. }
  59. }
  60. </script>
  61. <style lang="scss" scoped>
  62. .h1 {
  63. line-height: 100rpx;
  64. }
  65. .car {
  66. padding: 32rpx 28rpx;
  67. .carTag {
  68. height: 120rpx;
  69. background: #F8F8F8;
  70. padding: 0 18rpx;
  71. color: $themC;
  72. border-radius: 12rpx;
  73. font-size: 28rpx;
  74. font-weight: 500;
  75. width: fit-content;
  76. line-height: 120rpx;
  77. }
  78. }
  79. .site {
  80. padding: 28rpx 40rpx 28rpx 36rpx;
  81. display: flex;
  82. align-items: center;
  83. .leftTxt {
  84. width: 0;
  85. flex: 1;
  86. color: $themC;
  87. .adrs {
  88. font-size: 32rpx;
  89. font-weight: 550;
  90. margin-bottom: 10rpx;
  91. }
  92. .adrsTxt {
  93. font-size: 28rpx;
  94. font-weight: 400;
  95. }
  96. }
  97. .icon {
  98. width: 72rpx;
  99. height: 72rpx;
  100. }
  101. }
  102. </style>