This commit is contained in:
wushenghua
2016-02-24 11:26:30 +08:00
parent f692c26c8b
commit dca36711a2
5 changed files with 13 additions and 4 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ export default class CollectListView extends Component{
<Text style={styles.title}> <Text style={styles.title}>
收藏 收藏
</Text> </Text>
) ),
event: function() {
}.bind(this)
} }
}) })
} }
+3 -1
View File
@@ -39,7 +39,9 @@ export default class RandListView extends Component{
<Text style={styles.title}> <Text style={styles.title}>
首页 首页
</Text> </Text>
) ),
event: function() {
}.bind(this)
} }
}) })
} }
+3 -1
View File
@@ -53,7 +53,9 @@ export default class Info extends Component{
style={styles.segmentControlContainer} > style={styles.segmentControlContainer} >
<Text>详情页</Text> <Text>详情页</Text>
</View> </View>
) ),
event: function() {
}.bind(this)
}, },
}); });
+3 -1
View File
@@ -39,7 +39,9 @@ export default class RandListView extends Component{
<Text style={styles.title}> <Text style={styles.title}>
随机 随机
</Text> </Text>
) ),
event: function() {
}.bind(this)
} }
}) })
} }
+1
View File
@@ -30,6 +30,7 @@ router.get('/list',function(req, res, next){
console.log(req.query); console.log(req.query);
// console.log(rest); // console.log(rest);
var topicUrls = []; var topicUrls = [];
if(typeof rest.text == 'undefined')return;
var $ = cheerio.load(rest.text); var $ = cheerio.load(rest.text);