style(接口测试): 调整接口自动化编辑和列表的背景

This commit is contained in:
CaptainB 2022-12-12 18:53:43 +08:00 committed by 建国
parent 64e5e3b6d8
commit 893de5af32
2 changed files with 370 additions and 368 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="scenario-div" v-loading="result"> <el-card class="scenario-div" v-loading="result">
<slot name="version"></slot> <slot name="version"></slot>
<ms-search :condition.sync="condition" :base-search-tip="$t('commons.search_by_id_name_tag')" @search="search"> <ms-search :condition.sync="condition" :base-search-tip="$t('commons.search_by_id_name_tag')" @search="search">
</ms-search> </ms-search>
@ -369,7 +369,7 @@
ref="apiDeleteConfirm" /> ref="apiDeleteConfirm" />
<!-- 引用场景弹窗 --> <!-- 引用场景弹窗 -->
<ms-show-reference ref="viewRef" @showCaseRef="showScenarioRef" @openScenario="openScenario" /> <ms-show-reference ref="viewRef" @showCaseRef="showScenarioRef" @openScenario="openScenario" />
</div> </el-card>
</template> </template>
<script> <script>
@ -522,7 +522,7 @@ export default {
type: API_SCENARIO_LIST, type: API_SCENARIO_LIST,
fields: getCustomTableHeader('API_SCENARIO', undefined), fields: getCustomTableHeader('API_SCENARIO', undefined),
fieldsWidth: getCustomTableWidth('API_SCENARIO'), fieldsWidth: getCustomTableWidth('API_SCENARIO'),
screenHeight: 'calc(100vh - 180px)', //, screenHeight: 'calc(100vh - 200px)', //,
condition: { condition: {
components: this.trashEnable ? API_SCENARIO_CONFIGS_TRASH : API_SCENARIO_CONFIGS, components: this.trashEnable ? API_SCENARIO_CONFIGS_TRASH : API_SCENARIO_CONFIGS,
}, },

View File

@ -81,6 +81,7 @@
<!-- 右侧部分 --> <!-- 右侧部分 -->
<ms-main-container style="overflow: hidden" class="ms-scenario-main-container"> <ms-main-container style="overflow: hidden" class="ms-scenario-main-container">
<el-card>
<!-- header 调试部分 --> <!-- header 调试部分 -->
<div class="ms-debug-div" @click="showAll" ref="debugHeader"> <div class="ms-debug-div" @click="showAll" ref="debugHeader">
<el-row style="margin: 5px"> <el-row style="margin: 5px">
@ -537,6 +538,7 @@
:old-user-name="oldUserName" :old-user-name="oldUserName"
:type="type" /> :type="type" />
</el-dialog> </el-dialog>
</el-card>
</ms-main-container> </ms-main-container>
</ms-container> </ms-container>
</template> </template>
@ -2544,7 +2546,7 @@ export default {
<style scoped> <style scoped>
.card-content { .card-content {
height: calc(100vh - 160px); height: calc(100vh - 170px);
overflow-y: auto; overflow-y: auto;
} }
@ -2569,7 +2571,7 @@ export default {
} }
#fab { #fab {
right: 60px; right: 70px;
bottom: 120px; bottom: 120px;
z-index: 5; z-index: 5;
} }