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
1c9f55599785f81c1077694e4c14438bd29af43a
1 parent
d6458cb5
新品到着店铺logo规范 reviewd by 朱傲哲
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
js/newArrival/components/newArrival/BrandCell.js
js/newArrival/components/newArrival/BrandCell.js
View file @
1c9f555
...
...
@@ -27,7 +27,7 @@ export default class BrandCell extends Component {
let
shop_logo
=
data
.
get
(
'shop_logo'
);
let
shops_id
=
data
.
get
(
'shops_id'
);
let
new_product_num
=
data
.
get
(
'new_product_num'
);
shop_logo
=
YH_Image
.
getSlicedUrl
(
shop_logo
,
100
,
50
,
2
);
shop_logo
=
YH_Image
.
getSlicedUrl
(
shop_logo
,
70
,
35
,
2
);
let
yh_exposureData
=
data
.
get
(
'yh_exposureData'
);
return
(
<
TouchableOpacity
style
=
{
styles
.
container
}
yh_exposureData
=
{
yh_exposureData
}
onPress
=
{()
=>
{
this
.
props
.
onPressShop
&&
this
.
props
.
onPressShop
(
data
,
index
);}}
>
...
...
@@ -46,20 +46,22 @@ let {width, height} = Dimensions.get('window');
let
styles
=
StyleSheet
.
create
({
container
:
{
height
:
76
,
width
:
80
,
backgroundColor
:
'white'
,
marginTop
:
10
,
marginRight
:
4
,
},
image
:
{
marginTop
:
0
,
width
:
80
,
height
:
40
,
marginTop
:
5
,
marginLeft
:
5
,
marginRight
:
5
,
width
:
70
,
height
:
35
,
resizeMode
:
'contain'
,
},
footerContainer
:
{
marginTop
:
12
,
marginBottom
:
8
,
width
:
80
,
height
:
16
,
flexDirection
:
'row'
,
...
...
Please
register
or
login
to post a comment