Authored by ccbikai

完善依赖

const Vue = require('vue');
const $ = require('jquery');
const app = require('product/detail/index.vue');
const loading = require('common/loading');
const lazyload = require('vue-lazyload');
... ... @@ -34,5 +35,3 @@ new Vue({
app: app
}
});
... ...
... ... @@ -7,6 +7,7 @@
</template>
<script>
const $ = require('jquery');
const cookie = require('yoho-cookie');
const bus = require('common/vue-bus');
... ...
... ... @@ -5,6 +5,7 @@
</template>
<script>
const $ = require('jquery');
const titleFloor = require('component/resources/title-floor.vue');
const productList = require('component/product/list.vue');
... ...
... ... @@ -14,6 +14,7 @@
</template>
<script>
const Vue = require('vue');
const $ = require('jquery');
const lazyload = require('vue-lazyload');
const infinitScroll = require('vue-infinite-scroll');
... ... @@ -142,12 +143,12 @@
margin-bottom: 56px;
}
}
.empty-tip-cn {
font-size: 34px;
margin-bottom: 30px;
}
.empty-tip-en {
font-size: 20px;
}
... ...
... ... @@ -25,7 +25,6 @@ shelljs.ls(path.join(__dirname, 'js/**/*.page.js')).forEach((f) => {
'yoho-qs',
'yoho-cookie',
'jquery',
'handlebars',
'vue',
'vue-lazyload',
'vue-swipe',
... ...