Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
game-h5
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
gic-web
game-h5
Commits
50839087
Commit
50839087
authored
Jul 20, 2022
by
曾经
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
位置兼容
parent
883e25e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
index.vue
src/components/cmh/theme-5/index.vue
+12
-11
No files found.
src/components/cmh/theme-5/index.vue
View file @
50839087
...
...
@@ -47,7 +47,7 @@
</swiper-slide>
</swiper>
<div
class=
"box-box"
>
<div
class=
"box-box"
:style=
"
{ height: 525 * screenWidth / 375 + 'px' }"
>
<img
:class=
"
{
active: clickIndex == index,
...
...
@@ -60,7 +60,7 @@
? game.gameExt.prizeStyleList[0].imageNoSelectUrl
: game.gameExt.prizeStyleList[index].imageNoSelectUrl
"
:style="{ left: item.left, top: item.top }"
:style="{ left: item.left, top: item.top
* screenWidth / 375 + 'px'
}"
@click="clickBox(index)"
/>
</div>
...
...
@@ -202,42 +202,43 @@ export default {
shareConditionObj
:
{},
alertOptions
:
{},
barrageList
:
[],
screenWidth
:
window
.
screen
.
width
,
boxList
:
[
{
left
:
"calc(26.4% - 42.5px)"
,
top
:
"199px"
,
top
:
199
,
},
{
left
:
"calc(50.4% - 42.5px)"
,
top
:
"199px"
,
top
:
199
,
},
{
left
:
"calc(74.1% - 42.5px)"
,
top
:
"199px"
,
top
:
199
,
},
{
left
:
"calc(26.4% - 42.5px)"
,
top
:
"299px"
,
top
:
299
,
},
{
left
:
"calc(50.4% - 42.5px)"
,
top
:
"299px"
,
top
:
299
,
},
{
left
:
"calc(74.1% - 42.5px)"
,
top
:
"299px"
,
top
:
299
,
},
{
left
:
"calc(26.4% - 42.5px)"
,
top
:
"404px"
,
top
:
404
,
},
{
left
:
"calc(50.4% - 42.5px)"
,
top
:
"404px"
,
top
:
404
,
},
{
left
:
"calc(74.1% - 42.5px)"
,
top
:
"404px"
,
top
:
404
,
},
],
swiperOptions
:
{
...
...
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