其他分享
首页 > 其他分享> > timeline时间线

timeline时间线

作者:互联网

<!-- timestamp:时间戳 -->
<el-timeline >
    <el-timeline-item
      v-for="(activity, index) in activities"
      :key="index"
      :timestamp="activity.timestamp">
      {{activity.content}}
    </el-timeline-item>
  </el-timeline>
activities: [{
          content: '活动按期开始',
          timestamp: '2018-04-15'
        }, {
          content: '通过审核',
          timestamp: '2018-04-13'
        }, {
          content: '创建成功',
          timestamp: '2018-04-11'
        }]

标签:11,activities,04,timeline,content,时间,2018,timestamp
来源: https://blog.csdn.net/weixin_46852620/article/details/113731773