diff --git a/app/index/view/tops_nas/beta.phtml b/app/index/view/tops_nas/beta.phtml index c46c3cb..6c2becf 100755 --- a/app/index/view/tops_nas/beta.phtml +++ b/app/index/view/tops_nas/beta.phtml @@ -225,8 +225,8 @@ 3.请遵守国家相关法律、法规,勿上传、下载和分享非法数据
diff --git a/app/index/view/tops_nas/helper.phtml b/app/index/view/tops_nas/helper.phtml index db14761..80a7d41 100644 --- a/app/index/view/tops_nas/helper.phtml +++ b/app/index/view/tops_nas/helper.phtml @@ -6,6 +6,9 @@
@@ -444,32 +447,32 @@
// 监听输入框内容变化
var timeout = null;
$('#search-input').on('focus input', function() {
- clearTimeout(timeout);
- var _this = this;
- timeout = setTimeout(function () {
- var keywords = $(_this).val();
- if (keywords == '') {
- $('#dropdown').hide().html('');
- return;
- }
- $.ajax({
- url: "{:url('tops_nas/helper_search')}",
- type: 'POST',
- data: {keywords: keywords},
- dataType: 'JSON',
- success: function(r) {
- var html = '';
- if (r.code == 0) {
- html = '