From cc260076be9b9a8cfff6bbf34edbfaab3269dc8f Mon Sep 17 00:00:00 2001 From: zhanglingsheng Date: Tue, 12 Nov 2019 17:11:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E8=B4=A6=E6=88=B7=E9=99=90=E5=88=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index 22866337..a67f1617 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -832,7 +832,7 @@ class UserController extends BaseController #实例化用户接口 $userApi = new MemberApi(); - if(!preg_match('/^(?![^a-zA-Z]+$)(?!\D+$).{6,15}$/', $user['account'])){ + if(!preg_match('/^[0-9a-zA-Z]{6,15}$/', $user['account'])){ $this -> set_message(1027, "fail", "账号必须6-15位数字或字母组合"); } From f611e6cac3157826a6afc1a5fb220c0c81e8c4fb Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Tue, 12 Nov 2019 17:15:54 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=A8=AA=E5=B1=8F?= =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sdk/View/default/Spend/pay_way.html | 38 +++++++------------ .../View/default/WapPay/wap_shortcut_pay.html | 2 +- 2 files changed, 14 insertions(+), 26 deletions(-) diff --git a/Application/Sdk/View/default/Spend/pay_way.html b/Application/Sdk/View/default/Spend/pay_way.html index 90a17406..58149794 100644 --- a/Application/Sdk/View/default/Spend/pay_way.html +++ b/Application/Sdk/View/default/Spend/pay_way.html @@ -28,7 +28,7 @@ } .weui-cell { - height: 0.85rem; + height: 0.75rem; font-size: .28rem; color: #292929; padding: 0px .3rem; @@ -66,12 +66,18 @@ height:1rem;background-color: #21B1EB;color: #ffffff;font-size: .32rem;text-align: center;line-height:1rem;bottom: 0px; position: fixed;left: 0;right: 0; } + .pay-info,.paylist{ + margin-top: .3rem; + } } @media screen and (orientation: landscape) { /*横屏 css*/ .box{ - padding:.3rem .5rem; + padding:.24rem .5rem; } + .pay-info,.paylist{ + margin-top: .24rem; + } .bottombutton{ height:1rem;background-color: #21B1EB;color: #ffffff;font-size: .32rem;text-align: center;line-height:1rem; width: 7.5rem;border-radius: .2rem;position: absolute;left: 50%;margin: .5rem 0 .5rem -3.75rem; @@ -89,7 +95,7 @@ min-width: 30%; box-sizing: content-box; margin-left: 3%; - padding: .2rem .0rem; + padding: .16rem .0rem; } .paylist-box .weui-cell:before{ content: none; @@ -109,25 +115,7 @@ .showotherpay{ width: 100%;height: .9rem;background-color: #ffffff;font-size: .28rem;text-align: center;color: #A9A9A9;line-height: .9rem;margin-top: .3rem; } - @media screen and (orientation: portrait) { - .box{ - padding:.3rem; - } - - } - @media screen and (orientation: landscape) { - /*横屏 css*/ - .box{ - padding:.3rem .5rem; - } - .bottombutton{ - height:1rem;background-color: #21B1EB;color: #ffffff;font-size: .32rem;text-align: center;line-height:1rem; - width: 7.5rem;border-radius: .2rem;position: absolute;left: 50%;margin: .5rem 0 .5rem -3.75rem; - } - body{ - padding-bottom: .50rem; - } - } + .noborder.weui-cell:before{ height: 0px; border: 0px; @@ -155,7 +143,7 @@ -
+

适用平台余额:

@@ -169,8 +157,8 @@
¥{$pay_price}
-
-
+
+
请选择支付方式
diff --git a/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html b/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html index 419188a6..e5057ea6 100644 --- a/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html +++ b/Application/Sdk/View/default/WapPay/wap_shortcut_pay.html @@ -529,8 +529,8 @@ } if(isok){ btnpay = true; - $("#wfform").submit(); Tip.loadShow(); + $("#wfform").submit(); } })