diff --git a/components/lf-nocontent/lf-nocontent.vue b/components/lf-nocontent/lf-nocontent.vue new file mode 100644 index 0000000..5129fa3 --- /dev/null +++ b/components/lf-nocontent/lf-nocontent.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/components/lf-price/lf-price.vue b/components/lf-price/lf-price.vue new file mode 100644 index 0000000..43050c3 --- /dev/null +++ b/components/lf-price/lf-price.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/components/lf-waterfall-shopdetails/lf-waterfall.vue b/components/lf-waterfall-shopdetails/lf-waterfall.vue new file mode 100644 index 0000000..e707c3e --- /dev/null +++ b/components/lf-waterfall-shopdetails/lf-waterfall.vue @@ -0,0 +1,220 @@ + + + + + diff --git a/main.js b/main.js index aed3983..998f9db 100644 --- a/main.js +++ b/main.js @@ -18,6 +18,11 @@ import store from '@/store/index.js'; Vue.config.productionTip = false import uView from 'uview-ui'; Vue.use(uView); + +// 将无数据组件注入全局 +import lfNocontent from '@/components/lf-nocontent/lf-nocontent.vue'; +Vue.component('lf-nocontent', lfNocontent); + Vue.prototype.$shared = $shared; Vue.prototype.$http = sandBox; Vue.prototype.$cookieStorage = cookieStorage; diff --git a/pages/shop/shopdetail.vue b/pages/shop/shopdetail.vue index fb581c3..2608be2 100644 --- a/pages/shop/shopdetail.vue +++ b/pages/shop/shopdetail.vue @@ -1,13 +1,13 @@ - + + diff --git a/static/images/empty.png b/static/images/empty.png new file mode 100644 index 0000000..1c480e2 Binary files /dev/null and b/static/images/empty.png differ