<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="referrer" content="always">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!--<script src="http://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>-->
<link href="//csdnimg.cn/public/common/libs/bootstrap/css/bootstrap.css" media="all" rel="stylesheet" />
<link href="//csdnimg.cn/public/static/css/avatar.css" media="all" rel="stylesheet" />
<link href="//csdnimg.cn/public/common/libs/bootstrap/css/bootstrap.css" media="all" rel="stylesheet" />
<link rel="stylesheet" href="//csdnimg.cn/cdn/font-awesome-4.4.0/css/font-awesome.min.css " type="text/css">
<link href="//csdnimg.cn/release/ask/assets/wap_common-16e686a81fbcbcf56db93206963d68f9.css" media="screen" rel="stylesheet" />
<!--<link rel="stylesheet" href="http://csdnimg.cn/public/common/libs/bootstrap/css/bootstrap.css">-->
<!--<link rel="stylesheet" href="http://csdnimg.cn/public/static/css/avatar.css">-->
<!--<link rel="stylesheet" href="static/css/wap_common.scss">-->
<!-- [if IE 7]-->
<!--link( rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" )-->
<!-- [endif]-->
<link href="//csdnimg.cn/release/ask/assets/wap_main-f93bbd8a8db60f2bc1e2f6fb1fd814e1.css" media="all" rel="stylesheet" />
<!--<link rel="stylesheet" href="static/css/wap_main.scss">-->
<!-- [if lt IE 9]-->
<script src="//csdnimg.cn/release/ask/assets/application-a395216f7b17505199a3ba0e043da79a.js"></script>
<script src="//csdnimg.cn/release/ask/assets/libs/jquery-1.11.1.min-0813b27c605a5bbc1c45e0e36a299cd7.js"></script>
<script src="//csdnimg.cn/release/ask/assets/libs/html5shiv.min-dca9221604f14811f9c6767470b96892.js"></script>
<script src="//csdnimg.cn/release/ask/assets/apps/showTag-725156397c191f8af4e6f07b9ade83a8.js"></script>
<script src="//csdnimg.cn/release/ask/assets/mailing-8e53f0888f8f7ea2f4a789ab3b70c790.js"></script>
<!--<script src="static/js/libs/html5shiv.min.js"></script>-->
<!-- [endif]-->
<title>ASK Mobile</title>
<meta content="authenticity_token" name="csrf-param" />
<meta content="4qRxVz6nQjJ17N0W0HcU0R14x/Vb/0JWMHexyiz57Ec=" name="csrf-token" />
<link ref="canonical" href="http://ask.csdn.net/questions/235750">
</head>
<body>
<script>
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
</script>
<script type="text/javascript">
$('.ad_close').click(function(){
$(this).parents('.ad_box').hide()
})
</script>
<div class="ask_main">
<!--script( id="toolbar-tpl-scriptId" skin="black" fixed="true" src="http://c.csdnimg.cn/public/common/toolbar/js/html.js" type="text/javascript" )-->
<div class="ask_top">
<h2 class="ask_top_t"><a class="ask_top_txt" href="/questions">技术问答</a>
<a class="iconfont" href="/users">

</a> <a class="back" href="/questions">返回</a>
</h2>
</div>
<div class="main">
<div class="ask_detail">
<div class="question">
<dl class="question_list clearfix">
<dt class="ques_t ques_t_no">
<h3>html代码中 出现大括号的标签,不知道是起什么作用的?</h3>
<p><span>2016.02.03 12:39</span><em>tang320203</em></p>
</dt>
</dl>
<div class="my_tag_tag">
<a href="/tags/php">php</a><a href="/tags/html">html</a>
<!--<a href="#">ios</a><a href="#">ios</a><a href="#">ios</a><a href="#">ios</a>-->
</div>
<div class="ask_detail_detail">
<p><a href="https://img-ask.csdn.net/upload/201602/03/1454474243_276190.png" target="_blank"><img src="https://img-ask.csdn.net/upload/201602/03/1454474243_276190.png" alt="图片说明" style="max-width:100%;"></a><br>
本来网页上这里的位置是加载文章列表的,但是不知道为什么没有能够正常显示,我去代码中查看是这样的,这里的{list}是什么作用,我能在哪里找到这个列表是如何加载的?</p>
</div>
</div>
<div class="answer" id="answers_div" >
<h4 class="answer_t">
<label><span>3</span>回答</label>
<span class="sort">
按赞数排序
</span>
</h4>
<dl class="answer_list" id="answer_215069">
<dt><img src="//avatar.csdn.net/4/E/0/3_u013129324.jpg" class="head"><span class="name">u013129324</span>
<span class="date">2016.02.03 13:06</span>
</label>
</dt>
<dd>
<!--<p class="answer_p">-->
<div class="answer_p"><p>{list}是模版引擎里的一个变量,通过模版引擎将这个变量替换成文章列表啦</p></div>
<!--</p>-->
<br />
<div class="item">
<label class="commnet">评论<em>2 </em><input type="hidden" value="2"></label>
<label class="praise">
<a data-method="post" data-remote="true" href="/wap/votes?answer_id=215069&type=up" rel="nofollow" style="color: #eb6e59;">
<i class="iconfont praise_icon"></i>
</a> <em class="upcount">0</em>
</label>
<!--<label class="praise"><i class="iconfont praise_icon"></i><em>3</em></label>-->
<label class="tread">
<a data-method="post" data-remote="true" href="/wap/votes?answer_id=215069&type=down" rel="nofollow" style="color: #61b1cd;">
<i class="iconfont tread_icon"></i>
</a>
<em class="downcount">0</em>
</label>
</div>
<!--评论展开-->
<div class="slideComment">
<ul>
<li class="clearfix">
<img alt="tang320203" class="commentHead" src="//avatar.csdn.net/9/6/6/3_tang320203.jpg" username="tang320203" />
<!--<img src="static/images/head.png" class="commentHead">-->
<span>谢谢,了解了,但是为什么我这里首页上没有正常加载呢</span>
</li><li class="clearfix">
<img alt="tang320203" class="commentHead" src="//avatar.csdn.net/9/6/6/3_tang320203.jpg" username="tang320203" />
Back to home |
File page
Subscribe |
Register |
Login
| N