ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
@@ -0,0 +1,56 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
use Magento\LayeredNavigation\Block\Navigation\State;
// @codingStandardsIgnoreFile
?>
<?php
/**
* Category layered navigation state
*
* @var $block State
*/
?>
<?php $_filters = $block->getActiveFilters() ?>
<?php if (!empty($_filters)): ?>
<div class="filter-current collapsible open">
<strong class="block-subtitle filter-current-subtitle"
role="heading"
aria-level="2"
data-role="title"
data-count="<?= count($_filters) ?>"><?= /* @escapeNotVerified */ __('Now Shopping by') ?>
<span class="toggle-minus"><span></span></span></strong>
<ol class="items ox-toggle-content">
<?php foreach ($_filters as $_filter): ?>
<li class="item">
<span class="filter-label"><?= $block->escapeHtml(__($_filter->getName())) ?></span>
<span class="filter-value"><?= /* @escapeNotVerified */ $block->stripTags($_filter->getLabel()) ?></span>
<?php
$clearLinkUrl = $_filter->getClearLinkUrl();
$currentFilterName = $block->escapeHtml(__($_filter->getName())) . " " . $block->stripTags($_filter->getLabel());
if ($clearLinkUrl):
?>
<a class="action previous" href="<?= /* @escapeNotVerified */ $_filter->getRemoveUrl() ?>"
title="<?= /* @escapeNotVerified */ __('Previous') ?>">
<span><?= /* @escapeNotVerified */ __('Previous') ?></span>
</a>
<a class="action remove"
title="<?= $block->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>"
href="<?= /* @escapeNotVerified */ $clearLinkUrl ?>">
<span><?= $block->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></span>
</a>
<?php else: ?>
<a class="action remove" href="<?= /* @escapeNotVerified */ $_filter->getRemoveUrl() ?>"
title="<?= /* @escapeNotVerified */ $block->escapeHtml(__('Remove')) . " " . $currentFilterName ?>">
<span><?= /* @escapeNotVerified */ __('Remove This Item') ?></span>
</a>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ol>
</div>
<?php endif; ?>
@@ -0,0 +1,46 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
use Magento\LayeredNavigation\Block\Navigation;
// @codingStandardsIgnoreFile
?>
<?php
/**
* Category layered navigation
*
* @var $block Navigation
*/
?>
<?php if ($block->canShowBlock()): ?>
<div class="block filter filters-slideout-content ox-move-item ox-move-item-filtersslideout">
<div class="block-title filter-title">
<strong><?= /* @escapeNotVerified */ __('Shop By') ?></strong>
</div>
<div class="block-content filter-content">
<?= $block->getChildHtml('state') ?>
<?php if ($block->getLayer()->getState()->getFilters()): ?>
<div class="block-actions filter-actions">
<a href="<?= /* @escapeNotVerified */ $block->getClearUrl() ?>" class="action clear button filter-clear"><span><?= /* @escapeNotVerified */ __('Clear All') ?></span></a>
</div>
<?php endif; ?>
<?php foreach ($block->getFilters() as $filter): ?>
<?php if ($filter->getItemsCount()): ?>
<div class="filter-options collapsible <?php if(!$this->helper( 'Olegnax\Athlete2\Helper\Helper' )->getConfig('athlete2_settings/products_listing/filters_closed')){ ?>open<?php } ?>">
<div class="filter-options-title"><strong><?= $block->escapeHtml(__($filter->getName())) ?></strong><div class="toggle-minus"><span></span></div></div>
<div class="filter-options-content"><?= /* @escapeNotVerified */ $block->getChildBlock('renderer')->render($filter) ?></div>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>
</div>
<?php endif; ?>
@@ -0,0 +1,33 @@
// /**
// * Athlete2 Theme
// * Copyright (c) 2023 Olegnax (http://www.olegnax.com/)
// **/
//
// Styles Extends
// _____________________________________________
& when (@media-common = true) {
.ox-product-nav{
&.ox-product-nav__loader--theme{
.ox-product-nav__loader{
background: url('@{baseDir}images/preloader.svg');
background-size: 56px 21px;
width: 56px;
height: 21px;
transform: translate3d(-28px, -10px, 0);
}
}
}
/* fix for labels with checkboxes */
.filter-options-content .item{
label{
.lib-vendor-prefix-display(flex);
.ox-checkbox{
flex: 0 0 16px;
margin: 5px 7px 5px 0;
}
}
}
}