refactor: 页面样式修改
This commit is contained in:
parent
63fc4c0f1e
commit
708c3deb1a
|
@ -171,7 +171,7 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.report-container {
|
.report-container {
|
||||||
height: calc(100vh - 150px);
|
height: calc(100vh - 155px);
|
||||||
min-height: 600px;
|
min-height: 600px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -344,7 +344,7 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.test-container {
|
.test-container {
|
||||||
height: calc(100vh - 150px);
|
height: calc(100vh - 155px);
|
||||||
min-height: 600px;
|
min-height: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,22 +23,22 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {Test} from "../../../../../api/test/model/ScenarioModel"
|
import {Test} from "../../../../../api/test/model/ScenarioModel"
|
||||||
import MsApiScenarioConfig from "../../../../../api/test/components/ApiScenarioConfig";
|
import MsApiScenarioConfig from "../../../../../api/test/components/ApiScenarioConfig";
|
||||||
import MsContainer from "../../../../../common/components/MsContainer";
|
import MsContainer from "../../../../../common/components/MsContainer";
|
||||||
import MsMainContainer from "../../../../../common/components/MsMainContainer";
|
import MsMainContainer from "../../../../../common/components/MsMainContainer";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ApiTestDetail",
|
name: "ApiTestDetail",
|
||||||
components: {MsMainContainer, MsContainer, MsApiScenarioConfig},
|
components: {MsMainContainer, MsContainer, MsApiScenarioConfig},
|
||||||
props: {
|
props: {
|
||||||
id: String,
|
id: String,
|
||||||
isReadOnly: {
|
isReadOnly: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
result: {},
|
result: {},
|
||||||
test: new Test(),
|
test: new Test(),
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.test-container {
|
.test-container {
|
||||||
height: calc(100vh - 150px);
|
height: calc(100vh - 155px);
|
||||||
min-height: 600px;
|
min-height: 600px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,24 +30,24 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import MsScenarioResult from "../../../../../api/report/components/ScenarioResult";
|
import MsScenarioResult from "../../../../../api/report/components/ScenarioResult";
|
||||||
import MsMetricChart from "../../../../../api/report/components/MetricChart";
|
import MsMetricChart from "../../../../../api/report/components/MetricChart";
|
||||||
import MsScenarioResults from "../../../../../api/report/components/ScenarioResults";
|
import MsScenarioResults from "../../../../../api/report/components/ScenarioResults";
|
||||||
import MsRequestResult from "../../../../../api/report/components/RequestResult";
|
import MsRequestResult from "../../../../../api/report/components/RequestResult";
|
||||||
import MsContainer from "../../../../../common/components/MsContainer";
|
import MsContainer from "../../../../../common/components/MsContainer";
|
||||||
import MsMainContainer from "../../../../../common/components/MsMainContainer";
|
import MsMainContainer from "../../../../../common/components/MsMainContainer";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ApiTestResult",
|
name: "ApiTestResult",
|
||||||
components: {MsMainContainer, MsContainer, MsRequestResult, MsScenarioResults, MsMetricChart, MsScenarioResult},
|
components: {MsMainContainer, MsContainer, MsRequestResult, MsScenarioResults, MsMetricChart, MsScenarioResult},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: "total",
|
activeName: "total",
|
||||||
content: {},
|
content: {},
|
||||||
report: {},
|
report: {},
|
||||||
loading: true,
|
loading: true,
|
||||||
fails: [],
|
fails: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props:['reportId'],
|
props:['reportId'],
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.report-container {
|
.report-container {
|
||||||
height: calc(100vh - 150px);
|
height: calc(100vh - 155px);
|
||||||
min-height: 600px;
|
min-height: 600px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue