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

61 lines
1.3 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="pageBgImg">
  3. <topNavbar title="预约详情"></topNavbar>
  4. <!-- 详情 -->
  5. <view class="pad">
  6. <view class="card">
  7. <imitate v-if="type==1"/>
  8. <opera v-else-if="type==2"/>
  9. <examin v-else-if="type==3"/>
  10. </view>
  11. <view class="btnCon">
  12. <view class="btnBg" @click.stop="$goPage('/pages/carEntry/evaluate/evaluate')">去评价</view>
  13. <view class="btnBorder" @click="show=true">取消预约</view>
  14. <view class="btnBorder">申请退款</view>
  15. </view>
  16. </view>
  17. <u-popup :show="show" mode="center" :round="20" @>
  18. <cancelReservation @popupBtnClick="show=false"/>
  19. </u-popup>
  20. </view>
  21. </template>
  22. <script>
  23. import imitate from './imitate'
  24. import opera from './opera'
  25. import examin from './examin'
  26. export default {
  27. components: { imitate, opera, examin},
  28. data() {
  29. return {
  30. type: 1,
  31. show: false
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .card {
  38. padding: 24rpx;
  39. }
  40. .btnCon {
  41. display: flex;
  42. flex-direction: column;
  43. align-items: center;
  44. justify-content: center;
  45. margin-top: 76rpx;
  46. .btnBg {
  47. width: 212rpx;
  48. margin-bottom: 40rpx;
  49. }
  50. .btnBorder {
  51. width: 396rpx;
  52. border: 2rpx solid #E8E9EC;
  53. background-color: #fff;
  54. color: #ADADAD;
  55. margin-bottom: 40rpx;
  56. }
  57. }
  58. </style>