locale update
This commit is contained in:
parent
4bbbbdf1d6
commit
090ef393d7
|
|
@ -45,9 +45,7 @@ function onStart(){
|
|||
<div class="rest_wrap">
|
||||
<div class="rest_box">
|
||||
<div class="rest_block tabItem active" id="rest-all">
|
||||
{% for shop in shops%}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
{% partial 'home/shop_item' shops=shops %}
|
||||
</div>
|
||||
|
||||
{% partial 'home/pagination' result=shops %}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ function onStart(){
|
|||
$query = '%' . input('q') . '%';
|
||||
$this['shops'] = Tps\Shops\Models\Shop::where('name', 'LIKE', $query)
|
||||
->get();
|
||||
dd($this['shops']);
|
||||
|
||||
}
|
||||
?>
|
||||
==
|
||||
|
|
@ -66,9 +68,7 @@ function onStart(){
|
|||
|
||||
</form>
|
||||
<div class="rest_box">
|
||||
{% for shop in shops%}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
{% partial 'home/shop_item' shops=shops %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -152,9 +152,7 @@ function onStart(){
|
|||
</h2>
|
||||
|
||||
<div class="post_slider">
|
||||
{% for shop in others %}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
{% partial 'home/shop_item' shops=shops %}
|
||||
</div>
|
||||
|
||||
<div class="post_link">
|
||||
|
|
|
|||
|
|
@ -16,16 +16,12 @@
|
|||
</div>
|
||||
|
||||
<div class="rest_block tabInfo active" id="rest-all">
|
||||
{% for shop in shop_all%}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor%}
|
||||
{% partial 'home/shop_item' shops=shops %}
|
||||
</div>
|
||||
|
||||
{% for category in shop_categories %}
|
||||
<div class="rest_block tabInfo" id="category-{{category.id}}">
|
||||
{% for shop in category.getShops() %}
|
||||
{% partial 'home/shop_item' shop=shop %}
|
||||
{% endfor %}
|
||||
{% partial 'home/shop_item' shops=shops %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue