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
8ab5fa6d
authored
2020-11-20 17:08:18 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式
1 parent
2d1e6de7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
10 deletions
index.html
staticCss/global.css
staticJs/staticIndex.js
index.html
View file @
8ab5fa6
...
...
@@ -65,55 +65,67 @@
<ul
id=
'ulNews'
>
<li>
<a
href=
""
title=
"创新技术体系 引领事业发展"
>
创新技术体系 引领事业发展
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzuixin"
></use>
</svg>
<p>
创新技术体系 引领事业发展引领事业发展引领事业发展引领事业发展
</p>
<span>
2020-06-19
</span>
</a>
</li>
<li>
<a
href=
""
title=
"创新技术体系 引领事业发展"
>
创新技术体系 引领事业发展
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzuixin"
></use>
</svg>
<p>
创新技术体系 引领事业发展
</p>
<span>
2020-06-19
</span>
</a>
</li>
<li>
<a
href=
""
title=
"创新技术体系 引领事业发展"
>
创新技术体系 引领事业发展
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzuixin"
></use>
</svg>
<p>
创新技术体系 引领事业发展
</p>
<span>
2020-06-19
</span>
</a>
</li>
<li>
<a
href=
""
title=
"创新技术体系 引领事业发展"
>
创新技术体系 引领事业发展
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzuixin"
></use>
</svg>
<p>
创新技术体系 引领事业发展
</p>
<span>
2020-06-19
</span>
</a>
</li>
<li>
<a
href=
""
title=
"创新技术体系 引领事业发展"
>
创新技术体系 引领事业发展
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzuixin"
></use>
</svg>
<p>
创新技术体系 引领事业发展
</p>
<span>
2020-06-19
</span>
</a>
</li>
<li>
<a
href=
""
title=
"创新技术体系 引领事业发展"
>
创新技术体系 引领事业发展
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#iconzuixin"
></use>
</svg>
<p>
创新技术体系 引领事业发展
</p>
<span>
2020-06-19
</span>
</a>
</li>
...
...
staticCss/global.css
View file @
8ab5fa6
...
...
@@ -390,9 +390,23 @@ div.c_one ul li a {
display
:
block
;
text-align
:
left
;
}
div
.c_one
ul
li
a
.icon
{
float
:
left
;
height
:
25px
;
width
:
11%
;
margin-top
:
8.5px
;
margin-right
:
7px
;
}
div
.c_one
ul
li
a
:hover
{
color
:
#0091FF
;
}
div
.c_one
ul
li
a
p
{
display
:
inline-block
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
60%
;
}
div
.c_one
ul
li
a
span
{
float
:
right
;
...
...
staticJs/staticIndex.js
View file @
8ab5fa6
...
...
@@ -22,7 +22,6 @@ layui.use('util', function () {
bar2
:
true
,
top
:
true
,
click
:
function
(
type
)
{
console
.
log
(
type
);
if
(
type
===
'bar1'
)
{
alert
(
'点击了bar1'
)
}
...
...
@@ -32,13 +31,11 @@ layui.use('util', function () {
//初始化方法
$
(
function
()
{
NewsData
();
// NewsData();
addTabs
(
'#index'
)
});
function
NewsData
()
{
//$.ajax()
var
ulNews
=
$
(
"#ulNews"
);
ulNews
.
empty
();
var
str
=
''
;
...
...
Please
register
or
sign in
to post a comment