Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
2016-09-05 15:46:25 +0800
Commit
07e06f649998e1998390fbf759a5f9417da553ea
1 parent
c5fdda34
商品详情
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
apps/product/models/item.js
public/scss/product/_item.css
apps/product/models/item.js
View file @
07e06f6
...
...
@@ -98,9 +98,9 @@ const getProductItemData = (params, url, uid) => {
}
// 如果status为0,即商品下架时则返回空对象
//if (!result.status) {
//
if (!result.status) {
// return resData;
//}
//
}
if
(
!
result
.
productName
&&
!
result
.
productSkn
&&
...
...
public/scss/product/_item.css
View file @
07e06f6
...
...
@@ -58,7 +58,7 @@
text-align
:
center
;
}
.trade-wrapper
{
.trade-wrapper
{
text-align
:
center
;
}
...
...
@@ -93,7 +93,7 @@
}
.option-content
{
/*
width: 226px;
*/
/*
width: 226px;
*/
margin
:
0
auto
;
padding
:
40px
0
20px
;
display
:
inline-block
;
...
...
@@ -117,7 +117,8 @@
float
:
left
;
margin-right
:
20px
;
margin-bottom
:
10px
;
&:last-child{
&:last-child
{
margin-right
:
0
;
}
}
...
...
@@ -140,7 +141,7 @@
cursor
:
pointer
;
font-size
:
14px
;
&:last-child{
&:last-child
{
margin-right
:
0
;
}
}
...
...
@@ -291,6 +292,7 @@
.intro-text
{
line-height
:
2
;
word-wrap
:
break-word
;
}
}
...
...
Please
register
or
login
to post a comment