27 lines
558 B
Vue
27 lines
558 B
Vue
<template>
|
|
<div>
|
|
<supplier-shop-skeleton v-if="loading" />
|
|
<supplier-shop v-else :shop="shop" />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import SupplierShop from '@/components/SupplierShop.vue'
|
|
import SupplierShopSkeleton from '@/skeleton-view/shop/index.vue'
|
|
import { shops } from '../shop-data'
|
|
|
|
export default {
|
|
name: 'CuteSelection',
|
|
components: { SupplierShop, SupplierShopSkeleton },
|
|
data: () => ({
|
|
loading: true,
|
|
shop: shops.cuteSelection
|
|
}),
|
|
mounted() {
|
|
this.$nextTick(() => {
|
|
this.loading = false
|
|
})
|
|
}
|
|
}
|
|
</script>
|