...
|
...
|
@@ -14,7 +14,6 @@ import { |
|
|
import {bindActionCreators} from 'redux';
|
|
|
import {connect} from 'react-redux';
|
|
|
import {Map} from 'immutable';
|
|
|
import timeago from 'timeago.js';
|
|
|
import Immutable, {List, Record} from 'immutable';
|
|
|
import {Actions} from 'react-native-router-flux';
|
|
|
|
...
|
...
|
@@ -24,6 +23,7 @@ import * as subjectPostActions from '../reducers/subject/subjectPostActions'; |
|
|
import * as homeActions from '../reducers/home/homeActions';
|
|
|
import * as appActions from '../reducers/app/appActions';
|
|
|
import {number10KFormater} from '../utils/numberFormater';
|
|
|
import timeago from '../utils/timeago';
|
|
|
|
|
|
const actions = [
|
|
|
subjectPostActions,
|
...
|
...
|
@@ -197,7 +197,7 @@ class SubjectPostContainer extends Component { |
|
|
render() {
|
|
|
let item = this.props.subject.items.get(this.sid);
|
|
|
let {headIcon,nickName,uid} = item.authorInfo;
|
|
|
let timeagoStr = timeago().format(item.createTime, 'zh_CN');
|
|
|
let timeagoStr = timeago(item.createTime);
|
|
|
let header = {
|
|
|
uid,
|
|
|
headIcon,
|
...
|
...
|
|