From f91c0f0965fc6d7ab0f1151758a5718061f85ad8 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Wed, 16 Oct 2019 11:14:55 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=AF=8F=E9=A1=B5=E6=9D=A1=E6=95=B0bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/View/default/Apply/index.html | 27 +++++++++++--- .../Home/View/default/Apply/my_game.html | 27 +++++++++++--- .../Home/View/default/GameDivide/index.html | 27 ++++++++++---- .../View/default/PromoteCoin/coinRecord.html | 35 +++++++++++++++---- .../Home/View/default/PromoteCoin/myCoin.html | 29 +++++++++++---- .../Home/View/default/Query/recharge.html | 28 ++++++++++----- .../Home/View/default/Query/register.html | 25 +++++++++---- .../Home/View/default/Query/view_role.html | 28 +++++++++------ 8 files changed, 173 insertions(+), 53 deletions(-) diff --git a/Application/Home/View/default/Apply/index.html b/Application/Home/View/default/Apply/index.html index 8746e93da..6b99364ce 100644 --- a/Application/Home/View/default/Apply/index.html +++ b/Application/Home/View/default/Apply/index.html @@ -105,7 +105,7 @@ -
+
当前位置:游戏管理>{$position}
@@ -180,10 +180,11 @@
-
+ +
- +
-
+
@@ -869,5 +870,21 @@ $('#promote_id').on('change', function () { newPromoteId = $(this).val(); }); + + $('#submit').click(function () { + var url = $(this).attr('url'); + console.log(url); + var query = $('.jssearch').find('input').serialize(); + query += "&" + $('.jssearch').find('select').serialize(); + query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, ''); + query = query.replace(/^&/g, ''); + if (url.indexOf('?') > 0) { + url += '&' + query; + } else { + url += '?' + query; + } + window.location.href = url; + + }); diff --git a/Application/Home/View/default/Apply/my_game.html b/Application/Home/View/default/Apply/my_game.html index 71be12117..599867866 100644 --- a/Application/Home/View/default/Apply/my_game.html +++ b/Application/Home/View/default/Apply/my_game.html @@ -89,7 +89,7 @@ -
+
当前位置:游戏管理>{$position}
@@ -156,10 +156,11 @@ -
+ +
- +
-
+
@@ -1031,5 +1032,21 @@ clipboard.on('error', function(e) { // console.log(e); }); + + $('#submit').click(function () { + var url = $(this).attr('url'); + console.log(url); + var query = $('.jssearch').find('input').serialize(); + query += "&" + $('.jssearch').find('select').serialize(); + query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, ''); + query = query.replace(/^&/g, ''); + if (url.indexOf('?') > 0) { + url += '&' + query; + } else { + url += '?' + query; + } + window.location.href = url; + + }); diff --git a/Application/Home/View/default/GameDivide/index.html b/Application/Home/View/default/GameDivide/index.html index 39bd2c94d..718080fed 100644 --- a/Application/Home/View/default/GameDivide/index.html +++ b/Application/Home/View/default/GameDivide/index.html @@ -135,7 +135,7 @@ -
+
当前位置:游戏管理>分成比例
@@ -150,8 +150,8 @@