<template>
  <div :class="['headTopBox', { componentBorder: this.$store.state.template.previewStatus==false }]">
    <div class="headTopInfo">
      <div class="headTopInfoLeft">欢迎光临：{{ this.$store.state.template.webSiteInfo.website_name }}</div>
      <div class="headTopInfoRight">
        <div><i class="el-icon-office-building"></i>商圈</div>
        <div><i class="el-icon-data-board"></i>广告服务</div>
        <div><i class="el-icon-user"></i>登录</div>
        <div><i class="el-icon-edit"></i>注册</div>
      </div>
    </div>
    <div class="headTopLogoBox">
      <img :src="this.$store.state.template.webSiteInfo.logo">
      <div class="headTopLogoInputBox">
        <el-input placeholder="请输入内容" v-model="searchValue"></el-input>
        <el-button type="primary">搜索</el-button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    
  },
  data() {
    return {
      searchValue:""
    };
  },
  methods: {
    
  },
  mounted() {
    
  },
};
</script>

<style scoped lang="less">
  .componentBorder {
    border: 2px dashed #999;
  }
  .headTopBox {
    width: 80%;
    height: 190px;
    .headTopInfo {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      font-size: 12px;
      .headTopInfoRight {
        display: flex;
        justify-content: space-between;
        align-items: center;
        div {
          margin-left: 10px;
          i {
            margin-right: 5px;
          }
        }
      }
    }
    .headTopLogoBox {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 30px 0;
      img {
        width: 300px;
        height: 90px;
        display: block;
      }
      .headTopLogoInputBox {
        width: 300px;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
        button {
          border-radius: 0 !important;
          background: #19499F !important;
        }
      }
    }
  }
  
</style>
