罗广聪

更改图片

@@ -18,29 +18,17 @@ export default class AllProduct extends Component { @@ -18,29 +18,17 @@ export default class AllProduct extends Component {
18 this.state = { 18 this.state = {
19 ListData: [ 19 ListData: [
20 { 20 {
21 - title: "平安保险2017版平安保险平安保险平安保险", 21 + title: "平安e生保2017版-100万(有社保含新农合)",
22 time: "刚刚", 22 time: "刚刚",
23 - url: "https://www.baidu.com", 23 + url: "http://hankschan.legendh5.com/h5/b8302dac-0563-478c-ff82-ba8ab20c1cb3.html",
24 - imgurl: require("../../assets/circle/newspic.png") 24 + imgurl: require("../../assets/home/product_1.png")
25 }, 25 },
26 { 26 {
27 - title: "平安保险2017版平安保险平安保险平安保险", 27 + title: "泰康在线“住院宝”必备版(0-49周岁)",
28 time: "刚刚", 28 time: "刚刚",
29 - url: "https://www.google.com", 29 + url: "http://hankschan.legendh5.com/h5/f782ab69-6515-3e70-025a-5da78f1f745f.html",
30 - imgurl: require("../../assets/circle/newspic.png") 30 + imgurl: require("../../assets/home/product_1.png")
31 }, 31 },
32 - {  
33 - title: "平安保险2017版平安保险平安保险平安保险",  
34 - time: "刚刚",  
35 - url: "https://www.zhihu.com/",  
36 - imgurl: require("../../assets/circle/newspic.png")  
37 - },  
38 - {  
39 - title: "平安保险2017版平安保险平安保险平安保险",  
40 - time: "刚刚",  
41 - url: "https://www.baidu.com",  
42 - imgurl: require("../../assets/circle/newspic.png")  
43 - }  
44 ] 32 ]
45 }; 33 };
46 } 34 }
@@ -24,54 +24,52 @@ export default class Home extends Component { @@ -24,54 +24,52 @@ export default class Home extends Component {
24 this.state = { 24 this.state = {
25 ListData: [ 25 ListData: [
26 { 26 {
27 - title: "平安保险第一个", 27 + title: "重疾、大病和防癌险,傻傻分不清?",
28 - context: "600万医疗报废,自费药,进口药,器材费", 28 + context: "重疾险、大病保险和防癌险,这几大险种你能分得清吗?",
29 url: 29 url:
30 - "http://hankschan.legendh5.com/h5/b8302dac-0563-478c-ff82-ba8ab20c1cb3.html", 30 + "http://mp.weixin.qq.com/s/vSz_WuGpPYNMNpGQv-zxAQ",
31 - imgurl: require("../../assets/circle/newspic.png") 31 + imgurl: require("../../assets/home/Headlines_重疾险.png")
32 }, 32 },
33 { 33 {
34 - title: "平安保险第二个", 34 + title: "想为家里老人买份保险,怎么选?",
35 - context: "600万医疗报废,自费药,进口药,器材费", 35 + context: "在如今的商业保险中,老年人的保险成为了很多人比较纠结的问题。",
36 url: 36 url:
37 - "https://mmbiz.qpic.cn/mmbiz_jpg/cdwcq52BJlibS0nnF7IFq72VPba2ZEEOPVbMX370LHt8gW5nEicvQ4zpyX626y4hYPdk7CUUrHwCOVc2nMicY0xcw/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1", 37 + "http://mp.weixin.qq.com/s/R_KuAzEVQCVKj7FUOzuHJw",
38 - imgurl: require("../../assets/circle/newspic.png") 38 + imgurl: require("../../assets/home/Headlines_中老年医疗险.png")
39 }, 39 },
40 { 40 {
41 - title: "平安保险第三个", 41 + title: "驾车远行需要做哪些保险准备?",
42 - context: "600万医疗报废,自费药,进口药,器材费", 42 + context: "出行前我们需要做哪些准备工作,才能避免发生事故后的束手无策?",
43 url: 43 url:
44 - "http://m.people.cn/n4/2017/0907/c190-9825877.html?admincptm=1504789835057", 44 + "http://mp.weixin.qq.com/s/Tkm4TrBEXqXJzC4FQdW2MQ",
45 - imgurl: require("../../assets/circle/newspic.png") 45 + imgurl: require("../../assets/home/Headlines_出驾远行.png")
46 }, 46 },
47 { 47 {
48 - title: "平安保险第四个", 48 + title: "选购儿童险,这几大原则也应注意!",
49 - context: "600万医疗报废,自费药,进口药,器材费", 49 + context: "认真对待关于孩子的保险问题,还需要注意投保时候的一些原则。",
50 - url: "https://www.baidu.com", 50 + url: "http://mp.weixin.qq.com/s/iUEiBMik_3WMuxnAPFDXXQ",
51 - imgurl: require("../../assets/circle/newspic.png") 51 + imgurl: require("../../assets/home/Headlines_儿童险.png")
  52 + },
  53 + {
  54 + title: "关于重疾险,这几个关键问题也需了解!",
  55 + context: "作为咨询热度较高的险种,很多人对重疾险有着不同的疑问。",
  56 + url: "http://mp.weixin.qq.com/s/VP-0BcBTvipbuq9bgOZ0NQ",
  57 + imgurl: require("../../assets/home/Headlines_意外险.png")
52 } 58 }
53 ], 59 ],
54 swiperImgList: [ 60 swiperImgList: [
55 { 61 {
56 - img: require("../../assets/WechatIMG10.png"), 62 + img: require("../../assets/home/slider_1.jpeg"),
57 - url: "https://www.baidu.com/" 63 + // url: "https://www.baidu.com/"
58 - },  
59 - {  
60 - img: require("../../assets/WechatIMG10.png"),  
61 - url: "https://www.baidu.com/"  
62 }, 64 },
63 { 65 {
64 - img: require("../../assets/WechatIMG10.png"), 66 + img: require("../../assets/home/slider_2.jpeg"),
65 - url: "https://www.baidu.com/" 67 + // url: "https://www.baidu.com/"
66 }, 68 },
67 { 69 {
68 - img: require("../../assets/WechatIMG10.png"), 70 + img: require("../../assets/home/slider_3.jpeg"),
69 - url: "https://www.baidu.com/" 71 + // url: "https://www.baidu.com/"
70 }, 72 },
71 - {  
72 - img: require("../../assets/WechatIMG10.png"),  
73 - url: "https://www.baidu.com/"  
74 - }  
75 ] 73 ]
76 }; 74 };
77 } 75 }
@@ -122,7 +120,6 @@ export default class Home extends Component { @@ -122,7 +120,6 @@ export default class Home extends Component {
122 <TouchableOpacity 120 <TouchableOpacity
123 style={styles.slide} 121 style={styles.slide}
124 key={index} 122 key={index}
125 - onPress={() => navigate("CommonWebView", { item: item })}  
126 > 123 >
127 <Image 124 <Image
128 style={styles.slideImg} 125 style={styles.slideImg}
@@ -183,14 +180,14 @@ const styles = StyleSheet.create({ @@ -183,14 +180,14 @@ const styles = StyleSheet.create({
183 }, 180 },
184 swiperWrapper: {}, 181 swiperWrapper: {},
185 slide: { 182 slide: {
186 - height: 120, 183 + height: 140,
187 justifyContent: "center", 184 justifyContent: "center",
188 alignItems: "center", 185 alignItems: "center",
189 backgroundColor: "#92BBD9" 186 backgroundColor: "#92BBD9"
190 }, 187 },
191 slideImg: { 188 slideImg: {
192 flex: 1, 189 flex: 1,
193 - height: 120 190 + height: 140
194 }, 191 },
195 midContainer: { 192 midContainer: {
196 height: 45, 193 height: 45,
@@ -243,7 +240,6 @@ const styles = StyleSheet.create({ @@ -243,7 +240,6 @@ const styles = StyleSheet.create({
243 justifyContent: "center", 240 justifyContent: "center",
244 height: 66, 241 height: 66,
245 flex: 1 242 flex: 1
246 - // marginRight: 13  
247 }, 243 },
248 itemTextTop: { 244 itemTextTop: {
249 fontSize: 16, 245 fontSize: 16,
@@ -260,7 +256,7 @@ const styles = StyleSheet.create({ @@ -260,7 +256,7 @@ const styles = StyleSheet.create({
260 color: "#7A7A7A", 256 color: "#7A7A7A",
261 fontSize: 13, 257 fontSize: 13,
262 marginTop: 10, 258 marginTop: 10,
263 - textAlign: "center" 259 + textAlign: "center",
264 - // marginBottom: 10 260 + marginBottom: 10
265 } 261 }
266 }); 262 });
@@ -62,7 +62,6 @@ export default class Login extends Component { @@ -62,7 +62,6 @@ export default class Login extends Component {
62 placeholder="请输入手机号" 62 placeholder="请输入手机号"
63 value={this.state.phone} 63 value={this.state.phone}
64 onChangeText={phone => this.setState({ phone })} 64 onChangeText={phone => this.setState({ phone })}
65 - autoFocus={true}  
66 selectionColor="#1B9341" 65 selectionColor="#1B9341"
67 clearTextOnFocus={true} 66 clearTextOnFocus={true}
68 numberOfLines={1} 67 numberOfLines={1}
@@ -129,7 +128,7 @@ export default class Login extends Component { @@ -129,7 +128,7 @@ export default class Login extends Component {
129 /> 128 />
130 </View> 129 </View>
131 ) : null} 130 ) : null}
132 - {/* 登录/注册 按钮 老师 */} 131 + {/* 登录/注册 按钮 */}
133 {!this.state.isRegister ? ( 132 {!this.state.isRegister ? (
134 <TouchableOpacity 133 <TouchableOpacity
135 style={styles.confirmBtnLogin} 134 style={styles.confirmBtnLogin}