Browse Source

添加调试所有跳转的页面

master
mike 2 years ago
parent
commit
185c0574ba
  1. 12
      agentApp/pages.json
  2. 49
      agentApp/pages/allpages/index.vue

12
agentApp/pages.json

@ -1,6 +1,18 @@
{
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path" : "pages/allpages/index",
"style" :
{
"navigationBarTitleText": "调试所有页面",
"navigationBarBackgroundColor": "#1783FF",
"navigationBarTextStyle": "white"
// "enablePullDownRefresh": false
}
},
{
"path" : "pages/login/index",
"style" :

49
agentApp/pages/allpages/index.vue

@ -0,0 +1,49 @@
<template>
<view class="page">
<text>商户相关</text>
<button @click="goPage(0)">商户登录</button>
<button @click="goPage(0)">商户主页</button>
<text>用户相关</text>
<button @click="goPage(0)">用户支付页面</button>
<button @click="goPage(0)">用户支付页面2</button>
<text>代理商相关</text>
<button @click="goPage(0)">代理商登录</button>
<button @click="goPage(0)">代理商主页</button>
</view>
</template>
<script>
export default {
data() {
return {
bgColor: '#bgColor',
value: 1,
show:false,
title:'',
content:''
};
},
methods: {
goPage(num) {
}
}
}
</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>
Loading…
Cancel
Save