• 人民币
    货币单位 Currency
    • 人民币 CNY
    • 美元 USD
    • 欧元 EUR
    • 日元 JPY
    • 韩元 KRW
    • 港元 HKD
    • 英镑 GBP
    • 澳元 AUD
    • 新加坡元 SGD
    • 加元 CAD
    • 新台币圆 TWD
    • 泰铢 THB
  • 价格
  • 天数 < const infants = parseInt($('.infant-val').text()); $('#summary-text').text(`${adults} 成人・${children} 儿童・${infants} 婴儿`); } $('.control-btn-plus').click(function() { const $numberVal = $(this).siblings('div').find('.number-val'); let currentVal = parseInt($numberVal.text()); $numberVal.text(currentVal + 1); // Increment value updateSummary(); // Update summary text }); $('.control-btn-jian').click(function() { const $numberVal = $(this).siblings('div').find('.number-val'); let currentVal = parseInt($numberVal.text()); if (currentVal > 0) { $numberVal.text(currentVal - 1); // Decrement value updateSummary(); // Update summary text } }); }); // 热们话题 var mySwiper = new Swiper('.ArticleQuintRibbon_swiper__TE0tj', { spaceBetween: 20, slidesPerView: 5, autoplay: { delay: 4000, disableOnInteraction: false, }, navigation: { nextEl: ".swiper-banner-next", prevEl: ".swiper-banner-prev", }, }); $("#range").ionRangeSlider({ min: 0, max: 3500, from:500, to: 1500, type: 'double',//设置类型 step: 1, prefix: "",//设置数值前缀 postfix: "",//设置数值后缀 prettify: false, hasGrid: false }); // Initially show only the first 4 items $('.select-items').each(function() { $(this).find('.select-ch-item:lt(4)').addClass('visible'); if ($(this).find('.select-ch-item').length <= 4) { $(this).find('.select-arror').hide(); } }); // Toggle visibility on click $('.select-arror').click(function() { var $selectItems = $(this).parent('.select-items'); var $hiddenItems = $selectItems.find('.select-ch-item:not(.visible)'); if ($hiddenItems.length > 0) { // Show all items $selectItems.find('.select-ch-item').addClass('visible'); $(this).find('span').first().hide(); // Hide "查看更多" $(this).find('span').eq(1).show(); // Show "收起" $(this).addClass("active") } else { // Hide items beyond the first 4 $selectItems.find('.select-ch-item:gt(3)').removeClass('visible'); $(this).find('span').first().show(); // Show "查看更多" $(this).find('span').eq(1).hide(); // Hide "收起" $(this).removeClass("active") } }); // Initially set the "查看更多" and "收起" visibility $('.select-arror').each(function() { $(this).find('span').first().show(); // "查看更多" $(this).find('span').eq(1).hide(); // "收起" });