menu brand links test ready
This commit is contained in:
parent
b29f44ac0a
commit
317a24efd5
|
|
@ -14,34 +14,7 @@
|
|||
|
||||
<div class="control-group" >
|
||||
|
||||
<input type="text" class="control" autocomplete="off" v-model="search_term" placeholder="{{ __('sarga::app.catalog.menus.brand-search-hint') }}" v-on:keyup="search()">
|
||||
|
||||
<div class="linked-product-search-result">
|
||||
<ul>
|
||||
<li v-for='(brand, index) in brands' v-if=brands.length' @click="addBrand(brand)">
|
||||
@{{ brand.name }}
|
||||
</li>
|
||||
|
||||
<li v-if='! brands.length && search_term.length && ! is_searching'>
|
||||
{{ __('sarga::app.catalog.menus.no-result-found') }}
|
||||
</li>
|
||||
|
||||
<li v-if="is_searching && search_term.length">
|
||||
{{ __('sarga::app.catalog.menus.searching') }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{-- <input type="hidden" name="brands[]" v-for='(brand, index) in addedBrands' v-if="addedBrands.length" :value="brand.id"/>--}}
|
||||
|
||||
<span class="filter-tag linked-product-filter-tag" v-if="addedBrands.length">
|
||||
{{-- <span class="wrapper linked-product-wrapper " v-for='(brand, index) in addedBrands'>--}}
|
||||
{{-- <span class="do-not-cross-linked-product-arrow">--}}
|
||||
{{-- @{{ brand.name }}--}}
|
||||
{{-- </span>--}}
|
||||
{{-- <span class="icon cross-icon" @click="removeBrand(brand)"></span>--}}
|
||||
{{-- </span>--}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue