|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<home v-show="showPage != 'my'" />
|
|
<home v-show="showPage != 'my'" />
|
|
|
|
|
+ <my v-show="showPage != 'home'" />
|
|
|
<up-tabbar :fixed="true" :value="showPage" @change="change1">
|
|
<up-tabbar :fixed="true" :value="showPage" @change="change1">
|
|
|
<up-tabbar-item text="首页" name="home">
|
|
<up-tabbar-item text="首页" name="home">
|
|
|
<template #active-icon>
|
|
<template #active-icon>
|
|
@@ -22,6 +23,8 @@
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import home from './home.vue';
|
|
import home from './home.vue';
|
|
|
|
|
+import my from './my.vue';
|
|
|
|
|
+
|
|
|
import { ref, getCurrentInstance } from 'vue'
|
|
import { ref, getCurrentInstance } from 'vue'
|
|
|
const { $Http } = getCurrentInstance().proxy;
|
|
const { $Http } = getCurrentInstance().proxy;
|
|
|
|
|
|