1//ãããã¼=================================================================================== 2 3jQuery(function(){ 4 5 /* ããã²ã¼ã·ã§ã³ */ 6 jQuery('.js-anime-common-header-hover').hover(function () { 7 jQuery(this).children('div').stop(true).slideDown(100); 8 return false; 9 }, function () { 10 jQuery(this).children('div').stop(true).slideUp(100); 11 return false; 12 }); 13 14 //ãã©ã³ããããã¼è¿½å¾ 15 jQuery(window).scroll(function () { 16 let nav = jQuery('.common-header').height(); 17 if (nav == undefined) { 18 nav = 0; 19 } 20 if(jQuery('.brand-header-wrap').length){ 21 if(jQuery(window).scrollTop() > nav) { 22 jQuery('.brand-header-wrap').addClass('brand-header-fixed'); 23 }else{ 24 jQuery('.brand-header-wrap').removeClass('brand-header-fixed'); 25 } 26 } 27 28 if(jQuery('.corporate-nav-area').length){ 29 if(jQuery(window).scrollTop() > nav) { 30 jQuery('.corporate-header-wrap').addClass('corporate-header-fixed'); 31 }else{ 32 jQuery('.corporate-header-wrap').removeClass('corporate-header-fixed'); 33 } 34 } 35 if(jQuery('.common-header-logo').length){ 36 if(jQuery(window).scrollTop() > nav) { 37 jQuery('.common-header-logo').addClass('common-header-logo-fixed'); 38 }else{ 39 jQuery('.common-header-logo').removeClass('common-header-logo-fixed'); 40 } 41 } 42 }); 43}); 44 45//çµãè¾¼ã¿è£è¶³è¿½å =================================================================================== 46jQuery(window).on('load', function () { 47 48 //htmlçæ 49 setTimeout(function(){ 50 if(jQuery('#block_of_filter').length) { 51 jQuery('#block_of_filter .js-filter-box').each(function() { 52 let LightningAearchItemName = jQuery(this).find('.block-filter--list-inner-label-title').text(); 53 //ãµã¤ãº 54 if(LightningAearchItemName.indexOf('ãµã¤ãº') > -1){ 55 jQuery(this).find('.block-filter--list-inner-accordion').prepend('<div id="js_question_modal_size" class="lt_question_modal"><span>ãµã¤ãºé¸ã³ã®ãã¤ã³ã</span></div>'); 56 } 57 }); 58 } 59 },3000); 60}); 61 62jQuery(function () { 63 64 //ã¢ã¼ãã«éã 65 jQuery(document).on('click', '.js-filter-box .lt_question_modal', function(){ 66 let jsClickQuestionModalName = jQuery(this).attr('id'); 67 if(jsClickQuestionModalName){ 68 jQuery('body').addClass(jsClickQuestionModalName); 69 } 70 jQuery('body').addClass('lt-filter-modal-on'); 71 }); 72 73 //ã¢ã¼ãã«éããï¼ãã¿ã³ï¼ 74 jQuery(document).on('click', '.lt_question_item_modal_close', function(){ 75 let jsClickQuestionModalClose = jQuery(this).parents('.js_question_modal_box').children('div').attr('class'); 76 if(jsClickQuestionModalClose){ 77 jQuery('body').removeClass(jsClickQuestionModalClose); 78 } 79 jQuery('body').removeClass('lt-filter-modal-on'); 80 }); 81 82 //ã¢ã¼ãã«éããï¼èæ¯ï¼ 83 jQuery(document).on('click', '.lt-question-modal-overlay', function(){ 84 jQuery('body').removeClass("[class^='js_question_modal_']"); 85 jQuery('body').removeClass('lt-filter-modal-on'); 86 }); 87}); 88 89//ååã¹ããã¯ãã¼ã¸å¯¾å¿=================================================================================== 90 91/* -------------ä¸è¦§-------------- */ 92jQuery(window).on('load', function () { 93 if(jQuery('.block-product-comparison-follow-list').length){ 94 95 //ãã§ãã¯ãã¤ãã¦ããååãä¿å 96 jQuery('.block-goods-ist-comp-check').each(function(){ 97 let loadCompGoodsShow = jQuery(this).children('input:checked').attr('value'); 98 if(loadCompGoodsShow){ 99 jQuery('.block-product-comparison-follow-item[data-goods-code=' + loadCompGoodsShow + ']').show(); 100 } 101 }); 102 103 function productComparisonPerformGoodsComp() { 104 return new Promise((resolve, reject) => { 105 goodsCompUtil.compCheckCountProcNum(); 106 resolve(); 107 }); 108 } 109 110 productComparisonPerformGoodsComp().then(() => { 111 setTimeout(function(){ 112 let goodsCompElementsHt = jQuery('.block-product-comparison-follow-bk').outerHeight(); 113 if (goodsCompElementsHt == undefined) { 114 goodsCompElementsHt = 0; 115 } 116 jQuery('.block-product-comparison-follow-bk').css({ 117 'bottom': -goodsCompElementsHt, 118 //'opacity': '1', 119 }); 120 //jQuery('.block-page-top').animate({bottom: 35}); 121 jQuery('.block-product-comparison-follow-count-btn').css('pointer-events', 'auto'); 122 }); 123 }); 124 } 125}); 126 127jQuery(function () { 128 129 //ã¹ã©ã¤ãã¼ç¢å°ã®æå 130 jQuery('body').on('click', '.block-product-comparison-follow-list .slide-next', function () { 131 let now = jQuery('.block-product-comparison-follow-item-list').scrollLeft(); 132 let outerWidth = jQuery('.block-product-comparison-follow-item-list > .block-product-comparison-follow-item').outerWidth(); 133 if (outerWidth == undefined) { 134 outerWidth = 0; 135 } 136 let width = outerWidth + 10; 137 let pageCount = Number(jQuery("#compGoods_PageCount").val()); 138 let visibleElementsCount = goodsCompUtil.getAmountOfCompGoods().length; 139 const amountOfViewGoods = 3; 140 jQuery("#compGoods_PageCount").val(pageCount + 1); 141 jQuery('.block-product-comparison-follow-item-list').animate({ 142 scrollLeft: now + width 143 }, 300); 144 jQuery('.block-product-comparison-follow-list .slide-prev').removeClass('no-more'); 145 if(visibleElementsCount - pageCount <= amountOfViewGoods){ 146 jQuery('.block-product-comparison-follow-list .slide-next').addClass('no-more'); 147 }else{ 148 jQuery('.block-product-comparison-follow-list .slide-next').removeClass('no-more'); 149 } 150 }); 151 152 jQuery('body').on('click', '.block-product-comparison-follow-list .slide-prev', function () { 153 let now = jQuery('.block-product-comparison-follow-item-list').scrollLeft(); 154 let outerWidth = jQuery('.block-product-comparison-follow-item-list > .block-product-comparison-follow-item').outerWidth(); 155 if (outerWidth == undefined) { 156 outerWidth = 0; 157 } 158 let width = outerWidth + 10; 159 let pageCount = Number(jQuery("#compGoods_PageCount").val()); 160 jQuery('.block-product-comparison-follow-item-list').animate({ 161 scrollLeft: now - width 162 }, 300); 163 jQuery("#compGoods_PageCount").val(pageCount - 1); 164 if (pageCount - 1 <= 1) { 165 jQuery('.block-product-comparison-follow-list .slide-prev').addClass('no-more'); 166 } 167 jQuery('.block-product-comparison-follow-list .slide-next').removeClass('no-more'); 168 }); 169 170 //é表示ãã¿ã³ 171 jQuery(document).on('click', '.block-product-comparison-follow-hide', function(){ 172 let goodsCompElementsHt = jQuery('.block-product-comparison-follow-bk').outerHeight(); 173 if (goodsCompElementsHt == undefined) { 174 goodsCompElementsHt = 0; 175 } 176 177 if (jQuery(this).hasClass('product-comparison-close')) { 178 jQuery(this).removeClass('product-comparison-close'); 179 jQuery(this).children('span').text('é表示'); 180 jQuery('.block-product-comparison-follow-bk').animate({bottom: 0}); 181 jQuery('.block-product-comparison-follow-count-btn').hide().animate({bottom: goodsCompElementsHt + 35}); 182 jQuery('.block-page-top').animate({bottom: goodsCompElementsHt + 35}); 183 }else{ 184 jQuery(this).addClass('product-comparison-close'); 185 jQuery(this).children('span').text('表示'); 186 jQuery('.block-product-comparison-follow-bk').animate({bottom: -goodsCompElementsHt}); 187 jQuery('.block-product-comparison-follow-count-btn').show().animate({bottom: 35}); 188 jQuery('.block-page-top').animate({bottom: 35}); 189 } 190 }); 191 192 //æ¯è¼ãããã¿ã³ 193 jQuery(document).on('click', '.block-product-comparison-follow-count-btn', function(){ 194 jQuery('.block-product-comparison-follow-list .slide-prev').addClass('no-more'); 195 let goodsCompElementsHt = jQuery('.block-product-comparison-follow-bk').outerHeight(); 196 if (goodsCompElementsHt == undefined) { 197 goodsCompElementsHt = 0; 198 } 199 200 let visibleElementsCount = goodsCompUtil.getAmountOfCompGoods().length; 201 if(visibleElementsCount >= 4){ 202 jQuery('.block-product-comparison-follow-item-list').scrollLeft(0); 203 } 204 if(visibleElementsCount == 0){ 205 jQuery('.block-product-comparison-follow-bk').css('opacity', '0'); 206 return false; 207 }else{ 208 jQuery('.block-product-comparison-follow-bk').addClass('follow-open'); 209 goodsCompUtil.compCheckCountProcNum(); 210 jQuery('.block-product-comparison-follow-bk').animate({bottom: '0'}); 211 jQuery(this).hide().animate({bottom: goodsCompElementsHt + 35}); 212 jQuery('.block-page-top').animate({bottom: goodsCompElementsHt + 35}); //ãã¼ã¸TOPæ»ã 213 jQuery('.block-product-comparison-follow-bk').css('opacity', '1'); 214 215 //åæå 216 jQuery('.block-product-comparison-follow-hide').removeClass('product-comparison-close'); 217 jQuery('.block-product-comparison-follow-hide').children('span').text('é表示'); 218 } 219 }); 220 221 //ä¸è¦§ 222 if(jQuery('.block-product-comparison-follow-list').length){ 223 224 if(!jQuery('.page-goods').length){ 225 jQuery('.block-product-comparison-follow-item-list > div').hide(); 226 } 227 228 //ãã§ãã¯ãã¤ãã¦ããååã表示 229 let cookieGoodsList = goodsCompUtil.getAmountOfCompGoods(); 230 if(cookieGoodsList.length > 5){
231 cookieGoodsList = cookieGoodsList.slice(-5); 232 } 233 if(cookieGoodsList.length > 0) { 234 cookieGoodsList.forEach((goods) => { 235 goodsCompUtil.addGoodsInfoToCompList(goods); 236 jQuery('.block-goods-ist-comp-check input[type="checkbox"][value="' + goods + '"]').prop('checked', true); 237 }); 238 } 239 } 240 241 // //åå詳細 242 // if(jQuery('.block-detail-goods-comp-check input[type="checkbox"]').length){ 243 // let loadCompGoodsShow = jQuery('.block-detail-goods-comp-check input[type="checkbox"]').attr('value'); 244 // if (jQuery('.block-detail-goods-comp-check input[type="checkbox"]').prop('checked')) { 245 // jQuery('.block-product-comparison-follow-item[data-goods-code=' + loadCompGoodsShow + ']').show(); 246 // }else{ 247 // jQuery('.block-product-comparison-follow-item[data-goods-code=' + loadCompGoodsShow + ']').hide(); 248 // } 249 // } 250 251 //ãã§ã㯠252 jQuery('.block-goods-ist-comp-check input[type="checkbox"]').change(function() { 253 254 let loadCompGoodsShow = jQuery(this).attr('value'); 255 let visibleElementsCount = goodsCompUtil.getAmountOfCompGoods().length; 256 257 if (jQuery(this).prop('checked')) { 258 if(visibleElementsCount >= 5){ 259 alert('è£½åæ¯è¼ã¯5ä»¶ã¾ã§ã¨ãªãã¾ãã追å ããå ´åã¯ãæ¯è¼ãã¼ã¸ããååãåé¤ãã¦ãã ããã'); 260 jQuery(this).prop('checked', false); 261 return; 262 } 263 264 function productComparisonPerformGoodsCompAdd() { 265 return new Promise((resolve, reject) => { 266 goodsCompUtil.addSelectedGoods(loadCompGoodsShow); 267 resolve(); 268 }); 269 } 270
271 productComparisonPerformGoodsCompAdd().then(() => { 272 setTimeout(function(){ 273 let goodsCompElementsHt = jQuery('.block-product-comparison-follow-bk').outerHeight(); 274 if (goodsCompElementsHt == undefined) { 275 goodsCompElementsHt = 0; 276 } 277 if(!jQuery('.block-product-comparison-follow-bk').hasClass('follow-open')){ 278 jQuery('.block-product-comparison-follow-bk').css({ 279 'bottom': -goodsCompElementsHt, 280 'opacity': '0', 281 }); 282 //jQuery('.block-page-top').animate({bottom: 35}); 283 }else{ 284 if(!jQuery('.block-product-comparison-follow-hide').hasClass('product-comparison-close')){ 285 jQuery('.block-product-comparison-follow-count-btn').animate({bottom: goodsCompElementsHt + 35}); 286 jQuery('.block-product-comparison-follow-bk').css('opacity', '1'); 287 //jQuery('.block-page-top').animate({bottom: goodsCompElementsHt + 35}); 288 } 289 } 290 },200); 291 }); 292 293 }else{ 294 295 function productComparisonPerformGoodsCompRemove() { 296 return new Promise((resolve, reject) => { 297 goodsCompUtil.removeSelectedGoods(loadCompGoodsShow); 298 resolve(); 299 }); 300 } 301
302 productComparisonPerformGoodsCompRemove().then(() => { 303 let visibleElementsCount = goodsCompUtil.getAmountOfCompGoods().length; 304 let goodsCompElementsHt = jQuery('.block-product-comparison-follow-bk').outerHeight(); 305 if (goodsCompElementsHt == undefined) { 306 goodsCompElementsHt = 0; 307 } 308 309 if(visibleElementsCount == 0){ 310 jQuery('.block-product-comparison-follow-bk').animate({bottom: -goodsCompElementsHt}); 311 jQuery('.block-product-comparison-follow-bk').css('opacity', '0'); 312 //jQuery('.block-page-top').animate({bottom: 35}); 313 jQuery('.block-product-comparison-follow-count-btn').animate({bottom: 35}); 314 jQuery('.block-product-comparison-follow-bk').removeClass('follow-open'); 315 jQuery('.block-product-comparison-follow-hide').removeClass('product-comparison-close'); 316 jQuery('.block-product-comparison-follow-hide').children('span').text('é表示'); 317 } 318 }); 319 } 320 }); 321 322 //åé¤ãã¿ã³(PC) 323 jQuery(document).on('click', '.block-product-comparison-del', function(){ 324 325 let compCheckGoodsCode = jQuery(this).parents('.block-product-comparison-follow-item').attr('data-goods-code'); 326 jQuery('.block-product-comparison-follow-item[data-goods-code=' + compCheckGoodsCode + ']').remove(); 327 jQuery('.block-goods-ist-comp-check input[value=' + compCheckGoodsCode + ']').prop('checked', false); 328 goodsCompUtil.removeSelectedGoods(compCheckGoodsCode); 329 330 let goodsCompElementsHt = jQuery('.block-product-comparison-follow-bk').outerHeight(); 331 if (goodsCompElementsHt == undefined) { 332 goodsCompElementsHt = 0; 333 } 334 let visibleElementsCount = goodsCompUtil.getAmountOfCompGoods().length; 335 336 if(visibleElementsCount == 0){ 337 jQuery('.block-product-comparison-follow-bk').animate({bottom: -goodsCompElementsHt}); 338 jQuery('.block-product-comparison-follow-bk').css('opacity', '0'); 339 //jQuery('.block-page-top').animate({bottom: 35}); 340 jQuery('.block-product-comparison-follow-count-btn').animate({bottom: 35}); 341 jQuery('.block-product-comparison-follow-bk').removeClass('follow-open'); 342 jQuery('.block-product-comparison-follow-hide').removeClass('product-comparison-close'); 343 jQuery('.block-product-comparison-follow-hide').children('span').text('é表示'); 344 }else{ 345 jQuery('.block-product-comparison-follow-count-btn').animate({bottom: goodsCompElementsHt + 35}); 346 //jQuery('.block-page-top').animate({bottom: goodsCompElementsHt + 35}); 347 } 348 }); 349 350 //ä¸¦ã¹æ¿ã 351 jQuery('.block-goods-list--sort-order-items-select').on('change', function() { 352 console.log('change1'); 353 var hrefValue = jQuery(this).find('option:selected').attr('data-href-link'); 354 var nowUrl = window.location.href 355 356 357 if (hrefValue) { 358 var baseUrl = window.location.origin; 359 if(nowUrl.indexOf('relate_goods') != -1) { 360 var newUrl = baseUrl + hrefValue; 361 window.location.href = newUrl; 362 } 363 else { 364 var currentParams = window.location.search; 365 var newUrl = baseUrl + hrefValue + currentParams; 366 window.location.href = newUrl; 367 } 368 } 369 }); 370 371 // åå詳細åºèå¨åº«ç¶æ³ã¢ã¼ãã« 372 jQuery('#AreaShopList .AreaTitle a').on('click', function(){ 373 if (jQuery(this).hasClass('open_content')) { 374 jQuery(this).removeClass('open_content'); 375 } else { 376 jQuery('#AreaShopList .AreaTitle a').each(function(){ 377 jQuery(this).removeClass('open_content'); 378 }); 379 jQuery(this).addClass('open_content'); 380 } 381 }) 382 jQuery('.remodal-wrapper .remodal h2').text('ã¹ãã¬ã¼ãããã'); 383});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.