style:样式问题修改5

This commit is contained in:
2025-07-01 15:24:18 +08:00
parent e04fc650a4
commit 77ec576f8f
2 changed files with 4 additions and 3 deletions

View File

@@ -128,8 +128,9 @@
}) })
$('.toggle_qrcode').click(function() { $('.toggle_qrcode').click(function() {
$(this).siblings('.triggered_qrcode').toggle(); const qrcode = $(this).siblings('.triggered_qrcode');
}) qrcode.css('display', qrcode.css('display') === 'none' ? 'flex' : 'none');
});
}) })
//banner轮播 //banner轮播
var loveswiper = new Swiper('.loveswiper', { var loveswiper = new Swiper('.loveswiper', {

View File

@@ -198,7 +198,7 @@
position: absolute; position: absolute;
left: 40%; left: 40%;
transform: translateX(-50%); transform: translateX(-50%);
display: flex; display: none;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;