master
xingyy 10 months ago
parent dddfeb947c
commit 23a2438a88

@ -1,5 +1,4 @@
<template> <template>
<tm-tabbar :autoSelect="false" v-model:active="acc"> <tm-tabbar :autoSelect="false" v-model:active="acc">
<tm-tabbar-item <tm-tabbar-item
@click="acc = 0" @click="acc = 0"

@ -7,16 +7,12 @@ type HttpMethod =
| 'put' | 'put'
| "DELETE" | "DELETE"
| 'delete' | 'delete'
| "PATCH" | "CONNECT"
| 'patch' | 'connect'
| "OPTIONS" | "OPTIONS"
| 'options' | 'options'
| "HEAD"
| 'head'
| "TRACE" | "TRACE"
| 'trace' | 'trace';
| "CONNECT"
| 'connect';
interface RequestOptions { interface RequestOptions {
baseUrl?: string; baseUrl?: string;
url: string; url: string;

@ -15,7 +15,7 @@
</div> </div>
<div class="wrap2" @click="goSetUp"> <div class="wrap2" @click="goSetUp">
<div class="wrap2_1"> <div class="wrap2_1">
<image src="../../static/zu609@3x (1).png" alt=""/> <image src="../../static/zu609@3x.png" alt=""/>
</div> </div>
<div class="wrap2_2">设置</div> <div class="wrap2_2">设置</div>
</div> </div>
@ -44,8 +44,8 @@
<div class="wrap1_2_2">预约日期:2023.12.30</div> <div class="wrap1_2_2">预约日期:2023.12.30</div>
<div class="wrap1_2_2">预约类型:1</div> <div class="wrap1_2_2">预约类型:1</div>
</div> </div>
<div class="wrap1_3"> <div class="wrap1_3" @click="goViewVenues">
<image src="../../static/zu762@3x (1).png" alt=""/> <image src="../../static/zu762@3x.png" alt=""/>
</div> </div>
</div> </div>
<div class="wrap1"> <div class="wrap1">
@ -57,7 +57,7 @@
<div class="wrap1_2_2">预约类型:1</div> <div class="wrap1_2_2">预约类型:1</div>
</div> </div>
<div class="wrap1_3" @click="goViewVenues"> <div class="wrap1_3" @click="goViewVenues">
<image src="../../static/zu762@3x (1).png" alt=""/> <image src="../../static/zu762@3x.png" alt=""/>
</div> </div>
</div> </div>
</div> </div>

@ -81,7 +81,7 @@
</div> </div>
</div> </div>
<tm-button @click="reservation" color="#000000" :width="436" :height="60" :round="25">预约</tm-button> <tm-button @click="reservation" color="#000000" :width="436" :height="60" :round="25">预约</tm-button>
<select-day :show.sync="show"></select-day> <select-day v-model:show="show"></select-day>
</div> </div>
</div> </div>
</template> </template>
@ -160,7 +160,8 @@ const reservation = () => {
} }
} }
const showHandle = () => { const showHandle = () => {
show.value = false show.value = true
console.log(show.value,'show.value')
} }
</script> </script>
@ -288,4 +289,4 @@ const showHandle = () => {
} }
} }
</style> </style>

@ -1,25 +1,21 @@
<template> <template>
<div> <div>
<tm-drawer placement="bottom" okText='确认' v-model:show="show" @close="close"> <tm-drawer placement="bottom" okText='确认' :show="show" @close="close">
</tm-drawer> </tm-drawer>
</div> </div>
</template> </template>
<script setup> <script setup>
import { defineProps, onMounted, defineEmits, watch } from 'vue' import { defineProps, defineEmits } from 'vue'
const props = defineProps({ const props = defineProps({
show: { show: {
type: Boolean, type: Boolean,
default: false default: false
} }
}) })
const emits = defineEmits(["update:show"]); const emits = defineEmits(["update:show"]);
const close = () => { const close = () => {
emits("update:show", false); emits("update:show", false);
} }
</script> </script>
<style lang="scss" scoped></style> <style lang="scss" scoped></style>

@ -2,11 +2,11 @@
<div class="large-container"> <div class="large-container">
<div class="content1"> <div class="content1">
<div class="wrap1" @click="dialog=true"> <div class="wrap1" @click="dialog=true">
<image src="../../static/zu1041@3x (1).png"></image> <image src="../../static/zu1041@3x.png"></image>
</div> </div>
</div> </div>
<div class="content2"> <div class="content2">
<div class="grid-cell red"> <div class="grid-cell red" @click="showWin=true">
<image src="../../static/zu1067@3x.png"></image> <image src="../../static/zu1067@3x.png"></image>
</div> </div>
<div class="grid-cell black"> <image src="../../static/zu1063@3x.png"></image></div> <div class="grid-cell black"> <image src="../../static/zu1063@3x.png"></image></div>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Loading…
Cancel
Save