diff --git a/src/Layout/index.vue b/src/Layout/index.vue index f07c85c..4025407 100644 --- a/src/Layout/index.vue +++ b/src/Layout/index.vue @@ -26,6 +26,7 @@ const btnCut = () => { flex: 1; display: flex; flex-direction: column; + width: 85%; } } \ No newline at end of file diff --git a/src/components/TableBox/index.vue b/src/components/TableBox/index.vue index 43ac5ac..3b6be7a 100644 --- a/src/components/TableBox/index.vue +++ b/src/components/TableBox/index.vue @@ -9,7 +9,9 @@ const props = defineProps<{

- +
+ +
@@ -23,12 +25,17 @@ const props = defineProps<{ display: flex; justify-content: space-between; font-weight: 100; - padding: 20px 15px; + padding: 20px; border-bottom: 1px solid #ddd; } + .main { + padding: 0 10px; + width: 100%; + } + .page { - padding: 20px 15px; + padding: 20px; } } \ No newline at end of file diff --git a/src/views/overview/index.vue b/src/views/overview/index.vue index 7a902b6..3703c25 100644 --- a/src/views/overview/index.vue +++ b/src/views/overview/index.vue @@ -24,8 +24,8 @@ for (let index = 0; index < 10; index++) { const pieDom = ref(null) const barDom = ref(null) +const { globalProperties } = useCurrentInstance() const rederPie = () => { - const { globalProperties } = useCurrentInstance() const chart = globalProperties.$echarts.init(pieDom.value) const option = { title: [ @@ -104,7 +104,6 @@ const rederPie = () => { chart.setOption(option) } const rederBar = () => { - const { globalProperties } = useCurrentInstance() const chart = globalProperties.$echarts.init(barDom.value) const option = { tooltip: { @@ -178,13 +177,14 @@ onMounted(() => { 最近手术记录 查看全部 - - - + + + - - - + + + +