You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							102 lines
						
					
					
						
							1.9 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							102 lines
						
					
					
						
							1.9 KiB
						
					
					
				
								<template>
							 | 
						|
									<view class="page">
							 | 
						|
										<text>商户相关</text>
							 | 
						|
										<button @click="goPage(4)">商户登录</button>
							 | 
						|
										<button @click="goPage(5)">商户主页</button>
							 | 
						|
										<text>用户相关</text>
							 | 
						|
										<button @click="goPage(20)">用户订单/主页</button>
							 | 
						|
										<button @click="goPage(21)">用户排队信息</button>
							 | 
						|
										<text>代理商相关</text>
							 | 
						|
										<button @click="goPage(1)">代理商登录</button>
							 | 
						|
										<button @click="goPage(2)">代理商主页</button>
							 | 
						|
										<button @click="goPage(6)">代理商提现</button>
							 | 
						|
										<button @click="goPage(17)">代理商提现历史</button>
							 | 
						|
									</view>
							 | 
						|
								</template>
							 | 
						|
								
							 | 
						|
								<script>
							 | 
						|
									export default {
							 | 
						|
										data() {
							 | 
						|
											return {
							 | 
						|
								
							 | 
						|
											};
							 | 
						|
										},
							 | 
						|
										methods: {
							 | 
						|
											goPage(num) {
							 | 
						|
												switch(num) {
							 | 
						|
													case 1: 
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/login/index'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													case 2:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/index/index'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													case 3:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/payment/payment'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													case 4:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/merchant-login/index'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													case 5:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/merchant-index/index'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													
							 | 
						|
													case 6:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/cash/cash'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													
							 | 
						|
													case 17:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/history/history'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													case 20:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/user-orders/user-orders'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													case 21:
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/queuing-information/queuing-information'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
													
							 | 
						|
													
							 | 
						|
													default: 
							 | 
						|
													uni.navigateTo({
							 | 
						|
														url: '/pages/login/index'
							 | 
						|
													});
							 | 
						|
													break;
							 | 
						|
												}
							 | 
						|
											}
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								</script>
							 | 
						|
								
							 | 
						|
								<style lang="scss">
							 | 
						|
									.page{
							 | 
						|
										display: flex;
							 | 
						|
										flex-direction: column;
							 | 
						|
										justify-content: center;
							 | 
						|
										align-items: center;
							 | 
						|
										text{
							 | 
						|
											font-size: 38rpx;
							 | 
						|
											margin-top: 28rpx;
							 | 
						|
											margin-bottom: 10rpx;
							 | 
						|
										}
							 | 
						|
										button{
							 | 
						|
											margin-top: 10rpx;
							 | 
						|
										}
							 | 
						|
									}
							 | 
						|
								</style>
							 |