|
@@ -322,7 +322,7 @@
|
|
|
<div style="margin-bottom:6px; padding:6px; background:#f0fdf4; border-left:3px solid #10b981; border-radius:4px;">
|
|
<div style="margin-bottom:6px; padding:6px; background:#f0fdf4; border-left:3px solid #10b981; border-radius:4px;">
|
|
|
<div style="font-weight:600; font-size:12px; color:#111827; margin-bottom:3px;">正确答案</div>
|
|
<div style="font-weight:600; font-size:12px; color:#111827; margin-bottom:3px;">正确答案</div>
|
|
|
<div class="math-content" style="font-size:12px; line-height:1.5; color:#374151;">
|
|
<div class="math-content" style="font-size:12px; line-height:1.5; color:#374151;">
|
|
|
- {!! nl2br(e($correctAnswer)) !!}
|
|
|
|
|
|
|
+ {!! is_string($correctAnswer) ? $correctAnswer : json_encode($correctAnswer, JSON_UNESCAPED_UNICODE) !!}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
@endif
|
|
@endif
|
|
@@ -332,13 +332,13 @@
|
|
|
<div style="margin-top:6px; padding:6px; background:#eff6ff; border-left:3px solid #3b82f6; border-radius:4px;">
|
|
<div style="margin-top:6px; padding:6px; background:#eff6ff; border-left:3px solid #3b82f6; border-radius:4px;">
|
|
|
<div style="font-weight:600; font-size:12px; color:#111827; margin-bottom:4px;">解题思路</div>
|
|
<div style="font-weight:600; font-size:12px; color:#111827; margin-bottom:4px;">解题思路</div>
|
|
|
<div class="math-content" style="font-size:12px; line-height:1.5; color:#374151;">
|
|
<div class="math-content" style="font-size:12px; line-height:1.5; color:#374151;">
|
|
|
- {!! is_array($solution) ? json_encode($solution, JSON_UNESCAPED_UNICODE) : nl2br(e($solution)) !!}
|
|
|
|
|
|
|
+ {!! is_array($solution) ? json_encode($solution, JSON_UNESCAPED_UNICODE) : $solution !!}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
@elseif(!empty($analysis) && $analysis !== '暂无解题思路记录')
|
|
@elseif(!empty($analysis) && $analysis !== '暂无解题思路记录')
|
|
|
<div style="margin-top:6px; padding:6px; background:#eff6ff; border-left:3px solid #3b82f6; border-radius:4px;">
|
|
<div style="margin-top:6px; padding:6px; background:#eff6ff; border-left:3px solid #3b82f6; border-radius:4px;">
|
|
|
<div style="font-weight:600; font-size:12px; color:#111827; margin-bottom:4px;">解题思路</div>
|
|
<div style="font-weight:600; font-size:12px; color:#111827; margin-bottom:4px;">解题思路</div>
|
|
|
- <div style="font-size:12px; line-height:1.5; color:#374151;">{!! nl2br(e($analysis)) !!}</div>
|
|
|
|
|
|
|
+ <div class="math-content" style="font-size:12px; line-height:1.5; color:#374151;">{!! $analysis !!}</div>
|
|
|
</div>
|
|
</div>
|
|
|
@endif
|
|
@endif
|
|
|
|
|
|