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.
|
|
<template> <view class="main"> <view class="item" v-if="info.businessLicense"> <view class="lab"> 营业执照 </view> <view class="imgBox"> <image :src="info.businessLicense" mode="widthFix"></image> </view> </view> <view class="item" v-if="info.roadTransportPermit"> <view class="lab"> 道路运输许可证 </view> <view class="imgBox"> <image :src="info.roadTransportPermit" mode="widthFix"></image> </view> </view> <view class="item" v-if="info.chargeBulletinBoard"> <view class="lab"> 收费公示栏 </view> <view class="imgBox"> <image :src="info.chargeBulletinBoard" mode="widthFix"></image> </view> </view> </view> </template>
<script> import indexApi from '@/api/index.js' export default { data() { return { trainingSchoolId: '', info: {} } }, onLoad(options) { this.trainingSchoolId = options.trainingSchoolId this.getTrainingSchoolAppDetailsFn() }, methods: { async getTrainingSchoolAppDetailsFn() { const [nulls, res] = await indexApi.getTrainingSchoolAppDetails({trainingSchoolId: this.trainingSchoolId}) this.info = res.data console.log('公示信息') console.log(res) } } } </script>
<style lang="scss" scoped> image { width: 100%; display: block; } .main { padding: 0 20rpx; } .lab { font-size: 28rpx; color: #333; font-weight: 600; height: 90rpx; line-height: 100rpx; } </style>
|