From bba02edccc047b75dee09be6276fb8a3504d52a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Mon, 9 Jun 2025 10:34:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/brand.js | 4 +++- assets/js/index.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/js/brand.js b/assets/js/brand.js index ec9d8ae..67783a9 100755 --- a/assets/js/brand.js +++ b/assets/js/brand.js @@ -108,7 +108,9 @@ $(function() { this.currentPage = page; }, 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' } }, }) diff --git a/assets/js/index.js b/assets/js/index.js index 7fe535b..0dc0121 100755 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -65,7 +65,9 @@ $(function() { window.location.href = 'rental-sidebar.html?type=' + item.id }, 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) { var that = this