qiun-loading.vue 677 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <view>
  3. <Loading1 v-if="loadingType==1"/>
  4. <Loading2 v-if="loadingType==2"/>
  5. <Loading3 v-if="loadingType==3"/>
  6. <Loading4 v-if="loadingType==4"/>
  7. <Loading5 v-if="loadingType==5"/>
  8. </view>
  9. </template>
  10. <script>
  11. import Loading1 from "./loading1.vue";
  12. import Loading2 from "./loading2.vue";
  13. import Loading3 from "./loading3.vue";
  14. import Loading4 from "./loading4.vue";
  15. import Loading5 from "./loading5.vue";
  16. export default {
  17. components:{Loading1,Loading2,Loading3,Loading4,Loading5},
  18. name: 'qiun-loading',
  19. props: {
  20. loadingType: {
  21. type: Number,
  22. default: 2
  23. },
  24. },
  25. data() {
  26. return {
  27. };
  28. },
  29. }
  30. </script>
  31. <style>
  32. </style>