瀏覽代碼

计量支付附件、短信合并

增加map文件,去除短信页面请求脚本最后一个数组的逗号分隔符,IE11报错。
增加类名判断,
NoNZero 8 年之前
父節點
當前提交
823d597bdb
共有 3 個文件被更改,包括 11 次插入11 次删除
  1. 1 2
      global/js/jl.js
  2. 1 0
      global/js/jquery.min.map
  3. 9 9
      protected/view/edit-profile-sms.html

+ 1 - 2
global/js/jl.js

@@ -6,6 +6,7 @@ function autoFlashHeight() {
     $(".jlTable").height($(window).height() - 101);
     $(".misTable").height($(window).height() - 228);
     $(".topBanner").height($(window).height() - 65);
+    if($(this).hasClass('tablelist'))
     $(".tablelist").tablesorter({widthFixed: true});
 }
 $(window).resize(autoFlashHeight);
@@ -35,5 +36,3 @@ $(function () {
     waveloop2();
 
 });
-
-

File diff suppressed because it is too large
+ 1 - 0
global/js/jquery.min.map


+ 9 - 9
protected/view/edit-profile-sms.html

@@ -100,9 +100,9 @@
                 dataType: "json",
                 cache: false,
                 data: {"mobile": $(this).val()},
-                url: "{{rootUrl}}user/profile/check/mobile",
-            }).done(function (data) {
-                if (data['mobile'] > 0) {
+                url: "{{rootUrl}}user/profile/check/mobile"
+            }).done(function(data){
+                if (data["mobile"] > 0) {
                     $("#input_error").addClass('error');
                     $("#help-inline").html('手机号码已被使用');
                     $("#help-inline").show();
@@ -145,9 +145,9 @@
                 dataType: "json",
                 cache: false,
                 data: {"mobile": $("#mobile").val()},
-                url: "{{rootUrl}}user/profile/check/mobile",
-            }).done(function (data) {
-                if (data['mobile'] > 0) {
+                url: "{{rootUrl}}user/profile/check/mobile"
+            }).done(function(data) {
+                if (data["mobile"] > 0) {
                     $("#input_error").addClass('error');
                     $("#help-inline").html('手机号码已被使用');
                     $("#help-inline").show();
@@ -160,7 +160,7 @@
                         dataType: "json",
                         cache: false,
                         data: {"mobile": $("#mobile").val()},
-                        url: "{{rootUrl}}user/profile/sms/send/verify",
+                        url: "{{rootUrl}}user/profile/sms/send/verify"
                     }).done(function (data) {
                     });
                     var count = 60;
@@ -186,7 +186,7 @@
                 dataType: "json",
                 cache: false,
                 data: {"mobile": $("#mobile").val(), "verifycode": $("#verifycode").val()},
-                url: "{{rootUrl}}user/profile/sms",
+                url: "{{rootUrl}}user/profile/sms"
             }).done(function (data) {
 //                window.location.href = "{{rootUrl}}user/profile/sms";
                 window.location.reload();
@@ -194,4 +194,4 @@
         });
     });
 </script>
-</body>
+</body>