You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.1 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />
<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>微信打开支付提示</title>
<link href="__CSS__/ssg/common.css" rel="stylesheet" type="text/css">
<!--<link href="./img/favicon.ico" type="image/x-icon" rel="shortcut icon">-->
<link href="__CSS__/ssg/pay-center.css" rel="stylesheet" type="text/css">
<script src="__JS__/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="__JS__/jquery.base64.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
if(isWeiXin()==false){
window.location.href='{$url}';
}
});
//判断是否是微信浏览器的函数
function isWeiXin(){
//window.navigator.userAgent属性包含了浏览器类型、版本、操作系统类型、浏览器引擎类型等信息这个属性可以用来判断浏览器类型
var ua = window.navigator.userAgent.toLowerCase();
//通过正则表达式匹配ua中是否含有MicroMessenger字符串
if(ua.match(/MicroMessenger/i) == 'micromessenger'){
return true;
}else{
return false;
}
}
</script>
</head>
<body>
<div class="topbar">
<div class="topcon auto">
<h1 class="pay-logo">
<img src="__IMG__/ssg/alipay/pay-logo.png" alt="Logo"></h1>
</div>
</div>
<div class="m-order hidden">
<div class="m-order-base">
<div class="m-order-item">
<label>收款方:</label><span>天下游戏平台</span>
</div>
<div class="m-order-item">
<label>订单号:</label><span>{$order_id}</span>
</div>
<div class="m-order-item">
<label>商品名称:</label><span>超级签购买</span>
</div>
<div class="m-order-item">
<label>商品描述:</label><span></span>
</div>
<div class="m-order-item">
<label>交易金额:</label><span>{$price}元</span>
</div>
</div>
<div class="m-order-qrcode">
<div class="m-weixin-alipay-hintinfo">由于微信不支持支付宝直接支付请点击微信右上角菜单在Safari中打开</div>
<div class="m-weixin-alipay-qrcode-foot">
<a class="fail-pay" href="{:U('Ipa365/pay_order_check', array('order_id' => $order_id, 'game_id' => $game_id))}">支付遇到问题</a>
<a class="success-pay" href="{:U('Ipa365/pay_order_check', array('order_id' => $order_id, 'game_id' => $game_id))}">支付完成</a>
</div>
</div>
</div>
<div class="footer-pay">
<p>橙枫科技有限公司 版权所有 ©2019 支付中心</p>
</div>
</body>
</html>