Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
6cbe77e0
Commit
6cbe77e0
authored
Jul 24, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios兼容
parent
7c434f78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+4
-2
No files found.
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
6cbe77e0
...
@@ -58,7 +58,8 @@
...
@@ -58,7 +58,8 @@
</view>
</view>
</scroll-view>
</scroll-view>
<!-- 右边滚动条 -->
<!-- 右边滚动条 -->
<scroll-view
class=
"scroll-right"
@
scroll=
"scrollRight"
:style=
"
{height:middleHeight+'px'}" :scroll-into-view="toViewRight" scroll-y>
<!-- enhanced和bounces是处理ios系统橡皮筋回弹bug -->
<scroll-view
class=
"scroll-right"
@
scroll=
"scrollRight"
:style=
"
{height:middleHeight+'px'}" :scroll-into-view="toViewRight" scroll-y enhanced bounces="
{{
false
}}
">
<view
class=
"middle-right"
>
<view
class=
"middle-right"
>
<checkbox-group
@
change=
"checkboxChange"
class=
"checkbox-box"
>
<checkbox-group
@
change=
"checkboxChange"
class=
"checkbox-box"
>
<view
class=
"merchantlist-wrap"
:id=
"'merchant'+index"
v-for=
"(item, index) in scenicList"
:key=
"index"
>
<view
class=
"merchantlist-wrap"
:id=
"'merchant'+index"
v-for=
"(item, index) in scenicList"
:key=
"index"
>
...
@@ -577,6 +578,7 @@ export default {
...
@@ -577,6 +578,7 @@ export default {
if
(
scrollTop
>=
height
){
if
(
scrollTop
>=
height
){
//中间上部分固定,中间下部分可滚动,全屏不滚动
//中间上部分固定,中间下部分可滚动,全屏不滚动
this
.
middleHeight
=
this
.
scrollHeight
this
.
middleHeight
=
this
.
scrollHeight
}
else
{
}
else
{
//中间上部分不固定,中间下部分不可滚动,全屏滚动'
//中间上部分不固定,中间下部分不可滚动,全屏滚动'
this
.
middleHeight
=
this
.
originHeight
this
.
middleHeight
=
this
.
originHeight
...
@@ -793,7 +795,7 @@ export default {
...
@@ -793,7 +795,7 @@ export default {
.wrap
{
.wrap
{
height
:
100%
;
height
:
100%
;
background
:
#f7f7f7
;
background
:
#f7f7f7
;
overflow
-anchor
:auto
;
overflow
:
hidden
;
}
}
.middle
{
.middle
{
padding-bottom
:
100rpx
;
padding-bottom
:
100rpx
;
...
...
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