refactor: 页面样式修改

This commit is contained in:
Captain.B 2020-08-31 17:06:27 +08:00
parent 63fc4c0f1e
commit 708c3deb1a
4 changed files with 36 additions and 36 deletions

View File

@ -171,7 +171,7 @@ export default {
<style scoped>
.report-container {
height: calc(100vh - 150px);
height: calc(100vh - 155px);
min-height: 600px;
overflow-y: auto;
}

View File

@ -344,7 +344,7 @@ export default {
<style scoped>
.test-container {
height: calc(100vh - 150px);
height: calc(100vh - 155px);
min-height: 600px;
}

View File

@ -23,22 +23,22 @@
</template>
<script>
import {Test} from "../../../../../api/test/model/ScenarioModel"
import MsApiScenarioConfig from "../../../../../api/test/components/ApiScenarioConfig";
import MsContainer from "../../../../../common/components/MsContainer";
import MsMainContainer from "../../../../../common/components/MsMainContainer";
import {Test} from "../../../../../api/test/model/ScenarioModel"
import MsApiScenarioConfig from "../../../../../api/test/components/ApiScenarioConfig";
import MsContainer from "../../../../../common/components/MsContainer";
import MsMainContainer from "../../../../../common/components/MsMainContainer";
export default {
name: "ApiTestDetail",
components: {MsMainContainer, MsContainer, MsApiScenarioConfig},
props: {
id: String,
isReadOnly: {
type: Boolean,
default: false
}
},
data() {
export default {
name: "ApiTestDetail",
components: {MsMainContainer, MsContainer, MsApiScenarioConfig},
props: {
id: String,
isReadOnly: {
type: Boolean,
default: false
}
},
data() {
return {
result: {},
test: new Test(),
@ -92,7 +92,7 @@
<style scoped>
.test-container {
height: calc(100vh - 150px);
height: calc(100vh - 155px);
min-height: 600px;
padding: 15px;
}

View File

@ -30,24 +30,24 @@
<script>
import MsScenarioResult from "../../../../../api/report/components/ScenarioResult";
import MsMetricChart from "../../../../../api/report/components/MetricChart";
import MsScenarioResults from "../../../../../api/report/components/ScenarioResults";
import MsRequestResult from "../../../../../api/report/components/RequestResult";
import MsContainer from "../../../../../common/components/MsContainer";
import MsMainContainer from "../../../../../common/components/MsMainContainer";
import MsScenarioResult from "../../../../../api/report/components/ScenarioResult";
import MsMetricChart from "../../../../../api/report/components/MetricChart";
import MsScenarioResults from "../../../../../api/report/components/ScenarioResults";
import MsRequestResult from "../../../../../api/report/components/RequestResult";
import MsContainer from "../../../../../common/components/MsContainer";
import MsMainContainer from "../../../../../common/components/MsMainContainer";
export default {
name: "ApiTestResult",
components: {MsMainContainer, MsContainer, MsRequestResult, MsScenarioResults, MsMetricChart, MsScenarioResult},
data() {
return {
activeName: "total",
content: {},
report: {},
loading: true,
fails: [],
}
export default {
name: "ApiTestResult",
components: {MsMainContainer, MsContainer, MsRequestResult, MsScenarioResults, MsMetricChart, MsScenarioResult},
data() {
return {
activeName: "total",
content: {},
report: {},
loading: true,
fails: [],
}
},
props:['reportId'],
watch: {
@ -108,7 +108,7 @@
<style scoped>
.report-container {
height: calc(100vh - 150px);
height: calc(100vh - 155px);
min-height: 600px;
overflow-y: auto;
}