This commit is contained in:
chenjianxing 2020-04-23 09:38:09 +08:00
parent 78a325b75b
commit 83c6442b94
4 changed files with 23 additions and 11 deletions

View File

@ -40,4 +40,7 @@
<style scoped> <style scoped>
.el-button {
padding: 8px 10px;
}
</style> </style>

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<el-row class="title" type="flex" justify="space-between" align="middle"> <el-row class="table-title" type="flex" justify="space-between" align="middle">
<slot name="title"> <slot name="title">
{{title}} {{title}}
</slot> </slot>
@ -59,11 +59,20 @@
} }
</script> </script>
<style scoped> <style>
.title { .table-title {
height: 40px; height: 40px;
font-weight: bold; font-weight: bold;
font-size: 18px;
}
</style>
<style scoped>
.operate-button {
margin-bottom: -5px;
} }
</style> </style>

View File

@ -1,7 +1,7 @@
<template> <template>
<el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb separator-class="el-icon-arrow-right" class="node-breadcrumb">
<el-breadcrumb-item> <el-breadcrumb-item class="node-breadcrumb">
<a @click="showAll"> <a @click="showAll" >
<i class="el-icon-s-home"></i>&nbsp; <i class="el-icon-s-home"></i>&nbsp;
{{$t('test_track.plan_view.all_case')}} {{$t('test_track.plan_view.all_case')}}
</a> </a>
@ -47,4 +47,8 @@
<style scoped> <style scoped>
.el-breadcrumb__item {
margin: 0 auto;
}
</style> </style>

View File

@ -3,7 +3,7 @@
<template v-slot:header> <template v-slot:header>
<ms-table-header :condition.sync="condition" @search="initTableData" :show-create="false"> <ms-table-header :condition.sync="condition" @search="initTableData" :show-create="false">
<template v-slot:title> <template v-slot:title>
<node-breadcrumb :node-names="selectNodeNames" @refresh="refresh"/> <node-breadcrumb class="table-title" :node-names="selectNodeNames" @refresh="refresh"/>
</template> </template>
<template v-slot:button> <template v-slot:button>
<ms-table-button v-if="!showMyTestCase" icon="el-icon-s-custom" :content="$t('test_track.plan_view.my_case')" @click="searchMyTestCase"/> <ms-table-button v-if="!showMyTestCase" icon="el-icon-s-custom" :content="$t('test_track.plan_view.my_case')" @click="searchMyTestCase"/>
@ -279,8 +279,4 @@
width: 240px; width: 240px;
} }
.title {
height: 50px;
}
</style> </style>