Commit fe14e8aa by 李伟康

修改样式

1 parent e31509de
...@@ -55,10 +55,12 @@ ...@@ -55,10 +55,12 @@
<div class="tabs-content box"> <div class="tabs-content box">
<div class="tabs-title">客户增长趋势</div> <div class="tabs-title">客户增长趋势</div>
<div class="tabs-content-chart flex"> <div class="tabs-content-chart flex">
<div class="line"> <div class="line flex">
<template v-if="flag"> <template v-if="flag">
<template v-if="isEmpty"> <template v-if="isEmpty">
<div class="empty-img">
<img src="@/assets/images/empty.png" /> <img src="@/assets/images/empty.png" />
</div>
</template> </template>
<template v-else> <template v-else>
<div <div
...@@ -227,7 +229,7 @@ export default { ...@@ -227,7 +229,7 @@ export default {
} }
} }
}).catch(()=>{ }).catch(() => {
this.flag = true this.flag = true
}) })
}, },
...@@ -418,10 +420,15 @@ export default { ...@@ -418,10 +420,15 @@ export default {
gap: 0 8px; gap: 0 8px;
.line { .line {
flex: 7; flex: 7;
justify-content: center;
.canvas { .canvas {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.empty-img {
width: 20vh;
height: 9.5vh;
}
} }
.table { .table {
flex: 3; flex: 3;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!