ll
liukangdong
2024-08-30 fbc625dea6117cb8724301d3a07d9071419f9715
admin/src/components/common/CommonHeader.vue
@@ -4,7 +4,10 @@
      <div class="logo">
        <div>{{ title }}</div>
        <div class="list">
          <div class="item">服务中心</div>
          <div class="item active">
            <div>服务中心</div>
            <div class="linellae"></div>
          </div>
          <div class="item">安防中心</div>
          <div class="item">消防中心</div>
          <div class="item">能管中心</div>
@@ -204,6 +207,30 @@
.common-header {
  background-color: #2080f7;
}
.list{
  display: flex;
  align-items: center;
  margin-left: 60px;
  .item{
    margin-right: 40px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    cursor: pointer;
    .linellae{
      width: 64px;
      height: 2px;
      background: #FFFFFF;
    }
  }
  .active{
    font-weight: 500;
  }
}
.header {
  overflow: hidden;
  // background: #fff;