修复DetailList影响其他组件css样式的bug

This commit is contained in:
chenghx 2018-08-07 09:36:34 +08:00
parent 4711a8556c
commit 965c36667c
2 changed files with 30 additions and 32 deletions

View File

@ -175,7 +175,7 @@ const scheduleData = [
rate: '申请审批通过',
status: 'success',
operator: '系统',
cost: '1h',
cost: '1h'
},
{
key: '5',

View File

@ -1,5 +1,5 @@
<template>
<div>
<div class="detail-list">
<div class="title">{{title}}</div>
<a-row>
<slot></slot>
@ -67,6 +67,7 @@ export default {
</script>
<style lang="less">
.detail-list{
.title {
font-size: 16px;
color: rgba(0,0,0,.85);
@ -95,8 +96,5 @@ export default {
color: rgba(0,0,0,.85);
display: table-cell;
}
.term,
.content{
padding-bottom: 8px;
}
</style>