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
2c30bd35
Commit
2c30bd35
authored
Oct 28, 2023
by
毛线
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文案修改
parent
de838d6e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
11 deletions
+15
-11
jackpot.vue
components/dialog/jackpot.vue
+8
-8
default.vue
layouts/default.vue
+0
-1
index.vue
pages/index.vue
+2
-1
keyboard.vue
pages/index/game/components/keyboard.vue
+1
-1
index.js
store/index.js
+4
-0
No files found.
components/dialog/jackpot.vue
View file @
2c30bd35
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"message"
>
<div
class=
"message"
>
<div
class=
"info"
><strong>
Jackpot
</strong>
:
{{
data
.
levelName
}}
</div>
<div
class=
"info"
><strong>
大奖
</strong>
:
{{
data
.
levelName
}}
</div>
<div
class=
"info"
><strong>
Amount
</strong>
:
<div
class=
"info"
><strong>
金额
</strong>
:
<img
v-if=
"data.creditType === 1"
class=
"red-coin"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/header/gold-coin.png"
alt=
""
>
<img
v-if=
"data.creditType === 1"
class=
"red-coin"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/header/gold-coin.png"
alt=
""
>
<img
v-if=
"data.creditType === 2"
class=
"red-coin"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/header/red-coin.png"
alt=
""
>
<img
v-if=
"data.creditType === 2"
class=
"red-coin"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/header/red-coin.png"
alt=
""
>
{{
data
.
amount
|
filterToFen
}}
{{
data
.
amount
|
filterToFen
}}
...
@@ -18,22 +18,22 @@
...
@@ -18,22 +18,22 @@
<div
style=
"margin-top: 30px;"
>
<div
style=
"margin-top: 30px;"
>
<template
v-if=
"selfWin"
>
<template
v-if=
"selfWin"
>
<div
class=
"p"
>
<div
class=
"p"
>
$
{{
data
.
amount
|
filterToFen
}}
credits has been added to your account
.
$
{{
data
.
amount
|
filterToFen
}}
已进账
.
</div>
</div>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<div
class=
"p"
>
<div
class=
"p"
>
Another
{{
data
.
levelName
}}
Jackpot has just been WON! Congratulations to Player
{{
data
.
nickName
}}
for winning $
{{
data
.
amount
|
filterToFen
}}
credits!!
另一个
{{
data
.
levelName
}}
Jackpot 刚被赢取! 恭喜玩家
{{
data
.
nickName
}}
赢得 $
{{
data
.
amount
|
filterToFen
}}
Jackpot
</div>
</div>
</
template
>
</
template
>
<div
class=
"p"
>
<div
class=
"p"
>
{{ data.levelName }}
Jackpot has been reset
.
{{ data.levelName }}
神秘大奖已重新启动
.
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"footer-tip"
>
<div
class=
"footer-tip"
>
<div>
Location No
: {{ data.egmId }} - {{ data.egmName }}
</div>
<div>
机器
: {{ data.egmId }} - {{ data.egmName }}
</div>
<div>
Time
: {{ data.winTime | filterTime }}
</div>
<div>
时间
: {{ data.winTime | filterTime }}
</div>
</div>
</div>
</div>
</div>
</Dialog>
</Dialog>
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
},
},
title
()
{
title
()
{
const
{
data
,
selfWin
}
=
this
const
{
data
,
selfWin
}
=
this
const
title
=
selfWin
?
'
You are the Jackpot Winner!'
:
'A Jackpot Is Won
!'
const
title
=
selfWin
?
'
恭喜你彩金赢家!'
:
'新的彩金赢家已诞生
!'
return
title
return
title
},
},
},
},
...
...
layouts/default.vue
View file @
2c30bd35
...
@@ -128,7 +128,6 @@ export default {
...
@@ -128,7 +128,6 @@ export default {
this
.
left
=
left
this
.
left
=
left
console
.
log
(
'this.top'
,
this
.
top
)
console
.
log
(
'this.top'
,
this
.
top
)
}
else
{
}
else
{
console
.
log
(
'test2'
)
zoom
=
window
.
innerHeight
/
1080
zoom
=
window
.
innerHeight
/
1080
this
.
SetZoom
(
zoom
)
this
.
SetZoom
(
zoom
)
this
.
zoom
=
zoom
this
.
zoom
=
zoom
...
...
pages/index.vue
View file @
2c30bd35
...
@@ -59,6 +59,7 @@ export default {
...
@@ -59,6 +59,7 @@ export default {
}
}
},
},
userInfo
()
{
userInfo
()
{
console
.
log
(
'userInfo'
,
this
.
userInfo
)
if
(
!
this
.
imLoginStatus
)
{
if
(
!
this
.
imLoginStatus
)
{
this
.
init
().
im
()
this
.
init
().
im
()
}
}
...
@@ -201,7 +202,7 @@ export default {
...
@@ -201,7 +202,7 @@ export default {
newMessageCome
:
(
msg
)
=>
{
newMessageCome
:
(
msg
)
=>
{
const
content
=
JSON
.
parse
(
msg
.
content
)
const
content
=
JSON
.
parse
(
msg
.
content
)
const
{
eventCode
,
data
:
message
,
}
=
content
const
{
eventCode
,
data
:
message
,
}
=
content
console
.
log
(
'newMessageCome'
,
content
)
console
.
log
(
'newMessageCome'
,
new
Date
().
toDateString
(),
content
)
switch
(
eventCode
)
{
switch
(
eventCode
)
{
case
10012
:
case
10012
:
this
.
jackpotData
=
JSON
.
parse
(
message
)
this
.
jackpotData
=
JSON
.
parse
(
message
)
...
...
pages/index/game/components/keyboard.vue
View file @
2c30bd35
...
@@ -440,7 +440,7 @@ export default {
...
@@ -440,7 +440,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.block
{
.block
{
position
:
fixed
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
width
:
100%
;
width
:
100%
;
z-index
:
99999
;
z-index
:
99999
;
...
...
store/index.js
View file @
2c30bd35
...
@@ -228,6 +228,10 @@ export const actions = {
...
@@ -228,6 +228,10 @@ export const actions = {
[
GET_BASE_INFO
]({
commit
})
{
[
GET_BASE_INFO
]({
commit
})
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$request
.
get
(
'/api/player/user/getInfo'
).
then
(({
data
})
=>
{
this
.
$request
.
get
(
'/api/player/user/getInfo'
).
then
(({
data
})
=>
{
if
(
data
===
null
)
{
commit
(
'Logout'
)
// 同时进行缓存
return
}
commit
(
'set_user_info'
,
data
)
// 同时进行缓存
commit
(
'set_user_info'
,
data
)
// 同时进行缓存
resolve
({
data
})
resolve
({
data
})
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
...
...
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