From 610a06519b3ff200763dbcd45fe9ce0b0e97e18b Mon Sep 17 00:00:00 2001 From: hantao Date: Wed, 16 Jul 2025 19:44:46 +0800 Subject: [PATCH] test --- pages/car_new/car_new.wxml | 16 ++++++++-------- pages/car_new/car_new.wxss | 8 ++++---- pages/index/index.js | 4 ++-- pages/info/info.wxml | 10 +++++----- project.config.json | 2 +- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/pages/car_new/car_new.wxml b/pages/car_new/car_new.wxml index d6a8b8c..450e3f9 100644 --- a/pages/car_new/car_new.wxml +++ b/pages/car_new/car_new.wxml @@ -79,8 +79,8 @@ 新车 - 租车 - 二手车 + 租车 + 二手车 @@ -95,13 +95,13 @@ - + ¥{{item.price}}/天 月租 ¥{{item.re_price}} - + ¥{{item.price}}万 新车价 ¥{{item.re_price}}万 @@ -118,7 +118,7 @@ - + {{opt}} @@ -127,7 +127,7 @@ - + {{opt}} @@ -143,10 +143,10 @@ {{item.dealer_name}} - 取车点:{{item.pickup_location}} + 取车点:{{item.pickup_location}} - + 首次上牌:{{item.first_license_date}} 质保剩余:{{item.warranty_remain}} diff --git a/pages/car_new/car_new.wxss b/pages/car_new/car_new.wxss index 72987ff..082bfc4 100644 --- a/pages/car_new/car_new.wxss +++ b/pages/car_new/car_new.wxss @@ -352,27 +352,27 @@ font-weight: 600; } /* 租车价格 */ -.car-type-2 .price-rent { +.car-type-3 .price-rent { color: #07c160; font-size: 36rpx; font-weight: 700; margin-right: 16rpx; } -.car-type-2 .price-monthly { +.car-type-3 .price-monthly { color: #666; font-size: 24rpx; } /* 二手车价格 */ -.car-type-3 .price-used { +.car-type-2 .price-used { color: #ff976a; font-size: 36rpx; font-weight: 700; margin-right: 16rpx; } -.car-type-3 .price-original { +.car-type-2 .price-original { color: #999; font-size: 24rpx; } diff --git a/pages/index/index.js b/pages/index/index.js index b5a5432..bc2a4b9 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -28,14 +28,14 @@ Page({ // 跳转到租车页面 goToRental: function () { wx.navigateTo({ - url: '/pages/car_new/car_new?type=' + 2 + url: '/pages/car_new/car_new?type=' + 3 }); }, // 跳转到二手车页面 goToUsedCar: function () { wx.navigateTo({ - url: '/pages/car_new/car_new?type=' + 3 + url: '/pages/car_new/car_new?type=' + 2 }); }, diff --git a/pages/info/info.wxml b/pages/info/info.wxml index 55b1517..ece211b 100644 --- a/pages/info/info.wxml +++ b/pages/info/info.wxml @@ -36,8 +36,8 @@ {{carDetail.title}} 新车 - 租车 - 二手车 + 租车 + 二手车 - + ¥{{carDetail.price}}/天 @@ -64,7 +64,7 @@ - + ¥{{carDetail.price}}万 @@ -97,7 +97,7 @@ - + 车辆详情