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
Plain Diff
Browse Files
Authored by
于良
8 years ago
Commit
ce3b982183821b898a1db86b6896f0d0cf731ea9
2 parents
347c9f1c
04514eb9
Merge branch 'brand_store' into classify
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/brandStore/components/brandStore/brandStoreSubView/Cells/BrandSwiper.js
js/brandStore/components/brandStore/brandStoreSubView/Cells/BrandSwiper.js
View file @
ce3b982
...
...
@@ -28,7 +28,7 @@ export default class BrandSwiper extends React.Component {
marginLeft
:
3
,
marginRight
:
3
,
marginTop
:
(
Platform
.
OS
===
'ios'
)?
3
:
23
,
marginBottom
:
23
,
marginBottom
:
0
,
}}
/>
;
this
.
activeDot
=
<
View
...
...
@@ -40,7 +40,7 @@ export default class BrandSwiper extends React.Component {
marginLeft
:
3
,
marginRight
:
3
,
marginTop
:
3
,
marginBottom
:
23
,
marginBottom
:
0
,
}}
/>
;
}
...
...
@@ -106,7 +106,7 @@ export default class BrandSwiper extends React.Component {
}
let
{
width
,
height
}
=
Dimensions
.
get
(
'window'
);
let
swiperHeight
=
Math
.
ceil
((
3
10
/
640
)
*
width
);
let
swiperHeight
=
Math
.
ceil
((
3
47
/
640
)
*
width
);
let
styles
=
StyleSheet
.
create
({
...
...
Please
register
or
login
to post a comment