wangkaiyue 5 年 前
コミット
fc33fe371d

+ 0 - 2
src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/css/choose_industry.css

@@ -404,8 +404,6 @@
 .choose_industry .result {
   padding: .2rem .3rem;
   background:rgba(245,244,249,1);
-  z-index:999;
-  position: fixed;
   width:100%;	 
 }
 

+ 1 - 0
src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/css/trial_info.css

@@ -17,6 +17,7 @@
 
 .trial_info .trial_body {
   background: #34355A;
+  height: 100%;
 }
 
 .trial_info .trial_body .banner {

+ 4 - 0
src/jfw/modules/app/src/web/templates/vipsubscribe/trial_info.html

@@ -186,6 +186,10 @@
             $DoPost("/subscribepay/trial/submitApply", post_data, function (r) {
                 if (r.success) {
                     window.location.replace("/jyapp/vipsubscribe/vipsubscribe_trial");
+                }else{
+                    if(r.errMsg==="短信验证码错误"){
+                        $('.btn').attr('disabled','disabled');
+                    }
                 }
             });
         });

+ 11 - 1
src/jfw/modules/app/src/web/templates/vipsubscribe/vip_purchase.html

@@ -402,7 +402,7 @@
             }*/
             if (this.industrySelect.length > 0 && this.industrySelect[0] != "全部行业" && this.industrySelect[0] != "一个行业") { //选择有行业信息
                 var tipTxt = "已选择 ";
-                $(".choose_industry").val(tipTxt+ this.industrySelect.length + " 个行业");
+                $(".choose_industry").val(tipTxt + this.industrySelect.length + " 个行业");
             } else if (this.industrySelect.length > 0 && this.industrySelect[0] == "全部行业") {
                 $(".choose_industry").val("全部行业");
             } else {
@@ -705,6 +705,9 @@
     var interval;
 
     function checkpay(orderid) {
+        setTimeout(function () {
+            $("#payHandle").removeAttr('disabled');
+        }, 1000);
         if (interval) {
             clearInterval(interval);
         }
@@ -750,6 +753,13 @@
         sessionStorage.To_introducePage = 2;
     }
 
+    //未安装微信or支付宝 客户端回调提示
+    function showToast(errTip) {
+        weui.toast(errTip, {
+            duration: 2000,
+            className: 'custom-toast',
+        });
+    }
 </script>
 </body>
 

+ 4 - 0
src/web/templates/weixin/vipsubscribe/trial_info.html

@@ -178,6 +178,10 @@
             $DoPost("/subscribepay/trial/submitApply", post_data, function (r) {
                 if (r.success) {
                     window.location.replace("/weixin/pay/vipsubscribe_trial");
+                }else{
+                    if(r.errMsg==="短信验证码错误"){
+                        $('.btn').attr('disabled','disabled');
+                    }
                 }
             });
         });