<template>
	<view>
		<view @click="goto(1)">月子中心</view>
		<view @click="goto(2)">月嫂</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goto(type){
				let url = type==1?"/packages/packageCarecenter/pages/careCenter/careCenter":"/packages/packageCarecenter/pages/commonService/commonCenter?type=maternity";
				uni.redirectTo({
					url:url
				})
			}
		}
	}
</script>

<style>

</style>
