@@ -1,13 +1,28 @@
|
||||
<template>
|
||||
<view class="noCommodity">
|
||||
<view class="noPictrue">
|
||||
<image :src="webUrl+'/20210203153900181449.png'" class="image"/>
|
||||
<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",
|
||||
name: 'NoGoodData',
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
default: 'good'
|
||||
}
|
||||
},
|
||||
data: function() {
|
||||
return {
|
||||
webUrl: this.$VUE_APP_RESOURCES_URL
|
||||
|
||||
Reference in New Issue
Block a user