...
|
...
|
@@ -18,7 +18,7 @@ |
|
|
<input class="search-input" type="search" disabled="true" placeholder="搜索商品名称或货号"/>
|
|
|
</div>
|
|
|
<template v-for="(item, index) in channelList.list">
|
|
|
<Swiper :list="item" :ref="index" :PAGE_URL="PAGE_URL" :key="index" v-if="item.template_name == 'threePicture'"/>
|
|
|
<Swiper :list="item.data" :ref="index" :PAGE_URL="PAGE_URL" :key="index" v-if="item.template_name == 'threePicture'"/>
|
|
|
<Hot :list="item.data" :ref="index" :PAGE_URL="PAGE_URL" :key="index" v-if="item.template_name == 'image_list'"/>
|
|
|
<Banner :list="item.data" :ref="index" :PAGE_URL="PAGE_URL" :key="index" v-if="item.template_name == 'single_image'"/>
|
|
|
<TwoBanner :list="item.data" :ref="index" :PAGE_URL="PAGE_URL" :key="index" v-if="item.template_name == 'twoPicture'"/>
|
...
|
...
|
@@ -203,7 +203,6 @@ export default { |
|
|
|
|
|
if (this.navTop) {
|
|
|
let scrollY = -y;
|
|
|
|
|
|
if (scrollY >= this.navTop) {
|
|
|
this.isShow = true;
|
|
|
} else {
|
...
|
...
|
@@ -289,28 +288,6 @@ export default { |
|
|
this.reportParams = params;
|
|
|
console.log(this.reportParams);
|
|
|
}
|
|
|
|
|
|
// getReportParams(item, index) {
|
|
|
// let { template_id, template_name } = item;
|
|
|
// let PAGE_URL = window.location.href;
|
|
|
|
|
|
// this.searchParams = {
|
|
|
// F_ID: template_id,
|
|
|
// PAGE_URL,
|
|
|
// F_INDEX: index + 1,
|
|
|
// F_NAME: template_name,
|
|
|
// I_INDEX: '',
|
|
|
// F_URL: '',
|
|
|
// }
|
|
|
// console.log(item);
|
|
|
// console.log(this.searchParams);
|
|
|
// }
|
|
|
// onPullingDown() {
|
|
|
// let params = this.searchParams;
|
|
|
|
|
|
// params.isReset = true;
|
|
|
// this.fetchList(params);
|
|
|
// },
|
|
|
},
|
|
|
components: {
|
|
|
Swiper,
|
...
|
...
|
@@ -343,6 +320,7 @@ export default { |
|
|
width: 100%;
|
|
|
height: 100px;
|
|
|
box-shadow: 0 0 120px 100px #f2f2f2 !important;
|
|
|
z-index: -1;
|
|
|
}
|
|
|
|
|
|
&.fixed-nav {
|
...
|
...
|
|