Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
d4d89329
Commit
d4d89329
authored
Jan 08, 2020
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd\
parent
30ceaaba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
index.js
src/pages/papersquare/index.js
+3
-2
index.wxml
src/pages/papersquare/index.wxml
+1
-1
No files found.
src/pages/papersquare/index.js
View file @
d4d89329
...
...
@@ -133,6 +133,7 @@ Page({
erpStudentId
:
0
,
backTopValue
:
false
,
activeHonorTab
:
1
,
fixHonorTab
:
false
},
onLoad
:
function
(
options
)
{
// Do some initialize when page load.
let
that
=
this
;
...
...
@@ -224,11 +225,11 @@ Page({
let
that
=
this
;
let
scrollTop
=
e
.
scrollTop
;
let
backTopValue
=
scrollTop
>
800
?
true
:
false
;
let
fixHonorTab
=
scrollTop
>
258
?
true
:
false
;
this
.
debounce
(()
=>
{
that
.
setData
({
backTopValue
,
fixHonorTab
})
},
200
)()
},
...
...
src/pages/papersquare/index.wxml
View file @
d4d89329
...
...
@@ -34,7 +34,7 @@
</view>
</view>
<view class="top-fix-wrapper" style="
top: {{statusBarHeight}}px;
">
<view class="top-fix-wrapper" style="
{{fixHonorTab ? 'padding-top:'+statusBarHeight+'px' : ''}}
">
<view class="top-fix">
<view class="header-tab">
<view class="tab-item {{bigtab == 1? 'active': ''}}" data-type="1" bindtap="bigTapEvent">
...
...
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