...
|
...
|
@@ -23,6 +23,7 @@ |
|
|
</div>
|
|
|
已提交订单
|
|
|
</div>
|
|
|
<div class="test_num"></div>
|
|
|
<div class="header_place"></div>
|
|
|
|
|
|
<div class="tab_tit">
|
...
|
...
|
@@ -95,6 +96,33 @@ |
|
|
date: date,
|
|
|
sort_id: "{$sort_id}"
|
|
|
};
|
|
|
list(data);
|
|
|
},
|
|
|
id: 'datePicker'
|
|
|
});
|
|
|
});
|
|
|
$('body').on('click','.weui-picker__action',function() {
|
|
|
if($(this).data('action') == 'cancel') {
|
|
|
$('.choose_time').html(`<i class="iconfont icon-rili"></i>选择提交时间`);
|
|
|
list({
|
|
|
date: '',
|
|
|
sort_id: "{$sort_id}"
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
$('.deal_list').on('click','.change_btn',function(event){
|
|
|
event.stopPropagation();
|
|
|
location.href = $(this).data('href');
|
|
|
});
|
|
|
$('.deal_list').on('click','.list_style',function(){
|
|
|
event.stopPropagation();
|
|
|
location.href = $(this).data('href');
|
|
|
});
|
|
|
$('.tab_tit').on('click','.write_order',function(){
|
|
|
location.href = "{$orderUrl}";
|
|
|
});
|
|
|
// ajax数据渲染
|
|
|
function list(data) {
|
|
|
$.ajax({
|
|
|
url: "{:url('choosetime_detail')}",
|
|
|
type: "POST",
|
...
|
...
|
@@ -139,21 +167,25 @@ |
|
|
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
id: 'datePicker'
|
|
|
});
|
|
|
});
|
|
|
$('.deal_list').on('click','.change_btn',function(event){
|
|
|
event.stopPropagation();
|
|
|
location.href = $(this).data('href');
|
|
|
});
|
|
|
$('.deal_list').on('click','.list_style',function(){
|
|
|
event.stopPropagation();
|
|
|
location.href = $(this).data('href');
|
|
|
});
|
|
|
$('.tab_tit').on('click','.write_order',function(){
|
|
|
location.href = "{$orderUrl}";
|
|
|
});
|
|
|
}
|
|
|
// 弹窗提示
|
|
|
var popup_switch = true;
|
|
|
function _error(test) {
|
|
|
if(popup_switch) {
|
|
|
popup_switch = false;
|
|
|
$('.test_num').html(test);
|
|
|
$('.test_num').removeClass('Augly-fadeout');
|
|
|
$('.test_num').addClass('Augly-fadein');
|
|
|
$('.test_num').show();
|
|
|
setTimeout(function() {
|
|
|
$('.test_num').removeClass('Augly-fadein');
|
|
|
$('.test_num').addClass('Augly-fadeout');
|
|
|
popup_switch = true
|
|
|
}, 1500)
|
|
|
} else {
|
|
|
popup_switch = true
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|
|
|
|
...
|
...
|
|