@@ -36,7 +36,7 @@
< / el-form-item >
< / el-form >
< el-tabs v-model = "activeTab" style="margin-top: 8px;" >
< el-tabs v-model = "activeTab" class="case-list-tabs" style="margin-top: 8px;" >
< el -tab -pane label = "模块列表" name = "modules" >
< div class = "module-list-toolbar" >
< el-button
@@ -588,6 +588,7 @@
width = "760px"
top = "6vh"
append -to -body
custom -class = " case -ai -detail -dialog "
@closed ="resetAiCaseDetailDialog" >
< div v-loading = "aiCaseDetailLoading" class="ai-case-detail-wrap" >
< template v-if = "!aiCaseDetailLoading && aiCaseDetailRowPresent" >
@@ -641,6 +642,7 @@
:visible.sync = "autoGenDialogVisible"
width = "560px"
append -to -body
custom -class = " case -auto -gen -dialog "
@closed ="resetAutoGenDialog" >
< el -form ref = "autoGenFormRef" :model = "autoGenForm" :rules = "autoGenRules" label -width = " 120px " size = "small" >
< el-form-item label = "当前用例" >
@@ -2538,7 +2540,6 @@ export default {
. ai - case - detail - title {
font - size : 16 px ;
font - weight : 600 ;
color : # f8fafc ;
line - height : 1.4 ;
margin - bottom : 14 px ;
}
@@ -2554,20 +2555,16 @@ export default {
. ai - case - detail - label {
font - size : 13 px ;
font - weight : 600 ;
color : # cbd5e1 ;
margin - bottom : 6 px ;
}
. ai - case - detail - text {
font - size : 13 px ;
color : # e5e7eb ;
line - height : 1.6 ;
white - space : pre - wrap ;
word - break : break - word ;
padding : 10 px 12 px ;
background : # 0 f172a ;
border - radius : 4 px ;
border : 1 px solid rgba ( 148 , 163 , 184 , 0.2 ) ;
}
. ai - case - detail - empty {
@@ -2578,7 +2575,6 @@ export default {
}
. auto - gen - case - title {
color : # f8fafc ;
font - weight : 500 ;
line - height : 1.5 ;
word - break : break - word ;
@@ -2596,8 +2592,7 @@ body.theme-light .ai-gen-params-bar {
body . theme - light . ai - gen - params - label ,
body . theme - light . ai - doc - block - title ,
body . theme - light . ai - case - table - title ,
body . theme - light . auto - gen - case - title {
body . theme - light . ai - case - table - title {
color : # 0 f172a ;
}
@@ -2665,3 +2660,247 @@ body.theme-light .mindmap-empty {
color : # 64748 b ;
}
< / style >
<!-- 非 scoped : Tab / append - to - body 弹窗 / 日期范围在深浅色下与整站一致 -- >
< style >
. case - list - tabs . el - tabs _ _item {
color : # 94 a3b8 ;
}
. case - list - tabs . el - tabs _ _item : hover {
color : # cbd5e1 ;
}
. case - list - tabs . el - tabs _ _item . is - active {
color : # 38 bdf8 ;
}
. case - list - tabs . el - tabs _ _nav - wrap : : after {
background - color : rgba ( 148 , 163 , 184 , 0.18 ) ;
}
body . theme - light . case - list - tabs . el - tabs _ _item {
color : # 64748 b ;
}
body . theme - light . case - list - tabs . el - tabs _ _item : hover {
color : # 334155 ;
}
body . theme - light . case - list - tabs . el - tabs _ _item . is - active {
color : # 2563 eb ;
}
body . theme - light . case - list - tabs . el - tabs _ _nav - wrap : : after {
background - color : # e2e8f0 ;
}
. el - dialog . case - auto - gen - dialog {
background : # 111827 ;
border : 1 px solid rgba ( 148 , 163 , 184 , 0.2 ) ;
}
. el - dialog . case - auto - gen - dialog . el - dialog _ _header {
border - bottom : 1 px solid rgba ( 148 , 163 , 184 , 0.16 ) ;
}
. el - dialog . case - auto - gen - dialog . el - dialog _ _title ,
. el - dialog . case - auto - gen - dialog . el - dialog _ _body ,
. el - dialog . case - auto - gen - dialog . el - form - item _ _label {
color : # e5e7eb ;
}
. el - dialog . case - auto - gen - dialog . auto - gen - case - title {
color : # f1f5f9 ;
}
. el - dialog . case - auto - gen - dialog . el - input _ _inner ,
. el - dialog . case - auto - gen - dialog . el - textarea _ _inner ,
. el - dialog . case - auto - gen - dialog . el - select . el - input _ _inner {
background - color : # 0 f172a ;
border - color : rgba ( 148 , 163 , 184 , 0.28 ) ;
color : # f8fafc ;
}
. el - dialog . case - auto - gen - dialog . el - input _ _inner : : placeholder ,
. el - dialog . case - auto - gen - dialog . el - textarea _ _inner : : placeholder {
color : # 64748 b ;
}
body . theme - light . el - dialog . case - auto - gen - dialog {
background : # ffffff ;
border - color : # e5e7eb ;
}
body . theme - light . el - dialog . case - auto - gen - dialog . el - dialog _ _header {
border - bottom - color : # ebeef5 ;
}
body . theme - light . el - dialog . case - auto - gen - dialog . el - dialog _ _title ,
body . theme - light . el - dialog . case - auto - gen - dialog . el - dialog _ _body ,
body . theme - light . el - dialog . case - auto - gen - dialog . el - form - item _ _label {
color : # 303133 ;
}
body . theme - light . el - dialog . case - auto - gen - dialog . auto - gen - case - title {
color : # 0 f172a ;
}
body . theme - light . el - dialog . case - auto - gen - dialog . el - input _ _inner ,
body . theme - light . el - dialog . case - auto - gen - dialog . el - textarea _ _inner ,
body . theme - light . el - dialog . case - auto - gen - dialog . el - select . el - input _ _inner {
background - color : # ffffff ;
border - color : # dcdfe6 ;
color : # 606266 ;
}
. page - wrap . el - date - editor . el - input _ _inner {
background - color : # 0 f172a ;
border - color : rgba ( 148 , 163 , 184 , 0.28 ) ;
color : # f8fafc ;
}
. page - wrap . el - date - editor . el - range - input {
background - color : transparent ;
color : # f8fafc ;
}
. page - wrap . el - date - editor . el - range - separator {
color : # 94 a3b8 ;
}
. page - wrap . el - date - editor . el - range - input : : placeholder {
color : # 64748 b ;
}
body . theme - light . page - wrap . el - date - editor . el - input _ _inner {
background - color : # ffffff ;
border - color : # dcdfe6 ;
color : # 606266 ;
}
body . theme - light . page - wrap . el - date - editor . el - range - input {
color : # 606266 ;
}
body . theme - light . page - wrap . el - date - editor . el - range - separator {
color : # 909399 ;
}
/* AI 用例详情弹窗( append-to-body) */
. el - dialog . case - ai - detail - dialog {
background : # 111827 ;
border : 1 px solid rgba ( 148 , 163 , 184 , 0.2 ) ;
}
. el - dialog . case - ai - detail - dialog . el - dialog _ _header {
border - bottom : 1 px solid rgba ( 148 , 163 , 184 , 0.16 ) ;
}
. el - dialog . case - ai - detail - dialog . el - dialog _ _title {
color : # f8fafc ;
}
. el - dialog . case - ai - detail - dialog . el - dialog _ _body {
color : # e5e7eb ;
}
. el - dialog . case - ai - detail - dialog . ai - case - detail - title {
color : # f8fafc ;
}
. el - dialog . case - ai - detail - dialog . ai - case - detail - label {
color : # dbeafe ;
}
. el - dialog . case - ai - detail - dialog . ai - case - detail - text {
color : # e5e7eb ;
background : # 0 f172a ;
border : 1 px solid rgba ( 148 , 163 , 184 , 0.2 ) ;
}
. el - dialog . case - ai - detail - dialog . ai - case - detail - empty {
color : # 94 a3b8 ;
}
. el - dialog . case - ai - detail - dialog . el - descriptions _ _body {
background - color : # 111827 ;
color : # e5e7eb ;
}
. el - dialog . case - ai - detail - dialog . el - descriptions - item _ _label {
color : # 94 a3b8 ;
background : # 1 f2937 ;
}
. el - dialog . case - ai - detail - dialog . el - descriptions - item _ _content {
color : # e5e7eb ;
background : # 111827 ;
}
. el - dialog . case - ai - detail - dialog . el - descriptions _ _body . el - descriptions _ _table {
border - color : rgba ( 148 , 163 , 184 , 0.2 ) ;
}
. el - dialog . case - ai - detail - dialog . el - descriptions _ _body . el - descriptions - item _ _cell {
border - color : rgba ( 148 , 163 , 184 , 0.2 ) ;
}
body . theme - light . el - dialog . case - ai - detail - dialog {
background : # ffffff ;
border - color : # e5e7eb ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - dialog _ _header {
border - bottom - color : # ebeef5 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - dialog _ _title {
color : # 303133 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - dialog _ _body {
color : # 303133 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . ai - case - detail - title {
color : # 0 f172a ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . ai - case - detail - label {
color : # 303133 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . ai - case - detail - text {
color : # 334155 ;
background : # f8fafc ;
border : 1 px solid # e5e7eb ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . ai - case - detail - empty {
color : # 909399 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - descriptions _ _body {
background - color : # ffffff ;
color : # 303133 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - descriptions - item _ _label {
color : # 606266 ;
background : # fafafa ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - descriptions - item _ _content {
color : # 303133 ;
background : # ffffff ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - descriptions _ _body . el - descriptions _ _table {
border - color : # ebeef5 ;
}
body . theme - light . el - dialog . case - ai - detail - dialog . el - descriptions _ _body . el - descriptions - item _ _cell {
border - color : # ebeef5 ;
}
< / style >