From d39605da97a9acafd26fea3e52837f97d33a3c20 Mon Sep 17 00:00:00 2001 From: xubinxcode Date: Fri, 5 Nov 2021 21:03:23 +0800 Subject: [PATCH] init --- src/components/HelloWorld.vue | 6 +++++ src/components/hotel.vue | 45 +++++++++++++++++++------------------ src/components/hotelother.vue | 52 +++++++++++++++++-------------------------- 3 files changed, 49 insertions(+), 54 deletions(-) diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 924967f..32f2331 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -126,6 +126,7 @@ }, orderMainCopy: {}, hotelListObj: { + prod_type: 'hotel', hotel_id: '', room_id: '', plan_id: '', @@ -153,6 +154,7 @@ }, hotelList: [], hotelotherListObj: { + prod_type: 'item', item_id: '', item_name: '', item_unit: '', @@ -355,4 +357,8 @@ .left { text-align: left; } + + .card { + overflow-x: scroll; + } diff --git a/src/components/hotel.vue b/src/components/hotel.vue index 6410467..9c03c61 100644 --- a/src/components/hotel.vue +++ b/src/components/hotel.vue @@ -20,11 +20,11 @@ - - + + - + - + - + - + + style="width: 100%;min-width:890px; margin-top: 20px"> @@ -180,11 +180,11 @@ - - + + @@ -36,16 +36,12 @@ -
- {{dataObjTemp.item_name}} -
+
- + -
- {{dataObjTemp.item_unit}} -
+
@@ -76,7 +72,7 @@ height="500" :summary-method="getSummaries" show-summary - style="width: 100%; margin-top: 20px"> + style="width: 100%;min-width:890px; margin-top: 20px"> @@ -160,8 +156,8 @@