<?php /* Smarty version Smarty-3.0.8, created on 2020-03-30 06:25:54
         compiled from "D:\phpStudy\WWW\mxszpt_coupon/tpl\index.html" */ ?>
<?php /*%%SmartyHeaderCode:122945e8190f27a8f03-83271888%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0ba4a038d419d9a4028b062d7383fc8b0a9f9147' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\mxszpt_coupon/tpl\\index.html',
      1 => 1584346370,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '122945e8190f27a8f03-83271888',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include 'D:\phpStudy\WWW\mxszpt_coupon\SpeedPHP\Drivers\Smarty\plugins\modifier.truncate.php';
?>﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="images/favicon.ico" >
<link rel="Shortcut Icon" href="images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/min.css" />
<link rel="stylesheet" type="text/css" href="iconfont/iconfont.min.css" />

<script type="text/javascript" src="js/jquery.min.js"></script> 
<script type="text/javascript" src="js/jquery.SuperSlide.min.js"></script> 
    <script src="js/uaredirect.js" type="text/javascript"></script>
    <script type="text/javascript">uaredirect("<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'mindex'),$_smarty_tpl);?>
");</script>
<meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('config')->value['config_keywords'];?>
" />
<meta name="description" content="<?php echo $_smarty_tpl->getVariable('config')->value['config_description'];?>
" /> 
<title>首页-<?php echo $_smarty_tpl->getVariable('config')->value['config_name'];?>
</title>
<style>
body{margin: 0;padding: 0;border: 0;}
.dh{display: inline;}
.dh a{padding: 7px 20px 0;color: #fff;font-size: 16px;line-height: 36px;}
.dh a:hover{color:yellow;}
.small_dh{display: inline;float: left;width: 50%;height: 42px;text-align: center;border-bottom: 1px dashed #e2e2e2;}
.small_dh a{font-size: 14px;color: #000;height: 45px;line-height: 40px;text-align: center;}
.small_dh a:hover{color:red;}
 /*幻灯片*/
 #slider-3{ width: 100%; height: 301px; overflow: hidden}
.slider{position:relative;text-align:center; margin:0 auto;z-index:1}
.slider .bd,.slider .bd li,.slider .bd img{width:100%; height:301px}/*请给每个幻灯片套个div并设置id，通过id重置这个地方的宽度，达到自定义效果*/
.slider .bd{z-index:2;overflow:hidden}
.slider .bd li{float:left;width: 100%;overflow:hidden; background-position:center; background-repeat:no-repeat}
.slider .bd li a{ display:block; width: 100%; height: 100%}
.slider .bd li img{display:block}
.slider .hd{ position: absolute; z-index: 3; left: 0; right: 0; bottom:10px; padding: 0 10px; text-align: center}
.slider .hd li{display:inline-block;text-align:center;margin-right:10px;cursor:pointer;background-color:#C2C2C2}
.slider .hd li.active{background-color:red}
  .dots li{width:10px; height:10px;font-size:0px;line-height:0px;border-radius:50%}
  .numbox li{width:20px; height:20px; line-height:20px; font-size:13px;font-family:Arial;font-weight:bold; text-indent:inherit}
  .numbox li.active{color:#fff}
  .rectangle li{width:40px; height:10px;font-size:0px;line-height:0px}
    /*幻灯片*/
.article{display: inline;} 
.article_url a:hover{color:#848484;}

.zz{margin: 0 14px 14px 0;border: #ffd2e8 solid 1.5px;width: 23%;float: left;position: relative;height: 415px;}
.zzz:hover{border:#ed145b solid 1.5px;box-shadow:0px 0px 20px #b66262;position: relative;}
</style>
</head>
<body>
<?php $_template = new Smarty_Internal_Template("top.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?> 
        	<div class="container-full">
                 <div class="container">
                      <div class="col-sm-9" style="padding:0px">
                                <div class="col-sm-3" style="background-color: #f6f6f6;;">
                                    <li class="small_dh"><img src="images/small_dh_01.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>1),$_smarty_tpl);?>
">女装</a></li>    
                                    <li class="small_dh"><img src="images/small_dh_02.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>3),$_smarty_tpl);?>
">美妆</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_03.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>14),$_smarty_tpl);?>
">家装</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_04.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>6),$_smarty_tpl);?>
">美食</a></li>
                                    <li class="small_dh"><img src="images/small_dh_05.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>10),$_smarty_tpl);?>
">内衣</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_06.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>7),$_smarty_tpl);?>
">文体</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_07.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>2),$_smarty_tpl);?>
">母婴</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_08.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>12),$_smarty_tpl);?>
">配饰</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_09.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>8),$_smarty_tpl);?>
">数码</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_10.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>9),$_smarty_tpl);?>
">男装</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_11.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>5),$_smarty_tpl);?>
">鞋品</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_12.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>11),$_smarty_tpl);?>
">箱包</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_13.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>13),$_smarty_tpl);?>
">运动</a></li>   
                                    <li class="small_dh"><img src="images/small_dh_14.png"/><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'twenty','typeid'=>4),$_smarty_tpl);?>
">日用</a></li>      
                                        </div>
                                <div class="col-sm-9" style="padding:0px">
                                <!-- 幻灯片  -->
                                     <div id="slider-3">
	<div class="slider">
		<div class="bd">
			<ul>
            <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('ad')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
?>
				<li><a href="<?php echo $_smarty_tpl->tpl_vars['value']->value['ad_url'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['value']->value['ad_images'];?>
" ></a></li>
                 <?php }} ?>
			</ul>
		</div>
		<ol class="hd cl dots">
			<li>1</li>
			<li>2</li>
			<li>3</li>
			<li>4</li>
		</ol>
	</div>
</div>	   
           <!-- 幻灯片  -->  
           </div>
                            </div>
                      <div class="col-sm-3  container article_url" style="background-color: #f6f6f6;;">
                                <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('article')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
?>
                                        <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'article_show','ma_id'=>$_smarty_tpl->tpl_vars['value']->value['ma_id']),$_smarty_tpl);?>
" target="_blank">     <div class="row" style="border-bottom: 1px dashed #e2e2e2;float: left;">
                                             <div class="col-sm-4"><img src="<?php echo $_smarty_tpl->tpl_vars['value']->value['ma_images'];?>
" style="width: 100%;padding-top: 10px;padding-bottom: 10px;"/></div>
                                             <div class="col-sm-8">
                                                    <p><h5><b><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['value']->value['ma_name'],12);?>
</b></h5></p>
                                                    <p style="line-height: 18px;"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['value']->value['ma_description'],47);?>
</p>    
                                                        </div>
                                             </div> </a>
                                    <?php }} ?>
                            </div>
                 </div>
                
        </div>
        
        <div style="width: 100%;float: left;">
                    <div class="container" style="margin-top: 20px;">
                    <p style="padding-bottom: 10px;font-size: 50px;color: red;text-align: center;"><i class="Hui-iconfont">&#xe6c3;</i><img src="images/remai.png" style="width: 230px;"/></p>
                              <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('arrays_row')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
?>  
                      <div class="zz"><div class="zzz"> 
                       <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'shop_show','taobaoid'=>$_smarty_tpl->tpl_vars['value']->value['goodsId']),$_smarty_tpl);?>
" target="_blank">
                         <img src="<?php echo $_smarty_tpl->tpl_vars['value']->value['mainPic'];?>
" style="width: 100%;"/>
                                <p style="height: 35px;line-height: 18px;width: 100%;margin: 10px 10px 10px 5px;color: #000;">
                                 <span style="width: 70%;float: left;font-weight: 400;height: 35px;overflow:hidden;"><?php echo $_smarty_tpl->tpl_vars['value']->value['title'];?>
</span>
                                 <span style="width: 30%;float: left;text-align: center;color: red;">已售<br /><?php echo $_smarty_tpl->tpl_vars['value']->value['monthSales'];?>
</span>
                                 </p>
                                <p style="padding: 10px 10px 0px 5px;height: 48px;line-height: 40px;">
                                 <span style="width: 80%;float: left;color: red;"><span style="font-size: 14px;font-weight: 600;">￥</span><span style="font-size: 30px;font-family: Arial;font-weight: 700;"><?php echo $_smarty_tpl->tpl_vars['value']->value['actualPrice'];?>
</span><span style="margin: 2px 0 0 5px;height: 40px;color: #bbb;text-decoration: line-through;font-size: 14px;">￥<?php echo $_smarty_tpl->tpl_vars['value']->value['originalPrice'];?>
</span></span>
                                 <span style="width: 20%;float: left;text-align: center;color: red;"><button class="btn btn-danger radius">查看</button></span>
                                    </p>
                         </a>
                         <div style="width: 83px;height: 44px;display: block;right: 0px;top: 0px;border-radius: 1px;text-align: center;background: #f9117e;color: #fff;z-index: 9;position: absolute;">领优惠券<br /><span style="font-weight: bold;font-size: 16px;">省 <?php echo $_smarty_tpl->tpl_vars['value']->value['couponPrice'];?>
 元</span></div>
                        <div style="width: 60px;height: 24px;background: url(images/juanhoujiage.png) no-repeat;position: absolute;left: 5px;bottom: 45px;z-index: 8;"></div>
                    </div></div>
                     <?php }} ?>   
                              </div>
                </div>
        
   
        

    <?php $_template = new Smarty_Internal_Template("footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>     
<script>
$(function(){
	jQuery("#slider-3 .slider").slide({mainCell:".bd ul",titCell:".hd li",trigger:"click",effect:"leftLoop",autoPlay:true,delayTime:700,interTime:7000,pnLoop:false,titOnClassName:"active"})});
</script>

</body>
</html>