home.html
2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{template 'common/header'}
{template 'common/slide'}
<style>
body{
font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
color:{$_W['styles']['fontcolor']};
padding:0;
margin:0;
background-image:url('{if !empty($_W['styles']['indexbgimg'])}{$_W['styles']['indexbgimg']}{/if}');
background-size:cover;
background-color:{if empty($_W['styles']['indexbgcolor'])}#BABABA{else}{$_W['styles']['indexbgcolor']}{/if};
{$_W['styles']['indexbgextra']}
}
a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
{$_W['styles']['css']}
.box{ background-color:#ffffff;}
.box .box-item{float:left; text-align:center;height:90px; width:33.3%; color:#333; border-right:#d1d1d1 solid 1px; padding:10px 0; border-bottom:#d1d1d1 solid 1px; overflow:hidden; display:block; text-decoration:none; outline:none;}
.box .box-item:hover{background:rgba(216,69,24,1);}
.box .box-item:hover i,.box .box-item:hover span{color:#fff;}
.box .box-item i{display:inline-block; font-size:35px; color:#666; overflow:hidden; width:100%; height:50px; line-height:50px;}
.box .box-item .icon{display:inline-block; height:50px; margin:0 auto; margin-bottom:3px;}
.box .box-item span{color:{$_W['styles']['fontnavcolor']};display:block; font-size:14px; width:100%; height:20px; line-height:20px; text-align:center; overflow:hidden;}
.img-box{width:100%;}
.img-box>a{display:block; float:left; text-decoration:none; text-align:center; width:47%; height:95px; margin:2% 0 2% 2%; background-color:#ffffff; border:#e0e0e0 solid 1px; border-radius:3px; box-shadow:1px 1px 1px rgba(0,0,0,0.06);}
.img-box>a .icon{display:block; height:70px; margin:0 auto; vertical-align:middle; -webkit-border-top-left-radius:3px; -webkit-border-top-right-radius:3px;}
.img-box>a i{display:block; width:100%; height:50px; font-size:45px; text-align:center; line-height:50px; margin:10px auto; color:#737373;}
.img-box>a span{color:{if empty($_W['styles']['fontnavcolor'])}#737373{else}{$_W['styles']['fontnavcolor']}{/if}; display:block; width:90%; height:25px; line-height:25px; margin-left:5%; font-weight:bold; overflow:hidden;}
</style>
<div class="box clearfix">
{data func="site_navs" section="1" item="row"}
{$row['html']}
{/data}
</div>
<!--自定义图片-->
<div class="img-box clearfix">
{data func="site_navs" section="2" item="row"}
{$row['html']}
{/data}
</div>
{template 'common/footer'}