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

116 lines
2.2 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 year ago
  1. <template>
  2. <view class="step1">
  3. <coachInfo @click.native="showStep2"/>
  4. <view class="h1">预约时间</view>
  5. <pickDate :FormData="FormData"/>
  6. <view class="h1">教练车</view>
  7. <view class="card">
  8. <view class="car">
  9. <view class="carTag">赣A98299学</view>
  10. </view>
  11. </view>
  12. <view class="h1">训练场地</view>
  13. <view class="card" >
  14. <view class="site">
  15. <view class="leftTxt">
  16. <view class="adrs">某某场地</view>
  17. <view class="adrsTxt">江西省江西市江西区尚坤丁兰国际1190</view>
  18. </view>
  19. <view class="icon">
  20. <image src="@/static/images/car/btn_daohang.png" mode=""></image>
  21. <!-- <image src="@/static/images/car/btn_daohang_cli.png" mode=""></image> -->
  22. </view>
  23. </view>
  24. </view>
  25. <view class="poz_btn">
  26. <view class="btn_row" >
  27. <view class="btnBg" @click="changeStep(2)">下一步</view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. import coachInfo from './coachInfo'
  34. import pickDate from './pickDate'
  35. export default {
  36. components: { coachInfo, pickDate },
  37. props: ['FormData'],
  38. data() {
  39. return {
  40. }
  41. },
  42. methods: {
  43. changeStep(num) {
  44. if(this.FormData.coachId) {
  45. }
  46. this.$emit('changeStep', num)
  47. },
  48. showStep2() {
  49. this.$emit('showStep2')
  50. }
  51. }
  52. }
  53. </script>
  54. <style lang="scss" scoped>
  55. .poz_btn {
  56. // position: fixed;
  57. // bottom: 0;
  58. // left: 0;
  59. // padding: 32rpx;
  60. // width: 100%;
  61. // background: #F6F6F6;
  62. .btn_row {
  63. display: flex;
  64. height: 200rpx;
  65. align-items: center;
  66. justify-content: center;
  67. .btnBg {
  68. width: 396rpx;
  69. }
  70. }
  71. }
  72. .h1 {
  73. line-height: 100rpx;
  74. }
  75. .car {
  76. padding: 32rpx 28rpx;
  77. .carTag {
  78. height: 120rpx;
  79. background: #F8F8F8;
  80. padding: 0 18rpx;
  81. color: $themC;
  82. border-radius: 12rpx;
  83. font-size: 28rpx;
  84. font-weight: 500;
  85. width: fit-content;
  86. line-height: 120rpx;
  87. }
  88. }
  89. .site {
  90. padding: 28rpx 40rpx 28rpx 36rpx;
  91. display: flex;
  92. align-items: center;
  93. .leftTxt {
  94. width: 0;
  95. flex: 1;
  96. color: $themC;
  97. .adrs {
  98. font-size: 32rpx;
  99. font-weight: 550;
  100. margin-bottom: 10rpx;
  101. }
  102. .adrsTxt {
  103. font-size: 28rpx;
  104. font-weight: 400;
  105. }
  106. }
  107. .icon {
  108. width: 72rpx;
  109. height: 72rpx;
  110. }
  111. }
  112. </style>