vote-end.html
2.41 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title>投票结束</title>
{php echo register_jssdk();}
<link type="text/css" rel="stylesheet" href="../addons/ewei_vote/style/vote.css" />
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
</head>
<body>
<div class="wrapper" style="margin-top:-8px;">
<img class="bg" src="../addons/ewei_vote/style/images/bg.jpg">
<div class="top fn-clear">
<div class="title-cont">
<p class="title">{$reply['title']}</p>
<p class="timeout" style='padding-left:15px;'><img class="clock" src="../addons/ewei_vote/style/images/clock.png"><span class="text">{$limits}</span></p>
<p> </p>
</div>
</div>
{if !empty($reply['thumb'])}
<div class="cover">
<img class="line" src="../addons/ewei_vote/style/images/ctline.jpg">
<img class="cimg" src="{php echo tomedia($reply['thumb'])}">
<img class="line" src="../addons/ewei_vote/style/images/cbline.jpg">
</div>
{/if}
<div class="summary">{$reply['title']} -- 投票结果</div>
<div class="option-cont">
{loop $list $row}
<div class="option fn-clear option-statis" data-value="0">
{if !empty($row['thumb']) && $reply['isimg']==1}
<div>
<image src="{php echo tomedia($row['thumb'])}" style="width:95%;margin:10px;" />
</div>
{/if}
<div style="overflow:hidden;">
<div style="float:left">{$row['title']}</div>
<div style="float:right">{$row['vote_num']}票</div>
</div>
<div class="progress">
<div data-per="{$row['percent']}" class="bar bar0" style="width: {$row['percent']}%;"></div>
</div>
<span class="per" style="margin-left:15px;">{$row['num']}({$row['percent']}%)</span>
</div>
<img class="sep" src="../addons/ewei_vote/style/images/option_sep.jpg">
{/loop}
</div>
<p class="page-url">
</p>
</div>
</body>
<script type="text/javascript">
// 大转盘分享
wx.ready(function () {
sharedata = {
title: "{$sharetitle}",
desc: "{$sharedesc}",
link: "{$sharelink}",
imgUrl: "{$shareimg}"
};
wx.onMenuShareAppMessage(sharedata);
wx.onMenuShareTimeline(sharedata);
});
</script>
</html>