Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
eslotsys-game-nuxt
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
毛线
eslotsys-game-nuxt
Commits
f9ae2548
Commit
f9ae2548
authored
Jul 12, 2023
by
毛线
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
d1f86742
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
keyboard.vue
pages/index/game/components/keyboard.vue
+12
-6
images.json
pages/loading/data/images.json
+2
-1
No files found.
pages/index/game/components/keyboard.vue
View file @
f9ae2548
...
...
@@ -39,7 +39,7 @@
<!-- play -->
<div
class=
"play-btn btn"
@
click=
"click().play()"
>
<img
v-audio
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/gameMore/play_button1.pn
g"
alt=
""
>
<img
v-audio
:src=
"playBtn.buttonImgN | im
g"
alt=
""
>
</div>
<!-- 自动下注 -->
<div
v-audio
class=
"auto"
>
...
...
@@ -120,6 +120,11 @@ export default {
btnList2
()
{
return
this
.
btnList
.
filter
(
i
=>
i
.
buttonName
.
includes
(
'D'
))
},
// play按钮
playBtn
()
{
const
btnList
=
this
.
btnList
.
filter
(
i
=>
i
.
buttonName
.
includes
(
'Play'
))
return
btnList
.
length
?
btnList
[
0
]
:
{}
},
// 是否在自动玩游戏
isAuto
()
{
let
isAuto
=
false
...
...
@@ -169,7 +174,8 @@ export default {
this
.
network
().
upPoint
({
type
:
2
})
},
play
:
()
=>
{
this
.
network
().
button
({
buttonValue
:
2
})
const
{
playBtn
}
=
this
this
.
network
().
button
({
buttonValue
:
playBtn
.
buttonValue
})
},
player
:
({
x16
,
y16
})
=>
{
this
.
network
().
touch
({
x
:
x16
,
y
:
y16
})
...
...
@@ -379,15 +385,15 @@ export default {
.play-btn
{
position
:
absolute
;
right
:
108
px
;
bottom
:
26
px
;
right
:
94
px
;
top
:
10
px
;
overflow
:
visible
;
width
:
90px
;
height
:
90px
;
width
:
112px
;
img
{
width
:
100%
;
user-select
:
none
;
pointer-events
:
none
;
display
:
block
;
}
}
.auto
{
...
...
pages/loading/data/images.json
View file @
f9ae2548
...
...
@@ -76,6 +76,7 @@
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/mobileKeyboard/creditIn.png"
,
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/auto-time-button.png"
,
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/player1.png"
,
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/gameMore/play_button1.png"
,
"https://kuawai.s3.ap-east-1.amazonaws.com/resource…s/second/Bottom%20Bar%20Background%20copy%203.png"
,
"https://kuawai.s3.ap-east-1.amazonaws.com/resource…s/second/Bottom%20Bar%20Background%20copy%202.png"
,
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/player2.png"
]
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