5.8
pengwei
2025-05-08 b281791abab23d672922b7e9b7d1b51e348ed710
项目代码/可视化大屏/client/src/layout/index.vue
@@ -56,14 +56,25 @@
              display: flex;
              align-items: center;
              cursor: pointer;
              justify-content: center;
            "
            @click="router.push({ path: '/' })"
          >
            <img
            <span
              style="
                width: 16rem;
                color: #fff;
                font-size: 2rem;
                font-weight: bold;
              "
            >
              鏅鸿兘澶у睆绯荤粺
            </span>
            <!-- <img
              style="height: 3.38rem; width: 16rem"
              src="@/assets/index/index-text.png"
              alt=""
            />
            /> -->
          </div>
          <!-- 鍗犱綅 -->
          <span> </span>
@@ -183,8 +194,8 @@
        <router-view
          style="
            height: calc(100vh - 4.38rem - 1.61rem);
            width: calc(100vw - 1.61rem);
            height: calc(100vh - 4.38rem - 10rem);
            width: calc(100vw - 10rem);
          "
          v-slot="{ Component }"
        >
@@ -781,10 +792,11 @@
.main {
  width: 100%;
  flex: 1;
  background-image: url("../assets/index/bg.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0.81rem 0.81rem;
  // background-image: url("../assets/index/bg.png");
  // background-repeat: no-repeat;
  // background-size: 100% 100%;
  background: linear-gradient(to bottom, #0072c6, #2e6aa7);
  padding: 5rem 5rem;
  box-sizing: border-box;
}