index.vue 396 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <view class="content">
  3. 系统首页
  4. <button @tap="toPath()">分包一测试页面</button>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. }
  12. },
  13. onLoad() {
  14. },
  15. methods: {
  16. toPath() {
  17. uni.navigateTo({
  18. url: '/pagesOne/test/index'
  19. })
  20. }
  21. }
  22. }
  23. </script>
  24. <style>
  25. .content {
  26. display: flex;
  27. flex-direction: column;
  28. }
  29. </style>