style(接口自动化): 样式调整
This commit is contained in:
parent
9f1ca9fbe0
commit
69646c0a92
|
@ -196,7 +196,7 @@
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
|
||||||
<!--场景公共参数-->
|
<!--场景公共参数-->
|
||||||
<ms-variable-list @setVariables="setVariables" ref="scenarioParameters"/>
|
<ms-variable-list @setVariables="setVariables" ref="scenarioParameters" class="ms-sc-variable-header"/>
|
||||||
<!--外部导入-->
|
<!--外部导入-->
|
||||||
<api-import ref="apiImport" :saved="false" @refresh="apiImport"/>
|
<api-import ref="apiImport" :saved="false" @refresh="apiImport"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1084,4 +1084,7 @@
|
||||||
content: "\e722";
|
content: "\e722";
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
.ms-sc-variable-header >>> .el-dialog__body {
|
||||||
|
padding: 0px 20px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -66,13 +66,13 @@
|
||||||
<!-- 请求头-->
|
<!-- 请求头-->
|
||||||
<el-tooltip class="item-tabs" effect="dark" :content="$t('api_test.request.headers')" placement="top-start" slot="label">
|
<el-tooltip class="item-tabs" effect="dark" :content="$t('api_test.request.headers')" placement="top-start" slot="label">
|
||||||
<span>{{$t('api_test.request.headers')}}
|
<span>{{$t('api_test.request.headers')}}
|
||||||
<div class="el-step__icon is-text ms-api-col ms-header" v-if="headers.length>1">
|
<div class="el-step__icon is-text ms-api-col ms-variable-header" v-if="headers.length>1">
|
||||||
<div class="el-step__icon-inner">{{headers.length-1}}</div>
|
<div class="el-step__icon-inner">{{headers.length-1}}</div>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-link class="ms-el-link" @click="batchAdd" style="color: #783887"> {{$t("commons.batch_add")}}</el-link>
|
<el-link class="ms-variable-link" @click="batchAdd" style="color: #783887"> {{$t("commons.batch_add")}}</el-link>
|
||||||
</el-row>
|
</el-row>
|
||||||
<div style="min-height: 400px">
|
<div style="min-height: 400px">
|
||||||
<ms-api-key-value :items="headers"/>
|
<ms-api-key-value :items="headers"/>
|
||||||
|
@ -271,26 +271,14 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-query {
|
.ms-variable-header {
|
||||||
background: #783887;
|
background: #783887;
|
||||||
color: white;
|
color: white;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
border-radius: 42%;
|
border-radius: 42%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-header {
|
.ms-variable-link {
|
||||||
background: #783887;
|
|
||||||
color: white;
|
|
||||||
height: 18px;
|
|
||||||
border-radius: 42%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.request-tabs {
|
|
||||||
margin: 20px;
|
|
||||||
min-height: 200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ms-el-link {
|
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 45px;
|
margin-right: 45px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue