diff --git a/application/third_party/tripadvisor_spider/views/third_party_input.php b/application/third_party/tripadvisor_spider/views/third_party_input.php
index 8b697d59..23daf969 100644
--- a/application/third_party/tripadvisor_spider/views/third_party_input.php
+++ b/application/third_party/tripadvisor_spider/views/third_party_input.php
@@ -79,6 +79,10 @@
+
+
+
+
@@ -98,6 +102,9 @@
+
+
+
@@ -109,6 +116,10 @@
+
+
+
+
@@ -195,6 +206,8 @@ $(function(){
var pagenums = $('#pagenums').val();
var product_links = $('#production').val();
var product_code = $('#production option:selected').text();
+ $(this).addClass('disabled');
+ $('#console').html('');
if(destination != ''){
$.ajax({
@@ -207,7 +220,9 @@ $(function(){
type:'POST',
success:function(json,status){
var data = $.parseJSON(json);
- var html = '';
+ $('#batchcontents').removeClass('disabled');
+ $('#console').html('5条评论链接获取成功,下面开始抓取具体评论!
');
+
for(var x=0;x标题:'+data.title+' 评论抓取成功!';
+ $('#console').html(console_html);
}
});
}
},
error:function (){
alert('获取失败,请重试!');
+ $('#batchcontents').removeClass('disabled');
},
timeout:function(){
alert('请求超时,请重试!');
+ $('#batchcontents').removeClass('disabled');
}
});
@@ -363,7 +384,7 @@ $(function(){
}
}
- html += 'Date of experience: '+jsondata.list[y].tr_visited_date+'
';
+ html += 'Date of experience: '+jsondata.list[y].tr_visited_date+'
product code: '+jsondata.list[y].tr_product_code+'
';
}
html += 'total nums : '+jsondata.list.length+'
'
$('#list_view_content').html(html);