超级签充值业务迁移mobile目录下
parent
cdc7e284da
commit
8de8da4f38
@ -0,0 +1,34 @@
|
||||
<!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,minimum-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>错误信息</title>
|
||||
<link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="blank-box">
|
||||
<div class="title">
|
||||
<img class="gologin" src="__IMG__/ssg/alipay/back.png" onclick="javascript:history.go(-1)">
|
||||
<div class="content">错误信息</div>
|
||||
<div class="titleright"></div>
|
||||
</div>
|
||||
|
||||
<div class="cell-box">
|
||||
<img src="__IMG__/ssg/error.png">
|
||||
</div>
|
||||
<p>{$error}</p>
|
||||
<!--<div class="resbtn">
|
||||
<a href="#">
|
||||
刷新页面
|
||||
</a>
|
||||
</div>-->
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
|
||||
<script src="__JS__/ssg/common.js" type="text/javascript"></script>
|
||||
<script>
|
||||
</script>
|
||||
</html>
|
@ -0,0 +1,75 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>订单详情</title>
|
||||
<link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css">
|
||||
<script src="/Public/Mobile/js/ssg/flexible.min.js" type="text/javascript"></script>
|
||||
|
||||
</head>
|
||||
<body class="install-box">
|
||||
<div class="title" >
|
||||
<img class="gologin" src="__IMG__/ssg/alipay/back.png" style="margin-left:.24rem;" onclick="javascript:history.go(-1)">
|
||||
<div style="font-size: .32rem;color: #fff;">{$game['game_name']}</div>
|
||||
<div class="titleright" style="margin-right:.24rem;"></div>
|
||||
</div>
|
||||
<div class="page-container ">
|
||||
<div class="vip-download">
|
||||
<div class="game-info" style="padding: .3rem;width: 6.9rem;height: 3.4rem;font-size: .28rem;margin: auto;">
|
||||
<img src="__IMG__/ssg/detail/download-bg.png">
|
||||
<div class="game-icon" style="top:.5rem;"><img src="{$game['icon']|get_cover='path'}"></div>
|
||||
<div class="game-title">{$game['game_name']}-超级签</div>
|
||||
<div class="game-rule">不同设备需要分别付费安装哦,请使用常用设备下载</div>
|
||||
<div class="download-button"><a href="{$url}">下载安装</a></div>
|
||||
</div>
|
||||
<if condition="$giftbag">
|
||||
|
||||
<div style="padding:0 .3rem;">
|
||||
<div class="game-gift shaddowbox">
|
||||
<div class="title-3">
|
||||
<h2>特权礼包</h2>
|
||||
</div>
|
||||
<div class="gift-list">
|
||||
<ul>
|
||||
<li >
|
||||
<div class="gift-title">
|
||||
<h2>{$giftbag['gift_name']}</h2>
|
||||
</div>
|
||||
<p class="gift-info">{$giftbag['desribe']}</p>
|
||||
<p class="gift-code">
|
||||
<label for="giftCode">兑换码:</label>
|
||||
<input id="giftCode1455" type="text" value="{$giftbag['novice']}" readonly="">
|
||||
<a href="javascript:;" class="code-btn1455" data-clipboard-target="#giftCode1455">复制兑换码</a>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</if>
|
||||
</div>
|
||||
</div>
|
||||
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
|
||||
<script src="__JS__/ssg/clipboard.min.js" type="text/javascript"></script>
|
||||
</body>
|
||||
<script>
|
||||
|
||||
var clipboard = new ClipboardJS(".code-btn1455");
|
||||
clipboard.on('success', function (e) {
|
||||
alert("复制成功");
|
||||
});
|
||||
clipboard.on('error', function (e) {
|
||||
var ua = navigator.userAgent;
|
||||
var isIOS = !!ua.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
|
||||
if (isIOS && ua.match(/os\s+(\d+)/i)[1] - 0 < 10) {
|
||||
alert("您的系统版本过低,请手动复制下方地址");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</html>
|
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 830 B |
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
@ -0,0 +1,122 @@
|
||||
/*!
|
||||
* jquery.base64.js 0.1 - https://github.com/yckart/jquery.base64.js
|
||||
* Makes Base64 en & -decoding simpler as it is.
|
||||
*
|
||||
* Based upon: https://gist.github.com/Yaffle/1284012
|
||||
*
|
||||
* Copyright (c) 2012 Yannick Albert (http://yckart.com)
|
||||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php).
|
||||
* 2013/02/10
|
||||
**/
|
||||
;(function($) {
|
||||
|
||||
var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
||||
a256 = '',
|
||||
r64 = [256],
|
||||
r256 = [256],
|
||||
i = 0;
|
||||
|
||||
var UTF8 = {
|
||||
|
||||
/**
|
||||
* Encode multi-byte Unicode string into utf-8 multiple single-byte characters
|
||||
* (BMP / basic multilingual plane only)
|
||||
*
|
||||
* Chars in range U+0080 - U+07FF are encoded in 2 chars, U+0800 - U+FFFF in 3 chars
|
||||
*
|
||||
* @param {String} strUni Unicode string to be encoded as UTF-8
|
||||
* @returns {String} encoded string
|
||||
*/
|
||||
encode: function(strUni) {
|
||||
// use regular expressions & String.replace callback function for better efficiency
|
||||
// than procedural approaches
|
||||
var strUtf = strUni.replace(/[\u0080-\u07ff]/g, // U+0080 - U+07FF => 2 bytes 110yyyyy, 10zzzzzz
|
||||
function(c) {
|
||||
var cc = c.charCodeAt(0);
|
||||
return String.fromCharCode(0xc0 | cc >> 6, 0x80 | cc & 0x3f);
|
||||
})
|
||||
.replace(/[\u0800-\uffff]/g, // U+0800 - U+FFFF => 3 bytes 1110xxxx, 10yyyyyy, 10zzzzzz
|
||||
function(c) {
|
||||
var cc = c.charCodeAt(0);
|
||||
return String.fromCharCode(0xe0 | cc >> 12, 0x80 | cc >> 6 & 0x3F, 0x80 | cc & 0x3f);
|
||||
});
|
||||
return strUtf;
|
||||
},
|
||||
|
||||
/**
|
||||
* Decode utf-8 encoded string back into multi-byte Unicode characters
|
||||
*
|
||||
* @param {String} strUtf UTF-8 string to be decoded back to Unicode
|
||||
* @returns {String} decoded string
|
||||
*/
|
||||
decode: function(strUtf) {
|
||||
// note: decode 3-byte chars first as decoded 2-byte strings could appear to be 3-byte char!
|
||||
var strUni = strUtf.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g, // 3-byte chars
|
||||
function(c) { // (note parentheses for precence)
|
||||
var cc = ((c.charCodeAt(0) & 0x0f) << 12) | ((c.charCodeAt(1) & 0x3f) << 6) | (c.charCodeAt(2) & 0x3f);
|
||||
return String.fromCharCode(cc);
|
||||
})
|
||||
.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g, // 2-byte chars
|
||||
function(c) { // (note parentheses for precence)
|
||||
var cc = (c.charCodeAt(0) & 0x1f) << 6 | c.charCodeAt(1) & 0x3f;
|
||||
return String.fromCharCode(cc);
|
||||
});
|
||||
return strUni;
|
||||
}
|
||||
};
|
||||
|
||||
while(i < 256) {
|
||||
var c = String.fromCharCode(i);
|
||||
a256 += c;
|
||||
r256[i] = i;
|
||||
r64[i] = b64.indexOf(c);
|
||||
++i;
|
||||
}
|
||||
|
||||
function code(s, discard, alpha, beta, w1, w2) {
|
||||
s = String(s);
|
||||
var buffer = 0,
|
||||
i = 0,
|
||||
length = s.length,
|
||||
result = '',
|
||||
bitsInBuffer = 0;
|
||||
|
||||
while(i < length) {
|
||||
var c = s.charCodeAt(i);
|
||||
c = c < 256 ? alpha[c] : -1;
|
||||
|
||||
buffer = (buffer << w1) + c;
|
||||
bitsInBuffer += w1;
|
||||
|
||||
while(bitsInBuffer >= w2) {
|
||||
bitsInBuffer -= w2;
|
||||
var tmp = buffer >> bitsInBuffer;
|
||||
result += beta.charAt(tmp);
|
||||
buffer ^= tmp << bitsInBuffer;
|
||||
}
|
||||
++i;
|
||||
}
|
||||
if(!discard && bitsInBuffer > 0) result += beta.charAt(buffer << (w2 - bitsInBuffer));
|
||||
return result;
|
||||
}
|
||||
|
||||
var Plugin = $.base64 = function(dir, input, encode) {
|
||||
return input ? Plugin[dir](input, encode) : dir ? null : this;
|
||||
};
|
||||
|
||||
Plugin.btoa = Plugin.encode = function(plain, utf8encode) {
|
||||
plain = Plugin.raw === false || Plugin.utf8encode || utf8encode ? UTF8.encode(plain) : plain;
|
||||
plain = code(plain, false, r256, b64, 8, 6);
|
||||
return plain + '===='.slice((plain.length % 4) || 4);
|
||||
};
|
||||
|
||||
Plugin.atob = Plugin.decode = function(coded, utf8decode) {
|
||||
coded = String(coded).split('=');
|
||||
var i = coded.length;
|
||||
do {--i;
|
||||
coded[i] = code(coded[i], true, r64, a256, 6, 8);
|
||||
} while (i > 0);
|
||||
coded = coded.join('');
|
||||
return Plugin.raw === false || Plugin.utf8decode || utf8decode ? UTF8.decode(coded) : coded;
|
||||
};
|
||||
}(jQuery));
|
Loading…
Reference in New Issue