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.
139 lines
2.9 KiB
139 lines
2.9 KiB
<template>
|
|
<view class="page">
|
|
<text>商户相关</text>
|
|
<button @click="goPage(4)">商户登录</button>
|
|
<button @click="goPage(5)">商户主页</button>
|
|
<button @click="goPage(6)">用户订单</button>
|
|
<button @click="goPage(7)">排队信息列表</button>
|
|
<button @click="goPage(8)">提现管理</button>
|
|
<button @click="goPage(9)">提现详情</button>
|
|
<button @click="goPage(10)">提现历史</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(3)">支付页</button>
|
|
<button @click="goPage(11)">代理商提现</button>
|
|
<button @click="goPage(12)">代理商提现详情</button>
|
|
<button @click="goPage(13)">代理商提现历史</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 17:
|
|
uni.navigateTo({
|
|
url: '/pages/history/history'
|
|
});
|
|
break;
|
|
case 20:
|
|
uni.navigateTo({
|
|
url: '/pages/user-orders/user-orders'
|
|
});
|
|
break;
|
|
case 21:
|
|
|
|
case 6:
|
|
uni.navigateTo({
|
|
url: '/pages/user-orders/user-orders'
|
|
});
|
|
break;
|
|
case 7:
|
|
uni.navigateTo({
|
|
url: '/pages/queuing-information/queuing-information'
|
|
});
|
|
break;
|
|
|
|
case 8:
|
|
uni.navigateTo({
|
|
url: '/pages/withdrawal-management/withdrawal-management'
|
|
});
|
|
break;
|
|
case 9:
|
|
uni.navigateTo({
|
|
url: '/pages/account-opened/account-opened'
|
|
});
|
|
break;
|
|
case 10:
|
|
uni.navigateTo({
|
|
url: '/pages/withdrawal-history/withdrawal-history'
|
|
});
|
|
break;
|
|
case 11:
|
|
uni.navigateTo({
|
|
url: '/pages/cash/cash'
|
|
});
|
|
break;
|
|
case 12:
|
|
uni.navigateTo({
|
|
url: '/pages/cashdetail/cashdetail'
|
|
});
|
|
break;
|
|
case 13:
|
|
uni.navigateTo({
|
|
url: '/pages/history/history'
|
|
});
|
|
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>
|