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
20f946b2
Commit
20f946b2
authored
Jun 21, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
59a3238f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
form.vue
src/views/game/cmh/form.vue
+3
-0
gameTemplate.vue
src/views/game/cmh/gameTemplate.vue
+6
-1
No files found.
src/views/game/cmh/form.vue
View file @
20f946b2
...
...
@@ -105,6 +105,9 @@ export default {
},
computed
:
{
computedImg
()
{
if
(
!
[
1
,
2
,
3
,
4
].
includes
(
this
.
templateId
))
{
return
''
;
}
const
bcImg
=
{
1
:
require
(
`@/assets/img/template
${
this
.
templateId
}
/mould_rule_page.png`
),
2
:
require
(
`@/assets/img/template
${
this
.
templateId
}
/mould_prize_page.png`
),
...
...
src/views/game/cmh/gameTemplate.vue
View file @
20f946b2
...
...
@@ -217,7 +217,12 @@ export default {
watch
:
{
templateId
(
val
)
{
if
(
!
val
)
return
;
this
.
boxList
=
this
[
'template'
+
val
+
'Box'
];
if
([
1
,
2
,
3
,
4
].
includes
(
val
))
{
this
.
boxList
=
this
[
'template'
+
val
+
'Box'
];
}
else
{
this
.
boxList
=
this
.
template1Box
;
}
console
.
log
(
'template'
+
val
+
'Box'
);
},
basicData
:
{
deep
:
true
,
...
...
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