移动端日历页

This commit is contained in:
zzy
2023-04-14 18:15:01 +08:00
parent 62d03da068
commit a68f3c92b9
6 changed files with 282 additions and 15 deletions
@@ -62,10 +62,24 @@ export default {
<script lang="ts" setup>
import { ref } from "vue"
import { getCurrentInstance, onUnmounted } from 'vue'
const { proxy } = (getCurrentInstance() as any)
const state = ref(1)
// const drawer = ref(true)
const setState = (number: number) => {
state.value = number;
if(number == 1){
proxy.$router.push("/home")
}
if(number == 2){
proxy.$router.push("/dashboard")
}
if(number == 3){
proxy.$router.push("/IPO")
}
if(number == 4){
proxy.$router.push("/IPOcalendar")
}
}
// const openDrawer = () => {
// drawer.value = false;