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
85c6b50f
Commit
85c6b50f
authored
Aug 23, 2022
by
黄冷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 中秋皮肤
parent
85b96af3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
1 deletions
+41
-1
gameTemplate.vue
src/views/game/cmh/gameTemplate.vue
+41
-1
No files found.
src/views/game/cmh/gameTemplate.vue
View file @
85c6b50f
...
...
@@ -82,6 +82,44 @@ const template3Box = [
width
:
'120px'
}
];
const
template7Box
=
[
{
left
:
'24%'
,
top
:
'192px'
,
height
:
'100px'
,
width
:
'100px'
},
{
left
:
'50%'
,
top
:
'243px'
,
height
:
'100px'
,
width
:
'100px'
},
{
left
:
'77%'
,
top
:
'192px'
,
height
:
'100px'
,
width
:
'100px'
},
{
left
:
'24%'
,
top
:
'330px'
,
height
:
'100px'
,
width
:
'100px'
},
{
left
:
'50%'
,
top
:
'376px'
,
height
:
'100px'
,
width
:
'100px'
},
{
left
:
'77%'
,
top
:
'330px'
,
height
:
'100px'
,
width
:
'100px'
}
];
// const leftVal = 0;
const
template1Box
=
[
{
...
...
@@ -260,6 +298,7 @@ export default {
template2Box
,
template3Box
,
template5Box
,
template7Box
,
backImageUrl
:
''
,
noticeImageUrl
:
''
,
boxImg
:
''
,
...
...
@@ -302,11 +341,12 @@ export default {
watch
:
{
templateId
(
val
)
{
if
(
!
val
)
return
;
if
([
'1'
,
'2'
,
'3'
,
'5'
].
includes
(
val
))
{
if
([
'1'
,
'2'
,
'3'
,
'5'
,
'7'
].
includes
(
val
))
{
this
.
boxList
=
this
[
'template'
+
val
+
'Box'
];
}
else
{
this
.
boxList
=
this
.
template1Box
;
}
console
.
log
(
this
.
boxList
);
console
.
log
(
'template'
+
val
+
'Box'
);
},
...
...
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