Showing
3 changed files
with
17 additions
and
29 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-01-16 10:06:47 | 2 | * @Date: 2024-01-16 10:06:47 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-01-25 10:56:14 | 4 | + * @LastEditTime: 2024-01-25 11:56:47 |
| 5 | * @FilePath: /xysBooking/src/views/bookingCode.vue | 5 | * @FilePath: /xysBooking/src/views/bookingCode.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -52,17 +52,13 @@ const $route = useRoute(); | ... | @@ -52,17 +52,13 @@ const $route = useRoute(); |
| 52 | const $router = useRouter(); | 52 | const $router = useRouter(); |
| 53 | useTitle($route.meta.title); | 53 | useTitle($route.meta.title); |
| 54 | 54 | ||
| 55 | -const toBooking = () => { // 跳转到预约须知 | ||
| 56 | - go('/notice'); | ||
| 57 | -} | ||
| 58 | -const toRecord = () => { // 跳转到预约记录 | ||
| 59 | - go('/bookingList'); | ||
| 60 | -} | ||
| 61 | const toMy = () => { // 跳转到我的 | 55 | const toMy = () => { // 跳转到我的 |
| 62 | - go('/me'); | 56 | + // go('/me'); |
| 57 | + window.location.replace(location.origin + location.pathname + '#/me'); | ||
| 63 | } | 58 | } |
| 64 | -const toHome = () => { // 跳转到我的 | 59 | +const toHome = () => { // 跳转到首页 |
| 65 | - go('/'); | 60 | + // go('/'); |
| 61 | + window.location.replace(location.origin + location.pathname + '#/'); | ||
| 66 | } | 62 | } |
| 67 | 63 | ||
| 68 | onMounted(() => { | 64 | onMounted(() => { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2023-06-21 10:23:09 | 2 | * @Date: 2023-06-21 10:23:09 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-01-23 10:01:26 | 4 | + * @LastEditTime: 2024-01-25 11:54:34 |
| 5 | * @FilePath: /xysBooking/src/views/index.vue | 5 | * @FilePath: /xysBooking/src/views/index.vue |
| 6 | * @Description: 预约页首页 | 6 | * @Description: 预约页首页 |
| 7 | --> | 7 | --> |
| ... | @@ -69,17 +69,13 @@ useTitle($route.meta.title); | ... | @@ -69,17 +69,13 @@ useTitle($route.meta.title); |
| 69 | 69 | ||
| 70 | const go = useGo(); | 70 | const go = useGo(); |
| 71 | 71 | ||
| 72 | -const toBooking = () => { // 跳转到预约须知 | ||
| 73 | - go('/notice'); | ||
| 74 | -} | ||
| 75 | -const toRecord = () => { // 跳转到预约记录 | ||
| 76 | - go('/bookingList'); | ||
| 77 | -} | ||
| 78 | const toCode = () => { // 跳转到预约码 | 72 | const toCode = () => { // 跳转到预约码 |
| 79 | - go('/bookingCode'); | 73 | + // go('/bookingCode'); |
| 74 | + window.location.replace(location.origin + location.pathname + '#/bookingCode'); | ||
| 80 | } | 75 | } |
| 81 | const toMy = () => { // 跳转到我的 | 76 | const toMy = () => { // 跳转到我的 |
| 82 | - go('/me'); | 77 | + // go('/me'); |
| 78 | + window.location.replace(location.origin + location.pathname + '#/me'); | ||
| 83 | } | 79 | } |
| 84 | 80 | ||
| 85 | onMounted(async () => { | 81 | onMounted(async () => { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-01-16 13:33:36 | 2 | * @Date: 2024-01-16 13:33:36 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-01-25 10:53:23 | 4 | + * @LastEditTime: 2024-01-25 11:56:22 |
| 5 | * @FilePath: /xysBooking/src/views/me.vue | 5 | * @FilePath: /xysBooking/src/views/me.vue |
| 6 | * @Description: 我的页面 | 6 | * @Description: 我的页面 |
| 7 | --> | 7 | --> |
| ... | @@ -69,17 +69,13 @@ const $route = useRoute(); | ... | @@ -69,17 +69,13 @@ const $route = useRoute(); |
| 69 | const $router = useRouter(); | 69 | const $router = useRouter(); |
| 70 | useTitle($route.meta.title); | 70 | useTitle($route.meta.title); |
| 71 | 71 | ||
| 72 | -const toBooking = () => { // 跳转到预约须知 | ||
| 73 | - go('/notice'); | ||
| 74 | -} | ||
| 75 | -const toRecord = () => { // 跳转到预约记录 | ||
| 76 | - go('/bookingList'); | ||
| 77 | -} | ||
| 78 | const toCode = () => { // 跳转到预约码 | 72 | const toCode = () => { // 跳转到预约码 |
| 79 | - go('/bookingCode'); | 73 | + // go('/bookingCode'); |
| 74 | + window.location.replace(location.origin + location.pathname + '#/bookingCode'); | ||
| 80 | } | 75 | } |
| 81 | -const toHome = () => { // 跳转到我的 | 76 | +const toHome = () => { // 跳转到首页 |
| 82 | - go('/'); | 77 | + // go('/'); |
| 78 | + window.location.replace(location.origin + location.pathname + '#/'); | ||
| 83 | } | 79 | } |
| 84 | 80 | ||
| 85 | const visitorList = ref([]); | 81 | const visitorList = ref([]); | ... | ... |
-
Please register or login to post a comment