于杰
102 分钟以前 69a25cd577d5639f2869bcf80f498b373e80137e
north-glass-erp/northglass-erp/src/layout/MainErpView.vue
@@ -122,17 +122,14 @@
</script>
<template>
  <div>
  <div style="height:100%;width:100%">
    <el-container id="el-container1">
      <el-header >
        <div style="height: 100%;width: 100%;display: flex">
          <img src="../assets/northGlass.ico" alt="" style="max-width: 100%;max-height: 100%">
          <h3 style="margin: 1rem  ;font-weight: bold;width: 40vw;"> {{$t('main.titleFirst') + user + $t('main.titleLast')}}</h3>
          <span style="height: 70%;width: 78vw;margin-top: 1.5rem;" >
<!--            <el-button   class="sys-quit" @click="quit"  type="info" round>-->
          <h3 style="margin: 1rem  ;font-weight: bold;width: 95%;"> {{$t('main.titleFirst') + user + $t('main.titleLast')}}</h3>
          <span style="height: 70%;width: 10%;margin-top: 1.5rem;" >
              <el-icon @click="quit"  style="float: right;margin-right: 1rem" size="large" ><SwitchButton  size=""/></el-icon>
<!--            </el-button>-->
          </span>
        </div>
      </el-header>
@@ -170,19 +167,36 @@
          </el-menu>-->
          <div class="menu"  >
              <div v-for="items in menuList">
                <el-tooltip
                    class="box-item"
                    effect="dark"
                    :content="$t('menu.'+items.id)"
                    placement="right"
                    show-after="500"
                >
                <div class='menu_title' @click="openMenu(items.id)"  >{{$t('menu.'+items.id)}}<span class='indicator' >▼</span></div>
                </el-tooltip>
                <ul class='enter-x-left' v-show="openFlag==items.id">
                  <li v-for="menuItem in menuItemList"
                      v-show="items.id==menuItem.menuID"
                      style="margin-bottom: 2px"
                  <el-tooltip
                      v-for="menuItem in menuItemList"
                      class="box-item"
                      effect="dark"
                      :content="$t('menu.'+menuItem.menu)"
                      placement="right"
                      show-after="500"
                  >
                    <router-link
                        :to="{path:menuItem.url}">
                      {{ $t('menu.'+menuItem.menu)}}
                    </router-link>
                    <li
                        v-show="items.id==menuItem.menuID"
                        style="margin-bottom: 2px"
                    >
                  </li>
                      <router-link
                          :to="{path:menuItem.url}">
                        {{ $t('menu.'+menuItem.menu)}}
                      </router-link>
                    </li>
                  </el-tooltip>
                </ul>
              </div>
          </div>
@@ -202,12 +216,12 @@
<style scoped>
#el-container1{
  height: 100vh;
  width: 100vw;
  height: 100%;
  width: 100%;
}
#el-container2{
  height:calc(100% - 60px);
  width: 100vw;
  width: 100%;
}
*{