首页就调用了20条数据,缩略图 tag 属性 这些都去掉了,怎么打开还是需要6.7秒啊
首页代码
----------------------------------------------------------------------------------------
<!DOCTYPE html>
<html>
<head>
< charset="UTF-8">
< name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
< name="renderer" content="webkit">
< name="force-rendering" content="webkit">
< http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
< name="applicable-device" content="pc,mobile">
<title>{$seo_title}_</title>
< name="keywords" content="{$keywords}" />
< name="de ion" content="{$de ion}" />
< rel="stylesheet" type="text/css" href="{STATIC_URL}new/font-awesome.min.css" />
< rel="stylesheet" type="text/css" href="{STATIC_URL}new/style.css" />
< type="text/ " src="{STATIC_URL}new/jquery-2.2.4.min.js"></ >
<style>.ui-banner_lists{float:right;}.swiper-container{float:left;}</style><style type="text/css">
.nav ul ul,.nav li.active >a,.nav li:hover >a,.nav ul li:hover > ul{background-color:#1197a2;}#footerbar .wrap span:nth-child(1) {display:none;}</style>
</head>
<body>
{m:include "index","header"}
<p class="index-breadcrumb"></p>
<div class="wrap">
<div id="content">
<div id="contentleft">
<div class="clear"></div>
<ul class="loglist">
{m:lists field="title,inputtime,url,flag,de ion,catid" modelid="1" limit="10"}
{loop $data $v}
<li class="con card">
<div class="des">
<a class="h2" href="{$v[url]}" title="{$v[title]}">{$v[title]}</a>
<div class="text">
<p>{$v[de ion]}</p>
<p class="data">
<span class="time"><i class="fa fa-clock-o"></i>{date('Y-m-d H:i:s', $v['inputtime'])}</span>
<span class="tag"><i class="fa fa-user"></i><a href="{get_category($v['catid'], 'pc ')}" class="mcolor">{get_catname($v['catid'])}</a></span>
</p>
</div>
</div>
<a href="{$v[url]}" title="{$v[title]}" class="more">详细阅读<i class="fa fa-angle-right"></i></a>
</li>
{/loop}
</ul>
</div>
<div id="sidebar">
<section id="aside_hot" class="widget widget_aside_hot sb br mb">
<h3><span>热门文章</span></h3>
<ul class="widget-content aside_hot">
{m:hits field="title,url" modelid="1" limit="10"}
{loop $data $v}
{php $k=$k+1;}
<li class="clearfix"><span class="list list-1">{$k}</span>
<a href="{$v[url]}" title="{$v[title]}">{$v[title]}</a></li>
{/loop}
</ul>
</section>
<section id="div age" class="widget widget_ sb br mb">
<h3><span>友情链接</span></h3>
<ul class="widget-content div age">
{m: field="url,logo,name" limit="20"}
{loop $data $v}
<li><a href="{$v[url]}" target="_blank">{$v[name]}</a></li>
{/loop}
</ul>
</section>
</div>
</div>
</div>
{m:include "index","footer"}