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
479829b5
Commit
479829b5
authored
Mar 17, 2025
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
组合票优化
parent
4789acec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+5
-6
No files found.
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
479829b5
...
...
@@ -50,7 +50,7 @@
<!-- 列表部分 -->
<view
class=
"middle-bottom"
id=
"middle-bottom"
>
<!-- 左边滚动条 -->
<scroll-view
class=
"scroll-left"
:style=
"
{height:scrollHeight+'px'}" :scroll-into-view="toViewLeft" scroll-y>
<scroll-view
class=
"scroll-left"
:style=
"
{height:scrollHeight+'px'}" :scroll-into-view="toViewLeft" scroll-y
>
<view
class=
"middle-left"
>
<view
:id=
"'merchant-tab'+index"
class=
"merchant-tab"
v-for=
"(item,index) in scenicList"
:key=
"index"
@
click=
"merchantTabChange(index)"
:class=
'
{on:merchantIndex==index}'>
{{
item
.
name
}}
...
...
@@ -247,8 +247,8 @@ export default {
toViewLeft
:
''
,
//左边滚动到某个元素
toViewFull
:
''
,
//全屏滚动到某个元素
showTransition
:
true
,
//控制动画显示隐藏
scrollHeight
:
0
,
//
中间盒子滚动时的
高度
originHeight
:
0
,
//
中间盒子
原本高度
scrollHeight
:
0
,
//
左边滚动条scroll-view
高度
originHeight
:
0
,
//
右边滚动条
原本高度
middleTopHeight
:
0
,
//中间盒子上部分高度
topHeight
:
0
,
//上面状态栏+上面导航栏总高度
tabbarOpacity
:
0
,
//导航栏透明度
...
...
@@ -640,7 +640,6 @@ export default {
if
(
parseInt
(
scrollTop
)
>=
parseInt
(
height
)){
//中间上部分固定,中间下部分可滚动,全屏不滚动
this
.
rightHeight
=
this
.
scrollHeight
}
else
{
//中间上部分不固定,中间下部分不可滚动,全屏滚动'
this
.
rightHeight
=
this
.
originHeight
...
...
@@ -658,7 +657,7 @@ export default {
}).
exec
()
// #endif
},
5
)
},
10
)
},
//---右边滚动事件
scrollRight
(
e
)
{
...
...
@@ -678,7 +677,7 @@ export default {
}
}
})
},
5
)
},
10
)
},
//---回到顶部
...
...
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