App/Pages/Home18.js
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
TouchableOpacity,
Image,
ScrollView,
ListView,
PixelRatio
} from 'react-native';
import Common from '../Commom/constants';
import Icon from 'react-native-vector-icons/Ionicons';
export default class Home18 extends Component {
constructor(props) {
super(props);
// console.log(props)
this._renderRow = this._renderRow.bind(this);
this.state = {
dataSource: new ListView.DataSource({
rowHasChanged: (row1, row2) => row1 !== row2,
}),
};
}
_renderRow(rowDate) {
return (
<View style={styles.row}>
<TouchableOpacity
activeOpacity={0.75}
onPress={()=>{alert('我是18')} }
>
<Image
source={{ uri: rowDate.image }}
style={styles.rowDateImage}
/>
<Text style={{ marginTop: 10, color: 'red', fontSize: 15, textAlign: 'center' }}>{'¥'+rowDate.secSkillPrice} </Text>
<Text style={{color: 'gray', fontSize: 13, textAlign: 'center' ,textDecorationLine: 'line-through'}}>{'¥'+rowDate.publicPrice} </Text>
</TouchableOpacity>
</View>
);
}
render() {
return (
<View style={styles.StyleFor18}>
<View style={styles.UGoImageStyle}>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<Image
source={{ uri: this.props.listDate.secKillImg }}
style={styles.UGoImage}
/>
<Text style={styles.text1}>距离结束 17: 04: 39</Text>
</View>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<Text style={{ marginRight: 10 }}>更多</Text>
后面还有 78 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
