feat/task1-c-wallet
devil_gong 2018-09-11 10:05:08 +08:00
parent fb1528ee82
commit 2332f8c779
2 changed files with 5 additions and 5 deletions

View File

@ -118,7 +118,7 @@
</div>
<!-- 罩层 -->
<div class="theme-popover-mask"></div>
<div class="theme-popover-mask" style="display:none;"></div>
<!-- footer start -->

View File

@ -80,13 +80,13 @@ $(function()
$(this).next('div.dd-conent').css('top', ($(this).offset().top+33)+'px')
if ($(this).next('div.dd-conent').css("display") == 'none') {
$(".theme-popover-mask").height(hh);
$(".theme-popover-mask").show();
$(".theme-popover").css({"position":"fixed", "top":0, "padding-top":"46px"});
$(this).next('div.dd-conent').slideToggle(300);
$('.select div.dd-conent').not($(this).next()).hide();
} else {
$(this).next('div.dd-conent').slideUp(300);
$(".theme-popover-mask").height(0);
$(".theme-popover-mask").hide();
$(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
}
})
@ -97,12 +97,12 @@ $(function()
$(document).on("click", ".select dd", function() {
$(".dd-conent").slideUp(300);
$(".theme-popover-mask").height(0);
$(".theme-popover-mask").hide();
$(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
});
$(document).on("click", ".theme-popover-mask", function() {
$(".dd-conent").slideUp(300);
$(".theme-popover-mask").height(0);
$(".theme-popover-mask").hide();
$(".theme-popover").css({"position":"static", "top":0, "padding-top":"0"});
});