From d45557a2b1a23e5059c98c81c3834036ebe57399 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 26 Jun 2025 20:13:46 +0800
Subject: [PATCH] feat:个人工作台样式调整
---
src/components/wel-container/main.vue | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/components/wel-container/main.vue b/src/components/wel-container/main.vue
index ce43496..f8fe55f 100644
--- a/src/components/wel-container/main.vue
+++ b/src/components/wel-container/main.vue
@@ -1,4 +1,3 @@
-
<template>
<div class="basic-container" :style="styleName" :class="{ 'basic-container--block': block }">
<el-card class="basic-container__card">
@@ -24,38 +23,38 @@
},
},
computed: {
- styleName () {
+ styleName() {
return {
borderRadius: `${this.radius}px`,
background: this.background,
- }
+ };
},
},
-}
+};
</script>
<style lang="scss" scoped>
.basic-container {
height: 0;
flex: 1;
-
-
+padding-top: 0 !important;
// box-sizing: border-box;
// height: 100%;
-.el-card {
-background-color: transparent !important;}
+ .el-card {
+ background-color: transparent !important;
+ }
.basic-container__card {
height: 100% !important;
overflow: hidden;
- .el-card__body {
+ :deep(.el-card__body) {
display: flex;
flex-direction: column;
height: 100% !important;
overflow: hidden;
box-sizing: border-box;
-padding: 0 !important;
- &>div {
+ padding-top: 0 !important;
+ & > div {
height: 0;
flex: 1;
}
--
Gitblit v1.9.3