@extends('layouts.app')


@section('content')
    <!-- 联系我们 -->
    <div class="survey" style="background-image: url(/assets/index/images/studyBack.png);">
        <div class="container">
            <div class="row">
                @include('category.left')
                <div class="col-xs-12 col-md-9 secondRight">
                    <!-- 联系我们 -->
                    <div class="surveyCont">
                        <div class="secondTop">
                            <div class="secondTop-name">
                                <img src="/assets/index/images/contactIcon_00.png"/>
                                {{ $category->title }}
                            </div>
                        </div>
                        <div class="contact">
                            <ul class="contactPay">
                                <li>
                                    <img src="/assets/index/images/contactImg_00.png"/>
                                    <div class="contactPay-name">
                                        电话
                                        <span>{{ getConfig('phone','value') }}</span>
                                    </div>
                                </li>
                                <li>
                                    <img src="/assets/index/images/contactImg_01.png"/>
                                    <div class="contactPay-name">
                                        传真
                                        <span>{{ getConfig('fax','value') }}</span>
                                    </div>
                                </li>
                                <li>
                                    <img src="/assets/index/images/contactImg_02.png"/>
                                    <div class="contactPay-name">
                                        邮箱
                                        <span>{{ getConfig('email','value') }}</span>
                                    </div>
                                </li>
                            </ul>
                            <ul class="contactList">
                                @if (getConfigList('list')->isNotEmpty())
                                    @foreach (getConfigList('list') as $config)
                                        <li>
                                            {{ $config->value }}
                                        </li>
                                    @endforeach
                                @endif
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

@endsection
