diff --git a/client/containers/Project/Interface/InterfaceList/View.js b/client/containers/Project/Interface/InterfaceList/View.js index 07a9d5c0..d3c0b0bf 100644 --- a/client/containers/Project/Interface/InterfaceList/View.js +++ b/client/containers/Project/Interface/InterfaceList/View.js @@ -45,7 +45,7 @@ class View extends Component { key: 'type', render: (text)=>{ text = text || ""; - return text.toLowerCase()==="text"?T文本:文件 + return text.toLowerCase()==="text"?T文本:文件 } },{ title: '是否必须', diff --git a/client/containers/Project/Interface/InterfaceList/View.scss b/client/containers/Project/Interface/InterfaceList/View.scss index cb029284..034cd390 100644 --- a/client/containers/Project/Interface/InterfaceList/View.scss +++ b/client/containers/Project/Interface/InterfaceList/View.scss @@ -21,7 +21,7 @@ margin: 0px; .colKey{ padding-bottom: 0px; - + } } .ace_print-margin{ @@ -37,12 +37,19 @@ } } .colBody{ - .ant-table-row{ - span{ - i{ - margin-right: 4px; - } - } + .query-icon { + display: inline-block; + width: .12rem; + margin-right: 4px; + position: relative; + &.text:after { + content: 'T'; + display: block; + position: absolute; + right: 2px; + bottom: -2px; + transform: scale(.7); + } } } .colDesc{ @@ -108,4 +115,4 @@ // margin-left: 50px; // overflow:visible; // } -} \ No newline at end of file +}