Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tabulator-another-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
tabulator-another-web
Commits
ac58828e
Commit
ac58828e
authored
Jun 03, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改为绝对定位
parent
f694b8c4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
10 deletions
+19
-10
src/pages/main.vue
src/pages/main.vue
+2
-1
src/style/page.scss
src/style/page.scss
+17
-9
No files found.
src/pages/main.vue
View file @
ac58828e
<
template
>
<
template
>
<view
id =
'page'
>
<view
id =
'page'
>
<view
id =
'
head'
class =
'click
'
>
<view
id =
'
really'
class =
'click head
'
>
<view>
<view>
<button
class =
'button'
@
click =
'page.show.drawer()'
>
<button
class =
'button'
@
click =
'page.show.drawer()'
>
<uni-icons
:type =
"page.menu ? page.drawer ? 'left' : 'search' : page.drawer ? 'left' : 'info'"
></uni-icons>
<uni-icons
:type =
"page.menu ? page.drawer ? 'left' : 'search' : page.drawer ? 'left' : 'info'"
></uni-icons>
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
</uni-list-chat>
</uni-list-chat>
</uni-list>
</uni-list>
</view>
</view>
<view
class =
'click head'
><uni-list><uni-list-chat></uni-list-chat></uni-list></view>
<Pics></Pics>
<Pics></Pics>
<transition
name =
'move_right'
>
<transition
name =
'move_right'
>
<uni-card
<uni-card
...
...
src/style/page.scss
View file @
ac58828e
#page
{
#page
{
#head
{
.head
{
box-shadow
:
2px
2px
10px
rgba
(
0
,
0
,
0
,
0
.2
);
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
5
,
1fr
);
grid-template-columns
:
repeat
(
5
,
1fr
);
grid-template-rows
:
1fr
;
grid-template-rows
:
1fr
;
align-items
:
center
;
align-items
:
center
;
position
:
relative
;
:deep
(
.uni-list
)
{
:deep
(
.uni-list
)
{
:hover
{
:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -15,6 +13,13 @@
...
@@ -15,6 +13,13 @@
width
:
30%
;
width
:
30%
;
}
}
}
}
#really
{
box-shadow
:
2px
2px
10px
rgba
(
0
,
0
,
0
,
0
.2
);
background-color
:
white
;
position
:
fixed
;
width
:
100%
;
z-index
:
1
;
}
#body
{
#body
{
width
:
var
(
--
size
);
width
:
var
(
--
size
);
margin
:
0
auto
;
margin
:
0
auto
;
...
@@ -27,9 +32,10 @@
...
@@ -27,9 +32,10 @@
}
}
}
}
:deep
(
#user
)
{
:deep
(
#user
)
{
position
:
absolute
;
position
:
fixed
;
top
:
70px
;
right
:
2%
;
right
:
2%
;
z-index
:
1
;
z-index
:
2
;
max-width
:
var
(
--
size
);
max-width
:
var
(
--
size
);
width
:
20%
;
width
:
20%
;
.user
{
.user
{
...
@@ -40,8 +46,9 @@
...
@@ -40,8 +46,9 @@
}
}
}
}
:deep
(
#drawer
)
{
:deep
(
#drawer
)
{
position
:
absolute
;
position
:
fixed
;
z-index
:
1
;
top
:
70px
;
z-index
:
2
;
width
:
var
(
--
size
);
width
:
var
(
--
size
);
height
:
80%
;
height
:
80%
;
overflow-y
:
auto
;
overflow-y
:
auto
;
...
@@ -83,8 +90,9 @@
...
@@ -83,8 +90,9 @@
}
}
.Pics
{
.Pics
{
position
:
absolute
;
position
:
fixed
;
z-index
:
1
;
top
:
70px
;
z-index
:
2
;
right
:
2%
;
right
:
2%
;
width
:
50%
;
width
:
50%
;
:deep
(
.uni-card
)
{
:deep
(
.uni-card
)
{
...
...
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