hookehuyr

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

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