Blame view

app/themes/style25/home/home.html 2.09 KB
4d84a934   曹明   初始代码提交
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
{template 'common/header'}
<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'])}#f5f5f5{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	background-color:#BABABA;
	}
	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
	{$_W['styles']['css']}
	.box{width:100%; background:-webkit-linear-gradient(#000 0%,#24272c 3%,#25282d 4%,#25282d 100%); }
	.box .box-item{display:block; background:#25282d; text-decoration:none; width:33.3%; height:6.65em; text-align:center; float:left; border-bottom: #2f3237 solid 1px; border-right: #2f3237 solid 1px; color:#bebfc0;}
	.box .box-item i{display:inline-block; width:1.5em; font-size:35px; height:1.5em; line-height:1.5em; margin:10.5% 0 2.5% 0; vertical-align:middle; color:#fff;}
	.box .box-item span{color:{$_W['styles']['fontnavcolor']};display:inline-block; width:90%; height:20px; font-weight:bold; overflow:hidden;}
	.img-box{margin:4.3% 0 1.5% 3.39%; overflow:hidden;}
	.img-box>a{display:block; float:left; text-decoration:none; overflow:hidden; text-align:center; width:31.6%; margin:0 1.72% 3.3% 0; padding-bottom:5px; background-color:#fff; border:#e0e0e0 solid 1px; border-radius:0.3em; box-shadow:1px 1px 1px rgba(0,0,0,0.06); color:#737373;}
	.img-box>a i{display:block; width:100%; height:83px; line-height:83px; margin:0 auto; margin-bottom:5px; vertical-align:middle; -webkit-border-top-left-radius:0.3em; -webkit-border-top-right-radius:0.3em;}
	.img-box>a span{color:{$_W['styles']['fontnavcolor']};display:block; width:100%; padding:0 5%; height:20px; font-weight:bold; overflow:hidden;}
</style>
<div class="box clearfix">
	{data func="site_navs" section="1" item="row"}  
		{$row['html']}
	{/data}
</div>
{template 'common/slide'}
<div class="img-box clearfix">
	{data func="site_navs" section="2" item="row"}
	{$row['html']}
	{/data}
</div>
{template 'common/footer'}