Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
eslotsys-game-nuxt
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
毛线
eslotsys-game-nuxt
Commits
1c907ca7
Commit
1c907ca7
authored
Aug 09, 2023
by
毛线
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
9afa03dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
tab.vue
components/dialog/user-dialog/tab.vue
+1
-1
index.vue
pages/index/game/index.vue
+8
-8
No files found.
components/dialog/user-dialog/tab.vue
View file @
1c907ca7
...
...
@@ -5,7 +5,7 @@
<img
v-if=
"tabIndex === index"
class=
"tab-img"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png"
alt=
""
>
<img
v-else
class=
"tab-img"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png"
alt=
""
>
<div
class=
"text"
>
{{
text
}}
</div>
<div
v-if=
"index === 0"
class=
"version"
>
{{
`1.0.01
6
`
}}
</div>
<div
v-if=
"index === 0"
class=
"version"
>
{{
`1.0.01
7
`
}}
</div>
</div>
</div>
</div>
...
...
pages/index/game/index.vue
View file @
1c907ca7
...
...
@@ -124,21 +124,21 @@ export default {
playStyle
:
()
=>
{
const
{
is_mobile
,
hideHeader
}
=
this
const
imgWidth
=
560
// 图片原本宽度
const
pt
=
1
.6
const
px
=
1
.1
const
pb
=
0.84
const
pt
=
1
8
const
px
=
1
8
const
pb
=
12
const
width
=
this
.
$refs
?.
livePlay
?.
offsetWidth
||
0
let
spt
=
pt
let
spb
=
pb
let
spx
=
px
let
padding
=
'1
.6rem 1.1rem 0.84rem
'
let
padding
=
'1
6px 11px 8px
'
if
(
is_mobile
||
hideHeader
)
{
spt
=
pt
*
width
/
imgWidth
spb
=
pb
*
width
/
imgWidth
spx
=
px
*
width
/
imgWidth
}
padding
=
`
${
spt
}
rem
${
spx
}
rem
${
spb
}
rem
`
padding
=
`
${
spt
}
px
${
spx
}
px
${
spb
}
px
`
console
.
log
(
'padding'
,
padding
)
const
style
=
{
padding
,
...
...
@@ -301,8 +301,8 @@ export default {
&
.is_mobile
{
.live-play
{
width
:
6
6
0px
;
height
:
4
2
8px
;
width
:
6
2
0px
;
height
:
4
3
8px
;
}
.right-player
{
/* display: none; */
...
...
@@ -314,7 +314,7 @@ export default {
&
.hide-header
{
left
:
168px
;
.live-play
{
width
:
7
5
0px
;
width
:
7
0
0px
;
height
:
500px
;
}
.right-player
{
...
...
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