|  | @@ -1,7 +1,7 @@
 | 
											
												
													
														|  |  /*layout模板*/
 |  |  /*layout模板*/
 | 
											
												
													
														|  |  <template>
 |  |  <template>
 | 
											
												
													
														|  |    <div>
 |  |    <div>
 | 
											
												
													
														|  | -    <div :class="['header',fixedHeader?'fixed-header':'']">
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <div class="lbg_color1" :class="['header',fixedHeader?'fixed-header':'']">
 | 
											
												
													
														|  |    
 |  |    
 | 
											
												
													
														|  |             <router-link to="/home">
 |  |             <router-link to="/home">
 | 
											
												
													
														|  |          <div class="logo">
 |  |          <div class="logo">
 | 
											
										
											
												
													
														|  | @@ -13,6 +13,7 @@
 | 
											
												
													
														|  |          v-if="$route.path!='/login/index' && $route.path!='/register/index' && $route.path!='/forget/index'&& $route.path!='/protocol/index'"
 |  |          v-if="$route.path!='/login/index' && $route.path!='/register/index' && $route.path!='/forget/index'&& $route.path!='/protocol/index'"
 | 
											
												
													
														|  |        >
 |  |        >
 | 
											
												
													
														|  |          <el-menu
 |  |          <el-menu
 | 
											
												
													
														|  | 
 |  | +         class="lbg_color1 font_color1" 
 | 
											
												
													
														|  |            mode="horizontal"
 |  |            mode="horizontal"
 | 
											
												
													
														|  |            :unique-opened="true"
 |  |            :unique-opened="true"
 | 
											
												
													
														|  |            text-color="#0470CC"
 |  |            text-color="#0470CC"
 | 
											
										
											
												
													
														|  | @@ -22,9 +23,9 @@
 | 
											
												
													
														|  |            <div class="headericon">
 |  |            <div class="headericon">
 | 
											
												
													
														|  |              <ul>
 |  |              <ul>
 | 
											
												
													
														|  |                
 |  |                
 | 
											
												
													
														|  | -              <li><el-tooltip class="item" effect="dark" content="任务" placement="bottom"><i class="el-icon-s-fold"></i>  </el-tooltip> </li> 
 |  | 
 | 
											
												
													
														|  | -              <li><el-tooltip class="item" effect="dark" content="团队" placement="bottom"><i class="el-icon-s-custom"></i>  </el-tooltip></li>
 |  | 
 | 
											
												
													
														|  | -              <li><el-tooltip class="item" effect="dark" content="设置" placement="bottom"><i class="el-icon-s-tools"></i>  </el-tooltip></li>
 |  | 
 | 
											
												
													
														|  | 
 |  | +              <li ><el-tooltip class="item" effect="dark" content="任务" placement="bottom"><i class="el-icon-s-fold"></i>  </el-tooltip> </li> 
 | 
											
												
													
														|  | 
 |  | +              <li ><el-tooltip class="item" effect="dark" content="团队" placement="bottom"><i class="el-icon-s-custom"></i>  </el-tooltip></li>
 | 
											
												
													
														|  | 
 |  | +              <li  @click="dialogsystem=true"><i class="el-icon-s-tools"></i></li>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |                <li>
 |  |                <li>
 | 
											
												
													
														|  |                  <span >  <i class="el-icon-question" style="padding:1px 0"></i>
 |  |                  <span >  <i class="el-icon-question" style="padding:1px 0"></i>
 | 
											
										
											
												
													
														|  | @@ -78,6 +79,19 @@
 | 
											
												
													
														|  |          >备案号:渝ICP备 17006571号-1</a>
 |  |          >备案号:渝ICP备 17006571号-1</a>
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  | 
 |  | +      <el-dialog
 | 
											
												
													
														|  | 
 |  | +  :visible.sync="dialogsystem"
 | 
											
												
													
														|  | 
 |  | +  title="系统设置"
 | 
											
												
													
														|  | 
 |  | +  width="800px"
 | 
											
												
													
														|  | 
 |  | +  >
 | 
											
												
													
														|  | 
 |  | +  <div>
 | 
											
												
													
														|  | 
 |  | +   <button v-for="(item,index) in itemlist" :key='index'  @click="clicksel(index)">{{item.name}}</button>
 | 
											
												
													
														|  | 
 |  | +    </div>
 | 
											
												
													
														|  | 
 |  | +    <!-- <span :data-theme='theme'></span> -->
 | 
											
												
													
														|  | 
 |  | +  <span slot="footer" class="dialog-footer">
 | 
											
												
													
														|  | 
 |  | +    <el-button @click="dialogsystem = false">清 除</el-button>
 | 
											
												
													
														|  | 
 |  | +  </span>
 | 
											
												
													
														|  | 
 |  | +</el-dialog>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -94,7 +108,17 @@ export default {
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      return {
 |  |      return {
 | 
											
												
													
														|  | -      logo: logo
 |  | 
 | 
											
												
													
														|  | 
 |  | +     logo: logo,
 | 
											
												
													
														|  | 
 |  | +      dialogsystem:false,
 | 
											
												
													
														|  | 
 |  | +        itemlist:[
 | 
											
												
													
														|  | 
 |  | +     {
 | 
											
												
													
														|  | 
 |  | +       id:0,name:"黑色",
 | 
											
												
													
														|  | 
 |  | +     },
 | 
											
												
													
														|  | 
 |  | +       {
 | 
											
												
													
														|  | 
 |  | +       id:1,name:"白色",
 | 
											
												
													
														|  | 
 |  | +     }
 | 
											
												
													
														|  | 
 |  | +     ],
 | 
											
												
													
														|  | 
 |  | +     num:0,
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
										
											
												
													
														|  | @@ -107,6 +131,11 @@ export default {
 | 
											
												
													
														|  |      // console.log(Reg.test(path))
 |  |      // console.log(Reg.test(path))
 | 
											
												
													
														|  |      // Reg = reg2
 |  |      // Reg = reg2
 | 
											
												
													
														|  |      // console.log(Reg.test(path))
 |  |      // console.log(Reg.test(path))
 | 
											
												
													
														|  | 
 |  | +      if(localStorage.getItem("num")==0){
 | 
											
												
													
														|  | 
 |  | +  document.getElementById('theme').href="/static/black.css"
 | 
											
												
													
														|  | 
 |  | +    }else{
 | 
											
												
													
														|  | 
 |  | +        document.getElementById('theme').href="/static/white.css"
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    computed: {
 |  |    computed: {
 | 
											
												
													
														|  |      fixedHeader() {
 |  |      fixedHeader() {
 | 
											
										
											
												
													
														|  | @@ -175,7 +204,23 @@ export default {
 | 
											
												
													
														|  |              message: '已取消'
 |  |              message: '已取消'
 | 
											
												
													
														|  |            })
 |  |            })
 | 
											
												
													
														|  |          })
 |  |          })
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  | 
 |  | +    //  主题替换
 | 
											
												
													
														|  | 
 |  | +  clicksel(index){
 | 
											
												
													
														|  | 
 |  | +      if(index==0){
 | 
											
												
													
														|  | 
 |  | +        console.log(111)
 | 
											
												
													
														|  | 
 |  | +        this.num=0;
 | 
											
												
													
														|  | 
 |  | +      localStorage.setItem("num",this.num);
 | 
											
												
													
														|  | 
 |  | +        document.getElementById('theme').href="/static/black.css"
 | 
											
												
													
														|  | 
 |  | +      }else if(index==1){
 | 
											
												
													
														|  | 
 |  | +           console.log(222)
 | 
											
												
													
														|  | 
 |  | +         this.num=1;
 | 
											
												
													
														|  | 
 |  | +            localStorage.setItem("num",this.num);
 | 
											
												
													
														|  | 
 |  | +         document.getElementById('theme').href="/static/white.css"
 | 
											
												
													
														|  | 
 |  | +      }else{
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 | 
											
										
											
												
													
														|  | @@ -209,7 +254,7 @@ export default {
 | 
											
												
													
														|  |    min-width: 1000px;
 |  |    min-width: 1000px;
 | 
											
												
													
														|  |  //background: $color_f;
 |  |  //background: $color_f;
 | 
											
												
													
														|  |    box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.04);
 |  |    box-shadow: 0px 7px 7px 0px rgba(0, 0, 0, 0.04);
 | 
											
												
													
														|  | -      background-color:#757070;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      // background-color:#757070;
 | 
											
												
													
														|  |    .logo {
 |  |    .logo {
 | 
											
												
													
														|  |      @include w_h(100px);
 |  |      @include w_h(100px);
 | 
											
												
													
														|  |     .el-image{
 |  |     .el-image{
 | 
											
										
											
												
													
														|  | @@ -224,8 +269,6 @@ export default {
 | 
											
												
													
														|  |      .el-menu {
 |  |      .el-menu {
 | 
											
												
													
														|  |        height: 100%;
 |  |        height: 100%;
 | 
											
												
													
														|  |        border: none;
 |  |        border: none;
 | 
											
												
													
														|  | -   background-color:#757070;
 |  | 
 | 
											
												
													
														|  | -      color: #fff;
 |  | 
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |      .user {
 |  |      .user {
 | 
											
												
													
														|  |        color: inherit;
 |  |        color: inherit;
 |