liuxiaolong
2019-05-06 2ab7a76a38fbf8fa107bf6371f5410ba54e1d394
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import MyhttpImg from '../common/httpImg.vue'
import MyhttpLazyImg from '../common/httpLazyImg.vue'
import MynoData from '../common/noData.vue'
import MYfButton from '../common/fButton.vue'
import MYfTemplate from '../common/fTemplate.vue'
import MYvLoading from '../common/vLoading.vue'
// 图片组件
const httpImg = {
  install (Vue) {
    Vue.component('httpImg', MyhttpImg)
  }
}
const httpLazyImg = {
  install(Vue) {
    Vue.component('MyhttpLazyImg', MyhttpLazyImg)
  }
}
const noData = {
  install (Vue) {
    Vue.component('noData', MynoData)
  }
}
const fButton = {
  install (Vue) {
    Vue.component('fButton', MYfButton)
  }
}
const fTemplate = {
  install(Vue) {
    Vue.component('fTemplate', MYfTemplate)
  }
}
const vLoading = {
  install (Vue) {
    Vue.component('vLoading', MYvLoading)
  }
}
 
// export default httpImg
export {
  httpImg,
  httpLazyImg,
  noData,
  fButton,
  fTemplate,
  vLoading
}