Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FuLiMini
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjian
FuLiMini
Commits
f8957f29
Commit
f8957f29
authored
Jun 02, 2022
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ef022455
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
home.vue
pages/home/home.vue
+7
-5
No files found.
pages/home/home.vue
View file @
f8957f29
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<view
class=
"swiper-container"
v-if=
"headerData.length>1"
>
<view
class=
"swiper-container"
v-if=
"headerData.length>1"
>
<swiper
class=
"swiper"
@
change=
"changeSwiper"
:indicator-dots=
"false"
>
<swiper
class=
"swiper"
@
change=
"changeSwiper"
:indicator-dots=
"false"
>
<swiper-item
v-for=
"(item, index) in headerData"
:key=
"index"
>
<swiper-item
v-for=
"(item, index) in headerData"
:key=
"index"
>
<view
class=
"list"
>
<view
class=
"
swiper-
list"
>
<view
class=
"item"
v-for=
"(subItem, subIndex) in item"
:key=
"subIndex"
@
click=
"goToLandPage(item)"
>
<view
class=
"item"
v-for=
"(subItem, subIndex) in item"
:key=
"subIndex"
@
click=
"goToLandPage(item)"
>
<image
class=
"icon"
mode=
"aspectFill"
:src=
"subItem.icon"
></image>
<image
class=
"icon"
mode=
"aspectFill"
:src=
"subItem.icon"
></image>
<view
class=
"item-title"
>
{{
subItem
.
title
}}
</view>
<view
class=
"item-title"
>
{{
subItem
.
title
}}
</view>
...
@@ -110,7 +110,7 @@ export default {
...
@@ -110,7 +110,7 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
onPageScroll
(
e
)
{
onPageScroll
(
e
)
{
console
.
log
(
e
)
//
console.log(e)
this
.
opacity
=
e
.
scrollTop
/
99
this
.
opacity
=
e
.
scrollTop
/
99
// const animation = uni.requireNativePlugin('animation')
// const animation = uni.requireNativePlugin('animation')
// var top = this.$refs.headerCover
// var top = this.$refs.headerCover
...
@@ -358,12 +358,14 @@ export default {
...
@@ -358,12 +358,14 @@ export default {
border-radius
:
30rpx
;
border-radius
:
30rpx
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
padding-bottom
:
30rpx
;
padding-bottom
:
30rpx
;
z-index
:
99
;
margin-top
:
-50rpx
;
width
:
100%
;
.swiper
{
.swiper
{
height
:
60
0rpx
;
height
:
54
0rpx
;
width
:
100%
;
width
:
100%
;
margin-top
:
-50rpx
;
border-radius
:
30rpx
;
border-radius
:
30rpx
;
.list
{
.
swiper-
list
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
background
:
#ffffff
;
background
:
#ffffff
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment