工行这里学车报名流程h5
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.

70 lines
1.4 KiB

  1. <template>
  2. <view class="main">
  3. <view class="item" v-if="info.businessLicense">
  4. <view class="lab">
  5. 营业执照
  6. </view>
  7. <view class="imgBox">
  8. <image :src="info.businessLicense" mode="widthFix"></image>
  9. </view>
  10. </view>
  11. <view class="item" v-if="info.roadTransportPermit">
  12. <view class="lab">
  13. 道路运输许可证
  14. </view>
  15. <view class="imgBox">
  16. <image :src="info.roadTransportPermit" mode="widthFix"></image>
  17. </view>
  18. </view>
  19. <view class="item" v-if="info.chargeBulletinBoard">
  20. <view class="lab">
  21. 收费公示栏
  22. </view>
  23. <view class="imgBox">
  24. <image :src="info.chargeBulletinBoard" mode="widthFix"></image>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. import indexApi from '@/api/index.js'
  31. export default {
  32. data() {
  33. return {
  34. trainingSchoolId: '',
  35. info: {}
  36. }
  37. },
  38. onLoad(options) {
  39. this.trainingSchoolId = options.trainingSchoolId
  40. this.getTrainingSchoolAppDetailsFn()
  41. },
  42. methods: {
  43. async getTrainingSchoolAppDetailsFn() {
  44. const [nulls, res] = await indexApi.getTrainingSchoolAppDetails({trainingSchoolId: this.trainingSchoolId})
  45. this.info = res.data
  46. console.log('公示信息')
  47. console.log(res)
  48. }
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. image {
  54. width: 100%;
  55. display: block;
  56. }
  57. .main {
  58. padding: 0 20rpx;
  59. }
  60. .lab {
  61. font-size: 28rpx;
  62. color: #333;
  63. font-weight: 600;
  64. height: 90rpx;
  65. line-height: 100rpx;
  66. }
  67. </style>