hookehuyr

style(teacher/formPage): 调整表单页面样式细节

优化作业类型选择器的样式,包括复选框大小和文字大小
调整表单字段的内边距以改善视觉效果
......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-01-20 10:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-14 13:48:57
* @LastEditTime: 2025-10-28 10:15:33
* @FilePath: /mlaj/src/views/teacher/formPage.vue
* @Description: 教师作业新增表单页面
-->
......@@ -44,15 +44,15 @@
<!-- 作品类型选择 - 只在设置作业时显示 -->
<div v-if="$route.query.type === 'homework'" class="mb-4">
<label class="setting-label">作业类型</label>
<van-checkbox-group v-model="formData.attachment_type" direction="horizontal" checked-color="#4caf50" icon-size="15px">
<label class="setting-label">作业类型 (可多选)</label>
<van-checkbox-group v-model="formData.attachment_type" direction="horizontal" checked-color="#4caf50" icon-size="1.05rem">
<van-checkbox
v-for="option in attachmentTypeOptions"
:key="option.name"
:name="option.name"
shape="square"
>
<span class="text-sm">{{ option.text }}</span>
<span style="font-size: 1rem;">{{ option.text }}</span>
</van-checkbox>
</van-checkbox-group>
</div>
......@@ -1041,7 +1041,7 @@ onMounted(async () => {
.cycle-field {
background: #f5f5f5;
border-radius: 8px;
padding: 2px 0;
padding: 0.3rem;
}
:deep(.cycle-field .van-field__control) {
......@@ -1066,6 +1066,7 @@ onMounted(async () => {
background: #f5f5f5;
border-radius: 8px;
flex: 1;
padding: 0.25rem;
}
/* 时间设置 */
......