Toggle navigation
This project
Loading...
Sign in
xt
/
xcx-book
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
64a4ae057c6ae07dd6be75c21c1346ab34dff45b
Authored by
wangfan
2019-01-22 17:07:21 +0800
1 parent
7c2660d7
build: skipped
快速预定
Changes
3
Builds
0
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
pack-cookbook/components/cook-class/cook-class.js
pack-cookbook/pages/index.js
pack-cookbook/pages/index.wxss
pack-cookbook/components/cook-class/cook-class.js
View file @
64a4ae0
...
...
@@ -41,6 +41,6 @@ Component({
this
.
setData
({
menuHidden
:
true
})
}
}
,
}
})
\ No newline at end of file
...
...
pack-cookbook/pages/index.js
View file @
64a4ae0
...
...
@@ -278,7 +278,7 @@ Page({
}
}
console
.
log
(
'class_name-activeId'
,
activeId
,
activeTop
);
if
(
active
Id
==
that
.
data
.
cookbooklist
[
0
].
id
&&
activeTop
<
150
){
if
(
active
Top
>
32
){
activeId
=
''
;
}
success
(
activeId
)
...
...
pack-cookbook/pages/index.wxss
View file @
64a4ae0
...
...
@@ -256,7 +256,9 @@
}
.class_name-active{
position: fixed;
top:1
2
0rpx;
top:1
0
0rpx;
z-index: 999;
left:200rpx;
height: 140rpx;
line-height: 140rpx;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment