|
@@ -16,14 +16,14 @@
|
|
</view>
|
|
</view>
|
|
<view class="carinfo flex flex_column align_center">
|
|
<view class="carinfo flex flex_column align_center">
|
|
<view>
|
|
<view>
|
|
- <u-image shape="circle" :src="carInfo.icon||'@/static/def_imgs.png'" width='150' height="150"></u-image>
|
|
|
|
|
|
+ <u-image shape="circle" :src="carInfo&&carInfo.icon||'@/static/def_imgs.png'" width='150' height="150"></u-image>
|
|
</view>
|
|
</view>
|
|
<view>VIN:{{vinNo}}</view>
|
|
<view>VIN:{{vinNo}}</view>
|
|
- <view>{{carInfo.text}}</view>
|
|
|
|
|
|
+ <view>{{carInfo&&carInfo.text||'暂无匹配车型'}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="cbutton flex align_center justify_between">
|
|
<view class="cbutton flex align_center justify_between">
|
|
<u-button @click="copyVin" v-if="vinNo" shape="circle">复制VIN</u-button>
|
|
<u-button @click="copyVin" v-if="vinNo" shape="circle">复制VIN</u-button>
|
|
- <u-button @click="copyCar" v-if="carInfo.text" shape="circle">复制车型</u-button>
|
|
|
|
|
|
+ <u-button @click="copyCar" v-if="carInfo&&carInfo.text" shape="circle">复制车型</u-button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -76,9 +76,6 @@
|
|
showCancel: false,
|
|
showCancel: false,
|
|
confirmText: '知道了',
|
|
confirmText: '知道了',
|
|
success() {
|
|
success() {
|
|
- uni.reLaunch({
|
|
|
|
- url: "/pages/index/index"
|
|
|
|
- })
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|