xieb
2023-09-26 e6f63c537608c9c8bdc77e45a03125176bea280f
src/pages/page-web/projects/project_list/index.vue
@@ -1,6 +1,6 @@
<template>
    <div class="project_list">
        <div class="left_content">
        <div :class="[isHidden? 'w50' : 'left_content']">
            <router-view />
        </div>
        <div class="right_content">
@@ -29,6 +29,11 @@
import Devices from '/@/pages/page-web/projects/devices.vue'
import { EBizCode, ERouterName } from '/@/types'
import { getRoot } from '/@/root'
const route = useRoute()
const isHidden = computed(() => {
  const flag = !!route.meta?.hidden
  return flag
})
const root = getRoot()
</script>
@@ -38,7 +43,12 @@
    transition: width 0.2s ease;
    height: 100%;
    width: 100%;
    .w50 {
        width: 50px;
        max-height: 100vh;
        background-color: black;
        color: $text-white-basic !important;
    }
    .left_content {
        width: 370px;
        max-height: 100vh;