<template>
  <div id="logo">
    <el-row>
      <el-col :span="24" class="logo">
        <span v-if="info && info.logourl">
          <el-image style="width:690px;height:66px;" :src="info.logourl">
            <div slot="error" class="image-slot">
              <el-image style="width:690px;height:66px;" :src="logourl"></el-image>
            </div>
          </el-image>
        </span>
        <span v-else>
          <el-image style="width:690px;height:66px;" :src="logourl"></el-image>
        </span>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'logo',
  props: {
    info: null,
  },
  components: {},
  data: () => ({
    logourl: require('@/assets/home/logo.png'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.logo {
  padding: 65px 0;
}
</style>
