1 2// if (PAGE_CONFIG.car_id == 1000100){ 3// $(".car_img_box[data-index='1']").hide(); 4// } 5// if (PAGE_CONFIG.car_id == 1000146){ 6// $(".car_img_box[data-index='1']").hide(); 7// } 8 9const fullUrl = window.location.host; 10let istest = fullUrl == 'cmsmanage-api.gwm.com.cn' 11 12$('.car_img_list .car_img_box').click(function () { 13 var imgIndex = $(this).attr('data-index') 14 if (imgIndex == 0) { 15 if (!istest) { 16 var tdJumpUrl = `picture.html?carid=` + PAGE_CONFIG.car_id 17 window.open(tdJumpUrl) 18 } else { 19 window.open(`release-preview?id=103763&carid=` + PAGE_CONFIG.car_id) 20 } 21 } 22 if (imgIndex == 1) { 23 if (!istest) { 24 var tdJumpUrl = `finance.html?carid=` + PAGE_CONFIG.car_id 25 window.open(tdJumpUrl) 26 } else { 27 window.open(`release-preview?id=103834&carid=` + PAGE_CONFIG.car_id) 28 } 29 } 30 if (imgIndex == 2) { 31 if (!istest) { 32 var tdJumpUrl = `dealer/?carid=` + PAGE_CONFIG.car_id 33 window.open(tdJumpUrl) 34 } else { 35 window.open(`release-preview?id=103836&carid=` + PAGE_CONFIG.car_id) 36 } 37 } 38 if (imgIndex == 3) { 39 if (!istest) { 40 var tdJumpUrl = `testdriver.html?carid=` + PAGE_CONFIG.car_id 41 window.open(tdJumpUrl) 42 } else { 43 window.open(`release-preview?id=103824&carid=` + PAGE_CONFIG.car_id) 44 } 45 } 46})
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.