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
0085ebd7
Commit
0085ebd7
authored
Jun 08, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常定位滚动
parent
5244262e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
complete.vue
src/pages/order/complete.vue
+3
-7
No files found.
src/pages/order/complete.vue
View file @
0085ebd7
...
...
@@ -560,13 +560,11 @@
})
},
locationCompleteItem
(
panelIndex
,
groupIndex
,
eleIndex
){
// 页面定位到某一项
this
.
getMenuItemTop
()
this
.
tabIndex
=
panelIndex
this
.
arr
=
[]
this
.
scrollRightTop
=
0
;
this
.
current
=
groupIndex
;
this
.
itemId
=
''
this
.
$nextTick
(
function
()
{
this
.
swichMenu
(
groupIndex
)
if
(
this
.
oldItemId
)
this
.
itemId
=
this
.
oldItemId
})
},
// 提交订单
...
...
@@ -768,10 +766,8 @@
this
.
scrollRightTop
=
this
.
oldScrollTop
;
this
.
$nextTick
(
function
()
{
setTimeout
(()
=>
{
this
.
itemId
=
this
.
oldItemId
// 没有指定滚动到某一小项,就滚动到大的项
if
(
!
this
.
oldItemId
)
this
.
scrollRightTop
=
this
.
arr
[
index
]
this
.
oldItemId
=
''
this
.
scrollRightTop
=
this
.
arr
[
index
]
this
.
current
=
index
},
100
)
})
...
...
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