From c9cb8c230dc7f3684a9ce3b1cdd16f5381d0c400 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Sat, 7 May 2022 11:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/PromoteCoin/offlineOrderInfo.html | 5 +- .../View/default/CoinOrder/order_add.html | 204 +++++++++--------- 2 files changed, 110 insertions(+), 99 deletions(-) diff --git a/Application/Admin/View/PromoteCoin/offlineOrderInfo.html b/Application/Admin/View/PromoteCoin/offlineOrderInfo.html index d7b313fda..147a5cad3 100644 --- a/Application/Admin/View/PromoteCoin/offlineOrderInfo.html +++ b/Application/Admin/View/PromoteCoin/offlineOrderInfo.html @@ -129,6 +129,7 @@ $('#submit').click(function () { $('#form').submit(); }); + var backurl = "{:U('PromoteCoin/offlineList')}"; $("#agree").on("click",function(){ var id = $(this).parents(".new_submit").data("id"); var url= "{:U('PromoteCoin/offlineAgree')}"+"&ids[]="+id; @@ -138,7 +139,7 @@ icon: 1, time: 1000 //2秒关闭(如果不配置,默认是3秒) }, function(){ - window.location.reload() + window.location.href = backurl; }); } }); @@ -152,7 +153,7 @@ icon: 1, time: 1000 //2秒关闭(如果不配置,默认是3秒) }, function(){ - window.location.reload() + window.location.href = backurl; }); } }); diff --git a/Application/Home/View/default/CoinOrder/order_add.html b/Application/Home/View/default/CoinOrder/order_add.html index 73b0505ad..ece4928a8 100644 --- a/Application/Home/View/default/CoinOrder/order_add.html +++ b/Application/Home/View/default/CoinOrder/order_add.html @@ -29,104 +29,106 @@ 充值 -
-
- - - - - - - - - - - - - - - - - - - + +
+ + +
充值方式: - - - - -
充值账号:{$account}
平台币原价:¥1.00/个
+ + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
充值方式: + + + + +
购买数量: - 平台币 -
应付金额:0.00 - -
- (手续费说明:每笔交易支付服务商将收取 {$LV}% 手续费,最低收取0.1元,上不封顶) -
- -
-
-
+ + 充值账号: + {$account} + + + 平台币原价: + ¥1.00/个 + + + + 平台币限时折扣: + {$config.coin_discount}折 + + + + 购买数量: + + 平台币 + + + + 应付金额: + 0.00 + + + + + + + 订单号: + + + + 支付截图: +
+ + + 备注: + + + + + + + (特殊说明:折扣购买的平台币不参与结算) + + + + + (手续费说明:每笔交易支付服务商将收取 {$LV}% 手续费,最低收取0.1元,上不封顶) + + + + + + + + + + + @@ -153,6 +155,13 @@ calculation_money($("input[name=coin_num]").val()); } }); + //---begin 直接执行 如需线上取消 + $(".remittance").show(); + $("#tip").hide(); + calculation_money($("input[name=coin_num]").val()); + $("input[name='pay_type']").siblings('i').addClass('current'); + //----end + $("input[name=coin_num]").bind('input propertychange', function () { calculation_money($(this).val()); }) @@ -216,7 +225,8 @@ }else{ layer.alert(result.info,function () { parent.layer.closeAll(); - location.reload(); + var url = "{:U('CoinOrder/order_list')}"; + location.href = url; }); } }else{