diff --git a/src/components/DictField/index.vue b/src/components/DictField/index.vue index d5747061..311d3368 100644 --- a/src/components/DictField/index.vue +++ b/src/components/DictField/index.vue @@ -1,13 +1,18 @@ @@ -19,7 +24,7 @@ computed: { currentItem(){ if(this.dict){ - return this.dict.find(k=>k.id==this.myVal) + return this.dict.find(k=>k.id==this.myVal) }else{ return null; } @@ -109,28 +114,31 @@ .field-box { display: flex; + margin-right:5px; align-items: center; - cursor: pointer; + cursor: pointer; .avater { - background-color:#FF9F73; + background-color:#FF9F73; } - .msg { + .field-info { margin-left: 10px; display: flex; flex-direction: column; - .title { - margin-top: 5px; + .field-value { + margin-top: 5px; font-size: 16px; } - .field-label{ - margin-top: -10px; - font-size: 14px; - color: #C0C4CC; - } + .field-label{ + margin-top: -10px; + font-size: 14px; + color: #C0C4CC; + } } .my-select{ + margin-left: 5px; + max-width: 120px; visibility:hidden; } .btn{ @@ -143,6 +151,8 @@ visibility: visible !important; } .field-box:hover .my-select{ + + margin-left: 5px; visibility: visible !important; } diff --git a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue index 181c41d5..c7dbf86b 100644 --- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue +++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue @@ -23,14 +23,8 @@ - -
- -
-
- {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}} - 执行结果 -
+ + @@ -138,18 +132,12 @@ - -
- -
-
- {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}} -
- - - 下一条 + + + + + 下一条 -
取消 @@ -328,43 +316,5 @@ import XmQuestionMng from '@/views/xm/core/xmQuestion/XmQuestionMng';//修改 font-size: 28px !important; } - -.field-box { - display: flex; - align-items: center; - cursor: pointer; - .avater { - background-color:#FF9F73; - } - - .msg { - margin-left: 10px; - display: flex; - flex-direction: column; - .title { - margin-top: 5px; - font-size: 16px; - } - .field-label{ - margin-top: -10px; - font-size: 14px; - color: #C0C4CC; - } - - } - .my-select{ - visibility:hidden; - } - .btn{ - margin-top: 0px; - visibility:hidden; - } - -} - .field-box:hover .btn{ - visibility: visible !important; -} - .field-box:hover .my-select{ - visibility: visible !important; -} + \ No newline at end of file