rank.html
2.52 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
<!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>{$bbb['title']}</title>
{php echo register_jssdk();}
<link href="../addons/hl_bbb/template/images/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="page-load-container" style="opacity: 1;">
<div class="page-load-page ranking-page">
<div class="ranking-body" style="padding-top:0px;">
<div class="ranking-banner">
<img src="../addons/hl_bbb/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="{$bbb['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">点数<span class="arrow arrow-bottom"></span></div>
</div>
{php $num=1}
{loop $allph $ph}
<div class="tr">
<div class="td td1 r{$num}"></div>
<div class="td td2">
<div class="user-head ellipsis">
<span class="week-crown"></span>
{$ph['nickname']}
</div>
</div>
<div class="td td3">{$ph['points']}</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">
var link = "{php echo $_W['siteroot'].'app'. ltrim($this->createMobileUrl('rank', array('id' => $id,'uid' => $myuser['id'])),'.')}";
// 摇骰子分享
wx.ready(function () {
sharedata = {
title: "{$bbb['title']}",
desc: "{$bbb['descriptions']}",
link: link,
imgUrl: "{$_W['siteroot']}addons/hl_bbb/template/images/d1.png"
};
wx.onMenuShareAppMessage(sharedata);
wx.onMenuShareTimeline(sharedata);
});
</script>
</body>
</html>