Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Tao
5 years ago
Commit
207458091c83ad16327e3fd59337d9a30af80717
1 parent
58123e7b
modify channel style
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
27 deletions
apps/pages/home/channel/channel.vue
apps/pages/home/channel/components/scrollNav.vue
apps/pages/home/news/news.vue
apps/pages/home/news/newsDetail.vue
apps/store/home/channel.js
apps/pages/home/channel/channel.vue
View file @
2074580
...
...
@@ -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 {
...
...
apps/pages/home/channel/components/scrollNav.vue
View file @
2074580
...
...
@@ -73,7 +73,6 @@ export default {
}
.cube-scroll-content {
// https://blog.csdn.net/qq_24331363/article/details/88026777
// display: block;
}
...
...
apps/pages/home/news/news.vue
View file @
2074580
...
...
@@ -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>
...
...
apps/pages/home/news/newsDetail.vue
View file @
2074580
...
...
@@ -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>
...
...
apps/store/home/channel.js
View file @
2074580
...
...
@@ -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
});
...
...
Please
register
or
login
to post a comment