head.vue 938 字节
<template>
    <div class="counter">
      <div class="head">
        <div class="log">天津电子信息职业技术学院</div>
        <div class="msg">
          <div class="avt">
            <img src="@/static/Avatar.png" alt="">
          </div>
          <div class="neme">XXX</div>
        </div>
      </div>
    </div>
  </template>
  <style lang="scss">
    .head {
      width: 100%;
      height: 80px;
      color: #fff;
      background-color: #6170c3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .log {
        padding-left: 50px;
        
      }
      .msg {
        padding-right: 50px;
        display: flex;
        align-items: center;
        .avt {
          padding-right: 20px;
        width: 45px;
        height: 45px;
        img {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
      }
      
    }
  
  </style>