Authored by 沈志敏

fix bug

@@ -329,14 +329,23 @@ $('.close').on('click', function() { @@ -329,14 +329,23 @@ $('.close').on('click', function() {
329 $('.dialog').addClass('hidden'); 329 $('.dialog').addClass('hidden');
330 $('.mask').addClass('hidden'); 330 $('.mask').addClass('hidden');
331 $('#dialog .content').html(' '); 331 $('#dialog .content').html(' ');
  332 + $('body').css({
  333 + overflow: 'auto'
  334 + });
332 }); 335 });
333 $('.coupon-description span').on('click', function() { 336 $('.coupon-description span').on('click', function() {
334 $('#message').removeClass('hidden'); 337 $('#message').removeClass('hidden');
335 $('.mask').removeClass('hidden'); 338 $('.mask').removeClass('hidden');
  339 + $('body').css({
  340 + overflow: 'hidden'
  341 + });
336 }); 342 });
337 $('.description').on('click', function() { 343 $('.description').on('click', function() {
338 $('#message').removeClass('hidden'); 344 $('#message').removeClass('hidden');
339 $('.mask').removeClass('hidden'); 345 $('.mask').removeClass('hidden');
  346 + $('body').css({
  347 + overflow: 'hidden'
  348 + });
340 }); 349 });
341 350
342 $('.use-coupon-btn').on('click', function() { 351 $('.use-coupon-btn').on('click', function() {
@@ -357,4 +366,4 @@ $('.input-content .clear-verify').on('click', function() { @@ -357,4 +366,4 @@ $('.input-content .clear-verify').on('click', function() {
357 $('.input-content input').eq('1').val(''); 366 $('.input-content input').eq('1').val('');
358 $(this).addClass('hidden'); 367 $(this).addClass('hidden');
359 $('.input-content div').eq('1').removeClass(); 368 $('.input-content div').eq('1').removeClass();
360 -}); 369 +});
@@ -187,7 +187,7 @@ @@ -187,7 +187,7 @@
187 .dialog { 187 .dialog {
188 width: 84%; 188 width: 84%;
189 height: 410px; 189 height: 410px;
190 - position: absolute; 190 + position: fixed;
191 background: #fff; 191 background: #fff;
192 border-radius: 0.6rem; 192 border-radius: 0.6rem;
193 left: 8%; 193 left: 8%;
@@ -232,7 +232,7 @@ @@ -232,7 +232,7 @@
232 .activity-message { 232 .activity-message {
233 width: 100%; 233 width: 100%;
234 height: 410px; 234 height: 410px;
235 - overflow: scroll; 235 + overflow: auto;
236 } 236 }
237 237
238 .activity-message h3 { 238 .activity-message h3 {