|
@@ -53,13 +53,14 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
|
|
|
/* 重置页面时调用,重新生成IScroll */
|
|
|
function fixScroll(pageData) {
|
|
|
setTimeout(function () {
|
|
|
+ console.log(product);
|
|
|
if (product.name == "首单日常保洁2小时体验") {
|
|
|
$('.selected').css('display', 'none');
|
|
|
}
|
|
|
if (product.name == "擦玻璃") {
|
|
|
$('.orderNum').text("请选择玻璃的平方数");
|
|
|
}
|
|
|
- if (product.name == "新居开荒") {
|
|
|
+ if (product.name == "新居开荒-每平米") {
|
|
|
$('.orderNum').text("请选择开荒的平方数");
|
|
|
}
|
|
|
/*隐藏手势*/
|
|
@@ -833,7 +834,6 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
|
|
|
/* 使备注输入框失去焦点,获取值 */
|
|
|
$('.order-memo', $view).blur();
|
|
|
order.set('memo', $('.order-memo', $view).val());
|
|
|
-
|
|
|
/* 向服务器下订单 */
|
|
|
$doc.trigger('spa:openloader');
|
|
|
if (user.balance >= order.payValue) {
|