fix: 解决图片无法延迟加载

master
LiaoYijun 10 months ago
parent 606b3fc8d8
commit 8aae11368e

@ -29,10 +29,10 @@
<td class="hidden-xs feedback_logo">
<img alt="TrustPilot Rating"
class="img-responsive" width="382" height="193"
src="https://images.japanhighlights.com/allpicture/2025/05/e6e82f033e0b4619a0df404f74578d7f_cut_382x193_241_1748531605.jpg" style="margin-bottom: 15px;">
originalsrc="https://images.japanhighlights.com/allpicture/2025/05/e6e82f033e0b4619a0df404f74578d7f_cut_382x193_241_1748531605.jpg" style="margin-bottom: 15px;">
<img alt="TripAdvisor Rating"
class="img-responsive" width="306" height="176"
src="https://images.japanhighlights.com/allpicture/2025/05/dd7bda74592b44b3b98833e3e2f1448a_cut_306x176_241_1748531758.jpg">
originalsrc="https://images.japanhighlights.com/allpicture/2025/05/dd7bda74592b44b3b98833e3e2f1448a_cut_306x176_241_1748531758.jpg">
</td>
<?php foreach ($feedback_list as $index => $feedback) {?>
<td class="tour_feedback feedback_content">
@ -69,14 +69,14 @@
const infoIcon = document.querySelector('.review-aggregate__info');
const toolTip = document.querySelector('.popper__tooltip');
const closeButton = document.querySelector('.review_close');
infoIcon.addEventListener('click', function() {
toolTip.style.display = "block";
});
closeButton.addEventListener('click', function(event) {
toolTip.style.display = "none";
});
});
</script>
Loading…
Cancel
Save