...
|
...
|
@@ -53,29 +53,43 @@ export default class Statistics extends Component { |
|
|
</TouchableOpacity>
|
|
|
|
|
|
</View>
|
|
|
|
|
|
<View style={styles.lineView}/>
|
|
|
|
|
|
|
|
|
<View style={styles.statisticsView}>
|
|
|
|
|
|
|
|
|
<TouchableOpacity activeOpacity={1} style={styles.container} onPress={() => {
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.minealliance","params":{"title":"全部佣金","type":"orderIncome"}}`;
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.minealliance","params":{"title":"预估佣金","type":"estimateDetails","time_type":${currentTab}, "tab_type":"1"}}`;
|
|
|
this.props.resourceJumpWithUrl && this.props.resourceJumpWithUrl(url);
|
|
|
}} >
|
|
|
|
|
|
<View style={styles.statisticsView}>
|
|
|
<View style={{width: width / 2, paddingLeft: 30, marginTop: -10}}>
|
|
|
<Text style={styles.numberText}>{statisticsInfo.orderNum}</Text>
|
|
|
<Text style={styles.tipsText}>订单数</Text>
|
|
|
</View>
|
|
|
|
|
|
</TouchableOpacity>
|
|
|
|
|
|
|
|
|
<View style={styles.spaceView}/>
|
|
|
|
|
|
<TouchableOpacity activeOpacity={1} style={styles.container} onPress={() => {
|
|
|
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.minealliance","params":{"title":"全部佣金","type":"orderIncome"}}`;
|
|
|
this.props.resourceJumpWithUrl && this.props.resourceJumpWithUrl(url);
|
|
|
}} >
|
|
|
<View style={{width: width / 2, paddingLeft: 30, marginTop: -10}}>
|
|
|
<Text style={styles.numberText}>{statisticsInfo.clickNum}</Text>
|
|
|
<Text style={styles.tipsText}>点击数</Text>
|
|
|
</View>
|
|
|
</View>
|
|
|
|
|
|
</TouchableOpacity>
|
|
|
|
|
|
</View>
|
|
|
|
|
|
<View style={styles.lineView}/>
|
|
|
|
|
|
</View>
|
|
|
);
|
|
|
}
|
...
|
...
|
|