...
|
...
|
@@ -103,6 +103,7 @@ export default class SeckillTimeListView extends Component { |
|
|
}
|
|
|
|
|
|
componentDidMount() {
|
|
|
this._scrollToFocusActivity();
|
|
|
this.timer = setInterval(function () {
|
|
|
if (!this.curFocusActivity && this.curFocusActivity.size > 0 && !this.curFocusActivity.has('over')) {
|
|
|
return;
|
...
|
...
|
@@ -110,7 +111,6 @@ export default class SeckillTimeListView extends Component { |
|
|
this._caculateTimerState();
|
|
|
|
|
|
}.bind(this), 1000);
|
|
|
this._scrollToFocusActivity();
|
|
|
|
|
|
}
|
|
|
|
...
|
...
|
@@ -129,8 +129,6 @@ export default class SeckillTimeListView extends Component { |
|
|
// }
|
|
|
|
|
|
_renderRow(rowData, sectionID, rowID) {
|
|
|
console.log('rowID');
|
|
|
console.log(rowID);
|
|
|
rowData = rowData.toJS();
|
|
|
return (
|
|
|
<TouchableOpacity activeOpacity={1.0} onPress={() => {
|
...
|
...
|
@@ -184,7 +182,6 @@ export default class SeckillTimeListView extends Component { |
|
|
diffTime = diff;
|
|
|
this.secKillProductVoList = resource;
|
|
|
this.curFocusActivity = curActivity;
|
|
|
console.log('resource');
|
|
|
|
|
|
backgroundWidth = Math.max((rowContainerWidth + separatorWidth) * (resource.length - 1) + rowContainerFocusWidth, width);
|
|
|
|
...
|
...
|
|