<!DOCTYPE html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
<title>支付成功</title>
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
<link rel="stylesheet" type="text/css" href="css/base.css" />
|
<link rel="stylesheet" type="text/css" href="css/payCloudPushOrder.css" />
|
<script>
|
window.onresize = function() {
|
document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px';
|
};
|
window.onresize();
|
</script>
|
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
|
<script src="http://img.flqapp.com/resource/js/app2019112217.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
<style type="text/css">
|
[v-cloak] {
|
display: none !important;
|
}
|
</style>
|
</head>
|
<body>
|
<div id="root" v-cloak>
|
<img src="img/icon_payResult.png" style="width: 1.86rem;height: 1.71rem;margin-left: 2.82rem;margin-top: 3.6rem;">
|
<div style="color: #333333;font-size: 0.4rem;height: 0.4rem;display: -webkit-flex;align-items: center;justify-content: center;margin-top: 0.1rem;">
|
订单支付成功
|
</div>
|
<div style="color: #FF3535;font-size: 0.48rem;height: 0.4rem;display: -webkit-flex;align-items: center;justify-content: center;margin-top: 0.18rem;">
|
<span style="font-size: 0.3rem;">¥</span>{{money}}
|
</div>
|
<div @click="back" style="color: #FFFFFF;font-size: 0.36rem;width: 5.02rem;height: 0.75rem;background-color: #178BF7;border-radius: 0.375rem;display: -webkit-flex;align-items: center;justify-content: center;margin-left: 1.23rem;margin-top: 0.86rem;">
|
返回
|
</div>
|
</div>
|
</body>
|
|
<script type="text/javascript">
|
function getQueryString(name) {
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
var r = window.location.search.substr(1).match(reg);
|
if (r != null) return unescape(r[2]);
|
return null;
|
};
|
</script>
|
|
<script>
|
// "http://api.flqapp.com";
|
var host = "http://api.flqapp.com";
|
var id = getQueryString('id');
|
|
$(function() {
|
var app = new Vue({
|
el: '#root',
|
data: {
|
money: '0.00'
|
},
|
watch: {
|
|
},
|
methods: {
|
back: function() {
|
yesApp.toast('s')
|
history.go(-2);
|
},
|
getInfo: function() {
|
yesApp.showLoading();
|
var uid = yesApp.getUid();
|
var params = {
|
uid: uid,
|
id: id
|
};
|
params = yesApp.getRequestBaseParams(params);
|
|
yesApp.showLoading();
|
$.ajax({
|
type: "GET",
|
data: JSON.parse(params),
|
url: host + "/fanli/api/v2/user/cloud/payEnd",
|
dataType: "jsonp",
|
async: true,
|
success: function(result) {
|
yesApp.hideLoading();
|
if (result.code == 0) {
|
app.money = result.data.money;
|
|
} else {
|
yesApp.toast(result.msg);
|
}
|
},
|
complete: function(e) {
|
yesApp.hideLoading();
|
}
|
});
|
}
|
}
|
});
|
app.getInfo();
|
});
|
</script>
|
</html>
|