洪海涛 8 years ago
parent
commit
4a5d2dc1f1

File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/main.js


File diff suppressed because it is too large
+ 0 - 0
www/webapp/o2o/dist/js/page/placeOrder.js


+ 5 - 5
www/webapp/o2o/js/page/placeOrder.js

@@ -16,7 +16,7 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
     var product;
     var backHash;
     /* 软键盘弹出与消失时布局变动。 */
-    function checkScroll(pageData, callback) {
+    /*function checkScroll(pageData, callback) {
         if (pageData.scroll) {
             if (!pageData.scrollHeight) {
                 pageData.scrollHeight = 0;
@@ -34,7 +34,7 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
                 clearInterval(pageData.scrollCheck);
             }, 500);
         }
-    }
+    }*/
 
     /* 返回上一级 */
     function back(event) {
@@ -924,7 +924,7 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
                 payCharge($('.order-cost', $view));
 
                 /* 软键盘相关操作时对IScroll的补偿 */
-                fixScroll(pageData);
+                // fixScroll(pageData);
                 $('.order-memo', $view).focus(function (event) {
                     var that = this;
                     checkScroll(pageData, function () {
@@ -934,11 +934,11 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
                     });
                 });
                 $('.order-memo', $view).on('closeKeyboard', function (event) {
-                    checkScroll(pageData);
+                    // checkScroll(pageData);
                     $(this).blur();
                 });
                 $('.order-memo', $view).blur(function (event) {
-                    checkScroll(pageData);
+                    // checkScroll(pageData);
                 });
 
                 /* 填写备注时,提交按钮失焦 */

Some files were not shown because too many files changed in this diff