Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NEWYEARPARTY
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
华国豪
NEWYEARPARTY
Commits
0f32ea83
Commit
0f32ea83
authored
Dec 26, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ba7a4656
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
Mouse.vue
src/components/playGame/Mouse.vue
+9
-4
No files found.
src/components/playGame/Mouse.vue
View file @
0f32ea83
...
...
@@ -161,11 +161,11 @@ export default {
})
}
this
.
connectServer
()
let
$this
=
this
this
.
proxy
.
on
(
"getChangeMenu"
,
data
=>
{
console
.
log
(
data
.
data
)
$
this
.
laoshuData
=
JSON
.
parse
(
data
.
data
)
this
.
laoshuData
=
JSON
.
parse
(
data
.
data
)
})
this
.
initData
()
},
methods
:
{
connectServer
()
{
...
...
@@ -178,10 +178,15 @@ export default {
conn
.
start
()
.
done
(
data
=>
{
})
.
fail
(
data
=>
{});
},
initData
:
function
()
{
this
.
proxy
.
invoke
(
"SendBarrage"
,
'Mouse'
).
done
(
msg
=>
{
console
.
log
(
msg
)
});
},
StartGame
:
function
()
{
this
.
showCount
=
true
this
.
showPeople
=
false
...
...
@@ -210,7 +215,7 @@ export default {
this
.
mouseDongData
[
this
.
laoshuData
[
i
].
location
-
1
].
speed
=
600
setTimeout
(()
=>
{
console
.
log
(
this
.
laoshuData
[
i
].
interval
)
},
)
},
10
)
}
},
// 30秒倒计时
...
...
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