Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yanghanwen
/
wanda-vr
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7934f85c
authored
Sep 11, 2020
by
白宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
panright
parent
837c088a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
route1.html
+2
-2
travel1.html
+2
-2
No files found.
route1.html
View file @
7934f85c
...
@@ -910,12 +910,12 @@ var vueInstance = new Vue({
...
@@ -910,12 +910,12 @@ var vueInstance = new Vue({
var
dom
=
document
.
querySelector
(
'#app1'
)
var
dom
=
document
.
querySelector
(
'#app1'
)
var
hammerTest
=
new
Hammer
(
dom
);
var
hammerTest
=
new
Hammer
(
dom
);
hammerTest
.
on
(
'pan'
,
function
(
ev
)
{
hammerTest
.
on
(
'pan'
,
function
(
ev
)
{
if
(
ev
.
additionalEvent
==
'pan
righ
t'
)
{
if
(
ev
.
additionalEvent
==
'pan
lef
t'
)
{
if
(
that
.
activeIdx
!=
2
){
if
(
that
.
activeIdx
!=
2
){
panleft
()
panleft
()
}
}
}
}
if
(
ev
.
additionalEvent
==
'pan
lef
t'
)
{
if
(
ev
.
additionalEvent
==
'pan
righ
t'
)
{
if
(
that
.
activeIdx
!=
0
){
if
(
that
.
activeIdx
!=
0
){
panright
()
panright
()
}
}
...
...
travel1.html
View file @
7934f85c
...
@@ -711,12 +711,12 @@ var vueInstance = new Vue({
...
@@ -711,12 +711,12 @@ var vueInstance = new Vue({
var
dom
=
document
.
querySelector
(
'#app1'
)
var
dom
=
document
.
querySelector
(
'#app1'
)
var
hammerTest
=
new
Hammer
(
dom
);
var
hammerTest
=
new
Hammer
(
dom
);
hammerTest
.
on
(
'pan'
,
function
(
ev
)
{
hammerTest
.
on
(
'pan'
,
function
(
ev
)
{
if
(
ev
.
additionalEvent
==
'pan
righ
t'
)
{
if
(
ev
.
additionalEvent
==
'pan
lef
t'
)
{
if
(
that
.
activeIdx
!=
3
){
if
(
that
.
activeIdx
!=
3
){
panleft
()
panleft
()
}
}
}
}
if
(
ev
.
additionalEvent
==
'pan
lef
t'
)
{
if
(
ev
.
additionalEvent
==
'pan
righ
t'
)
{
if
(
that
.
activeIdx
!=
0
){
if
(
that
.
activeIdx
!=
0
){
panright
()
panright
()
}
}
...
...
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