{{:ModuleInclude('public/header')}}

<!-- header top nav -->
{{:ModuleInclude('public/header_top_nav')}}

<!-- search -->
{{:ModuleInclude('public/nav_search')}}

<!-- header nav -->
{{:ModuleInclude('public/header_nav')}}

<!-- goods category -->
{{:ModuleInclude('public/goods_category')}}

<!-- content -->
<div class="am-container user-main">
    <!-- user menu start -->
    {{:ModuleInclude('public/user_menu')}}
    <!-- user menu end -->

    <!-- content start -->
    <div class="user-content">
        <div class="user-content-body">
            <!-- user center title -->
            {{:ModuleInclude('public/user_center_main_title', [
                'operate_url'   => MyUrl('index/safety/index'),
                'operate_name'  => MyLang('retreat_title'),
                'operate_icon'  => 'icon-back'
            ])}}

            <div class="am-text-center am-margin-top-lg">
                <p class="am-text-sm">{{$document_data.name}}</p>
                <p class="am-text-grey">{{$document_data.upd_time_time}}</p>
            </div>

            <div class="am-panel am-panel-default am-scrollable-vertical am-margin-top am-radius document-content">
                <div class="am-panel-bd">{{$document_data.value|raw}}</div>
            </div>

            <div class="am-text-center am-margin-vertical-lg">
                <button type="submit" class="am-btn am-btn-default am-radius am-btn-xs am-margin-right-lg submit-ajax" data-url="{{:MyUrl('index/safety/logout')}}" data-view="jump" data-value="{{$home_url}}" data-msg="{{:MyLang('safety.logout_confirm_tips')}}">{{:MyLang('safety.logout_confirm_title')}}</button>
                <a href="{{:MyUrl('index/safety/index')}}" class="am-btn am-btn-primary am-radius am-btn-xs am-margin-left-lg">{{:MyLang('cancel_title')}}</a>
            </div>
        </div>
    </div>
    <!-- content end -->
</div>

<!-- footer start -->
{{:ModuleInclude('public/footer')}}