Authored by 郝肖肖

弹框空白太大

... ... @@ -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') {
... ...
... ... @@ -56,4 +56,8 @@ $(function() {
slidesPerView: 'auto',
watchSlidesVisibility: true
})
setTimeout(function() {
tip.show('网络断开连接了网络断开连接了~');
}, 100);
console.log(3455);
})
... ...
... ... @@ -142,12 +142,8 @@ iframe[height="0"] {
position: fixed;
display: none;
text-align: center;
width: 70%;
padding: 34PX 0;
padding: 15PX;
top: 50%;
left: 50%;
margin-left: -35%;
margin-top: -45PX;
background-color: rgba(0,0,0,.7);
color: #fff;
font-size: 18PX;
... ...
... ... @@ -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 {
... ...