工会web
This commit is contained in:
37
GonghuiWeb/www/m/user/jcgh_star.tpl
Normal file
37
GonghuiWeb/www/m/user/jcgh_star.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
<!--{include file='top.tpl'}-->
|
||||
<style>
|
||||
.nr_nr {line-height:18px;}
|
||||
</style>
|
||||
<div id=in>
|
||||
<div style="text-align:center;height:35px;line-height:35px;font-size:18px;"><span id='num'>0</span>/<!--{$count}--></div>
|
||||
<div style="float:left;width:50%;">
|
||||
<textarea id="info" style="width:100%;height:500px;"></textarea>
|
||||
</div>
|
||||
<div style="float:left;width:50%;">
|
||||
<textarea id="error" style="width:100%;height:500px;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<!--{include file='bottom.tpl'}-->
|
||||
<script>
|
||||
var n = 0;
|
||||
function satr(uid){
|
||||
$.getJSON("jcgh_star.php",{uid:uid}, function(ret){
|
||||
//alert(JSON.stringify(ret));
|
||||
if(ret.ret == 'ok'){
|
||||
$("#info").append("\nUnionID:"+ret.UnionID+" OK");
|
||||
}else{
|
||||
$("#error").append("\nUnionID:"+ret.UnionID+" "+ret.ret);
|
||||
}
|
||||
if(ret.next){
|
||||
satr(ret.next);
|
||||
}
|
||||
var scrollTop = $("#info")[0].scrollHeight;
|
||||
$("#info").scrollTop(scrollTop);
|
||||
n++;
|
||||
$("#num").html(n);
|
||||
});
|
||||
}
|
||||
satr(<!--{$uid}-->);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user