index.vue 618 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <template>
  2. <view class="box">
  3. <!-- <u-loading size="100" :show="true"></u-loading> -->
  4. <!-- <view @click="gotoPage()">跳转</view> -->
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. };
  12. },
  13. components: {
  14. },
  15. onShow() {
  16. uni.showLoading({
  17. title: '加载中',
  18. });
  19. this.gotoPage();
  20. },
  21. computed: {
  22. },
  23. created() {
  24. },
  25. methods: {
  26. gotoPage(){
  27. setTimeout(()=>{
  28. uni.navigateTo({
  29. url: '../../chatIndex/storemanagement/index',
  30. });
  31. },1000)
  32. }
  33. },
  34. };
  35. </script>
  36. <style>
  37. .box{
  38. margin:0 auto;
  39. }
  40. </style>