<!--<img src="static/images/head.png" class="commentHead">-->
<span>是哪里出了问题?</span>
</li>
</ul>
</div>
</dd>
</dl><dl class="answer_list" id="answer_215270">
<dt><img src="//avatar.csdn.net/C/B/8/3_wojiushiwo945you.jpg" class="head"><span class="name">wojiushiwo945you</span>
<span class="date">2016.02.03 22:26</span>
</label>
</dt>
<dd>
<!--<p class="answer_p">-->
<div class="answer_p"><p>这是MVC 或 SMARTY 中的一个标准的"模板变量" {list} 这就是一个模板变量 ,将来会被相应的内容替换掉。<br>
模板变量通常是指一些固定不变的部分,如网站头部和尾部基本上是不变的,被做成了模板,在另外的页面就可以直接调用。<br>
至于模板引擎的加载原理,可以参考这篇博客,有例子很详细:<a href="http://blog.csdn.net/wusuopubupt/article/details/9129783">http://blog.csdn.net/wusuopubupt/article/details/9129783</a></p></div>
<!--</p>-->
<br />
<div class="item">
<label class="commnet">评论<em>0 </em><input type="hidden" value="0"></label>
<label class="praise">
<a data-method="post" data-remote="true" href="/wap/votes?answer_id=215270&amp;type=up" rel="nofollow" style="color: #eb6e59;">
<i class="iconfont praise_icon">&#xe604;</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=215270&amp;type=down" rel="nofollow" style="color: #61b1cd;">
<i class="iconfont tread_icon">&#xe600;</i>
</a>
<em class="downcount">0</em>
</label>
</div>
<!--评论展开-->
<div class="slideComment">
<ul>

</ul>
</div>
</dd>
</dl><dl class="answer_list" id="answer_218785">
<dt><img src="//avatar.csdn.net/5/D/7/3_qq_29787335.jpg" class="head"><span class="name">qq_29787335</span>
<span class="date">2016.02.18 17:22</span>
</label>
</dt>
<dd>
<!--<p class="answer_p">-->
<div class="answer_p"><p>这个是php后台给前台赋值用的</p></div>
<!--</p>-->
<br />
<div class="item">
<label class="commnet">评论<em>0 </em><input type="hidden" value="0"></label>
<label class="praise">
<a data-method="post" data-remote="true" href="/wap/votes?answer_id=218785&amp;type=up" rel="nofollow" style="color: #eb6e59;">
<i class="iconfont praise_icon">&#xe604;</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=218785&amp;type=down" rel="nofollow" style="color: #61b1cd;">
<i class="iconfont tread_icon">&#xe600;</i>
</a>
<em class="downcount">0</em>
</label>
</div>
<!--评论展开-->
<div class="slideComment">
<ul>

</ul>
</div>
</dd>
</dl>
</div>
</div>
<div class="toAnswer">
<form accept-charset="UTF-8" action="/wap/questions/create_answer" class="new_answer" id="answer_form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="4qRxVz6nQjJ17N0W0HcU0R14x/Vb/0JWMHexyiz57Ec=" /></div>
<input id="answer_question_id" name="answer[question_id]" type="hidden" value="235750" />
<input id="answer_from_type" name="answer[from_type]" type="hidden" value="ask_channels" />
<input class="toAnswer_inpt" type="text" name="answer[body]">
<input type="button" value="我要回答" class="btn_answer" id="form_submit_button">
</form> </div>
</div>
<!--script( type="text/javascript" src="http://csdnimg.cn/pubfooter/js/publib_footer.js" )-->
<!--script( type="text/javascript" src="http://c.csdnimg.cn/public/common/toolbar/js/toolbar.js" )-->
<script type="text/javascript">
// alert('');
$(function(){
initpage();
$(window).resize(function()
{
initpage();
})

function initpage()
{
var view_width = document.getElementsByTagName('html')[0].getBoundingClientRect().width;
var _html = document.getElementsByTagName('html')[0];
view_width>640?_html.style.fontSize=640/16 +'px':_html.style.fontSize =view_width/16+'px';
}
});
$("#form_submit_button").click(function(){
var answer = $(".toAnswer_inpt").val();
if(answer.length > 10){
$(this).parents('form').submit();
}else{
$(".toAnswer_inpt").css("border-color","red");
return false;
}
})
</script>
<div class="ask_footer">©1999-2018, csdn.net, All Rights Reserved</div>
</div>
<div id="popup_mask" class="marker"></div>
<div id="pop_win" style="position: absolute;background: none repeat scroll 0 0 #FFFFFF;z-index: 10000;border: 1px solid #DCDCDC;"></div>
</body>
</html>

Prev |
Pg.: 1 2


Back to home | File page

Subscribe | Register | Login | N