Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-28 10:16:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d12e93b5783fbcd8268b1e9150c37deb996737ac
d12e93b5
1 parent
992fb786
style(teacher/formPage): 调整表单页面样式细节
优化作业类型选择器的样式,包括复选框大小和文字大小 调整表单字段的内边距以改善视觉效果
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
src/views/teacher/formPage.vue
src/views/teacher/formPage.vue
View file @
d12e93b
...
...
@@ -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="1
5px
">
<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;
}
/* 时间设置 */
...
...
Please
register
or
login
to post a comment