33 lines
598 B
Vue
33 lines
598 B
Vue
<template>
|
|
<view class="noCommodity">
|
|
<view class="noPictrue">
|
|
<image
|
|
v-if="type === 'good'"
|
|
:src=" webUrl + '/20210203153900181449.png'"
|
|
class="image"
|
|
/>
|
|
<image
|
|
v-if="type === 'hotel'"
|
|
:src=" webUrl + '/no-hotel.png'"
|
|
class="image"
|
|
/>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: 'NoGoodData',
|
|
props: {
|
|
type: {
|
|
type: String,
|
|
default: 'good'
|
|
}
|
|
},
|
|
data: function() {
|
|
return {
|
|
webUrl: this.$VUE_APP_RESOURCES_URL
|
|
}
|
|
}
|
|
}
|
|
</script>
|