feat: 基本实现拆单收货
This commit is contained in:
@@ -1,14 +1,26 @@
|
||||
<template>
|
||||
<supplier-shop :shop="shop" />
|
||||
<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 },
|
||||
data: () => ({ shop: shops.cuteSelection })
|
||||
components: { SupplierShop, SupplierShopSkeleton },
|
||||
data: () => ({
|
||||
loading: true,
|
||||
shop: shops.cuteSelection
|
||||
}),
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
this.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user