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
de220916942e34c3d0357f7422ca95174ff83422
1 parent
ea96c055
add 双11 优化 review by hongmo
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
js/brandStore/components/brandStore/brandStoreSubView/Cells/CouponCell.js
js/brandStore/reducers/brandStore/brandStoreActions.js
js/redPersonBrand/reducers/redBrand/redBrandActions.js
js/brandStore/components/brandStore/brandStoreSubView/Cells/CouponCell.js
View file @
de22091
...
...
@@ -52,7 +52,14 @@ export default class CouponCell extends React.Component {
let
nameSize
;
let
statesTitleStyle
;
let
states
;
let
statesTitle
=
rowData
.
status
?
'立即领取'
:
'已领取'
;
let
statesTitle
=
''
;
if
(
rowData
.
status
==
1
)
{
statesTitle
=
'立即领取'
;
}
else
if
(
rowData
.
status
==
2
)
{
statesTitle
=
'已领取'
;
}
else
{
statesTitle
=
'已抢光'
;
}
if
(
yh_exposureData
)
{
yh_exposureData
=
{
I_INDEX
:
rowID
,
...
...
js/brandStore/reducers/brandStore/brandStoreActions.js
View file @
de22091
...
...
@@ -213,6 +213,7 @@ export function setFilterMoreView(show) {
payload
:
show
}
}
/*
* 店铺信息
*/
...
...
@@ -236,6 +237,9 @@ export function getShopInfo() {
}
dispatch
(
shopDataExposure
(
'YB_SHOW_CLASSICAL_SHOP_INFO'
,
params
));
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_L'
,
{
SHOP_ID
:
brandStore
.
shopId
,
TEMPLATE_TYPE
:
json
.
shop_template_type
,
IS_RED
:
0
});
ReactNative
.
NativeModules
.
YH_CommonHelper
.
setShopIntro
(
json
);
})
.
catch
(
error
=>
{
dispatch
(
shopInfoFailure
(
error
));
...
...
js/redPersonBrand/reducers/redBrand/redBrandActions.js
View file @
de22091
...
...
@@ -647,7 +647,6 @@ export function getIntroFailure(error) {
}
}
export
function
getIntro
()
{
return
(
dispatch
,
getState
)
=>
{
...
...
@@ -659,6 +658,7 @@ export function getIntro() {
.
then
(
json
=>
{
dispatch
(
getIntroSuccess
(
json
));
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_L'
,
{
SHOP_ID
:
redBrand
.
shopId
,
TEMPLATE_TYPE
:
json
.
shop_template_type
,
IS_RED
:
1
});
ReactNative
.
NativeModules
.
YH_CommonHelper
.
setShopIntro
(
json
);
})
.
catch
(
error
=>
{
dispatch
(
getIntroFailure
(
error
));
...
...
Please
register
or
login
to post a comment