mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-07 14:16:52 +08:00
opti: 接口列表图标按钮优化
This commit is contained in:
parent
75f1331ed2
commit
00b2702013
@ -6,11 +6,11 @@
|
||||
.opts-icon, .case-delete-icon {
|
||||
line-height: 25px;
|
||||
width: 30px;
|
||||
transform: rotate(90deg);
|
||||
font-weight: bold;
|
||||
}
|
||||
.opts-icon:hover, .case-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);
|
||||
}
|
||||
.menu-title {
|
||||
display: flex;
|
||||
|
@ -5,6 +5,7 @@ import PropTypes from 'prop-types'
|
||||
import { Table,Icon } from 'antd'
|
||||
const mockEditor = require('./mockEditor.js')
|
||||
import { formatTime } from '../../../../common.js';
|
||||
import { Link } from 'react-router-dom';
|
||||
import ErrMsg from '../../../../components/ErrMsg/ErrMsg.js';
|
||||
import variable from '../../../../constants/variable';
|
||||
// import { Card } from 'antd'
|
||||
@ -275,7 +276,9 @@ class View extends Component {
|
||||
</div>
|
||||
<div className="colMockUrl">
|
||||
<span className="colKey">Mock地址:</span>
|
||||
<span className="colValue">{location.protocol + '//' + location.hostname + (location.port !== "" ? ":" + location.port : "") + `/mock/${this.props.currProject._id}${this.props.currProject.basepath}${this.props.curData.path}`}</span>
|
||||
<Link to={'https://baidu.com/'}>
|
||||
<span className="colValue">{location.protocol + '//' + location.hostname + (location.port !== "" ? ":" + location.port : "") + `/mock/${this.props.currProject._id}${this.props.currProject.basepath}${this.props.curData.path}`}</span>
|
||||
</Link>
|
||||
</div>
|
||||
{this.props.curData.desc?<div className="colDesc">
|
||||
<span className="colKey">接口备注:</span>
|
||||
|
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user