Explorar o código

feat: 新增文字错题录入功能

sequoia00 hai 1 mes
pai
achega
1e83f302a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/subject_detail.html

+ 1 - 1
templates/subject_detail.html

@@ -155,7 +155,7 @@
       {% endif %}
     </div>
     <div class="px-4 py-2.5 bg-gray-50 border-t border-gray-100 flex items-center justify-between">
-      <span class="text-[10px] text-gray-400">点击{%'展开解析{% if txt.answer %} / 收起解析{% endif %}'%}</span>
+      <span class="text-[10px] text-gray-400">{% if txt.answer %}展开解析 / 收起解析{% else %}查看题目{% endif %}</span>
       {% if txt.answer %}
       <span class="text-[10px] text-primary flex items-center gap-1"><i class="fa-solid fa-lightbulb"></i>有解析</span>
       {% endif %}