<template>
  <div id="phontoNews">
    <el-col :span="24" class="info">
      <el-link :underline="false">
        <el-image style="width:550px;height:360px;" :src="photoNews.pic"> </el-image>
        <p>{{ photoNews.title }}</p>
      </el-link>
    </el-col>
  </div>
</template>

<script>
export default {
  name: 'phontoNews',
  props: {
    photoNews: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
p {
  padding: 0;
  margin: 0;
}
.info {
  position: relative;
  padding: 20px;
}
.info p {
  display: block;
  width: 540px;
  height: 30px;
  background-color: #22529a;
  color: #fff;
  position: absolute;
  bottom: 4px;
  left: 0px;
  line-height: 30px;
  padding: 0 0 0 10px;
}
</style>
