rf-loading.vue 629 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <!--加载动画-->
  3. <view class="cu-load load-modal">
  4. <image :src="src" mode="aspectFit"></image>
  5. <view class="gray-text">{{ content }}</view>
  6. </view>
  7. </template>
  8. <script>
  9. /**
  10. * @des 页面加载
  11. *
  12. * @author stav stavyan@qq.com
  13. * @date 2020-03-23 11:43
  14. * @copyright 2019
  15. */
  16. import $mAssetsPath from '@/config/assets.config.js'
  17. export default {
  18. name: 'rf-loading',
  19. props: {
  20. src: {
  21. type: String,
  22. default: $mAssetsPath.logo
  23. },
  24. content: {
  25. type: String,
  26. default: '加载中...'
  27. }
  28. }
  29. }
  30. </script>
  31. <style scoped>
  32. </style>