Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yl14_aicourse
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
yl14_aicourse
Commits
9edc2e35
Commit
9edc2e35
authored
Mar 24, 2026
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 功能录入
parent
9d944887
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1443 additions
and
104 deletions
+1443
-104
index.css
form/index.css
+409
-2
index.html
form/index.html
+296
-6
index.js
form/index.js
+646
-30
package-lock.json
package-lock.json
+92
-66
No files found.
form/index.css
View file @
9edc2e35
.edit-data
{
html
,
body
{
padding
:
10px
;
height
:
100%
;
}
body
{
margin
:
0
;
}
.page
{
padding
:
15px
;
box-sizing
:
border-box
;
height
:
100vh
;
background
:
#f5f7fa
;
}
[
v-cloak
]
{
display
:
none
;
}
.split
{
height
:
calc
(
100vh
-
30px
);
display
:
flex
;
gap
:
15px
;
position
:
relative
;
}
.split
>
.el-col
{
float
:
none
;
flex
:
1
;
max-width
:
none
;
}
.panel
{
background
:
#fff
;
border-radius
:
6px
;
padding
:
16px
;
box-sizing
:
border-box
;
height
:
100%
;
overflow
:
auto
;
border
:
1px
solid
#ebeef5
;
}
.panel-title
{
font-size
:
16px
;
font-weight
:
600
;
margin-bottom
:
16px
;
color
:
#303133
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.panel-side-toggle
{
position
:
absolute
;
top
:
50%
;
transform
:
translateY
(
-50%
);
z-index
:
5
;
}
.panel-side-toggle.left
{
left
:
-6px
;
}
.panel-side-toggle.right
{
right
:
-6px
;
}
.panel-side-toggle
.el-button
{
writing-mode
:
vertical-rl
;
text-orientation
:
mixed
;
padding
:
6px
4px
;
}
.panel-actions
{
margin-bottom
:
12px
;
}
.group-card
{
padding
:
12px
;
border
:
1px
solid
#ebeef5
;
border-radius
:
6px
;
margin-bottom
:
12px
;
background
:
#fafafa
;
}
.group-row
{
display
:
flex
;
align-items
:
center
;
gap
:
12px
;
padding
:
6px
4px
;
flex-wrap
:
wrap
;
}
.group-title
{
font-size
:
14px
;
font-weight
:
600
;
color
:
#303133
;
}
.group-row-item
{
display
:
flex
;
align-items
:
center
;
}
.group-row-actions
{
margin-left
:
auto
;
display
:
flex
;
gap
:
8px
;
}
.image-thumb
{
width
:
52px
;
height
:
52px
;
border-radius
:
4px
;
object-fit
:
cover
;
border
:
1px
solid
#dcdfe6
;
cursor
:
pointer
;
}
.audio-icon
{
width
:
40px
;
height
:
40px
;
border-radius
:
50%
;
background
:
#f2f6fc
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
color
:
#409eff
;
border
:
1px
solid
#dcdfe6
;
cursor
:
pointer
;
}
.audio-icon.playing
{
background
:
#ecf5ff
;
border-color
:
#b3d8ff
;
}
.hidden-audio
{
display
:
none
;
}
.group-progress
{
margin-top
:
8px
;
}
.group-detail
{
margin-top
:
8px
;
}
.ai-tag-content
{
margin-top
:
8px
;
font-size
:
12px
;
color
:
#606266
;
background
:
#fff
;
border
:
1px
dashed
#dcdfe6
;
border-radius
:
4px
;
padding
:
8px
;
line-height
:
18px
;
}
.ai-status
{
font-size
:
12px
;
color
:
#409eff
;
margin-bottom
:
6px
;
}
.ai-status.error
{
color
:
#f56c6c
;
}
.empty-text
{
color
:
#909399
;
}
.json-editor
{
display
:
block
;
}
.json-node
{
margin-bottom
:
6px
;
}
.json-children
{
padding-left
:
12px
;
border-left
:
1px
dashed
#ebeef5
;
margin-left
:
4px
;
}
.json-leaf
{
display
:
flex
;
align-items
:
center
;
gap
:
8px
;
margin
:
4px
0
;
}
.json-label
{
min-width
:
90px
;
color
:
#303133
;
font-size
:
12px
;
word-break
:
break-all
;
}
.json-table
{
width
:
100%
;
border-collapse
:
collapse
;
font-size
:
12px
;
}
.json-table
th
,
.json-table
td
{
border
:
1px
solid
#ebeef5
;
padding
:
6px
8px
;
vertical-align
:
top
;
}
.json-col-index
{
width
:
60px
;
text-align
:
center
;
color
:
#606266
;
}
.json-col-action
{
width
:
80px
;
text-align
:
center
;
}
.json-nested-hint
{
color
:
#909399
;
}
.json-table-detail
td
{
background
:
#fafafa
;
}
.ai-dialog-table
{
margin-top
:
8px
;
}
.ai-table
{
width
:
100%
;
border-collapse
:
collapse
;
font-size
:
12px
;
}
.ai-table
th
,
.ai-table
td
{
border
:
1px
solid
#ebeef5
;
padding
:
6px
8px
;
vertical-align
:
top
;
}
.ai-col-index
{
width
:
60px
;
text-align
:
center
;
color
:
#606266
;
}
.ai-col-text
{
width
:
180px
;
}
.ai-col-time
{
width
:
110px
;
}
.ai-subtable
{
width
:
100%
;
border-collapse
:
collapse
;
font-size
:
12px
;
}
.ai-subtable
th
,
.ai-subtable
td
{
border
:
1px
solid
#ebeef5
;
padding
:
4px
6px
;
}
.quiz-toolbar
{
display
:
flex
;
gap
:
8px
;
margin-bottom
:
12px
;
flex-wrap
:
wrap
;
}
.quiz-dialog
.el-dialog
{
height
:
70vh
;
display
:
flex
;
flex-direction
:
column
;
}
.quiz-dialog
.el-dialog__body
{
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
hidden
;
}
.quiz-list
{
display
:
flex
;
flex-direction
:
column
;
gap
:
12px
;
overflow
:
auto
;
padding-right
:
6px
;
flex
:
1
;
}
.quiz-item
{
border
:
1px
solid
#ebeef5
;
border-radius
:
6px
;
padding
:
12px
;
background
:
#fafafa
;
}
.quiz-item.dragging
{
opacity
:
0.6
;
border-style
:
dashed
;
}
.quiz-item-head
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
10px
;
}
.quiz-item-title
{
font-weight
:
600
;
color
:
#303133
;
}
.quiz-item-actions
{
display
:
flex
;
gap
:
8px
;
align-items
:
center
;
}
.quiz-item-type
{
font-size
:
12px
;
color
:
#606266
;
}
.quiz-item-body
{
display
:
flex
;
flex-direction
:
column
;
gap
:
10px
;
}
.quiz-row
{
display
:
flex
;
gap
:
10px
;
align-items
:
flex-start
;
}
.quiz-label
{
width
:
70px
;
font-size
:
12px
;
color
:
#606266
;
padding-top
:
6px
;
}
.quiz-inline
{
flex
:
1
;
display
:
flex
;
gap
:
8px
;
align-items
:
center
;
}
.uploader
.hint
{
margin-left
:
10px
;
color
:
#909399
;
font-size
:
12px
;
}
.upload-progress
{
width
:
100%
;
}
.upload-progress
.progress-info
{
display
:
flex
;
justify-content
:
space-between
;
color
:
#606266
;
font-size
:
12px
;
margin-bottom
:
6px
;
}
.image-preview
{
width
:
100%
;
max-height
:
260px
;
object-fit
:
contain
;
background
:
#f2f2f2
;
cursor
:
pointer
;
}
.audio-preview
{
width
:
100%
;
}
.image-preview-dialog
.el-message-box__content
{
text-align
:
center
;
}
.meta
{
font-size
:
13px
;
color
:
#606266
;
line-height
:
22px
;
}
.json-alert
{
margin-top
:
12px
;
}
}
\ No newline at end of file
form/index.html
View file @
9edc2e35
This diff is collapsed.
Click to expand it.
form/index.js
View file @
9edc2e35
This diff is collapsed.
Click to expand it.
package-lock.json
View file @
9edc2e35
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment