rank.html
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="”apple-mobile-web-app-capable”" content="”yes”">
<meta content="telephone=no" name="format-detection">
<title>做粽子-排名</title>
{php echo register_jssdk();}
<link href="../addons/hl_zzz/template/images/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="page-load-container" style="min-height: 771px; opacity: 1;">
<div class="page-load-page ranking-page" style="min-height: 771px;">
<div class="ranking-body" style="padding-top:0px;">
<div class="ranking-banner">
<img src="../addons/hl_zzz/template/images/ranking-banner.jpg" border="0" alt="">
<span class="ranking-banner-text">{$str}</span>
<span class="ranking-time"></span>
{if $showurl}
<a class="to-index-button" href="{$zzz['guzhuurl']}">我也<br>要玩</a>
{else}
<a class="to-index-button" href="{php echo $this->createMobileUrl('lottery', array('id' => $id))}">返回<br>游戏</a>
{/if}
</div>
<div class="ranking-list" >
<div class="tr">
<div class="th th1">名次<span class="arrow arrow-bottom"></span></div>
<div class="th th2">名字<span class="arrow arrow-bottom"></span></div>
<div class="th th3">{$zzz['bigunit']}/{$zzz['smallunit']}<span class="arrow arrow-bottom"></span></div>
</div>
{php $num=1}
{loop $allph $ph}
<div class="tr">
{if $num>3}
<div class="td td1 r0">{$num} </div>
{else}<div class="td td1 r{$num}"></div>
{/if}
<div class="td td2">
<div class="user-head ellipsis">
<span class="week-crown"></span>
{$ph['nickname']}
</div>
</div>
<div class="td td3">{$ph['zz']}/{$ph['ypoints']}</div>
</div>
<div class="tr">
<div class="td"></div>
<div class="td"></div>
<div class="td"></div>
</div>
{php $num++}
{/loop}
</div>
</div>
<div class="power-by">
@{$_W['account']['name']}
</div>
</div>
</div>
<script type="text/javascript">
// 做粽子分享
wx.ready(function () {
sharedata = {
title: "{$zzz['title']}",
desc: "我在玩『{$zzz['title']}』,抢头等奖。快进来助我一臂之力~~",
link: "{$_W['siteroot']}app/{php echo $this->createMobileUrl('rank', array('id' => $id,'uid' => $myuser['id']))}",
imgUrl: "{$_W['siteroot']}addons/hl_zzz/icon.jpg"
};
wx.onMenuShareAppMessage(sharedata);
wx.onMenuShareTimeline(sharedata);
});
</script>
</body>
</html>