<template>
  <van-row>
    <van-col span="24" class="main">
      <van-col span="24" class="list" v-for="(item, index) in list" :key="index">
        <van-col span="24" class="title textOver">
          {{ item.name }}
        </van-col>
        <van-col span="24" class="other">
          <van-col span="24" class="otherInfo">
            重要成果：<span>{{ item.content || '暂无' }}</span>
          </van-col>
        </van-col>
      </van-col>
    </van-col>
  </van-row>
</template>

<script>
import { mapState, createNamespacedHelpers } from 'vuex';
export default {
  name: 'list',
  props: { list: { type: Array, default: () => [] } },
  components: {},
  data: function () {
    return {};
  },
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped>
.main {
  .list {
    background-color: #fff;
    margin: 0 0 8px 0;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #f1f1f1;
    .title {
      font-size: 16px;
      font-weight: bold;
      margin: 0 0 5px 0;
    }
    .other {
      margin: 0 0 5px 0;
      .otherInfo {
        font-size: 14px;
        color: #666;
        margin: 0 0 5px 0;
        span {
          color: #000;
        }
      }
    }
    .btn {
      text-align: center;
      .van-button {
        margin: 0 5px;
      }
    }
  }
}
</style>
