Просмотр исходного кода

[流程表单]修复手机端选择时间某些情况选择日期出错的问题

unknown 5 лет назад
Родитель
Сommit
72a222a323

+ 2 - 1
o2web/source/o2_core/o2/widget/$Calendar/xform_mobile/css.wcss

@@ -143,6 +143,7 @@
 	"today_xform_mobile": {
 		"border": "0px solid #FFF",
 		"color": "#FF0000",
+		"background": "#FFF"
 	//	"background": "url("+o2.session.path+"/widget/$Calendar/xform/tdbg.gif) repeat-x bottom"
 	},
 	"current_xform_mobile": {
@@ -152,7 +153,7 @@
 	},
 	"normal_xform_mobile": {
 	//	"background": "url("+o2.session.path+"/widget/$Calendar/xform/tdbg.gif) repeat-x bottom",
-	//	"background": "#FFF",
+		"background": "#FFF",
 		"border": "0px solid #FFF",
 		"color": "#333"
 	},

+ 1 - 1
o2web/source/o2_core/o2/widget/Calendar.js

@@ -760,7 +760,7 @@ o2.widget.Calendar = o2.Calendar = new Class({
 					"styles" : this.css.calendarTimeSelectItem_mobile
 				}).inject( this.itmeHNode );
 			}
-			this.selectedsHour = this.addZero(h, 2 );
+			this.selectedHour = this.addZero(h, 2 );
 			this.hMobileSelect = new o2.Calendar.MobileSelect( this.itmeHNode.getParent(), {
 				"lineHeight" : 40,
 				"itemSize" : 24,