Commit 5fefa6fe authored by youjie's avatar youjie

no message

parent 829a5d1d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="q-pt-md q-px-lg row items-center justify-between"> <div class="q-pt-md q-px-lg row items-center justify-between">
<span class="text-h6">{{ $t('hotel.car.subtitle') }}</span> <span class="text-h6">{{ $t('hotel.car.subtitle') }}</span>
<span v-html="$t('hotel.car.title', { days: cars.length, hotels: HotelLength })" class="q-pa-sm rounded-border bg-orange-1 text-orange-8 f12"></span> <span v-html="$t('hotel.car.title', { days: cars.length, hotels: HotelLength })" class="q-pa-sm rounded-border bg-orange-1 text-orange-8 f12"></span>
<div class="q-pa-sm" :class="{'draw-close':$q.platform.is.desktop,'draw-close-modile':$q.platform.is.mobile}"> <div v-if="$q.platform.is.desktop" class="q-pa-sm" :class="{'draw-close':$q.platform.is.desktop,'draw-close-modile':$q.platform.is.mobile}">
<q-icon name="close" size="26px" v-close-popup></q-icon> <q-icon name="close" size="26px" v-close-popup></q-icon>
</div> </div>
</div> </div>
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
<span class="text-h6">{{ moneyFormat(parameters.Money) }}</span> <span class="text-h6">{{ moneyFormat(parameters.Money) }}</span>
</div> </div>
<div :class="{'row':$q.platform.is.mobile,'justify-end':$q.platform.is.mobile,'q-pt-sm':$q.platform.is.mobile}"> <div :class="{'row':$q.platform.is.mobile,'justify-end':$q.platform.is.mobile,'q-pt-sm':$q.platform.is.mobile}">
<q-btn v-if="$q.platform.is.mobile" flat dense color="dark" :label="$t('close')" class="q-mr-sm" @click="close" v-close-popup/>
<q-btn color="primary" size="md" unelevated class="q-px-xl" :loading="loading" @click="submit"> <q-btn color="primary" size="md" unelevated class="q-px-xl" :loading="loading" @click="submit">
<div class="ellipsis"> <div class="ellipsis">
{{ $t('hotel.car.submit') }} {{ $t('hotel.car.submit') }}
...@@ -184,6 +185,9 @@ export default defineComponent({ ...@@ -184,6 +185,9 @@ export default defineComponent({
onRight ({ reset }) { onRight ({ reset }) {
finalize(reset) finalize(reset)
}, },
close(){
context.emit('close')
},
getMoney() { getMoney() {
data.parameters.Money = 0 data.parameters.Money = 0
cars.value.forEach((item: any) => { cars.value.forEach((item: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment