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
3ee806de
authored
2020-11-03 17:06:16 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:首页的修改
1 parent
ee93f7e9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
122 additions
and
324 deletions
staticCss/common.css
staticCss/global.css
staticIndex.html
staticJs/staticIndex.js
staticCss/common.css
View file @
3ee806d
...
...
@@ -48,7 +48,9 @@ div a {
div
.subject
h2
a
:hover
{
color
:
#f46143
;
}
.layui-nav-item
a
{
font-size
:
16px
;
}
div
.subject
{
margin
:
0
auto
;
float
:
none
;
...
...
@@ -57,9 +59,10 @@ div.subject {
min-width
:
1200px
;
}
div
.top-logo
{
width
:
1
200
px
;
width
:
1
185
px
;
height
:
70px
!important
;
padding-top
:
20px
;
margin
:
0
auto
;
}
div
.top-logo
::-webkit-input-placeholder
{
/* WebKit browsers */
...
...
staticCss/global.css
View file @
3ee806d
html
,
body
,
div
,
span
,
applet
,
object
,
iframe
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
p
,
blockquote
,
pre
,
a
,
abbr
,
acronym
,
address
,
big
,
cite
,
code
,
del
,
dfn
,
em
,
font
,
img
,
ins
,
kbd
,
q
,
s
,
samp
,
small
,
strike
,
strong
,
sub
,
sup
,
tt
,
var
,
b
,
u
,
i
,
center
,
dl
,
dt
,
dd
,
ol
,
ul
,
li
,
fieldset
,
form
,
label
,
legend
,
table
,
caption
,
tbody
,
tfoot
,
thead
,
tr
,
th
,
td
{
border
:
0
;
margin
:
0
;
outline
:
0
none
;
padding
:
0
;
vertical-align
:
baseline
;
font-size
:
100%
;
background
:
transparent
;
font-family
:
Arial
;
}
.clearfix
{
overflow
:
auto
;
}
.layui-nav-item
a
{
font-size
:
16px
;
}
/*================首页 start=====================*/
div
a
{
color
:
#000000
;
text-decoration
:
none
;
}
div
.subject
h2
a
:hover
{
color
:
#f46143
;
}
div
.subject
{
margin
:
0
auto
;
float
:
none
;
clear
:
both
;
position
:
relative
;
min-width
:
1200px
;
}
/*新闻 */
div
.top-logo
{
width
:
1200px
;
height
:
70px
;
padding-top
:
20px
;
}
div
.top-logo
::-webkit-input-placeholder
{
/* WebKit browsers */
font-size
:
13px
;
}
div
.top-logo
::-moz-placeholder
{
/* Mozilla Firefox 19+ */
font-size
:
13px
;
}
div
.top-logo
:-ms-input-placeholder
{
/* Internet Explorer 10+ */
font-size
:
13px
;
}
.top_logo_content
{
height
:
40px
;
width
:
100%
;
margin
:
0
auto
;
}
div
.top-logo
.top_logo_search
{
float
:
left
;
width
:
350px
;
position
:
relative
;
margin-left
:
400px
;
}
div
.top-logo
.top_logo_search
input
{
border-radius
:
50px
;
}
div
.top-logo
.login
{
float
:
right
;
margin-top
:
8px
;
}
div
.top-logo
.login
a
:hover
{
color
:
#f46143
;
}
div
.top-logo
.top_logo_search
i
{
position
:
absolute
;
right
:
10px
;
top
:
11px
;
cursor
:
pointer
;
}
/*end*/
.top-logo
h1
{
display
:
inline-block
;
float
:
left
;
}
/*------------------首页 end------------*/
.top-logo
ul
li
{
display
:
inline-block
;
padding
:
0
8px
;
}
.top-logo
ul
li
:first-child
{
border-right
:
1px
solid
grey
;
}
div
.navigation
{
text-align
:
center
;
}
.navigation
.layui-nav-item
{
width
:
130px
;
position
:
relative
;
margin
:
0
22px
;
}
.layui-bg-blue
{
background-color
:
#006CFF
!important
;
}
.layui-nav-item
:not
(
:first-child
)
::before
{
content
:
''
;
position
:
absolute
;
height
:
22px
;
border-left
:
1px
solid
#ccc
;
top
:
21px
;
left
:
-22px
;
}
div
.nav
ul
li
{
float
:
left
;
margin
:
21px
auto
;
width
:
149px
;
border-left
:
1px
solid
#3389ff
;
cursor
:
pointer
;
}
div
.nav
ul
li
:first-child
{
border-left
:
none
;
}
div
.nav
ul
li
a
{
color
:
#ffffff
;
width
:
90%
;
display
:
inline-block
;
font-size
:
18px
;
font-weight
:
bold
;
letter-spacing
:
2px
;
}
div
.banner
,
div
.c_one
,
div
.c_two
,
div
.c_three
,
div
.c_four
,
div
.c_five
,
div
.footer
{
width
:
100%
;
text-align
:
center
;
...
...
@@ -163,13 +27,13 @@ div.banner {
div
.banner
.banner_title
{
list-style
:
none
;
width
:
12
0
0px
;
width
:
12
4
0px
;
display
:
inline-block
;
margin-top
:
350px
;
}
div
.banner
.banner_title
li
{
width
:
2
5
0px
;
width
:
2
6
0px
;
height
:
100px
;
background-color
:
#ffffff
;
float
:
left
;
...
...
@@ -211,7 +75,6 @@ div.banner ul li a {
.laws_regulations
.title
h2
a
{
display
:
block
;
padding
:
20px
;
box-sizing
:
border-box
;
height
:
60px
;
box-sizing
:
border-box
;
border-bottom
:
1px
solid
#E6E6E6
;
...
...
@@ -221,11 +84,13 @@ div.banner ul li a {
font-weight
:
600
;
color
:
#4A4A4A
;
float
:
left
;
height
:
3
6
px
;
height
:
3
7
px
;
border-bottom
:
2px
solid
#006CFF
;
}
.laws_regulations
.title
h2
a
p
span
{
position
:
relative
;
font-size
:
20px
;
top
:
-3px
;
}
.laws_regulations
.title
h2
i
{
...
...
@@ -335,11 +200,12 @@ div.banner ul li a {
font-weight
:
600
;
color
:
#4A4A4A
;
float
:
left
;
height
:
3
6
px
;
height
:
3
7
px
;
border-bottom
:
2px
solid
#006CFF
;
}
.common_question
.title
h2
a
p
span
{
position
:
relative
;
font-size
:
20px
;
}
.common_question
.title
h2
i
{
...
...
@@ -390,6 +256,10 @@ div.banner ul li a {
position
:
relative
;
left
:
0
;
top
:
-25px
;
cursor
:
pointer
;
}
.common_question
.list_content_right
dd
a
p
:hover
{
color
:
#f46143
;
}
/* -----------------end---------------------------- */
div
.c_one
{
...
...
@@ -446,11 +316,9 @@ div.c_one h2 span {
div
.c_one
h2
i
{
float
:
right
;
font-size
:
1
2
px
;
font-size
:
1
4
px
;
font-style
:
normal
;
color
:
#9d9d9d
;
margin-top
:
10px
;
}
div
.c_one
h2
a
:hover
i
{
...
...
@@ -483,6 +351,9 @@ div.c_one ul li a {
display
:
block
;
color
:
#000000
;
}
div
.c_one
ul
li
a
:hover
{
color
:
#f46143
;
}
div
.c_one
ul
li
a
span
{
float
:
right
;
...
...
@@ -523,7 +394,8 @@ div.c_two h2 {
margin-top
:
40px
;
background-color
:
#fafafa
;
width
:
100%
;
font-size
:
24px
;
font-size
:
26px
;
font-weight
:
600
;
letter-spacing
:
2px
;
}
...
...
@@ -538,7 +410,7 @@ div.c_two ul li {
width
:
16.5%
;
overflow
:
hidden
;
margin-left
:
2.88%
;
padding
:
40px
3
6
px
;
padding
:
40px
3
4
px
;
border
:
1px
solid
#E6E6E6
;
background
:
#ffffff
;
}
...
...
@@ -556,6 +428,12 @@ div.c_two ul li h6 {
div
.c_two
ul
li
p
{
margin-top
:
20px
;
font-size
:
14px
;
cursor
:
pointer
;
line-height
:
26px
;
}
div
.c_two
ul
li
p
:hover
{
color
:
#f46143
;
}
div
.c_three
{
...
...
@@ -600,7 +478,8 @@ div.c_four div:first-child {
/* -----------------友情链接-------------------------- */
div
.c_five
h2
{
text-align
:
center
;
font-size
:
24px
;
font-size
:
26px
;
font-weight
:
600
;
margin-bottom
:
30px
;
}
div
.c_five
div
:first-child
{
...
...
@@ -633,88 +512,4 @@ div.c_five ul li a {
}
div
.c_five
ul
li
a
img
{
height
:
100%
;
}
/* -----------------底部start----------------------------- */
div
.footer
{
background-color
:
#233042
;
}
div
.footer
.system_service
{
width
:
100%
;
border-bottom
:
1px
solid
#4A4A4A
;
}
div
.footer
.system_service
ul
{
padding
:
40px
0
;
width
:
1400px
;
margin
:
0
auto
;
font-size
:
0
;
}
div
.footer
.system_service
ul
li
{
width
:
20%
;
display
:
inline-block
;
text-align
:
center
;
height
:
18px
;
box-sizing
:
border-box
;
}
div
.footer
.system_service
ul
li
:not
(
:last-child
)
{
border-right
:
1px
solid
#6D7278
;
}
div
.footer
.system_service
ul
li
a
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#DEDEDE
;
}
div
.footer
.system_service
ul
li
a
:hover
{
color
:
#f46143
;
}
.footer
.subject
{
width
:
1200px
;
margin
:
0
auto
;
padding
:
40px
0
;
overflow
:
hidden
;
}
.footer
.subject
.footer_logo
{
float
:
left
;
}
.footer
.subject
.footer_logo
a
{
display
:
block
;
width
:
64px
;
height
:
74px
;
padding
:
10px
;
}
.footer
.subject
.footer_logo
a
img
{
width
:
100%
;
height
:
100%
;
}
.footer
.subject
ul
,
ol
{
float
:
left
;
color
:
#CBCBCB
;
text-align
:
left
;
}
.footer
.subject
ul
{
width
:
73%
;
box-sizing
:
border-box
;
padding-left
:
40px
;
margin-top
:
10px
;
}
.footer
.subject
ul
li
{
width
:
30%
;
display
:
inline-block
;
text-align
:
left
;
margin-bottom
:
30px
;
}
.footer
.subject
ol
li
{
display
:
inline-block
;
text-align
:
center
;
}
.footer
.subject
ol
li
:last-child
{
margin-left
:
60px
;
}
.footer
.subject
ol
li
img
{
width
:
80px
;
height
:
80px
;
}
.footer
.subject
ol
li
p
{
font-size
:
12px
;
color
:
#CBCBCB
;
margin-top
:
5px
;
}
\ No newline at end of file
...
...
staticIndex.html
View file @
3ee806d
...
...
@@ -12,11 +12,12 @@
<meta
name=
"description"
content=
""
/>
<meta
name=
"Keywords"
content=
""
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"./staticLib/layui/css/layui.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"./staticCss/common.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"./staticCss/global.css"
/>
</head>
<body>
<div
class=
"
subject
top-logo"
>
<div
class=
"top-logo"
>
<div
class=
"top_logo_content"
>
<h1><a
href=
"./staticIndex.html"
><img
src=
"staticImages/logo.jpg"
alt=
"西安市不动产登记平台"
/></a></h1>
...
...
@@ -58,18 +59,18 @@
<div
class=
"layui-carousel"
id=
"banner_swiper"
>
<div
carousel-item
>
<div
class=
"swiper_item"
>
<img
class=
"swiper_img"
title=
"刘亦菲
"
src=
"./staticImages/banner.jpg"
/>
<img
class=
"swiper_img"
alt=
"上海鲜花港 - 郁金香"
title=
"背景图
"
src=
"./staticImages/banner.jpg"
/>
</div>
<div
class=
"swiper_item"
>
<img
class=
"swiper_img"
title=
"刘亦菲
"
src=
"./staticImages/banner.jpg"
/>
<img
class=
"swiper_img"
alt=
"上海鲜花港 - 郁金香"
title=
"背景图
"
src=
"./staticImages/banner.jpg"
/>
</div>
</div>
</div>
<ul
class=
"banner_title"
>
<li><a
href=
""
>
查询档案
</a></li>
<li><a
href=
""
>
进度查询
</a></li>
<li><a
href=
"./staticViews/yyxz/index.html"
>
在线预约
</a></li>
<li><a>
网上预审
</a></li>
<li><a
href=
""
title=
"查询档案"
>
查询档案
</a></li>
<li><a
href=
""
title=
"进度查询"
>
进度查询
</a></li>
<li><a
href=
"./staticViews/yyxz/index.html"
title=
"在线预约"
>
在线预约
</a></li>
<li><a
title=
"网上预审"
>
网上预审
</a></li>
</ul>
</div>
<div
class=
"c_one"
>
...
...
@@ -132,7 +133,7 @@
</div>
<div
class=
"c_two"
>
<div
class=
"subject"
>
<h2><a
href=
""
>
便民服务
</a></h2>
<h2><a
href=
""
title=
"便民服务"
>
便民服务
</a></h2>
<ul>
<li>
<img
src=
"staticImages/two_s_1.jpg"
/>
...
...
@@ -161,7 +162,7 @@
<div
class=
"laws_regulations"
>
<div
class=
"regulations title"
>
<h2>
<a
href=
""
>
<a
href=
""
title=
"法律法规"
>
<p>
<span>
法律法规
</span>
</p>
...
...
@@ -203,7 +204,7 @@
</div>
<div
class=
"policy title"
>
<h2>
<a
href=
""
>
<a
href=
""
title=
"相应政策"
>
<p>
<span>
相应政策
</span>
</p>
...
...
@@ -246,7 +247,7 @@
</div>
<!-- 好差评 -->
<div
class=
"Good_bad_reviews"
>
<img
src=
"./staticImages/bannerbg.png"
title
=
"背景"
>
<img
src=
"./staticImages/bannerbg.png"
alt
=
"背景"
>
</div>
<!-- 常见问题,政民互动 -->
<div
class=
"common_question"
>
...
...
@@ -254,7 +255,7 @@
<dl
class=
"subject"
>
<dt
class=
"title"
>
<h2>
<a
href=
""
>
<a
href=
""
title=
"常见问题"
>
<p>
<span>
常见问题
</span>
</p>
...
...
@@ -264,31 +265,31 @@
</dt>
<div
class=
"list_content"
>
<dd>
<a
href=
""
>
基础问题
</a>
<a
href=
""
>
继承登记
</a>
<a
href=
""
title=
"基础问题"
>
基础问题
</a>
<a
href=
""
title=
"继承登记"
>
继承登记
</a>
</dd>
<dd>
<a
href=
""
>
一手商品房办证
</a>
<a
href=
""
>
抵押登记
</a>
<a
href=
""
title=
"一手商品房办证"
>
一手商品房办证
</a>
<a
href=
""
title=
"抵押登记"
>
抵押登记
</a>
</dd>
<dd>
<a
href=
""
>
二手房办证
</a>
<a
href=
""
>
预售及网签
</a>
<a
href=
""
title=
"二手房办证"
>
二手房办证
</a>
<a
href=
""
title=
"预售及网签"
>
预售及网签
</a>
</dd>
<dd>
<a
href=
""
>
经济适用房登记
</a>
<a
href=
""
>
夫妻加减名变更
</a>
<a
href=
""
title=
"经济适用房登记"
>
经济适用房登记
</a>
<a
href=
""
title=
"夫妻加减名变更"
>
夫妻加减名变更
</a>
</dd>
<dd>
<a
href=
""
>
变更登记
</a>
<a
href=
""
>
夫妻离婚变更
</a>
<a
href=
""
title=
"变更登记"
>
变更登记
</a>
<a
href=
""
title=
"夫妻离婚变更"
>
夫妻离婚变更
</a>
</dd>
</div>
</dl>
<dl
class=
"interact"
>
<dt
class=
"title"
>
<h2>
<a
href=
""
>
<a
href=
""
title=
"政民互动"
>
<p>
<span>
政民互动
</span>
</p>
...
...
@@ -298,26 +299,26 @@
</dt>
<div
class=
"list_content_right"
>
<dd>
<a>
<img
src=
"./staticImages/two_s_1.jpg"
/>
<a
title=
"在线评价"
>
<img
src=
"./staticImages/two_s_1.jpg"
alt=
"在线评价"
/>
<p>
在线评价
</p>
</a>
</dd>
<dd>
<a>
<img
src=
"./staticImages/two_s_1.jpg"
/>
<a
title=
"在线留言"
>
<img
src=
"./staticImages/two_s_1.jpg"
alt=
"在线留言"
/>
<p>
在线留言
</p>
</a>
</dd>
<dd>
<a>
<img
src=
"./staticImages/two_s_1.jpg"
/>
<a
title=
"征集调查"
>
<img
src=
"./staticImages/two_s_1.jpg"
alt=
"征集调查"
/>
<p>
征集调查
</p>
</a>
</dd>
<dd>
<a>
<img
src=
"./staticImages/two_s_1.jpg"
/>
<a
title=
"即时聊天"
>
<img
src=
"./staticImages/two_s_1.jpg"
alt=
"即时聊天"
/>
<p>
即时聊天
</p>
</a>
</dd>
...
...
@@ -330,49 +331,49 @@
<div
class=
"c_five Links"
>
<div
class=
"subject"
>
<h2>
<a
href=
""
>
<a
href=
""
title=
"友情链接"
>
友情链接
</a>
</h2>
<ul>
<li>
<a
href=
""
>
<img
src=
"./staticImages/guotuziyuanbao.png"
>
<a
href=
""
title=
"国土资源局"
>
<img
src=
"./staticImages/guotuziyuanbao.png"
alt=
"国土资源局"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
>
<a
href=
""
title=
"中国人民政府网"
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
alt=
"中国人民政府网"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
>
<a
href=
""
title=
"中国人民政府网"
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
alt=
"中国人民政府网"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/guotuziyuanbao.png"
>
<a
href=
""
title=
"国土资源局"
>
<img
src=
"./staticImages/guotuziyuanbao.png"
alt=
"国土资源局"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/guotuziyuanbao.png"
>
<a
href=
""
title=
"国土资源局"
>
<img
src=
"./staticImages/guotuziyuanbao.png"
alt=
"国土资源局"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
>
<a
href=
""
title=
"中国人民政府网"
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
alt=
"中国人民政府网"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/guotuziyuanbao.png"
>
<a
href=
""
title=
"国土资源局"
>
<img
src=
"./staticImages/guotuziyuanbao.png"
alt=
"国土资源局"
/
>
</a>
</li>
<li>
<a
href=
""
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
>
<a
href=
""
title=
"中国人民政府网"
>
<img
src=
"./staticImages/zhongyangzhengfuwang.png"
alt=
"中国人民政府网"
/
>
</a>
</li>
</ul>
...
...
@@ -382,27 +383,27 @@
<div
class=
"system_service"
>
<ul
class=
""
>
<li>
<a
href=
""
>
<a
href=
""
title=
"公示公告"
>
<span>
公示公告
</span>
</a>
</li>
<li>
<a
href=
""
>
<a
href=
""
title=
"法律法规"
>
<span>
法律法规
</span>
</a>
</li>
<li>
<a
href=
""
>
<a
href=
""
title=
"相应政策"
>
<span>
相应政策
</span>
</a>
</li>
<li>
<a
href=
""
>
<a
href=
""
title=
"下载服务"
>
<span>
下载服务
</span>
</a>
</li>
<li>
<a
href=
""
>
<a
href=
""
title=
"关于我们"
>
<span>
关于我们
</span>
</a>
</li>
...
...
@@ -410,8 +411,8 @@
</div>
<div
class=
"subject"
>
<div
class=
"footer_logo"
>
<a
href=
""
>
<img
src=
"./staticImages/jiguan.png"
>
<a
href=
""
title=
"党政机关"
>
<img
src=
"./staticImages/jiguan.png"
alt=
"党政机关"
/
>
</a>
</div>
<ul>
...
...
@@ -436,11 +437,11 @@
</ul>
<ol>
<li>
<img
src=
"./staticImages/code.png"
>
<img
src=
"./staticImages/code.png"
alt=
"公众号"
/
>
<p>
扫描关注公众号
</p>
</li>
<li>
<img
src=
"./staticImages/code.png"
>
<img
src=
"./staticImages/code.png"
alt=
"公众号"
/
>
<p>
扫描关注公众号
</p>
</li>
...
...
@@ -452,37 +453,4 @@
</html>
<script
src=
"./staticLib/layui/layui.js"
></script>
<script>
layui
.
use
(
'carousel'
,
function
()
{
var
carousel
=
layui
.
carousel
;
//建造实例
carousel
.
render
({
elem
:
'#banner_swiper'
,
width
:
'100%'
//设置容器宽度
,
arrow
:
'always'
//始终显示箭头
,
autoplay
:
true
,
height
:
'500px'
});
});
//注意:导航 依赖 element 模块,否则无法进行功能性操作
layui
.
use
(
'element'
,
function
()
{
var
element
=
layui
.
element
;
//…
});
layui
.
use
(
'util'
,
function
()
{
var
util
=
layui
.
util
;
//执行
util
.
fixbar
({
bar1
:
true
,
bar2
:
true
,
top
:
true
,
click
:
function
(
type
)
{
console
.
log
(
type
);
if
(
type
===
'bar1'
)
{
alert
(
'点击了bar1'
)
}
}
});
});
</script>
\ No newline at end of file
<script
src=
"./staticJs/staticIndex.js"
></script>
\ No newline at end of file
...
...
staticJs/staticIndex.js
0 → 100644
View file @
3ee806d
layui
.
use
(
'carousel'
,
function
()
{
var
carousel
=
layui
.
carousel
;
//建造实例
carousel
.
render
({
elem
:
'#banner_swiper'
,
width
:
'100%'
//设置容器宽度
,
arrow
:
'always'
//始终显示箭头
,
autoplay
:
true
,
height
:
'500px'
});
});
//注意:导航 依赖 element 模块,否则无法进行功能性操作
layui
.
use
(
'element'
,
function
()
{
var
element
=
layui
.
element
;
//…
});
layui
.
use
(
'util'
,
function
()
{
var
util
=
layui
.
util
;
//执行
util
.
fixbar
({
bar1
:
true
,
bar2
:
true
,
top
:
true
,
click
:
function
(
type
)
{
console
.
log
(
type
);
if
(
type
===
'bar1'
)
{
alert
(
'点击了bar1'
)
}
}
});
});
\ No newline at end of file
Please
register
or
sign in
to post a comment