# uni-time-line-widget **Repository Path**: tker/uni-time-line-widget ## Basic Information - **Project Name**: uni-time-line-widget - **Description**: a time-line widget by Vue.js时间轴组件,使用vue开发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-06-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # uni-time-line 时间轴组件 > 使用Vue开发的时间轴组件,同时适用于移动端和PC端 ## 演示效果 the preview ![](http://qiniu.iborge.cn/1547277185433.jpg) ## 如何使用 How to use ```bash npm install -g uni-time-line -S ``` ```vue //main.js import TimeLine from 'uni-time-line'; Vue.use(TimeLine); ``` ```vue ``` ## 属性介绍 Props ```javascript uni_data: {//数据列表 data list type: Array, default() { return [ { title: "this is title", content: "this is content" }, { title: "标题过长会显示省略号", content: "内容过长会隐藏" }, { title: "更多效果可以自定义", content: "更多效果可以自定义" } ]; } }, space: {//两个条目之间的间距 the space between two items type: String, default: "100px" }, uni_icon: {// icon图形的地址 the icon url type: String, default: "http://qiniu.iborge.cn/dian.png" } ```