@extends('layouts.app') @section('title', '萌音影视分类列表') @section('content')
频道:
@foreach ($types as $k => $v) @if ($type == $k) {{$v}} @else {{$v}} @endif @endforeach
类型:
@if ($cat == 'all') 全部 @endif @for ($i = 0; $i < $cats_count; $i++) @if ($cats[1][$i] === '' and $cats[3][$i] != '更早') {{$cats[3][$i]}} @elseif ($cats[1][$i] != '') {{$cats[2][$i]}} @endif @endfor
更多
@if ($years_count != '0')
年代:
@if ($year == 'all') 全部 @endif @for ($i = 0; $i < $years_count; $i++) @if ($years[1][$i] === '') {{$years[3][$i]}} @elseif ($years[1][$i] != '') {{$years[2][$i]}} @endif @endfor
更多
@endif
地区:
@if ($area == 'all') 全部 @endif @for ($i = 0; $i < $areas_count; $i++) @if ($areas[1][$i] === '') {{$areas[3][$i]}} @elseif ($areas[1][$i] != '') {{$areas[2][$i]}} @endif @endfor
更多
@if ($page_count > 1) @endif @endsection @section('js') $('.js-filter-open').click(function(){$(this).parent().parent().height('auto');$(this).next().show();$(this).hide()});$('.js-filter-close').click(function(){$(this).parent().parent().height('40px');$(this).prev().show();$(this).hide()}); @endsection