1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>中奖</title>
- <!--#include virtual="/h5v2/htm2/head.htm" -->
- <style type="text/css">
- body {
- background-image: url(img/prizePopup.jpg);
- }
-
- .btn_focus_btn {
- border: 3px solid #fff;
- border-radius: 20px;
- box-shadow: 0px 0px 10px #3794e2;
- }
- </style>
- </head>
- <body>
- <div id="buttonDiv"></div>
- <!--#include virtual="/h5v2/htm2/foot.htm" -->
- <!--#include virtual="activity_cfg.htm" -->
- <script type="text/javascript">
- var linkImage = CONFIG.SPACER; //透明图片
- var buttons = []; //按钮数组
- var act_id = ACTIVITY_CFG.ACT_ID,
- act_code = ACTIVITY_CFG.ACT_CODE; //活动id及code
- var dudu_is_vip = PageH5.cookie.get('activity_is_vip');
- var uid = PageH5.cookie.get('activity_userid');
- var prizeName = unescape(PageH5.cookie.get('activity_prize_name', ''));
- var prizeImg = PageH5.getParam('prizeImg');
- function init() {
- var html = '<div style="position:absolute;left:546px;top:278px;"><img src="' + prizeImg + '" width="188" height="189"/></div>'; //奖品图片
- html += '<div style="position:absolute;left:501px;top:480px;width:280px;height:30px;line-height:30px;text-align:center;font-size:24px;overflow:hidden;color:red;">' + prizeName + '</div>';
- html += '<div style="position:absolute;left: 580px;top:644px;"><img id="btn" src="./img/btn_back.png"/></div>';
- G('buttonDiv').innerHTML = html;
- buttons.push({
- id: 'btn',
- action: back,
- left: '',
- right: '',
- up: '',
- down: '',
- focusClass: 'btn',
- });
- PageH5.btn.init('btn', buttons, '', true);
- }
- function back() {
- location.href = './index.html?f=' + PageH5.getParam('f') + '&titleIdx=' + PageH5.getParam('titleIdx');
- }
- window.onload = function() {
- init();
- }
- </script>
- </body>
- </html>
|