xusl 1 年之前
父節點
當前提交
2b9aedca22
共有 2 個文件被更改,包括 9 次插入12 次删除
  1. 6 5
      src/views/fdjh/LeftNav.vue
  2. 3 7
      src/views/fdjh/fdjh.vue

+ 6 - 5
src/views/fdjh/LeftNav.vue

@@ -3,7 +3,7 @@
     <div style="font-family: AliMaMa;font-size: 30px;font-weight: 1000;text-align: left;">
       <span style="position: absolute;top:-3px;left: 70px;color: #fff;">目录</span>
     </div>
-
+<div style="height: 40px"></div>
     <el-menu
         active-text-color="#ffd04b"
         background-color="transparent"
@@ -14,14 +14,14 @@
       <template v-for="item in list">
         <el-submenu v-if="item.children && item.children.length" :key="item.path" :index="item.path">
           <template slot="title"><img :src="require('./img/plan.png')"
-                                      width="28px"/><span>{{ item.name }}</span>
+                                      width="28px"/><span style="font-size:18px;font-weight:bold">{{ item.name }}</span>
           </template>
           <!-- 二级菜单 -->
           <template v-for="itemChild in item.children">
             <el-submenu v-if="itemChild.children && itemChild.children.length" :key="itemChild.path"
                         :index="itemChild.path">
               <template slot="title"><img
-                  :src="require('./img/pc1.png')"/><span>{{ itemChild.name }}</span></template>
+                  :src="require('./img/pc1.png')"/><span style="font-size:16px;font-weight:bold">{{ itemChild.name }}</span></template>
               <!-- 三级菜单 -->
               <el-menu-item v-for="itemChild_Child in itemChild.children" :key="itemChild_Child.path"
                             :index="itemChild_Child.path" @click="changePage(itemChild_Child)">
@@ -141,8 +141,9 @@ export default {
 }
 
 .sidebar-el-menu:not(.el-menu--collapse) {
-  position: absolute;
-  top: 6%;
+  //position: absolute;
+  //top: 6%;
+
   margin: 0px 0 30px 30px;
   background-size: 100% 100%;
   height: 90%;

+ 3 - 7
src/views/fdjh/fdjh.vue

@@ -20,24 +20,20 @@ export default {
 <style scoped lang="css">
 .page {
   background: url('./img/fdjh-bj.png') no-repeat;
-  position: absolute;
   width: 100%;
   height: calc(100vh);
-  left: 0;
-  right: 0;
-  top: 0;
-  bottom: 0;
+  background-size: 100% 100%;
 }
 
 iframe{
   border: 0;
 }
 #iframe0{
-  background-image: url(./img/img.png);
+  background: url(./img/img.png) no-repeat;
 }
 
 #iframe1{
-  background-image: url(./img/img.png);
+  background: url(./img/img.png) no-repeat;
 }