Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7b17b25e
authored
2021-02-03 11:31:06 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:首页
1 parent
2a761230
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
staticCss/pageHome.css
staticJs/pageHome.js
staticCss/pageHome.css
View file @
7b17b25
...
...
@@ -300,11 +300,18 @@ div.c_five ul li a img {
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
width
:
373
px
;
width
:
430
px
;
text-align
:
left
;
position
:
relative
;
padding-left
:
10px
;
}
.item-list
li
img
{
width
:
30px
;
height
:
18px
;
float
:
right
;
position
:
relative
;
top
:
13px
;
}
.item-list
li
.newest
{
width
:
325px
;
}
...
...
@@ -623,6 +630,13 @@ div.c_five ul li a img {
padding-left
:
10px
;
line-height
:
45px
;
}
.public-announcement
ul
:nth-of-type
(
2
)
li
span
{
font-size
:
16px
;
color
:
#9B9B9B
;
float
:
right
;
position
:
relative
;
top
:
15px
;
}
.public-announcement
ul
:nth-of-type
(
2
)
li
a
:hover
{
color
:
#0091FF
;
}
...
...
staticJs/pageHome.js
View file @
7b17b25
...
...
@@ -49,7 +49,7 @@ function initData() {
}
else
{
$
(
'.news-img'
).
attr
(
'src'
,
'/staticImages/default-news.png'
);
}
$
(
document
).
on
(
"mouseover"
,
".news-module-box .
item
-list li"
,
function
(
e
)
{
$
(
document
).
on
(
"mouseover"
,
".news-module-box .
.hotspot
-list li"
,
function
(
e
)
{
if
(
$
(
this
).
attr
(
'url'
))
{
$
(
'.news-img'
).
attr
(
'src'
,
$
(
this
).
attr
(
'url'
));
}
else
{
...
...
Please
register
or
sign in
to post a comment