<template>
  <div id="top">
    <el-row>
      <el-col :span="24" class="top">
        <el-col :span="19" class="title"> 您好，欢迎访问{{ info.name }}! </el-col>
        <!-- <el-col :span="4" class="fenxiang">
            <el-col :span="12" class="weibo">
              <el-link :underline="false">
                <el-image :src="weibo"></el-image>
                <span>官方微博</span>
              </el-link>
            </el-col>
            <el-col :span="12" class="weibo">
              <el-link :underline="false">
                <el-image :src="weixin"></el-image>
                <span>官方微信</span>
              </el-link>
            </el-col>
          </el-col> -->
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'top',
  props: {
    info: null,
  },
  components: {},
  data: () => ({
    weibo: require('@/assets/微博.png'),
    weixin: require('@/assets/微信.png'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.top {
  height: 40px;
  overflow: hidden;
  background: #f5f5f54f;
}
.top .title {
  height: 40px;
  line-height: 40px;
  color: #535362;
  font-size: 16px;
}
.weibo {
  height: 40px;
}
.weibo .el-image {
  float: left;
  padding: 4px;
}
.weibo span {
  float: left;
  height: 40px;
  line-height: 40px;
}
</style>
© 2018 Gogs 当前版本: 0.11.88.0627 页面: 52ms 模板: 1ms 简体中文 官方网站 Go1.12.6
