From 4713d8bb953ededdece365b64d8081c6d9e4f2fb Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Mon, 21 Oct 2024 16:38:45 +0800 Subject: [PATCH] =?UTF-8?q?test=EF=BC=9A=E8=B0=83=E6=95=B4=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E9=9B=86=E7=AE=A1=E7=90=86=E8=B7=AF=E7=94=B1=EF=BC=9B?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=B1=BB=E5=88=AB-=E8=AF=A6=E7=BB=86?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/App.css | 2 +- src/main.jsx | 4 ++-- .../{Conversations/Online => accounts}/SnippetList.jsx | 10 ++++------ src/views/orders/AdvanceSearchForm.jsx | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) rename src/views/{Conversations/Online => accounts}/SnippetList.jsx (74%) diff --git a/src/assets/App.css b/src/assets/App.css index 9d80c28..b34424e 100644 --- a/src/assets/App.css +++ b/src/assets/App.css @@ -3,4 +3,4 @@ height: 68px; margin: 0 6px 0 0; background: rgba(255, 255, 255, 0.3); -} \ No newline at end of file +} diff --git a/src/main.jsx b/src/main.jsx index 7a95a68..d57df98 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -18,7 +18,7 @@ import MobileChat from '@/views/mobile/Chat' import CallCenter from '@/views/CallCenter' import MobileSecondHeader from '@/views/mobile/SecondHeaderWrapper' import CustomerProfile from '@/views/Conversations/Online/order/CustomerProfile' -import SnippetList from '@/views/Conversations/Online/SnippetList' +import SnippetList from '@/views/accounts/SnippetList' import Unassign from '@/views/ChatUnassign' import ChatAssign from '@/views/Conversations/ChatAssign' @@ -70,7 +70,7 @@ const router = createBrowserRouter([ { path: 'chat/history', element: }, { path: 'order/chat/:order_sn', element: }, { path: 'order/chat', element: }, - { path: 'snippet-list', element: }, // 测试图文集界面 + { path: 'account/snippet-list', element: }, { path: 'account/profile', element: }, { path: 'chat/unassign/:whatsappid', element: }, { path: 'chat/unassign', element: }, diff --git a/src/views/Conversations/Online/SnippetList.jsx b/src/views/accounts/SnippetList.jsx similarity index 74% rename from src/views/Conversations/Online/SnippetList.jsx rename to src/views/accounts/SnippetList.jsx index 265fa48..3c69f19 100644 --- a/src/views/Conversations/Online/SnippetList.jsx +++ b/src/views/accounts/SnippetList.jsx @@ -52,7 +52,7 @@ function SnippetList() { 'Highlights Travel Family Loyalty Club', ]} renderItem={(item) => ( - + 类型 @@ -66,11 +66,9 @@ function SnippetList() { )} /> - -
-            

- Discover China with the award-winning -

+ +
+          

Discover China with the award-winning and best-rated tour company for personalized travel in China. Honored as China's Leading Tour Operator by the World Travel Awards, we boast 10,000+ reviews and a remarkable 98.8% 5-star rating. Our expertise in customizing personalized China explorations is backed by our company-managed local services across China. Explore and kickstart your personalized travel experience with just a click!

diff --git a/src/views/orders/AdvanceSearchForm.jsx b/src/views/orders/AdvanceSearchForm.jsx index b535e50..dbe9fb2 100644 --- a/src/views/orders/AdvanceSearchForm.jsx +++ b/src/views/orders/AdvanceSearchForm.jsx @@ -38,7 +38,7 @@ const formValuesMapper = (values) => { return dest; } -const AdvanceSearchForm = memo(function noName({ initialValues, onSubmit, loading }) { +const AdvanceSearchForm = memo(function NoName({ initialValues, onSubmit, loading }) { const DATE_RANGE_PRESETS = [ { label: '本周',