$APPLICATION->IncludeComponent("custom:search.page", "template1", array(
"RESTART" => "N",
"CHECK_DATES" => "N",
"USE_TITLE_RANK" => "N",
"DEFAULT_SORT" => "rank",
"arrFILTER" => array(
3 => "iblock_catalog",
),
"arrFILTER_main" => array(
),
"arrFILTER_iblock_services" => array(
0 => "all",
),
"arrFILTER_iblock_news" => array(
0 => "all",
),
"arrFILTER_iblock_catalog" => array(
0 => "all",
),
"arrFILTER_iblock_catalog_custom" => array(
0 => "8",
),
"PAGE_RESULT_COUNT" => "12",
"AJAX_MODE" => "N",
"AJAX_OPTION_SHADOW" => "Y",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
//"CACHE_TYPE" => "A",
//"CACHE_TIME" => "36000000",
"DISPLAY_BOTTOM_PAGER" => "Y",
"PAGER_TITLE" => "Результаты поиска",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => "arrows_techshop",
"SHOW_ITEM_TAGS" => "N",
"SHOW_ITEM_DATE_CHANGE" => "N",
"SHOW_ORDER_BY" => "N",
"SHOW_TAGS_CLOUD" => "N",
"AJAX_OPTION_ADDITIONAL" => ""
),
false
);?>
cat_items_sorted: function () {
return this.cat_items;
}
appendToList: function (listdata) {
let last = this.$el.querySelector('.cat-item:last-of-type')
last.scrollIntoView({behavior: 'smooth'})
this.$nextTick(() => {
this.cat_items = this.cat_items.concat(listdata)
})
},