Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
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
hooloo
mp
user
Commits
0589ddd2
Commit
0589ddd2
authored
Jul 08, 2022
by
宋冰琦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复取单码下拉距离
parent
aec35523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
components/OrderQrCode/index.vue
+2
-4
No files found.
components/OrderQrCode/index.vue
View file @
0589ddd2
...
...
@@ -98,8 +98,7 @@ export default {
if
(
val
<
0
){
this
.
popupStyle
.
transform
=
`translateY(
${
-
val
}
px)`
}
if
(
val
<-
200
){
console
.
log
(
'滑动了:'
+
val
+
',关闭'
)
if
(
val
<-
20
){
this
.
close
()
}
},
...
...
@@ -107,8 +106,7 @@ export default {
this
.
clientYEnd
=
e
.
changedTouches
[
0
].
clientY
;
const
val
=
parseInt
((
this
.
clientYStart
-
this
.
clientYEnd
))
console
.
log
(
val
)
if
(
val
>-
200
){
console
.
log
(
'滑动了:'
+
val
+
',回到顶部'
)
if
(
val
>-
20
){
this
.
popupStyle
.
transform
=
'translateY(0px)'
}
},
...
...
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