123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <div>
- <van-tabs :active="active" @change="onChange">
- <van-tab title="共享资源" :name="0">
- <shareResources/>
- </van-tab>
- <van-tab title="预约历史" :name="1">
- <appointmentHistory />
- </van-tab>
- </van-tabs>
- </div>
- </template>
- <script>
- import shareResources from "./components/shareResources.vue";
- import appointmentHistory from "./components/appointmentHistory.vue";
- export default {
- components:{
- shareResources,
- appointmentHistory
- },
- name: "index",
- data(){
- return{
- active:0
- }
- },
- methods:{
- onChange(){
- }
- }
- }
- </script>
- <style scoped>
- </style>
|