h5/pages/driver/reservedDetail.vue
@@ -28,6 +28,7 @@ <image v-if="info.transportImg" class="avatar_wrap" @click="priviewImage(info.prefixUrl + info.transportImg)" :src="info.prefixUrl + info.transportImg" ></image> </view> @@ -136,6 +137,11 @@ this.getDetail(option.id) }, methods: { priviewImage(url) { uni.previewImage({ urls: [url] }) }, handleCancel(){ const { info } = this uni.showModal({ @@ -145,6 +151,8 @@ if (res.confirm) { driverCarRevoke({ id: info.id, info: '' }).then(() => { this.getDetail(info.id) }) } else if (res.cancel) { console.log('用户点击取消');