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
郝肖肖
9 years ago
Commit
3fe2c721b939bad9ee7f0a5162f6f260772ab552
1 parent
acb2121f
弹框空白太大
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
static/js/plugin/tip.js
static/js/product/shop_coupon.js
static/sass/index.css
static/sass/product/_shop-index-coupon.css
static/js/plugin/tip.js
View file @
3fe2c72
...
...
@@ -38,7 +38,9 @@ function show(con, dur) {
content
=
con
.
toString
();
duration
=
(
dur
&&
dur
>
0
)
?
dur
:
2000
;
$tip
.
text
(
content
).
show
();
$tip
.
text
(
content
).
css
({
left
:
(
$
(
window
).
width
()
-
$tip
.
width
()
-
30
)
/
2
}).
show
();
tipItime
=
setTimeout
(
function
()
{
if
(
$tip
.
css
(
'display'
)
===
'block'
)
{
...
...
static/js/product/shop_coupon.js
View file @
3fe2c72
...
...
@@ -56,4 +56,8 @@ $(function() {
slidesPerView
:
'auto'
,
watchSlidesVisibility
:
true
})
setTimeout
(
function
()
{
tip
.
show
(
'网络断开连接了网络断开连接了~'
);
},
100
);
console
.
log
(
3455
);
})
...
...
static/sass/index.css
View file @
3fe2c72
...
...
@@ -142,12 +142,8 @@ iframe[height="0"] {
position
:
fixed
;
display
:
none
;
text-align
:
center
;
width
:
70%
;
padding
:
34
PX
0
;
padding
:
15
PX
;
top
:
50%
;
left
:
50%
;
margin-left
:
-35%
;
margin-top
:
-45
PX
;
background-color
:
rgba
(
0
,
0
,
0
,
.7
);
color
:
#fff
;
font-size
:
18
PX
;
...
...
static/sass/product/_shop-index-coupon.css
View file @
3fe2c72
...
...
@@ -30,7 +30,6 @@
.coupon-left
.coupon-left-price
.coupon-price
{
font-size
:
72px
;
font-weight
:
bold
;
}
.coupon-left
.coupon-left-name
{
...
...
@@ -80,7 +79,6 @@
.coupon-left
.coupon-left-price
.coupon-price
{
font-size
:
52px
;
font-weight
:
bold
;
}
.coupon-left
.coupon-left-name
{
...
...
Please
register
or
login
to post a comment