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
38ff818c
Commit
38ff818c
authored
May 30, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
014c6795
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
base-config.vue
src/views/game/cmh/base-config.vue
+3
-3
form.vue
src/views/game/cmh/form.vue
+5
-1
No files found.
src/views/game/cmh/base-config.vue
View file @
38ff818c
...
@@ -213,19 +213,19 @@ export default {
...
@@ -213,19 +213,19 @@ export default {
}
}
},
},
echoData
(
val
)
{
echoData
(
val
)
{
console
.
log
(
val
);
let
{
gameExt
}
=
val
;
let
{
gameExt
}
=
val
;
this
.
baseForm
=
Object
.
assign
(
this
.
baseForm
,
val
);
this
.
baseForm
=
Object
.
assign
(
this
.
baseForm
,
val
);
if
(
this
.
baseForm
.
adsFlag
)
{
if
(
this
.
baseForm
.
adsFlag
)
{
this
.
adsImageUrl
=
{
imgUrl
:
gameExt
.
adsImageUrl
.
materialValue
,
code
:
gameExt
.
adsImageUrl
.
materialValue
};
this
.
adsImageUrl
=
{
imgUrl
:
gameExt
.
adsImageUrl
&&
gameExt
.
adsImageUrl
.
materialValue
,
code
:
gameExt
.
adsImageUrl
&&
gameExt
.
adsImageUrl
.
materialValue
};
}
}
const
currentTemp
=
this
.
templateData
.
filter
(
item
=>
item
.
templateId
==
this
.
baseForm
.
templateId
)[
0
];
const
currentTemp
=
this
.
templateData
.
filter
(
item
=>
item
.
templateId
==
this
.
baseForm
.
templateId
)[
0
];
let
obj
=
{};
let
obj
=
{};
let
arr
=
[
'backMusicUrl'
,
'shareCard'
,
'shareReport'
];
currentTemp
.
gameTemplateMaterialList
.
forEach
(
item
=>
{
currentTemp
.
gameTemplateMaterialList
.
forEach
(
item
=>
{
if
(
item
.
materialKey
==
'backMusicUrl'
)
{
if
(
item
.
materialKey
==
'backMusicUrl'
)
{
this
.
backMusicOptions
.
push
(
item
);
this
.
backMusicOptions
.
push
(
item
);
}
}
if
(
item
.
materialKey
!=
'backMusicUrl'
&&
item
.
materialValue
)
{
if
(
!
arr
.
includes
(
item
.
materialKey
)
&&
item
.
materialValue
)
{
obj
[
item
.
materialKey
]
=
item
;
obj
[
item
.
materialKey
]
=
item
;
}
}
});
});
...
...
src/views/game/cmh/form.vue
View file @
38ff818c
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
shareReportSize1
,
shareReportSize1
,
shareReportSize0
shareReportSize0
};
};
console
.
log
(
shareCard
);
this
.
gameTime
=
gameTime
;
this
.
gameTime
=
gameTime
;
},
},
handleRuleConfigChange
(
data
)
{
handleRuleConfigChange
(
data
)
{
...
@@ -300,6 +300,10 @@ export default {
...
@@ -300,6 +300,10 @@ export default {
}
}
}
}
gameRuleConditionList
.
forEach
(
item
=>
{
gameRuleConditionList
.
forEach
(
item
=>
{
if
(
item
.
conditionType
==
1
)
{
gameExt
.
shareCard
.
materialValue
=
item
.
conditionJson
.
shareCard
;
gameExt
.
shareReport
.
materialValue
=
item
.
conditionJson
.
shareReport
;
}
item
.
conditionJson
=
JSON
.
stringify
(
item
.
conditionJson
);
item
.
conditionJson
=
JSON
.
stringify
(
item
.
conditionJson
);
});
});
if
(
this
.
isCopy
)
{
if
(
this
.
isCopy
)
{
...
...
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