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

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

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

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

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

<!-- content start -->
<div class="am-container article-content">
    <div class="article">
        <h1>{{$article.title}}</h1>
        <div class="articletime">
            <span>{{:MyLang('article.release_time')}}{{$article.add_time}}</span>
            <span>{{:MyLang('article.view_number')}}{{$article.access_count}}</span>
        </div>
        <div class="am-article">{{$article.content|raw}}</div>
        
        <div class="last-next-data am-margin-top-lg am-padding-bottom-sm">
            <hr class="am-article-divider am-divider-default am-margin-bottom-sm" />
            <div class="am-nbfc am-padding-horizontal-sm">
                {{if !empty($last_next_data['last'])}}
                    <div class="am-nbfc">
                        <span class="am-fl am-text-grey">{{:MyLang('article.prev_article')}}</span>
                            <a href="{{$last_next_data.last.url}}" class="am-text-truncate am-fl am-block">{{$last_next_data.last.title}}</a>
                        <span class="text-tips am-fr">{{$last_next_data.last.add_time}}</span>
                    </div>
                {{/if}}
                {{if !empty($last_next_data['next'])}}
                    <div class="am-nbfc am-margin-top-xs">
                        <span class="am-fl am-text-grey">{{:MyLang('article.next_article')}}</span>
                            <a href="{{$last_next_data.next.url}}" class="am-text-truncate am-fl am-block">{{$last_next_data.next.title}}</a>
                        <span class="text-tips am-fr">{{$last_next_data.next.add_time}}</span>
                    </div>
                {{/if}}
            </div>
        </div>


    </div>
</div>
<!-- content end -->

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