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.

123 lines
2.6 KiB

  1. <template>
  2. <view class="page">
  3. <text>商户相关</text>
  4. <button @click="goPage(4)">商户登录</button>
  5. <button @click="goPage(5)">商户主页</button>
  6. <button @click="goPage(6)">用户订单</button>
  7. <button @click="goPage(7)">排队信息列表</button>
  8. <button @click="goPage(8)">提现管理</button>
  9. <button @click="goPage(9)">提现详情</button>
  10. <button @click="goPage(10)">提现历史</button>
  11. <text>用户相关</text>
  12. <button @click="goPage(3)">用户支付页面</button>
  13. <button @click="goPage(3)">用户支付页面2</button>
  14. <text>代理商相关</text>
  15. <button @click="goPage(1)">代理商登录</button>
  16. <button @click="goPage(2)">代理商主页</button>
  17. <button @click="goPage(11)">代理商提现</button>
  18. <button @click="goPage(12)">代理商提现详情</button>
  19. <button @click="goPage(13)">代理商提现历史</button>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. };
  27. },
  28. methods: {
  29. goPage(num) {
  30. switch(num) {
  31. case 1:
  32. uni.navigateTo({
  33. url: '/pages/login/index'
  34. });
  35. break;
  36. case 2:
  37. uni.navigateTo({
  38. url: '/pages/index/index'
  39. });
  40. break;
  41. case 3:
  42. uni.navigateTo({
  43. url: '/pages/payment/payment'
  44. });
  45. break;
  46. case 4:
  47. uni.navigateTo({
  48. url: '/pages/merchant-login/index'
  49. });
  50. break;
  51. case 5:
  52. uni.navigateTo({
  53. url: '/pages/merchant-index/index'
  54. });
  55. break;
  56. case 6:
  57. uni.navigateTo({
  58. url: '/pages/user-orders/user-orders'
  59. });
  60. break;
  61. case 7:
  62. uni.navigateTo({
  63. url: '/pages/queuing-information/queuing-information'
  64. });
  65. break;
  66. case 8:
  67. uni.navigateTo({
  68. url: '/pages/withdrawal-management/withdrawal-management'
  69. });
  70. break;
  71. case 9:
  72. uni.navigateTo({
  73. url: '/pages/account-opened/account-opened'
  74. });
  75. break;
  76. case 10:
  77. uni.navigateTo({
  78. url: '/pages/withdrawal-history/withdrawal-history'
  79. });
  80. break;
  81. case 11:
  82. uni.navigateTo({
  83. url: '/pages/cash/cash'
  84. });
  85. break;
  86. case 12:
  87. uni.navigateTo({
  88. url: '/pages/cashdetail/cashdetail'
  89. });
  90. break;
  91. case 13:
  92. uni.navigateTo({
  93. url: '/pages/history/history'
  94. });
  95. break;
  96. default:
  97. uni.navigateTo({
  98. url: '/pages/login/index'
  99. });
  100. break;
  101. }
  102. }
  103. }
  104. }
  105. </script>
  106. <style lang="scss">
  107. .page{
  108. display: flex;
  109. flex-direction: column;
  110. justify-content: center;
  111. align-items: center;
  112. text{
  113. font-size: 38rpx;
  114. margin-top: 28rpx;
  115. margin-bottom: 10rpx;
  116. }
  117. button{
  118. margin-top: 10rpx;
  119. }
  120. }
  121. </style>