Bladeren bron

修复日期选择关闭键盘出错问题

git 6 jaren geleden
bovenliggende
commit
b02906b640
3 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  1. 1 1
      pages/baojing/baojing.js
  2. 1 1
      pages/tongji/tongji.js
  3. 3 1
      scripts/rlmui.js

+ 1 - 1
pages/baojing/baojing.js

@@ -19,7 +19,7 @@
 			//var platedata = [{value:"123123122223",text:"bj123123"},{value:"123123122223",text:"bj123124"},{value:"1231122223",text:"bj123125"}];
 			$page.find('#plate').val(userinfo.baseinfo.plate);
 			$page.find('#mobile').val(userinfo.baseinfo.mobile);
-            $page.find('#date2').rldate({
+            $page.find('#date2').lrdate({
                 type: 'date'
             });
 			

+ 1 - 1
pages/tongji/tongji.js

@@ -84,7 +84,7 @@
 				],
 				series : [
 					{
-						name:'直接访问',
+						name:'行驶里程',
 						type:'bar',
 						barWidth: '50%',
 						data:[10, 52, 50, 34, 40, 30, 20]

+ 3 - 1
scripts/rlmui.js

@@ -1073,7 +1073,9 @@ u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(
         var pageid = renlian.pageid();
         $('#' + pageid).find('input[type="password"]:focus,input[type="text"]:focus,textarea:focus,.lrtextarea:focus').blur();
         if (renlian.isreal) {// 真机调试下隐藏键盘
-            window.Keyboard.hide();
+            if(window.Keyboard){
+				window.Keyboard.hide();
+			}
         }
     };