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
59a3238f
Commit
59a3238f
authored
Jun 20, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 第四套模板
parent
b3a4b2f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
12 deletions
+88
-12
gameTemplate.vue
src/views/game/cmh/gameTemplate.vue
+88
-12
No files found.
src/views/game/cmh/gameTemplate.vue
View file @
59a3238f
...
...
@@ -42,7 +42,7 @@
<
script
>
import
img
from
'../../../components/upload/img.vue'
;
const
box6
=
[
const
template3Box
=
[
{
left
:
'24%'
,
top
:
'202px'
...
...
@@ -68,8 +68,8 @@ const box6 = [
top
:
'338px'
}
];
const
box9
=
[
const
leftVal
=
0
;
const
template1Box
=
[
{
left
:
'calc(51% - 0px)'
,
top
:
'204px'
...
...
@@ -107,12 +107,92 @@ const box9 = [
top
:
'390px'
}
];
const
template2Box
=
[
{
left
:
'calc(24.5% -0)'
,
top
:
'202px'
},
{
left
:
'calc(50% -0)'
,
top
:
'202px'
},
{
left
:
'calc(75.5% -0)'
,
top
:
'202px'
},
{
left
:
'calc(24.5% -0)'
,
top
:
'287px'
},
{
left
:
'calc(50% -0)'
,
top
:
'287px'
},
{
left
:
'calc(75.5% -0)'
,
top
:
'287px'
},
{
left
:
'calc(24.5% -0)'
,
top
:
'379px'
},
{
left
:
'calc(50% -0)'
,
top
:
'379px'
},
{
left
:
'calc(75.5% -0)'
,
top
:
'379px'
}
];
const
template4Box
=
[
{
left
:
`calc(24.4% -
${
leftVal
}
px)`
,
top
:
'153px'
},
{
left
:
`calc(50% -
${
leftVal
}
px)`
,
top
:
'153px'
},
{
left
:
`calc(76.6% -
${
leftVal
}
px)`
,
top
:
'153px'
},
{
left
:
`calc(24.4% -
${
leftVal
}
px)`
,
top
:
'261px'
},
{
left
:
`calc(50% -
${
leftVal
}
px)`
,
top
:
'261px'
},
{
left
:
`calc(76.6% -
${
leftVal
}
px)`
,
top
:
'261px'
},
{
left
:
`calc(24.4% -
${
leftVal
}
px)`
,
top
:
'370px'
},
{
left
:
`calc(50% -
${
leftVal
}
px)`
,
top
:
'370px'
},
{
left
:
`calc(76.6% -
${
leftVal
}
px)`
,
top
:
'370px'
}
];
export
default
{
components
:
{
img
},
data
()
{
return
{
list
:
[
'刷卡拉拉卡'
,
'阿拉卡萨卢克和史莱克'
,
'刷卡拉拉卡'
,
'阿拉卡萨卢克和史莱克'
],
boxList
:
box9
,
template1Box
,
boxList
:
[],
template2Box
,
template3Box
,
template4Box
,
backImageUrl
:
''
,
noticeImageUrl
:
''
,
boxImg
:
''
,
...
...
@@ -136,12 +216,8 @@ export default {
},
watch
:
{
templateId
(
val
)
{
if
(
val
==
1
||
val
==
2
)
{
this
.
boxList
=
box9
;
}
if
(
val
==
3
)
{
this
.
boxList
=
box6
;
}
if
(
!
val
)
return
;
this
.
boxList
=
this
[
'template'
+
val
+
'Box'
];
},
basicData
:
{
deep
:
true
,
...
...
@@ -281,8 +357,8 @@ img {
.box-box
img
{
position
:
absolute
;
transform
:
translate
(
-50%
,
0
);
width
:
9
5
px
;
height
:
9
5
px
;
width
:
9
0
px
;
height
:
9
0
px
;
animation-timing-function
:
ease-in
;
/* animation-name: box-animation; */
animation-duration
:
1s
;
...
...
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