Commit 9edc2e35 authored by liujiangnan's avatar liujiangnan

feat: 功能录入

parent 9d944887
.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
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment