{{--graphic--}}
@php $graphics = $module->graphics; @endphp
管理内容 删除此模块

{{$preview =='chinese'?$module->titleChinese:$module->titleEnglish}}

@php $counter = 0; @endphp @foreach($graphics as $graphic) @if($preview == 'english') @php $carouselArray = (array)json_decode($graphic->carouselEnglish, true); @endphp @else @php $carouselArray = (array)json_decode($graphic->carouselChinese, true); @endphp @endif @if($counter % 2 == 0)
@if($preview == 'english')

{!! htmlspecialchars_decode($graphic->nameEnglish) !!}

{!! htmlspecialchars_decode($graphic->introductionEnglish) !!} @else

{!! htmlspecialchars_decode($graphic->nameChinese) !!}

{!! htmlspecialchars_decode($graphic->introductionChinese) !!} @endif
@if(isset($carouselArray[0]['name']))
@endif @if(isset($carouselArray[1]['name']))
@endif
@else
@if(isset($carouselArray[0]['name']))
@endif @if(isset($carouselArray[1]['name']))
@endif
@if($preview == 'english')

{{$graphic->nameEnglish}}

{{$graphic->introductionEnglish}} @else

{{$graphic->nameChinese}}

{{$graphic->introductionChinese}} @endif
@endif @php $counter++; @endphp @endforeach