50 lines
1.9 KiB
HTML
50 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<title>react js</title>
|
||
<meta charset='utf-8' />
|
||
<meta name="keywords" content="" />
|
||
<meta name="description" content="" />
|
||
<meta name="apple-mobile-web-app-capable" content="no">
|
||
<meta content='True' name='HandheldFriendly' />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||
|
||
<link type="text/css" rel="stylesheet" href="/stylesheets/weui/weixin.css" />
|
||
|
||
</head>
|
||
<body>
|
||
<div id="container"></div>
|
||
|
||
<!-- 模板1开始,可以使用script(type设置为text/html)来存放模板片段,并且用id标示 -->
|
||
<script id="t:result-list" type="text/html">
|
||
|
||
<! for(var i =0; i < issues.length; ++i){ !>
|
||
<div class="post-container">
|
||
<div class="post-wrapper">
|
||
<div class="post-main">
|
||
<div class="post-avatar fl"><img src="<!=issues[i].author.img_url!>" width="45" height="45" class="border-radius" /></div>
|
||
<div class="post-title hidden mb5"><span class="c-grey3 f15 fb"><!=issues[i].subject!></span></div>
|
||
<div class="post-title hidden"><a herf="javascript:void(0);" class="mr10"><!=issues[i].author.nickname!></a>项目问题</div>
|
||
<div class="cl"></div>
|
||
<div class="post-content c-grey2 mt10">
|
||
<div class="post-all-content"><!=issues[i].description!></div>
|
||
</div>
|
||
<a herf="javascript:void(0);" class="link-blue f13 fl mt5 post-more " style="text-decoration:underline">点击展开</a>
|
||
<div class="cl"></div>
|
||
<span class="c-grey f13 mt10 fl"><!=issues[i].created_on!></span>
|
||
<div class="cl"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<! } !>
|
||
|
||
|
||
|
||
</script>
|
||
|
||
<script src="/javascripts/jquery-1.3.2.js"></script>
|
||
<script src="/javascripts/baiduTemplate.js"></script>
|
||
<script src="/javascripts/wechat/auth.js"></script>
|
||
<script src="/javascripts/wechat/wechat-dev.js"></script>
|
||
</body>
|
||
</html> |