Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
yoho-miniapp-ufo
·
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
huangyCode
6 years ago
Commit
db3959cb07563a2a878171f615dbed6ea04b997c
1 parent
1149805d
修改倒计时显示
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/pages/productDetail/index.js
src/pages/productDetail/index.js
View file @
db3959c
...
...
@@ -145,7 +145,7 @@ export default class ProductDetail extends Component {
let
data
=
res
.
data
||
{};
let
image_list
=
data
.
image_list
;
let
goodsList
=
{
image_list
}
let
imageSize
=
image_list
.
length
;
let
imageSize
=
image_list
.
length
;
let
default_image
=
imageSize
>
0
?
image_list
[
0
]
:
''
;
let
productInfo
=
data
;
let
seriesObj
=
{
...
...
@@ -294,6 +294,9 @@ export default class ProductDetail extends Component {
}
getFavoriteState
(
id
)
{
if
(
!
id
){
return
;
}
productDetailModel
.
getFavoriteState
(
id
).
then
(
ret
=>
{
if
(
ret
&&
ret
.
code
===
200
)
{
this
.
setState
({
...
...
Please
register
or
login
to post a comment