Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-school-app
Project
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
姜雷
wx-school-app
Commits
b594b769
Commit
b594b769
authored
Mar 06, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改公告标题样式
parent
e6c34a86
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
Announcement.scss
src/pages/Announcement/Announcement.scss
+5
-0
Home.scss
src/pages/Home/Home.scss
+8
-0
Home.tsx
src/pages/Home/Home.tsx
+3
-1
No files found.
src/pages/Announcement/Announcement.scss
View file @
b594b769
...
...
@@ -26,8 +26,13 @@
margin-right
:
16px
;
}
.Announcement-item-title
{
height
:
40px
;
line-height
:
40px
;
flex
:
1
;
font-size
:
32px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.Announcement-item-date
{
margin-top
:
10px
;
...
...
src/pages/Home/Home.scss
View file @
b594b769
...
...
@@ -175,6 +175,14 @@
font-size
:
32px
;
color
:
#fff
;
font-weight
:
bold
;
.Home-Announcement-Content-title
{
height
:
40px
;
line-height
:
40px
;
flex
:
1
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.ContentDate
{
font-size
:
24px
;
font-weight
:
normal
;
...
...
src/pages/Home/Home.tsx
View file @
b594b769
...
...
@@ -261,7 +261,9 @@ class Home extends Component {
onClick=
{
()
=>
this
.
geAnnDetail
(
annItem
.
items
[
0
].
id
,
annItem
.
items
[
0
].
title
)
}
>
<
Text
>
{
annItem
.
items
[
0
].
title
}
</
Text
>
<
Text
className=
'Home-Announcement-Content-title'
>
{
annItem
.
items
[
0
].
title
}
</
Text
>
<
Text
className=
'ContentDate'
>
{
annItem
.
items
[
0
].
updateTime
}
</
Text
>
...
...
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