From 17cedf14d925aa13ffe9008e21fc62454cd193f8 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 21 Apr 2025 14:48:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=A2=E6=9C=8D:=20=E9=85=92?= =?UTF-8?q?=E5=BA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/search/SearchForm.jsx | 56 ++++++++++++------ src/libs/ht.js | 23 ++++---- src/stores/HotelCruise.js | 88 ++++++++++++++++------------ src/views/Cruise.jsx | 3 + src/views/Hotel.jsx | 79 +++++++++++++++++++++---- 5 files changed, 170 insertions(+), 79 deletions(-) diff --git a/src/components/search/SearchForm.jsx b/src/components/search/SearchForm.jsx index 6b0400d..1954ca1 100644 --- a/src/components/search/SearchForm.jsx +++ b/src/components/search/SearchForm.jsx @@ -186,6 +186,21 @@ export default observer((props) => { transform: (value) => value?.key || '', default: '', }, + 'hotelBookType': { + key: 'hotelBookType', + transform: (value) => value?.key || '', + default: '', + }, + 'hotelRecommandRate': { + key: 'hotelRecommandRate', + transform: (value) => value?.key || '', + default: '', + }, + 'hotelStar': { + key: 'hotelStar', + transform: (value) => value?.key || '', + default: '', + }, }; let dest = {}; const { departureDateType, applyDate, applyDate2, year, yearDiff, dates, months, date, ...omittedValue } = values; @@ -362,11 +377,11 @@ function getFields(props) { item( 'countryArea', 99, - - {fieldProps?.countryArea?.show_all && ( - )}