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
84358168
Commit
84358168
authored
Jul 26, 2023
by
毛线
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏头部bug
parent
c04b1146
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
index.vue
components/common/header/index.vue
+6
-1
index.vue
pages/index.vue
+1
-2
keyboard.vue
pages/index/game/components/keyboard.vue
+7
-1
No files found.
components/common/header/index.vue
View file @
84358168
<
template
>
<div
class=
"header"
>
<div
:class=
"
{ hide: hideHeader }"
class="header">
<div
class=
"left-block"
>
<img
class=
"left-block-bg1"
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/Pattern.png"
alt=
""
>
<img
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/logo.png"
alt=
""
class=
"logo"
>
...
...
@@ -93,6 +93,7 @@ export default {
...
mapState
([
'userInfo'
,
'device'
,
'hideHeader'
,
]),
},
created
()
{
...
...
@@ -179,6 +180,10 @@ export default {
height
:
80px
;
position
:
relative
;
z-index
:
100
;
&
.hide
{
height
:
0px
;
overflow
:
hidden
;
}
}
.left-block
{
position
:
absolute
;
...
...
pages/index.vue
View file @
84358168
<
template
>
<div
class=
"main-layout"
>
<Header
v-if=
"!hideHeader"
/>
<Header/>
<div
class=
"main-content"
>
<nuxt-child
/>
...
...
@@ -35,7 +35,6 @@ export default {
'relist'
,
'userInfo'
,
'imToken'
,
'hideHeader'
,
]),
},
watch
:
{
...
...
pages/index/game/components/keyboard.vue
View file @
84358168
<
template
>
<div>
<div
class=
"block"
>
<div
v-if=
"!is_mobile"
class=
"option-block"
>
<div
class=
"left-option"
>
<img
v-audio
src=
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/mobileKeyboard/creditIn.png"
alt=
""
class=
"credit-in btn"
@
click=
"creditInShow = true"
>
...
...
@@ -432,6 +432,11 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.block
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
}
.option-block
{
position
:
absolute
;
bottom
:
0
;
...
...
@@ -708,6 +713,7 @@ export default {
bottom
:
0
;
left
:
0
;
right
:
0
;
z-index
:
100
;
>
.bg
{
position
:
absolute
;
bottom
:
0
;
...
...
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