Authored by chenl

Merge branch '5.8.0-0.44.0' of http://git.yoho.cn/mobile/YH_RNComponent into 5.8.0-0.44.0

... ... @@ -143,11 +143,10 @@ export default class Detail extends Component {
let data = rowData?rowData.get('data'):null;
let url = data?data.get('src'):'';
let title = data?data.get('video_intro'):'';
let cover_image = rowData?rowData.get('cover_image'):'';
let cover_image = data?data.get('cover_image'):'';
return (
<View style={{width: width - 20,height: 315,backgroundColor: 'white'}}>
<YH_Video style={{width: width - 20,height: 300}} url={url} title={title} />
<YH_Video style={{width: width - 20,height: 300}} url={url} title={title} cover={cover_image} />
<View style={styles.placeholder}/>
</View>
);
... ...
... ... @@ -239,6 +239,8 @@ export default function detailReducer(state=initialState, action) {
return state.setIn(['commentsList', 'page'], 0)
.setIn(['commentsList', 'total_page'], 0)
.setIn(['commentsList', 'total'], 0)
.setIn(['commentsList', 'isFetching'], false)
.setIn(['commentsList', 'error'], null)
.setIn(['commentsList', 'endReached'], false);
}
//资讯添加评论
... ...