【修改】试题弹窗样式调整

This commit is contained in:
maghny@126.com
2025-04-26 21:30:09 +08:00
parent 48ee4e5dab
commit 952de396ae
2 changed files with 35 additions and 4 deletions

View File

@@ -81,7 +81,7 @@
label="检查代码关键字"
size="large"
/>
<div class="flex" style="margin-left: 20px;">
<div class="flex" style="margin-left: 20px">
编译得分比例
<el-input
v-model="programData.percent"
@@ -161,7 +161,7 @@
label="检查代码关键字"
size="large"
/>
<div class="flex" style="margin-left: 20px;">
<div class="flex" style="margin-left: 20px">
关键字得分比例
<el-input
v-model="programData.percent"
@@ -282,6 +282,7 @@
<el-table
:data="keywordList"
style="width: 100%"
height="410"
@selection-change="handleKeywordSelectionChange"
>
<el-table-column type="index" width="50" />
@@ -292,13 +293,14 @@
v-model="keyVisible"
title="编辑关键字"
width="50%"
style="height: auto;"
:before-close="keyDialogClose"
:close-on-click-modal="false"
:close-on-press-escape="false"
>
<div class="main" style="width: 100%; height: 100%">
<el-input v-model="keyWord" placeholder="请输入关键字" size="large" />
<div class="dialog-footer">
<div class="dialog-footer" style="margin-top: 20px">
<el-button @click="keyDialogClose">取消</el-button>
<el-button type="primary" @click="confirmKeyDialogVisible"> 确定 </el-button>
</div>
@@ -339,6 +341,7 @@
<el-table
:data="mediumList"
style="width: 100%"
height="410"
@selection-change="handleMediumSelectionChange"
>
<el-table-column type="index" width="50" />
@@ -624,4 +627,18 @@ const resetForm = () => {
display: none;
}
}
:deep(.el-table) {
.el-table__header-wrapper {
.el-table__header {
thead {
tr {
th {
background: #ebebeb;
}
}
}
}
}
}
</style>

View File

@@ -138,7 +138,7 @@
>
<div class="main" style="width: 100%; height: 100%">
<el-input v-model="keyWord" placeholder="请输入关键字" size="large" />
<div class="dialog-footer">
<div class="dialog-footer" style="margin-top: 20px;">
<el-button @click="keyDialogClose">取消</el-button>
<el-button type="primary" @click="confirmKeyDialogVisible">
确定
@@ -516,4 +516,18 @@ const resetForm = () => {
display: none;
}
}
:deep(.el-table) {
.el-table__header-wrapper {
.el-table__header {
thead {
tr {
th {
background: #ebebeb;
}
}
}
}
}
}
</style>