1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>电子奖状</title>
- <!--#include virtual="/h5v2/htm2/head.htm" -->
- <style type="text/css">
- body {
- background-image: url(img/canPrizePopup.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');
- function init() {
- var html = '';
- html += '<div style="position:absolute;left:421px;top:644px;"><img id="btn0" src="./img/btn_back.png"/></div>';
- html += '<div style="position:absolute;left:711px;top:644px;"><img id="btn1" src="./img/btn_phoneNum.png"/></div>';
- G('buttonDiv').innerHTML = html;
- for (var i = 0; i < 2; i++) {
- var obj = {
- id: 'btn' + i,
- action: goAction,
- index: i,
- left: 'btn' + (i - 1),
- right: 'btn' + (i + 1),
- up: '',
- down: '',
- focusClass: 'btn',
- };
- buttons.push(obj);
- }
- PageH5.btn.init('btn1', buttons, '', true);
- }
- function goAction(button) {
- if (button.index == 1) {
- location.href = './phone.html?from=medalInfo';
- } else {
- if (PageH5.getParam('from') == 'winningInfo') {
- location.href = './winningInfo.html';
- } else if (PageH5.getParam('from') == 'medalInfo') {
- location.href = './medalInfo.html';
- } else {
- location.href = './index.html';
- }
- }
- }
- function back() {
- if (PageH5.getParam('from') == 'winningInfo') {
- location.href = './winningInfo.html';
- } else if (PageH5.getParam('from') == 'medalInfo') {
- location.href = './medalInfo.html';
- } else {
- location.href = './index.html';
- }
- }
- window.onload = function() {
- init();
- }
- </script>
- </body>
- </html>
|