index.js 4.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. export const ActivityArea = () => import('../../components/activity-area.vue' /* webpackChunkName: "components/activity-area" */).then(c => wrapFunctional(c.default || c))
  2. export const AdItem = () => import('../../components/ad-item.vue' /* webpackChunkName: "components/ad-item" */).then(c => wrapFunctional(c.default || c))
  3. export const AddressAdd = () => import('../../components/address-add.vue' /* webpackChunkName: "components/address-add" */).then(c => wrapFunctional(c.default || c))
  4. export const AddressList = () => import('../../components/address-list.vue' /* webpackChunkName: "components/address-list" */).then(c => wrapFunctional(c.default || c))
  5. export const AfterSalesList = () => import('../../components/after-sales-list.vue' /* webpackChunkName: "components/after-sales-list" */).then(c => wrapFunctional(c.default || c))
  6. export const CommentList = () => import('../../components/comment-list.vue' /* webpackChunkName: "components/comment-list" */).then(c => wrapFunctional(c.default || c))
  7. export const CountDown = () => import('../../components/count-down.vue' /* webpackChunkName: "components/count-down" */).then(c => wrapFunctional(c.default || c))
  8. export const CouponsList = () => import('../../components/coupons-list.vue' /* webpackChunkName: "components/coupons-list" */).then(c => wrapFunctional(c.default || c))
  9. export const DeliverSearch = () => import('../../components/deliver-search.vue' /* webpackChunkName: "components/deliver-search" */).then(c => wrapFunctional(c.default || c))
  10. export const EvaluationList = () => import('../../components/evaluation-list.vue' /* webpackChunkName: "components/evaluation-list" */).then(c => wrapFunctional(c.default || c))
  11. export const GoodsList = () => import('../../components/goods-list.vue' /* webpackChunkName: "components/goods-list" */).then(c => wrapFunctional(c.default || c))
  12. export const HomeSeckill = () => import('../../components/home-seckill.vue' /* webpackChunkName: "components/home-seckill" */).then(c => wrapFunctional(c.default || c))
  13. export const InputExpress = () => import('../../components/input-Express.vue' /* webpackChunkName: "components/input-express" */).then(c => wrapFunctional(c.default || c))
  14. export const NullData = () => import('../../components/null-data.vue' /* webpackChunkName: "components/null-data" */).then(c => wrapFunctional(c.default || c))
  15. export const NumberBox = () => import('../../components/number-box.vue' /* webpackChunkName: "components/number-box" */).then(c => wrapFunctional(c.default || c))
  16. export const OrderList = () => import('../../components/order-list.vue' /* webpackChunkName: "components/order-list" */).then(c => wrapFunctional(c.default || c))
  17. export const PriceFormate = () => import('../../components/price-formate.vue' /* webpackChunkName: "components/price-formate" */).then(c => wrapFunctional(c.default || c))
  18. export const ShopItem = () => import('../../components/shop-item.vue' /* webpackChunkName: "components/shop-item" */).then(c => wrapFunctional(c.default || c))
  19. export const Upload = () => import('../../components/upload.vue' /* webpackChunkName: "components/upload" */).then(c => wrapFunctional(c.default || c))
  20. export const LayoutAslideNav = () => import('../../components/layout/aslide-nav.vue' /* webpackChunkName: "components/layout-aslide-nav" */).then(c => wrapFunctional(c.default || c))
  21. export const LayoutCategory = () => import('../../components/layout/category.vue' /* webpackChunkName: "components/layout-category" */).then(c => wrapFunctional(c.default || c))
  22. export const LayoutFloatNav = () => import('../../components/layout/float-nav.vue' /* webpackChunkName: "components/layout-float-nav" */).then(c => wrapFunctional(c.default || c))
  23. export const LayoutFooter = () => import('../../components/layout/footer.vue' /* webpackChunkName: "components/layout-footer" */).then(c => wrapFunctional(c.default || c))
  24. export const LayoutHeader = () => import('../../components/layout/header.vue' /* webpackChunkName: "components/layout-header" */).then(c => wrapFunctional(c.default || c))
  25. export const LayoutMainNav = () => import('../../components/layout/main-nav.vue' /* webpackChunkName: "components/layout-main-nav" */).then(c => wrapFunctional(c.default || c))
  26. // nuxt/nuxt.js#8607
  27. function wrapFunctional(options) {
  28. if (!options || !options.functional) {
  29. return options
  30. }
  31. const propKeys = Array.isArray(options.props) ? options.props : Object.keys(options.props || {})
  32. return {
  33. render(h) {
  34. const attrs = {}
  35. const props = {}
  36. for (const key in this.$attrs) {
  37. if (propKeys.includes(key)) {
  38. props[key] = this.$attrs[key]
  39. } else {
  40. attrs[key] = this.$attrs[key]
  41. }
  42. }
  43. return h(options, {
  44. on: this.$listeners,
  45. attrs,
  46. props,
  47. scopedSlots: this.$scopedSlots,
  48. }, this.$slots.default)
  49. }
  50. }
  51. }