Authored by Tao

modify channel style

... ... @@ -143,7 +143,6 @@ export default {
if (this.navTop) {
let scrollY = -y;
if (scrollY >= this.navTop) {
this.isShow = true;
} else {
... ... @@ -229,28 +228,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,
... ... @@ -283,6 +260,7 @@ export default {
width: 100%;
height: 100px;
box-shadow: 0 0 120px 100px #f2f2f2 !important;
z-index: -1;
}
&.fixed-nav {
... ...
... ... @@ -73,7 +73,6 @@ export default {
}
.cube-scroll-content {
// https://blog.csdn.net/qq_24331363/article/details/88026777
// display: block;
}
... ...
... ... @@ -5,7 +5,8 @@
ref="scroll"
:options="options"
@pulling-up="onPullingUp"
:data="newsList.list">
:data="newsList.list"
v-if="newsList.list && newsList.list.length > 0">
<div class="news-content">
<Tab v-if="newsList.tabList.length > 0" :list="newsList.tabList || []"></Tab>
<List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List>
... ...
... ... @@ -5,7 +5,8 @@
ref="scroll"
:options="options"
@pulling-up="onPullingUp"
:data="newsList.list">
:data="newsList.list"
v-if="newsList.list && newsList.list.length > 0">
<div class="news-content">
<Title :title="title"></Title>
<List v-if="newsList.list && newsList.list.length > 0" :list="newsList.list || []"></List>
... ...
... ... @@ -56,7 +56,7 @@ export default function() {
},
async fetchChannelList({ commit }) {
const result = await this.$api.get('/api/ufo/channel/channelList', {
content_code: 'cfcd8de156d3edc26c84091804c43e23',
content_code: 'f788335b57b67c1711f255648c744dab', // cfcd8de156d3edc26c84091804c43e23
});
if (result.code === 200) {
commit(Types.FETCH_CHANNEL, { list: result.data });
... ...