<template>
  <div id="top">
    <el-row>
      <el-col :span="24">
        <el-col :span="24">
          <el-image style="width:100%;height:500px;" :src="banner"></el-image>
        </el-col>
        <div class="w_1270">
          <el-col :span="24" class="info">
            <span>{{ info.name }}-{{ title }}</span>
          </el-col>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'top',
  props: {
    info: null,
  },
  components: {},
  data: () => ({
    title: '党员之家',
    banner: require('@/assets/memberBg.jpg'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.w_1270 {
  width: 1270px;
  margin: 0 auto;
}
.info {
  position: absolute;
  top: 32%;
  left: 25%;
  width: 75%;
}
.info span {
  font-size: 35px;
  color: #df0001;
  font-family: '黑体';
}
</style>
