Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Lynnic
2015-12-05 16:49:09 +0800
Commit
523cfeb6640c3a56514f6e3ce83614e6a6b5aef9
1 parent
87e47380
修改了图片变形的问题 --code reviewed by zhaobiao
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
static/js/product/detail/detail.js
static/sass/product/_detail.scss
static/sass/product/_product-description.scss
static/js/product/detail/detail.js
View file @
523cfeb
...
...
@@ -78,9 +78,6 @@ $.ajax({
if
(
data
.
code
===
200
)
{
$cart
.
find
(
'.num-tag'
).
html
(
data
.
data
.
cart_goods_count
).
removeClass
(
'hide'
);
}
},
error
:
function
()
{
$cart
.
find
(
'.num-tag'
).
html
(
'3'
).
removeClass
(
'hide'
);
}
});
...
...
static/sass/product/_detail.scss
View file @
523cfeb
...
...
@@ -31,8 +31,7 @@ $basicBtnC:#eb0313;
margin-bottom
:
pxToRem
(
20px
);
font-size
:
pxToRem
(
24px
);
line-height
:
pxToRem
(
36px
);
display
:
flex
;
flex-wrap
:
wrap
;
&
.table
{
width
:
100%
;
.column
{
...
...
static/sass/product/_product-description.scss
View file @
523cfeb
...
...
@@ -2,6 +2,12 @@
.goods-desc
{
padding-bottom
:
pxToRem
(
20px
);
padding-top
:
pxToRem
(
20px
);
&
.page-block
{
.table
{
display
:
flex
;
flex-wrap
:
wrap
;
}
}
.service
{
width
:
pxToRem
(
494px
);
height
:
pxToRem
(
28px
);
...
...
Please
register
or
login
to post a comment