无人机管理后台前端(已迁走)
张含笑
2025-06-26 d45557a2b1a23e5059c98c81c3834036ebe57399
feat:个人工作台样式调整
2 files modified
23 ■■■■ changed files
src/components/basic-container/main.vue 2 ●●● patch | view | raw | blame | history
src/components/wel-container/main.vue 21 ●●●● patch | view | raw | blame | history
src/components/basic-container/main.vue
@@ -43,7 +43,7 @@
}
</script>
<style lang="scss">
<style lang="scss" scoped>
.basic-container {
  height: 0;
  flex: 1;
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;
      }