修改传参

This commit is contained in:
浅念 2025-06-09 10:34:56 +08:00
parent 7c87c89e06
commit bba02edccc
2 changed files with 6 additions and 2 deletions

View File

@ -108,7 +108,9 @@ $(function() {
this.currentPage = page; this.currentPage = page;
}, },
godetil(item) { godetil(item) {
window.location.href = 'newcar-details.html?id=' + item.id sessionStorage.setItem('newcardetailId', item.id);
// window.location.href = 'newcar-details.html?id=' + item.id
window.location.href = 'newcar-details.html'
} }
}, },
}) })

View File

@ -65,7 +65,9 @@ $(function() {
window.location.href = 'rental-sidebar.html?type=' + item.id window.location.href = 'rental-sidebar.html?type=' + item.id
}, },
godetil(item) { godetil(item) {
window.location.href = 'vehicle-details.html?id=' + item.id sessionStorage.setItem('vehicledetailId', item.id);
// window.location.href = 'vehicle-details.html?id=' + item.id
window.location.href = 'vehicle-details.html'
}, },
getbrand(brand_id) { getbrand(brand_id) {
var that = this var that = this