Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
王水玲
9 years ago
Commit
b94608e8f1db0f8b3c6f986b8382845fce358b55
1 parent
efd13f44
分期bug 修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
2 deletions
public/js/home/installment.page.js
public/scss/home/installment/_installment.css
public/scss/home/installment/_repayment-list.css
public/js/home/installment.page.js
View file @
b94608e
...
...
@@ -25,6 +25,15 @@ function setDetailText() {
});
}
function
setDefaultHeight
()
{
var
$detailImg
=
$
(
'.good-detail-img'
);
$detailImg
.
css
({
height
:
$detailImg
.
find
(
'img'
).
height
()
-
1
,
background
:
'#c3c3c3'
});
}
setDetailText
();
$
(
'.detail-tab span'
).
on
(
'click'
,
function
()
{
...
...
@@ -33,9 +42,19 @@ $('.detail-tab span').on('click', function() {
if
(
$
(
this
).
index
()
===
1
)
{
setDetailText
();
lazyLoad
(
$
(
'img.lazy'
));
setTimeout
(
function
()
{
setDefaultHeight
();
},
2000
);
}
});
setTimeout
(
function
()
{
setDefaultHeight
();
},
2500
);
window
.
setCookie
(
'installmentUid'
,
window
.
queryString
.
uid
);
window
.
setCookie
(
'udid'
,
window
.
queryString
.
udid
);
window
.
setCookie
(
'clientType'
,
window
.
queryString
.
client_type
);
...
...
public/scss/home/installment/_installment.css
View file @
b94608e
...
...
@@ -88,7 +88,32 @@
}
#goods-list
{
margin
:
15px
0
0
15px
;
padding
:
0
15px
;
margin
:
15px
0
0
;
width
:
100%
;
box-sizing
:
border-box
;
}
.good-info
{
float
:
left
;
padding
:
0
15px
;
margin
:
10px
0
40px
;
box-sizing
:
border-box
;
width
:
50%
;
height
:
auto
;
}
.good-thumb
{
width
:
100%
;
height
:
100%
;
}
.good-detail-img
{
height
:
auto
;
img
{
height
:
100%
;
}
}
}
...
...
public/scss/home/installment/_repayment-list.css
View file @
b94608e
...
...
@@ -294,7 +294,7 @@
border-top
:
1px
solid
#e0e0e0
;
label
{
margin-left
:
75
px
;
margin-left
:
60
px
;
width
:
320px
;
height
:
120px
;
float
:
left
;
...
...
Please
register
or
login
to post a comment