diff --git a/client/containers/Group/GroupList/GroupList.js b/client/containers/Group/GroupList/GroupList.js index 8d42f0b7..ca66860d 100755 --- a/client/containers/Group/GroupList/GroupList.js +++ b/client/containers/Group/GroupList/GroupList.js @@ -252,7 +252,7 @@ export default class GroupList extends Component {
- this.searchGroup(null, v)} /> + this.searchGroup(null, v)} />
- + - this.showColModal('add')} className="btn-filter" > +
- - this.changeModal('add_cat_modal_visible', true)} className="btn-filter" > + +
Mock地址: - {location.protocol + '//' + location.hostname + (location.port !== "" ? ":" + location.port : "") + `/mock/${this.props.currProject._id}${this.props.currProject.basepath}${this.props.curData.path}`} + window.open(location.protocol + '//' + location.hostname + (location.port !== "" ? ":" + location.port : "") + `/mock/${this.props.currProject._id}${this.props.currProject.basepath}${this.props.curData.path}`, '_blank')}>{location.protocol + '//' + location.hostname + (location.port !== "" ? ":" + location.port : "") + `/mock/${this.props.currProject._id}${this.props.currProject.basepath}${this.props.curData.path}`}
{this.props.curData.desc?
接口备注: diff --git a/client/containers/Project/Interface/InterfaceList/View.scss b/client/containers/Project/Interface/InterfaceList/View.scss index ccf63f63..0629cde9 100755 --- a/client/containers/Project/Interface/InterfaceList/View.scss +++ b/client/containers/Project/Interface/InterfaceList/View.scss @@ -24,6 +24,10 @@ } } + .colValue.href { + color: #2395f1; + cursor: pointer; + } .ace_print-margin{ display: none; } diff --git a/client/containers/Project/Interface/interface.scss b/client/containers/Project/Interface/interface.scss index 0491cc14..81b70e4f 100755 --- a/client/containers/Project/Interface/interface.scss +++ b/client/containers/Project/Interface/interface.scss @@ -57,14 +57,14 @@ } .interface-filter{ padding: 12px 16px; - padding-right: 58px; + padding-right: 110px; line-height: 32px; background-color: #ddd; position: relative; } .btn-filter { position: absolute; - right: 0; + right: 16px; top: 50%; transform: translateY(-50%); } @@ -76,15 +76,14 @@ .interface-delete-icon{ position: relative; right: 0; - // top: 2px; float: right; line-height: 25px; width: 30px; + transform: rotate(90deg); + font-weight: bold; } .interface-delete-icon:hover { color: #2395f1; - border-radius: 4px; - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); } .interface-list{