RegIssueList.vue 1.93 KB
<template>
  <div class="regIssue_content">
    <van-list v-model="loading" :finished="finished" finished-text="已经到底了" @load="onLoad">
      <div class="regIssue_list">
        <div class="regIssue_item" v-for="(item,index) in list" :key="index">
          <h3>{{item.title}}</h3>
          <div class="bottom">
            <div class="btm_left">
              <img :src="require('@/assets/icon/time_update.png')">
              <span class="time">更新日期:{{item.time}} </span>
            </div>
            <div class="btm_right">{{item.type}}</div>
          </div>
        </div>
      </div>
    </van-list>
  </div>
</template>
<script>
export default {
  name: 'RegIssueList',
  props: {
    params: {
      type: Object
    }
  },
  data() {
    return {
      loading: false,
      finished: false,
      show: false,
      list: [
        {
          title: '南京市高淳区城市投资有限公司关于发行2021年度第一期中期票据的注册报告',
          time: '2021-4-12',
          type: 'MTN'
        },
        {
          title: '南京市高淳区城市投资有限公司关于发行2021年度第一期中期票据的注册报告',
          time: '2021-4-12',
          type: 'MTN'
        }
      ],
    }
  },
  methods: {
    onLoad() {
      this.finished = true
      this.loading = false
    },
  }
}
</script>
<style lang="less" scoped>
.regIssue_list {
  padding: 0 15px;
  .regIssue_item {
    padding: 10px 0 12px 0;
    border-bottom: 1px solid #f8f8f8;
    display: flex;
    flex-direction: column;
    h3 {
      color: #222;
      font-size: 16px;
    }
    .bottom {
      display: flex;
      flex-direction: row;
      margin-top: 10px;
      color: #888d8d;
      font-size: 12px;
      justify-content: space-between;
      .btm_left {
        display: flex;
        align-items: center;
      }
      img {
        width: 17px;
        height: 17px;
        margin-right: 7px;
      }
    }
  }
}
</style>