Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
e26f9c57
Commit
e26f9c57
authored
May 15, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页头部不滚动
parent
5649153d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
pages.json
src/pages.json
+2
-1
index.vue
src/pages/index/index.vue
+13
-5
No files found.
src/pages.json
View file @
e26f9c57
...
...
@@ -11,7 +11,8 @@
"style"
:
{
"navigationBarTitleText"
:
"首页"
,
"navigationStyle"
:
"custom"
,
"enablePullDownRefresh"
:
true
"enablePullDownRefresh"
:
true
,
"disableScroll"
:
true
}
},
{
...
...
src/pages/index/index.vue
View file @
e26f9c57
<
template
>
<scroll-view
scroll-y
style=
"height: 100vh;"
@
scrolltolower=
"reachBottom"
<
template
>
<TabBarPage
title=
"扳手会"
:fixed=
"true"
>
<view
class=
"content-view"
>
<scroll-view
scroll-y
@
scrolltolower=
"reachBottom"
scroll-anchoring
scroll-y=
"true"
refresher-enabled=
"true"
:refresher-triggered=
"triggered"
:refresher-threshold=
"100"
refresher-background=
"#F4F5F7"
@
refresherpulling=
"triggered = true"
@
refresherrefresh=
"onRefresh"
@
refresherrestore=
"onRestore"
@
refresherabort=
"onAbort"
enable-back-to-top
>
<
TabBarPage
title=
"扳手会"
>
<
!--
<TabBarPage
title=
"扳手会"
>
--
>
<image
class=
"banner-image"
:src=
"bannerImage"
@
click=
"handleClickBanner"
></image>
<view
class=
"msg-view"
>
...
...
@@ -66,14 +68,16 @@
<view
class=
"bottom-text"
>
我也是有底线哒
</view>
<view
class=
"bottom-line-view"
></view>
</view>
</TabBarPage>
<!-- </TabBarPage> -->
</scroll-view>
</view>
<u-popup
border-radius=
"12"
v-model=
"visible"
safe-area-inset-bottom
mode=
"center"
width=
"690rpx"
closeable
:mask-close-able=
"false"
close-icon-color=
"#FFFFFF"
>
<view
class=
"order-pop-view"
>
<Customer
type=
"pop"
@
click=
"handleDownload"
></Customer>
</view>
</u-popup>
</
scroll-view
>
</
TabBarPage
>
</template>
<
script
>
...
...
@@ -422,6 +426,10 @@
width
:
730rpx
;
height
:
280rpx
;
margin-left
:
-16rpx
;
}
.content-view
{
height
:
100%
;
overflow
:
auto
;
}
.msg-view
{
...
...
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