|
|
@@ -48,8 +48,8 @@ function topUp(){
|
|
|
title: false,
|
|
|
shadeClose: true,
|
|
|
anim: 1,
|
|
|
- closeBtn: 0,
|
|
|
- area: ['auto', '700px'],
|
|
|
+ closeBtn: 1,
|
|
|
+ area: ['auto', '680px'],
|
|
|
content: $(".top_up_div"),
|
|
|
end: () => {
|
|
|
clearInterval(runInterval);
|
|
|
@@ -73,8 +73,8 @@ function buyPermissions(){
|
|
|
title: false,
|
|
|
shadeClose: true,
|
|
|
anim: 1,
|
|
|
- closeBtn: 0,
|
|
|
- area: ['auto', '700px'],
|
|
|
+ closeBtn: 1,
|
|
|
+ area: ['auto', '680px'],
|
|
|
content: $(".quotation_number"),
|
|
|
end: () => {
|
|
|
clearInterval(offerNumPayRunInterval);
|
|
|
@@ -82,7 +82,8 @@ function buyPermissions(){
|
|
|
getByNumber();
|
|
|
gysTopUpNum();
|
|
|
},
|
|
|
- cancel: () => {
|
|
|
+ cancel: function() {
|
|
|
+ console.log($(this))
|
|
|
clearInterval(offerNumPayRunInterval);
|
|
|
offerNumPayRunInterval = null;
|
|
|
getByNumber();
|
|
|
@@ -206,6 +207,8 @@ function onblurEle(){
|
|
|
headers: {"token": localStorage.getItem("token")},
|
|
|
dataType: "json",
|
|
|
success: (data) => {
|
|
|
+ $(".qr-code-div").show();
|
|
|
+ $(".top_up_div .button_top_up").css("margin-top", "0");
|
|
|
var qrcode = new QRCode(document.getElementById("qrcode"), { // 显示二维码的元素或该元素的 ID
|
|
|
text: data.code_url, // 内容可以是文字,链接,邮箱
|
|
|
width: 120, //设置宽度
|
|
|
@@ -292,6 +295,8 @@ function payType(obj){
|
|
|
}
|
|
|
$(".quotation_number .pay_div_mode").removeClass("select_pay_click");
|
|
|
$(".quotation_number .pay_div_mode").find("div").html(" ");
|
|
|
+ $(".qrcode_ok_div").hide();
|
|
|
+ $(".quotation_number .button_top_up").css("margin-top", "50px");
|
|
|
$(obj).addClass("select_pay_click");
|
|
|
$(".select_pay_click").find("div").html("<i class=\"layui-icon\"></i>");
|
|
|
var name = $(obj).find("span").text();
|
|
|
@@ -382,6 +387,8 @@ function offerNumPay(){
|
|
|
headers: {"token": localStorage.getItem("token")},
|
|
|
dataType: "json",
|
|
|
success: (data) => {
|
|
|
+ $(".qrcode_ok_div").show();
|
|
|
+ $(".quotation_number .button_top_up").css("margin-top", "0");
|
|
|
var qrcode = new QRCode(document.getElementById("qrcode_ok"), { // 显示二维码的元素或该元素的 ID
|
|
|
text: data.code_url, // 内容可以是文字,链接,邮箱
|
|
|
width: 120, //设置宽度
|