398 lines
19 KiB
PHP
398 lines
19 KiB
PHP
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:38:"./template/pc/rainbow/index\index.html";i:1551683783;}*/ ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport"
|
|
content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<style type="text/css"></style>
|
|
<link rel="stylesheet" type="text/css" href="/template/pc/rainbow/static/css/webcss/base.css">
|
|
<link rel="stylesheet" type="text/css" href="/template/pc/rainbow/static/css/webcss/style.css">
|
|
<link rel="stylesheet" type="text/css" href="/template/pc/rainbow/static/css/base.css"/>
|
|
<link rel="stylesheet" type="text/css" href="/template/pc/rainbow/static/css/index.css"/>
|
|
<script type="text/javascript" src="/template/pc/rainbow/static/js/base.js"></script>
|
|
<title>小虎子商业插图</title>
|
|
<style>
|
|
.lengchen{
|
|
height: 900px;
|
|
}
|
|
.lengchen .lc1{
|
|
font-weight: bold;
|
|
font-size: 30px;
|
|
height: 200px;
|
|
background: white;
|
|
text-align: center;
|
|
line-height:200px;
|
|
}
|
|
.lengchen .lc2{
|
|
margin-left: 300px;
|
|
margin-top: 70px;
|
|
margin-right: 30px;
|
|
float:left;
|
|
width:600px;
|
|
height: 270px;
|
|
}
|
|
.lengchen .lc3{
|
|
margin-top: 50px;
|
|
float:left;
|
|
width:600px;
|
|
height: 300px;
|
|
background: #dc2529;
|
|
}
|
|
.lengchen .lc3 .lc4{
|
|
font-size: 20px;
|
|
float:left;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
margin-top: 90px;
|
|
margin-left: 60px;
|
|
width:300px;
|
|
height: 30px;
|
|
}
|
|
.lengchen .lc3 .lc5{
|
|
font-size: 16px;
|
|
float:left;
|
|
color: #fff;
|
|
margin-top: 10px;
|
|
padding-top: 15px;
|
|
margin-left: 60px;
|
|
width:500px;
|
|
height: 60px;
|
|
border-top: 1px solid rgba(255,255,255,0.4);
|
|
line-height: 1.5;
|
|
}
|
|
.lengchen2{
|
|
height: 400px;
|
|
padding-left: 160px;
|
|
}
|
|
.lengchen2 .sheji2{
|
|
float: left;
|
|
width: 350px;
|
|
height: 200px;
|
|
background:#f5f5f5 ;
|
|
margin-top: 150px;
|
|
margin-right: 50px;
|
|
}
|
|
.lengchen2 .sheji2 .ren1{
|
|
font-size: 16px;
|
|
float: left;
|
|
text-align: center;
|
|
width: 220px;
|
|
height: 50px;
|
|
margin-top: 30px;
|
|
background:#f5f5f5 ;
|
|
}
|
|
.lengchen2 .sheji2 .ren2{
|
|
width: 100px;
|
|
height: 100px;
|
|
float: left;
|
|
margin-left: 230px;
|
|
background: #fff;
|
|
margin-top: -100px;
|
|
-moz-border-radius: 50px;
|
|
-webkit-border-radius: 50px;
|
|
border-radius: 50px;
|
|
|
|
}
|
|
.lengchen2 .sheji2 .ren3{
|
|
font-size: 14px;
|
|
color: grey;
|
|
float: left;
|
|
width: 300px;
|
|
height: 60px ;
|
|
background:#f5f5f5 ;
|
|
margin-left: 25px;
|
|
margin-top: 10px;
|
|
}
|
|
.lengchen2 .sheji2 .ren4{
|
|
font-size: 14px;
|
|
float: left;
|
|
width: 80px;
|
|
height: 30px;
|
|
margin-left: 260px;
|
|
margin-top: 10px;
|
|
border: 1px solid #ccc;
|
|
text-align: center;
|
|
line-height: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="mw1920 index">
|
|
<div class="header">
|
|
<div class="top b1s000 dpsac h60">
|
|
<img class="flex1 dblock" src="/template/pc/rainbow/static/css/img/index-01_01.jpg">
|
|
</div>
|
|
<div class="banner dpsac h550">
|
|
<div class="bannertop mw1600 h350 pt30">
|
|
<div class="left flex1">
|
|
<ul class="">
|
|
<a href="">
|
|
<li class="">小虎子家</li>
|
|
</a>
|
|
<a href="">
|
|
<li class="">关于小虎子</li>
|
|
</a>
|
|
<a href="/Home/Illustrations/illustrations.html">
|
|
<li class="">插图 绘本定制</li>
|
|
</a>
|
|
<a href="/Home/Article/listdd.html">
|
|
<li class="">插画课程</li>
|
|
</a>
|
|
<a href="/Home/Aboutus/connect/connect.html">
|
|
<li class="">联系我们</li>
|
|
</a>
|
|
</ul>
|
|
</div>
|
|
<div class="center flex1">
|
|
<img class="percent100 dblock" src="/template/pc/rainbow/static/css/img/index-01_03.jpg">
|
|
</div>
|
|
<div class="right flex1 ">
|
|
<div>
|
|
<a href="<?php echo U('Home/User/reg'); ?>">注册</a>
|
|
<a href="<?php echo U('Home/User/login'); ?>">登录</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<form style="width: 100%" id="searchFor" name="" method="get" action="<?php echo U('Home/Goods/search'); ?>">
|
|
<div class="bannersearch mw1000 h200">
|
|
|
|
<div class="mw900 mt60 prelative top">
|
|
<span class="tip"></span>
|
|
<input autocomplete="off" name="q" id="q" type="text" value="<?php echo \think\Request::instance()->param('q'); ?>"
|
|
placeholder="请输入您要搜索的素材" class="flex1 h60 lh60 mw900"/>
|
|
<button type="submit" class="w55 br5"></button>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="mw900 bottom keyword clearfix">
|
|
<!-- <ul> -->
|
|
<span>热门搜索 :</span>
|
|
<!--<span>感恩节</span>-->
|
|
<!--<span>冬季插画</span>-->
|
|
<!--<span>文章配图</span>-->
|
|
<!--<span>雪人</span>-->
|
|
<!--<span>2019台历</span>-->
|
|
<!-- </ul> -->
|
|
<?php if(is_array($tpshop_config['hot_keywords']) || $tpshop_config['hot_keywords'] instanceof \think\Collection || $tpshop_config['hot_keywords'] instanceof \think\Paginator): if( count($tpshop_config['hot_keywords'])==0 ) : echo "" ;else: foreach($tpshop_config['hot_keywords'] as $k=>$wd): ?>
|
|
<span><a class="key-item" href="<?php echo U('Home/Goods/search',array('q'=>$wd)); ?>" target="_blank"><?php echo $wd; ?></a></span>
|
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|
</div>
|
|
<!--<div class="keyword clearfix">-->
|
|
<!--<?php if(is_array($tpshop_config['hot_keywords']) || $tpshop_config['hot_keywords'] instanceof \think\Collection || $tpshop_config['hot_keywords'] instanceof \think\Paginator): if( count($tpshop_config['hot_keywords'])==0 ) : echo "" ;else: foreach($tpshop_config['hot_keywords'] as $k=>$wd): ?>-->
|
|
<!--<a class="key-item" href="<?php echo U('Home/Goods/search',array('q'=>$wd)); ?>" target="_blank"><?php echo $wd; ?></a>-->
|
|
<!--<?php endforeach; endif; else: echo "" ;endif; ?>-->
|
|
<!--</div>-->
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="classify bgf7f7f7">
|
|
<ul class=" mw1600">
|
|
|
|
<li class="bg009a44 <?php if(\think\Request::instance()->param('sort') == ''): ?>red<?php endif; ?>">
|
|
<a class="" href="<?php echo U('Home/Goods/goodsList',array('id'=>582)); ?>">水彩</a>
|
|
</li>
|
|
<li class="bgf8a01a <?php if(\think\Request::instance()->param('sort') == ''): ?>red<?php endif; ?>">
|
|
<a href="<?php echo U('Home/Goods/goodsList',array('name'=>'厚图')); ?>">厚图</a>
|
|
|
|
</li>
|
|
<li class="bg00a0ea <?php if(\think\Request::instance()->param('sort') == ''): ?>red<?php endif; ?>">
|
|
<a href="<?php echo U('Home/Goods/goodsList',array('name'=>'多格')); ?>">多格</a>
|
|
|
|
</li>
|
|
<li class="bgde1f26 <?php if(\think\Request::instance()->param('sort') == ''): ?>red<?php endif; ?>">
|
|
<a href="<?php echo U('Home/Goods/goodsList',array('name'=>'彩铅')); ?>">彩铅</a>
|
|
|
|
</li>
|
|
<li class="bg005bac <?php if(\think\Request::instance()->param('sort') == ''): ?>red<?php endif; ?>">
|
|
<a href="<?php echo U('Home/Goods/goodsList',array('name'=>'绘本')); ?>">绘本</a>
|
|
|
|
</li>
|
|
<li class="bg643106 <?php if(\think\Request::instance()->param('sort') == ''): ?>red<?php endif; ?>">
|
|
<a href="<?php echo U('Home/Goods/goodsList',array('name'=>'教材')); ?>">教材</a>
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="page p">
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="content mw1600">
|
|
<div class="contenthot">
|
|
<div class="title fontcolor666666 title36 fw600 talign mtb40">热门插图推荐</div>
|
|
<div class="info">
|
|
<ul>
|
|
<?php if(is_array($cateList) || $cateList instanceof \think\Collection || $cateList instanceof \think\Paginator): if( count($cateList)==0 ) : echo "" ;else: foreach($cateList as $k=>$v): if($v[id] == 589): if(is_array($v[hot_goods]) || $v[hot_goods] instanceof \think\Collection || $v[hot_goods] instanceof \think\Paginator): if( count($v[hot_goods])==0 ) : echo "" ;else: foreach($v[hot_goods] as $gk=>$g): if($gk < 12): ?>
|
|
<li>
|
|
<div>
|
|
<a href="<?php echo U('Home/Goods/goodsInfo',array('id'=>$g[goods_id])); ?>">
|
|
<!--产品图片-->
|
|
<img src="<?php echo goods_thum_images($g[goods_id],400,400); ?>">
|
|
<div class="operation mt20">
|
|
<div class="left">
|
|
<!--钱标志-->
|
|
<img src="/template/pc/rainbow/static/css/img/index_11.jpg">
|
|
<span><?php echo $g[shop_price]; ?></span>
|
|
</div>
|
|
<div class="right">
|
|
<!--分享图标-->
|
|
<img src="/template/pc/rainbow/static/css/img/index_0117.jpg">
|
|
<!--点赞图标-->
|
|
<img src="/template/pc/rainbow/static/css/img/index_09.jpg">
|
|
</div>
|
|
</div>
|
|
<div class="description mt10">
|
|
<div class="left ovhyc">
|
|
<span><?php echo getSubstr($g[goods_name],0,20); ?></span>
|
|
</div>
|
|
<div class="right">
|
|
<!--下载图标-->
|
|
<img src="/template/pc/rainbow/static/css/img/index_30.jpg">
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</li>
|
|
<?php endif; endforeach; endif; else: echo "" ;endif; endif; endforeach; endif; else: echo "" ;endif; ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="buttonurl mw530 floor4">
|
|
<div class="title title30 talign mtb40">
|
|
<a href="<?php echo U('Home/Goods/search'); ?>">查看更多原创插画素材</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="new">
|
|
<div class="lengchen">
|
|
<div class="lc1">
|
|
<a href="<?php echo U('Home/index/index'); ?>">小虎子咨询</a>
|
|
</div>
|
|
<?php
|
|
|
|
$md5_key = md5("select * from `__PREFIX__article_cat` where cat_id < 2 order by sort_order asc");
|
|
$result_name = $sql_result_v = S("sql_".$md5_key);
|
|
if(empty($sql_result_v))
|
|
{
|
|
$result_name = $sql_result_v = \think\Db::query("select * from `__PREFIX__article_cat` where cat_id < 2 order by sort_order asc");
|
|
S("sql_".$md5_key,$sql_result_v,1);
|
|
}
|
|
foreach($sql_result_v as $k=>$v): ?>
|
|
<dl>
|
|
<!--<dt><?php echo $v[cat_name]; ?></dt>-->
|
|
<?php
|
|
|
|
$md5_key = md5("select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5");
|
|
$result_name = $sql_result_v2 = S("sql_".$md5_key);
|
|
if(empty($sql_result_v2))
|
|
{
|
|
$result_name = $sql_result_v2 = \think\Db::query("select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5");
|
|
S("sql_".$md5_key,$sql_result_v2,1);
|
|
}
|
|
foreach($sql_result_v2 as $k2=>$v2): ?>
|
|
<dd class="lc2"><img src="<?php echo $v2[thumb]; ?>"></dd>
|
|
<div class="lc3">
|
|
<dd class="lc4"><a href="<?php echo U('Home/Article/detail',array('article_id'=>$v2[article_id])); ?>"><?php echo $v2[title]; ?></a></dd>
|
|
<dd class="lc5"><a href="<?php echo U('Home/Article/detail',array('article_id'=>$v2[article_id])); ?>"><?php echo $v2[description]; ?></a></dd></div>
|
|
<?php endforeach; ?>
|
|
</dl>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
<div class="lengchen2">
|
|
<?php
|
|
|
|
$md5_key = md5("select * from `__PREFIX__article_cat` where cat_id = 3 order by sort_order asc");
|
|
$result_name = $sql_result_v = S("sql_".$md5_key);
|
|
if(empty($sql_result_v))
|
|
{
|
|
$result_name = $sql_result_v = \think\Db::query("select * from `__PREFIX__article_cat` where cat_id = 3 order by sort_order asc");
|
|
S("sql_".$md5_key,$sql_result_v,1);
|
|
}
|
|
foreach($sql_result_v as $k=>$v): ?>
|
|
<dl>
|
|
|
|
<!--<dt><?php echo $v[cat_name]; ?></dt>-->
|
|
<?php
|
|
|
|
$md5_key = md5("select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5");
|
|
$result_name = $sql_result_v2 = S("sql_".$md5_key);
|
|
if(empty($sql_result_v2))
|
|
{
|
|
$result_name = $sql_result_v2 = \think\Db::query("select * from `__PREFIX__article` where cat_id = $v[cat_id] and is_open=1 limit 5");
|
|
S("sql_".$md5_key,$sql_result_v2,1);
|
|
}
|
|
foreach($sql_result_v2 as $k2=>$v2): ?>
|
|
<!--<dd ><img src="<?php echo $v2[thumb]; ?>"></dd>-->
|
|
<div class="sheji2">
|
|
<dd class="ren1" ><a href="<?php echo U('Home/Article/detail',array('article_id'=>$v2[article_id])); ?>"><?php echo $v2[title]; ?></a></dd>
|
|
<dd class="ren2"><img style="-moz-border-radius: 50px;-webkit-border-radius: 50px;border-radius: 50px;max-width:100%;max-height:100%;" src="<?php echo $v2[thumb]; ?>"></dd>
|
|
<dd class="ren3" ><a href="<?php echo U('Home/Article/detail',array('article_id'=>$v2[article_id])); ?>"><?php echo $v2[description]; ?></a></dd>
|
|
<dd class="ren4" ><?php echo $v2[keywords]; ?></dd></div>
|
|
<?php endforeach; ?>
|
|
|
|
</dl>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
</div>
|
|
<div class="footer mw1920">
|
|
<div class="topinfo bg666666">
|
|
<div class="mw1300 ptb70">
|
|
<div class="left">
|
|
<img src="/template/pc/rainbow/static/css/img/index-01_39.jpg">
|
|
</div>
|
|
<div class="center">
|
|
<div>
|
|
<ul>
|
|
<li>
|
|
<img src="/template/pc/rainbow/static/css/img/index_03.jpg">
|
|
<p>www.dlxiaohuzi.com</p>
|
|
</li>
|
|
<li>
|
|
<img src="/template/pc/rainbow/static/css/img/index_05.jpg">
|
|
<p>2808510795</p>
|
|
</li>
|
|
<li>
|
|
<img src="/template/pc/rainbow/static/css/img/index_07.jpg">
|
|
<p>2808510795@qq.com</p>
|
|
</li>
|
|
<li>
|
|
<img src="/template/pc/rainbow/static/css/img/index_12.jpg">
|
|
<p>沈阳市和平区民主路亚洲时尚公寓1#4楼</p>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="right">
|
|
<div>
|
|
<img src="/template/pc/rainbow/static/css/img/ewm.png">
|
|
<p>关注小虎子微信公众号</p>
|
|
</div>
|
|
<div>
|
|
<img src="/template/pc/rainbow/static/css/img/ewm.png">
|
|
<p>加小虎子微信好友</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footerinfo bgdc2529 h65 lh65">
|
|
<div class="mw1150">
|
|
<p>注册声明 版权声明</p>
|
|
<p>Copyright ©2013-2018 小虎子插图素材网</p>
|
|
<p>辽ICP备10011451号-6辽宁工商 安全实名验证 信用网站</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|