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
11bc063b
authored
2021-01-29 11:39:28 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:线上预约
1 parent
53b8fddd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
staticCss/yysj.css
staticJs/common.js
staticJs/header.js
staticJs/pageHome.js
staticCss/yysj.css
View file @
11bc063
...
...
@@ -57,6 +57,7 @@
}
.swiper-wrapper
{
box-sizing
:
border-box
;
background
:
#F7F9FB
;
}
.swiper-slide
li
:nth-child
(
1
)
{
margin-top
:
23px
;
...
...
staticJs/common.js
View file @
11bc063
...
...
@@ -9,7 +9,6 @@ function removeTabs(id) {
}
//设置ajax调取服务接口
function
SetServicesPath
()
{
return
"http://192.168.2.108"
}
...
...
staticJs/header.js
View file @
11bc063
...
...
@@ -3,7 +3,11 @@ $(function () {
if
(
getItem
(
'myCookie'
)
&&
getItem
(
'myCookie'
).
userid
)
{
fetchNewsData
(
getItem
(
'myCookie'
).
userid
,
5
);
}
$
(
'.head-time'
).
html
(
getDateWeek
())
$
(
'.head-time'
).
html
(
getDateWeek
());
// 设置导航首页跳转地址
if
(
$
(
".navigation_crumbs"
).
length
>
0
&&
getItem
(
'indexUrl'
))
{
$
(
'.layui-breadcrumb a'
).
attr
(
'href'
,
getItem
(
'indexUrl'
))
}
})
function
newsCenterData
()
{
$
(
document
).
on
(
"mouseover"
,
".sysNewsList .newsDetail"
,
function
(
e
)
{
...
...
staticJs/pageHome.js
View file @
11bc063
...
...
@@ -2,6 +2,13 @@
layui
.
use
(
'element'
,
function
()
{
var
element
=
layui
.
element
;
});
layui
.
use
(
'util'
,
function
()
{
var
util
=
layui
.
util
;
//执行
util
.
fixbar
({
top
:
true
});
});
var
recentlyDay
;
function
getDate
()
{
var
date
=
new
Date
();
...
...
@@ -34,6 +41,8 @@ $(function () {
policiesData
();
});
function
initData
()
{
// 获取当前页面的url
setItem
(
'indexUrl'
,
window
.
location
.
pathname
)
// 新闻模块
if
(
$
(
'.hotspot-list li'
).
eq
(
0
).
attr
(
'url'
))
{
$
(
'.news-img'
).
attr
(
'src'
,
$
(
'.hotspot-list li'
).
eq
(
0
).
attr
(
'url'
));
...
...
Please
register
or
sign in
to post a comment