Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
张文文
6 years ago
Commit
070725b15d8ff33668aedfdf96019c2185be9a75
1 parent
490ce7e4
master
...
6.9.5_msg
6.9.9_invite
V6.10.1
V6.10.2
V6.9.2
V6.9.3
V6.9.5
V6.9.6
V6.9.6_Alliance
V6.9.7
V6.9.8
V6.9.8_shoudan
V6.9.9
feature/rn_update61
gerry/v6.9.14_panicBuying
gerry/v6.9.16_bugfixed
v6.10.0
v6.9.10
v6.9.11
v6.9.12
v6.9.13
v6.9.14
v6.9.16
v6.9.17
v6.9.19
v6.9.20
v6.9.21
v6.9.22
v6.9.24
6.9.8
6.9.7
6.9.6
6.9.4
6.9.2
图片修改 reviewd by陈林
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
js/newArrival/components/newArrival/floor/JointCell.js
js/newArrival/components/newArrival/floor/JointCell.js
View file @
070725b
...
...
@@ -52,8 +52,8 @@ export default class JointCell extends React.Component {
let
ratioHeight
=
Math
.
ceil
(
width
*
imageHeight
/
imageWidth
);
return
(
<
View
>
<
YH_Image
url
=
{
YH_Image
.
getSlicedUrl
(
source
.
src
,
width
-
marginLeft
*
2
,
ratioHeight
,
2
)}
resizeMode
=
"contain"
style
=
{{
width
:
width
-
marginLeft
*
2
,
height
:
ratioHeight
,
marginLeft
:
marginLeft
}}
/
>
<
View
>
<
YH_Image
url
=
{
YH_Image
.
getSlicedUrl
(
source
.
src
,
width
-
marginLeft
*
2
,
ratioHeight
,
2
)}
resizeMode
=
{
'stretch'
}
style
=
{{
width
:
width
-
marginLeft
*
2
,
height
:
ratioHeight
,
marginLeft
:
marginLeft
,
backgroundColor
:
'red'
}}
/
>
<
View
style
=
{{
flexDirection
:
'row'
,
position
:
'absolute'
,
top
:
0
,
left
:
marginLeft
,
bottom
:
0
,
right
:
marginLeft
}}
>
{
list
.
map
((
item
,
i
)
=>
{
let
exposureData
=
{
...
...
Please
register
or
login
to post a comment