Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
2381606f
Commit
2381606f
authored
Sep 01, 2021
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
3f85eebb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
ContentItem.scss
src/component/Content/ContentItem.scss
+5
-2
index.jsx
src/page/index/index.jsx
+5
-3
index.scss
src/page/index/index.scss
+9
-1
No files found.
src/component/Content/ContentItem.scss
View file @
2381606f
...
@@ -57,10 +57,13 @@
...
@@ -57,10 +57,13 @@
.defaultIcon
{
.defaultIcon
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
font-size
:
3
0px
;
font-size
:
4
0px
;
font-weight
:
bold
;
font-weight
:
bold
;
line-height
:
65px
;
line-height
:
65px
;
text-align
:
center
;
text-align
:
center
;
background
:
linear-gradient
(
21deg
,
#00b881
1%
,
#26d6ca
);
color
:
#fffafa
;
border-radius
:
10px
;
}
}
img
{
img
{
...
@@ -89,7 +92,7 @@
...
@@ -89,7 +92,7 @@
// border-top: 2px solid #344857;
// border-top: 2px solid #344857;
border-top
:
1px
solid
#ddd
;
border-top
:
1px
solid
#ddd
;
padding-top
:
3px
;
padding-top
:
3px
;
margin-top
:
3
px
;
margin-top
:
7
px
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
/* 将对象作为弹性伸缩盒子模型显示 */
display
:
-
webkit-box
;
/* 将对象作为弹性伸缩盒子模型显示 */
...
...
src/page/index/index.jsx
View file @
2381606f
...
@@ -19,14 +19,14 @@ function Index() {
...
@@ -19,14 +19,14 @@ function Index() {
<
div
className=
"welcome-top"
>
<
div
className=
"welcome-top"
>
<
span
>
欢迎您!
<
span
>
欢迎您!
<
span
className=
"welcome-uname"
>
王天宇
</
span
>
<
span
className=
"welcome-uname"
>
王天宇
</
span
>
<
a
>
退出登录
</
a
>
<
a
className=
"login-btn"
>
退出登录
</
a
>
</
span
>
</
span
>
</
div
>
</
div
>
<
div
className=
"nav"
>
<
div
className=
"nav"
>
<
div
className=
"nav-title"
>
<
div
className=
"nav-title"
>
<
img
src=
{
logo
}
alt=
""
/>
<
img
src=
{
logo
}
alt=
""
/>
</
div
>
</
div
>
<
div
className=
"nav-weather"
><
iframe
width=
"
50
0"
height=
"40"
frameborder=
"0"
scrolling=
"no"
hspace=
"0"
src=
"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"
></
iframe
></
div
>
<
div
className=
"nav-weather"
><
iframe
width=
"
36
0"
height=
"40"
frameborder=
"0"
scrolling=
"no"
hspace=
"0"
src=
"https://i.tianqi.com/?c=code&a=getcode&id=40&icon=1"
></
iframe
></
div
>
</
div
>
</
div
>
<
div
className=
"tool-nav"
>
<
div
className=
"tool-nav"
>
<
ToolType
/>
<
ToolType
/>
...
@@ -38,7 +38,9 @@ function Index() {
...
@@ -38,7 +38,9 @@ function Index() {
pop
pop
}
}
<
div
className=
"index-footer"
>
<
div
className=
"index-footer"
>
杭州兑吧网络科技游戏公司版权所有
兑吧研发中心·杭州兑吧网络科技游戏公司版权所有
<
br
/>
浙ICP备14017299号-1
</
div
>
</
div
>
</
div
>
</
div
>
</
PopContext
.
Provider
>
</
PopContext
.
Provider
>
...
...
src/page/index/index.scss
View file @
2381606f
...
@@ -13,14 +13,22 @@ body {
...
@@ -13,14 +13,22 @@ body {
background-color
:
#444
;
background-color
:
#444
;
color
:
#fff
;
color
:
#fff
;
text-align
:
right
;
text-align
:
right
;
padding
:
4px
10px
;
padding
:
7px
10px
;
font-size
:
13px
;
.welcome-uname
{
.welcome-uname
{
padding
:
0px
4px
;
padding
:
0px
4px
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.login-btn
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
}
}
.index-footer
{
.index-footer
{
text-align
:
center
;
text-align
:
center
;
color
:
#b3b3b3
;
line-height
:
26px
;
margin-top
:
12px
;
}
}
.nav-weather
{
.nav-weather
{
float
:
right
;
float
:
right
;
...
...
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