<template>
  <div id="mainLeft">
    <el-row>
      <el-col :span="24" class="mainLeft">
        <el-col :span="24" class="info" v-for="(item, index) in mainLeftList" :key="index" :type="item.type">
          <el-link :underline="false">
            <span class="title">{{item.title}}</span>
          </el-link>
        </el-col>
      </el-col>
      <el-col :span="24">
        <el-menu default-active="2" class="el-menu-vertical-demo">
        <el-menu-item index="1">新闻资讯1</el-menu-item>
        <el-menu-item index="2">新闻资讯2</el-menu-item>
        <el-menu-item index="3">新闻资讯3</el-menu-item>
      </el-menu>
      </el-col>
    </el-row>
  </div>
</template>

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

<style lang="less" scoped>
.info {
  height: 44px;
  line-height: 44px;
  padding: 0 15px;
}
.info .title {
  border-bottom: 1px dashed #ccc;
  display: inline-block;
  height: 40px;
  width: 260px;
  padding: 0 0px;
}
</style>
