Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
marketing-web
marketing
Commits
9a08576a
Commit
9a08576a
authored
Jun 06, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 游戏音乐
parent
78af4138
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
base-config.vue
src/views/game/cmh/base-config.vue
+6
-0
form.vue
src/views/game/cmh/form.vue
+1
-4
info.vue
src/views/game/cmh/info.vue
+3
-0
No files found.
src/views/game/cmh/base-config.vue
View file @
9a08576a
...
...
@@ -436,6 +436,12 @@ export default {
});
});
}
},
destroyed
()
{
if
(
this
.
isPlay
)
{
this
.
isPlay
=
false
;
music
.
pause
();
}
}
};
</
script
>
...
...
src/views/game/cmh/form.vue
View file @
9a08576a
...
...
@@ -39,7 +39,7 @@
<ruleConfig
ref=
"ruleConfig"
:gameStatus=
"gameStatus"
:templateId=
"templateId"
:gameTime=
"gameTime"
:shareImgData=
"shareImgData"
:echoData=
"ruleForm"
v-show=
"active == 2"
@
nextStep=
"nextStep"
@
prevStep=
"step => active--"
@
submit=
"submitForm"
:btnLoading=
"btnLoading"
@
change=
"handleRuleConfigChange"
/>
</div>
</div>
<info
:data=
"echoData"
:invalidCard=
"invalidCard"
v-if=
"isInfo"
ref=
"info"
/>
<info
:data=
"echoData"
:invalidCard=
"invalidCard"
v-if=
"isInfo"
/>
</div>
<links
:show
.
sync=
"linkShow"
:obj=
"linksObj"
gameTypeName=
"幸运盲盒"
:isNew=
"true"
:showFooter=
"true"
:showClose=
"false"
>
<el-button
@
click=
"editRenew"
>
重新编辑
</el-button>
...
...
@@ -241,9 +241,6 @@ export default {
},
goBack
()
{
this
.
$router
.
go
(
-
1
);
if
(
this
.
isInfo
)
{
this
.
$refs
.
info
.
stopMusic
();
}
},
handleMenuSelect
(
index
)
{
this
.
menuActive
=
index
;
...
...
src/views/game/cmh/info.vue
View file @
9a08576a
...
...
@@ -298,6 +298,9 @@ export default {
music
.
src
=
this
.
form
.
gameExt
.
backMusicUrl
.
materialValue
;
this
.
isPlay
?
music
.
play
()
:
music
.
pause
();
}
}
,
destroyed
()
{
this
.
stopMusic
();
}
}
;
<
/script
>
...
...
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