@extends('theme::layout.public') @section('seo_title'){{ parse_seo_template('seo_question_title',$question) }}@endsection @section('seo_keyword'){{ parse_seo_template('seo_question_keyword',$question) }}@endsection @section('seo_description'){{ parse_seo_template('seo_question_description',$question) }}@endsection @section('css') @endsection @section('content')

@if($question->price>0) {{ $question->price }} @endif {{ $question->title }}

@if($question->tags) @endif
@if( $question->price > 0 && $question->status == 1 ) @endif
{!! $question->description !!}
@include('theme::comment.collapse',['comment_source_type'=>'question','comment_source_id'=>$question->id,'hide_cancel'=>false]) @if(Setting()->get('website_share_code')!='')
{!! Setting()->get('website_share_code') !!}
@endif
{{--最佳答案--}} @if($question->status===2 && $bestAnswer)

最佳答案 {{ timestamp_format($bestAnswer->adopted_at) }}

{!! $bestAnswer->content !!}
@include('theme::comment.collapse',['comment_source_type'=>'answer','comment_source_id'=>$bestAnswer->id,'hide_cancel'=>false]) @if($bestAnswer->user->qrcode) @include('theme::layout.qrcode_pament',['source_id'=>'answer-'.$bestAnswer->id,'paymentUser'=>$bestAnswer->user,'message'=>'如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!']) @endif
@endif

@if($question->status===2) 其它 @endif {{ $answers->total() }} 个回答

@foreach( $answers as $answer )
{{ $answer->user['name'] }}@if($answer->user->authentication && $answer->user->authentication->status === 1)@endif @if($answer->user->title) - {{ $answer->user->title }} @endif
@if($answer->user->authentication && $answer->user->authentication->status === 1) 擅长:{{ $answer->user->authentication->skill }} @endif
{!! $answer->content !!}
@include('theme::comment.collapse',['comment_source_type'=>'answer','comment_source_id'=>$answer->id,'hide_cancel'=>false]) @if($answer->user->qrcode) @include('theme::layout.qrcode_pament',['source_id'=>'answer-'.$answer->id,'paymentUser'=>$answer->user,'message'=>'如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!']) @endif
@endforeach
{!! str_replace('/?', '?', $answers->render()) !!}
@if( $question->status!=2 || (Setting()->get('open_question_discuss') == 1))
@if(Auth()->guest()) @elseif( Auth()->check() && ( (Setting()->get('open_self_answer') == 1 || $question->user_id !== Auth()->user()->id ) && !Auth()->user()->isAnswered($question->id)) )
{!! old('content',$formData['content']) !!}
@if($errors->has('content'))

{{ $errors->first('content') }}

@endif
  • @if( Setting()->get('code_create_answer') )
  • @include('theme::layout.auth_captcha')
  • @endif
@endif
@endif
  • @if(Auth()->check() && Auth()->user()->isFollowed(get_class($question),$question->id)) @else @endif {{ $question->followers }} 关注
  • @if(Auth()->check() && Auth()->user()->isCollected(get_class($question),$question->id)) @else @endif {{ $question->collections }} 收藏,{{ $question->views }} 浏览
  • @if($question->hide==0) {{ $question->user->name }} @endif 提出于 {{ timestamp_format($question->created_at) }}

相似问题

@if(Auth()->check()) @endif @endsection @section('script') @include('theme::layout.report_modal') @endsection