<template>
	<view class="page1">
		<view>22222222</view>
		<view style="margin-top: 200px;" @click="navigatorTo('addgoods')">新增商品</view>
		<view style="margin-top: 200px;" @click="navigatorTo('merchant')">商家入驻</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props:{
			
		},
		watch: {
			
		},
		methods: {
			navigatorTo(e){
				let url = ""
				if(e=='addgoods'){
					url = '/package1/myCenter/addGoods'
				}else if(e=='merchant'){
					url = '/package1/myCenter/myMerchant'
				}
				uni.navigateTo({
					url: url
				})
			}
		}
	}
</script>

<style>
	page{
		width: 100%;
		height: 100%;
		font-size: 28rpx;
	}
	.page1 {
		width: 100%;
		height: 100%;
		font-size: 28rpx;
	}
</style>