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
孙凯
8 years ago
Commit
f339f1c395d3aaea1268e200c9e72c4fd7bbe410
1 parent
91b97b58
新品到着 新版UI review by zhanglixia
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
js/newArrival/components/newArrival/ShopCell.js
js/newArrival/components/newArrival/ShopCell.js
View file @
f339f1c
...
...
@@ -39,7 +39,7 @@ export default class ProductListCell extends Component {
let
yh_exposureData
=
data
.
get
(
'yh_exposureData'
)?
data
.
get
(
'yh_exposureData'
).
toJS
():
null
;
let
productList
=
data
.
get
(
'product_list'
)?
data
.
get
(
'product_list'
):[];
let
show_type
=
data
.
get
(
'show_type'
)?
data
.
get
(
'show_type'
):
0
;
let
show_type
=
data
.
get
(
'show_type'
)?
data
.
get
(
'show_type'
):
1
;
if
(
show_type
==
0
)
{
//老板 店铺样式
return
(
...
...
@@ -88,7 +88,7 @@ export default class ProductListCell extends Component {
人收藏
<
/Text
>
<
View
style
=
{
styles
.
shopTag
}
>
<
Text
style
=
{
styles
.
shopTagName
}
>
进入店铺
<
/Text
>
<
Text
style
=
{
styles
.
shopTagName
}
>
进入店铺
>
<
/Text
>
<
/View
>
<
View
style
=
{
styles
.
line
}
/
>
<
View
style
=
{
styles
.
bottomView
}
>
...
...
@@ -212,7 +212,7 @@ let styles = StyleSheet.create({
marginTop
:
tagHeight
,
flexDirection
:
'column'
,
alignItems
:
'center'
,
borderColor
:
'
black
'
,
borderColor
:
'
#e0e0e0
'
,
borderWidth
:
1
,
},
shopImage
:
{
...
...
@@ -231,23 +231,21 @@ let styles = StyleSheet.create({
marginBottom
:
0
,
},
shopTag
:
{
backgroundColor
:
'white'
,
width
:
80
,
backgroundColor
:
'rgb(211,10,35)'
,
width
:
100
,
height
:
50
*
width
/
750
,
marginTop
:
rowMarginTop
+
rowMarginBottom
,
marginBottom
:
0
,
borderRadius
:
25
,
borderColor
:
'#e0e0e0'
,
borderWidth
:
1
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
},
shopTagName
:
{
fontFamily
:
'STHeitiSC-Light'
,
fontSize
:
12
,
color
:
'
#444444
'
,
color
:
'
white
'
,
textAlign
:
'center'
,
width
:
63
,
fontWeight
:
'bold'
,
},
line
:
{
marginTop
:
20
,
...
...
Please
register
or
login
to post a comment