<template>
	<view>
		<view class="test">
			<button @click="slide()">test</button>
			<publishSlide v-if="slideVisit" @quitSlide="quitSlide"></publishSlide>
		</view>
		<TabBar :current-page="2" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				slideVisit : false
				}
				},
		methods: {
			slide(){
				this.slideVisit = true
			},
			quitSlide(){
				this.slideVisit = false
			}
		}
	
	}
</script>

<style>

</style>
