hookehuyr

fix: 移除文本输入框的字符限制与字数显示

移除学生详情页、打卡详情页和学生记录页中点评和留言输入框的maxlength与show-word-limit属性,以统一输入体验并避免在只读状态下显示无关的限制提示。
<!--
* @Date: 2025-09-30 17:05
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-25 16:42:06
* @LastEditTime: 2026-01-26 09:42:45
* @FilePath: /mlaj/src/views/checkin/CheckinDetailPage.vue
* @Description: 用户打卡详情页
-->
......@@ -74,8 +74,7 @@
<!-- 文本输入区域 -->
<div class="text-input-area">
<van-field v-model="message" rows="6" autosize type="textarea"
:placeholder="taskType === 'count' ? '请输入留言(可选)' : (activeType === 'text' ? '请输入留言,至少需要10个字符' : '请输入留言(可选)')"
:maxlength="activeType === 'text' && taskType !== 'count' ? 500 : 200" show-word-limit />
:placeholder="taskType === 'count' ? '请输入留言(可选)' : (activeType === 'text' ? '请输入留言,至少需要10个字符' : '请输入留言(可选)')" />
</div>
<!-- 类型选项卡 -->
......
......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-06-19 17:12:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-18 21:14:40
* @LastEditTime: 2026-01-26 09:43:22
* @FilePath: /mlaj/src/views/teacher/studentPage.vue
* @Description: 学生详情页面
-->
......@@ -277,8 +277,6 @@
type="textarea"
placeholder="请输入点评内容..."
rows="4"
maxlength="200"
show-word-limit
:border="false"
class="bg-gray-50 rounded-lg"
:readonly="currentCommentPost?.is_feedback"
......
<!--
* @Date: 2025-11-19 22:05:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-18 10:59:15
* @LastEditTime: 2026-01-26 09:43:18
* @FilePath: /mlaj/src/views/teacher/studentRecordPage.vue
* @Description: 学生作业记录页面(仅作业记录与点评功能),固定 user_id 与 group_id
-->
......@@ -48,7 +48,7 @@
<!-- 点评内容 -->
<div class="mb-6">
<div class="text-sm text-gray-600 mb-2">点评内容</div>
<van-field v-model="commentForm.note" type="textarea" placeholder="请输入点评内容..." rows="4" maxlength="200" show-word-limit :border="false" class="bg-gray-50 rounded-lg" :readonly="currentCommentPost?.is_feedback" />
<van-field v-model="commentForm.note" type="textarea" placeholder="请输入点评内容..." rows="4" :border="false" class="bg-gray-50 rounded-lg" :readonly="currentCommentPost?.is_feedback" />
</div>
<!-- 操作按钮 -->
......