二手车交易,公里转化数值转化

This commit is contained in:
2025-03-13 13:31:37 +08:00
parent 16321333d2
commit d4485779c6
4 changed files with 21 additions and 7 deletions

View File

@ -45,7 +45,7 @@
</div>
<div class="descCommon desc">{{detailInfo.desc}}</div>
</div>
<div class="btn" @click="noMultipleClicks(handle)">我有车源</div>
<div v-if="isList" class="btn" @click="noMultipleClicks(handle)">我有车源</div>
</div>
</div>
</template>
@ -65,6 +65,7 @@ export default {
duration:'',
startTime: null, // 记录进入时间
recordType:1,
isList:false,
}
},
async mounted() {
@ -73,6 +74,7 @@ export default {
const urlParams = new URLSearchParams(window.location.search);
this.id=this.$route.query.id || urlParams.get('id');
this.queryType=this.$route.query.queryType || urlParams.get('queryType');
this.isList=this.$route.query.isList
if( this.id) {
let res = await carInfoDetail({
id: this.id,