Toggle navigation
Toggle navigation
This project
Loading...
Sign in
罗广聪
/
ProtectGod
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
罗广聪
2017-09-14 09:24:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a770117b45d7b3f77405330fb1fcf8564d4c5604
a770117b
1 parent
dd6fc240
done
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/pages/Home/allProduct.js
src/pages/Home/allProduct.js
View file @
a770117
...
...
@@ -23,11 +23,13 @@ export default class AllProduct extends Component {
time
:
"刚刚"
,
// url: "http://hankschan.legendh5.com/h5/b8302dac-0563-478c-ff82-ba8ab20c1cb3.html",
url
:
require
(
"../../assets/home/product_long_1.jpg"
),
Subtitle
:
"200万医疗险,续保至99岁免审核"
,
imgurl
:
require
(
"../../assets/home/product_1.png"
)
},
{
title
:
"泰康在线“住院宝”必备版(0-49周岁)"
,
time
:
"刚刚"
,
Subtitle
:
"疾病意外全面保障,补充社保不足,公共交通意外双倍赔付"
,
// url: "http://hankschan.legendh5.com/h5/f782ab69-6515-3e70-025a-5da78f1f745f.html",
url
:
require
(
"../../assets/home/product_long_2.jpg"
),
imgurl
:
require
(
"../../assets/home/product_2.png"
)
...
...
@@ -38,7 +40,6 @@ export default class AllProduct extends Component {
render
()
{
const
{
navigate
}
=
this
.
props
.
navigation
;
{
/* onPress={() => navigate("CommonWebview", { item: item })} */
}
return
(
<
View
style
=
{
styles
.
container
}
>
<
ScrollView
...
...
@@ -57,7 +58,7 @@ export default class AllProduct extends Component {
<
Text
style
=
{
styles
.
itemTextTop
}
numberOfLines
=
{
2
}
>
{
item
.
title
}
<
/Text
>
<
Text
style
=
{
styles
.
itemTextBottom
}
>
{
item
.
tim
e
}
<
/Text
>
<
Text
style
=
{
styles
.
itemTextBottom
}
numberOfLines
=
{
1
}
>
{
item
.
Subtitl
e
}
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
);
...
...
Please
register
or
login
to post a comment