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
3cf5e71e
Commit
3cf5e71e
authored
Sep 18, 2023
by
毛线
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo显示处理
parent
6225069e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
goToGame.vue
pages/goToGame.vue
+2
-0
index.vue
pages/loading/index.vue
+7
-4
index.js
store/index.js
+4
-0
No files found.
pages/goToGame.vue
View file @
3cf5e71e
...
...
@@ -10,6 +10,7 @@ export default {
return
{}
},
created
()
{
this
.
SetShowSlot
(
false
)
// https://app-dev.eslotsys.com/goToGame?ticket=a079fbdf3ac4463f9dd67632d990c940
removeToken
()
const
{
ticket
}
=
this
.
$route
.
query
...
...
@@ -20,6 +21,7 @@ export default {
methods
:
{
...
mapMutations
([
'SetImToken'
,
'SetShowSlot'
,
]),
network
()
{
return
{
...
...
pages/loading/index.vue
View file @
3cf5e71e
<
template
>
<div
class=
"page"
>
<div
v-if=
"!showLoading"
class=
"first-screen"
>
<div
v-if=
"!showLoading
&& !showSlot
"
class=
"first-screen"
>
<div
class=
"logo text"
>
loading...
</div>
</div>
<
!--
<div
v-if=
"!showLoading
"
class=
"first-screen"
>
<
div
v-if=
"!showLoading && showSlot
"
class=
"first-screen"
>
<img
:src=
"logo"
alt=
""
class=
"logo"
>
</div>
-->
</div>
<div
v-if=
"showLoading"
class=
"loading"
@
click=
"toGame"
>
<div
class=
"bg"
/>
<div
class=
"progress-block"
>
...
...
@@ -24,7 +24,7 @@
import
{
getToken
,
setToken
}
from
'@/utils/auth'
// 验权
import
_images
from
'./data/images.json'
import
_audio
from
'./data/audio.json'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
,
}
from
'vuex'
export
default
{
data
()
{
const
imagesSrcList
=
_images
...
...
@@ -47,6 +47,9 @@ export default {
}
},
computed
:
{
...
mapState
([
'showSlot'
,
]),
// 总共完成加载数量
completeDownload
()
{
const
{
downloadImage
,
downloadAudio
}
=
this
...
...
store/index.js
View file @
3cf5e71e
...
...
@@ -53,6 +53,7 @@ export const state = () => ({
bucket
:
''
,
},
// 阿里云配置
jackpot
:
[],
// jackpot信息
showSlot
:
false
,
// 是否显示品牌logo等内容
})
export
const
getters
=
{
...
...
@@ -200,6 +201,9 @@ export const mutations = {
SetJackpot
(
state
,
data
)
{
state
.
jackpot
=
data
},
SetShowSlot
(
state
,
data
)
{
state
.
showSlot
=
data
},
}
export
const
actions
=
{
...
...
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