Showing
5 changed files
with
6 additions
and
27 deletions
@@ -143,7 +143,6 @@ export default { | @@ -143,7 +143,6 @@ export default { | ||
143 | 143 | ||
144 | if (this.navTop) { | 144 | if (this.navTop) { |
145 | let scrollY = -y; | 145 | let scrollY = -y; |
146 | - | ||
147 | if (scrollY >= this.navTop) { | 146 | if (scrollY >= this.navTop) { |
148 | this.isShow = true; | 147 | this.isShow = true; |
149 | } else { | 148 | } else { |
@@ -229,28 +228,6 @@ export default { | @@ -229,28 +228,6 @@ export default { | ||
229 | this.reportParams = params; | 228 | this.reportParams = params; |
230 | console.log(this.reportParams); | 229 | console.log(this.reportParams); |
231 | } | 230 | } |
232 | - | ||
233 | - // getReportParams(item, index) { | ||
234 | - // let { template_id, template_name } = item; | ||
235 | - // let PAGE_URL = window.location.href; | ||
236 | - | ||
237 | - // this.searchParams = { | ||
238 | - // F_ID: template_id, | ||
239 | - // PAGE_URL, | ||
240 | - // F_INDEX: index + 1, | ||
241 | - // F_NAME: template_name, | ||
242 | - // I_INDEX: '', | ||
243 | - // F_URL: '', | ||
244 | - // } | ||
245 | - // console.log(item); | ||
246 | - // console.log(this.searchParams); | ||
247 | - // } | ||
248 | - // onPullingDown() { | ||
249 | - // let params = this.searchParams; | ||
250 | - | ||
251 | - // params.isReset = true; | ||
252 | - // this.fetchList(params); | ||
253 | - // }, | ||
254 | }, | 231 | }, |
255 | components: { | 232 | components: { |
256 | Swiper, | 233 | Swiper, |
@@ -283,6 +260,7 @@ export default { | @@ -283,6 +260,7 @@ export default { | ||
283 | width: 100%; | 260 | width: 100%; |
284 | height: 100px; | 261 | height: 100px; |
285 | box-shadow: 0 0 120px 100px #f2f2f2 !important; | 262 | box-shadow: 0 0 120px 100px #f2f2f2 !important; |
263 | + z-index: -1; | ||
286 | } | 264 | } |
287 | 265 | ||
288 | &.fixed-nav { | 266 | &.fixed-nav { |
@@ -5,7 +5,8 @@ | @@ -5,7 +5,8 @@ | ||
5 | ref="scroll" | 5 | ref="scroll" |
6 | :options="options" | 6 | :options="options" |
7 | @pulling-up="onPullingUp" | 7 | @pulling-up="onPullingUp" |
8 | - :data="newsList.list"> | 8 | + :data="newsList.list" |
9 | + v-if="newsList.list && newsList.list.length > 0"> | ||
9 | <div class="news-content"> | 10 | <div class="news-content"> |
10 | <Tab v-if="newsList.tabList.length > 0" :list="newsList.tabList || []"></Tab> | 11 | <Tab v-if="newsList.tabList.length > 0" :list="newsList.tabList || []"></Tab> |
11 | <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List> | 12 | <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List> |
@@ -5,7 +5,8 @@ | @@ -5,7 +5,8 @@ | ||
5 | ref="scroll" | 5 | ref="scroll" |
6 | :options="options" | 6 | :options="options" |
7 | @pulling-up="onPullingUp" | 7 | @pulling-up="onPullingUp" |
8 | - :data="newsList.list"> | 8 | + :data="newsList.list" |
9 | + v-if="newsList.list && newsList.list.length > 0"> | ||
9 | <div class="news-content"> | 10 | <div class="news-content"> |
10 | <Title :title="title"></Title> | 11 | <Title :title="title"></Title> |
11 | <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List> | 12 | <List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List> |
@@ -56,7 +56,7 @@ export default function() { | @@ -56,7 +56,7 @@ export default function() { | ||
56 | }, | 56 | }, |
57 | async fetchChannelList({ commit }) { | 57 | async fetchChannelList({ commit }) { |
58 | const result = await this.$api.get('/api/ufo/channel/channelList', { | 58 | const result = await this.$api.get('/api/ufo/channel/channelList', { |
59 | - content_code: 'cfcd8de156d3edc26c84091804c43e23', | 59 | + content_code: 'f788335b57b67c1711f255648c744dab', // cfcd8de156d3edc26c84091804c43e23 |
60 | }); | 60 | }); |
61 | if (result.code === 200) { | 61 | if (result.code === 200) { |
62 | commit(Types.FETCH_CHANNEL, { list: result.data }); | 62 | commit(Types.FETCH_CHANNEL, { list: result.data }); |
-
Please register or login to post a comment