@smt-ui/feed-item
Advanced tools
Comparing version 0.0.1-alpha.0 to 0.0.2-alpha.0
{ | ||
"name": "@smt-ui/feed-item", | ||
"version": "0.0.1-alpha.0", | ||
"version": "0.0.2-alpha.0", | ||
"description": "信息流子项", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -13,3 +13,3 @@ #### 组件名称 | ||
|video |Object |false|{isVideo: true, time: '05:00'}|是否为视频和视频信息| | ||
|status |String |false|0|阅读状态:0未读,1点击,2已读| | ||
|status |String |false|0|阅读状态:0未读,1已读| | ||
@@ -16,0 +16,0 @@ #### 代码示例 |
@@ -39,4 +39,3 @@ /** | ||
0: '', | ||
1: 'active', | ||
2: 'visited' | ||
1: 'visited' | ||
} | ||
@@ -58,3 +57,3 @@ }, | ||
this.setData({ | ||
status: 1 | ||
isAcive: true | ||
}); | ||
@@ -65,3 +64,3 @@ }, | ||
this.setData({ | ||
status: 0 | ||
isAcive: false | ||
}); | ||
@@ -68,0 +67,0 @@ this.triggerEvent('feedItemTap'); |
Sorry, the diff of this file is not supported yet
10857
7
244