您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

qiun-loading.vue 677 B

3 年前
123456789101112131415161718192021222324252627282930313233343536
  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>