@kaiyinchem/ky-uniui 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@
11
11
  </view>
12
12
 
13
13
  <view v-if="loadState === 0 || !loadState" :class="{ isRelative }" class="ky-fetch-loading">
14
- <ky-loading v-if="!$slots.loading"></ky-loading>
14
+ <ky-loading v-if="!$slots.loading" :type="loadingType"></ky-loading>
15
15
  <slot name="loading"></slot>
16
16
  </view>
17
17
 
@@ -96,6 +96,13 @@
96
96
  noIcon: {
97
97
  type: Boolean,
98
98
  default: false
99
+ },
100
+ /**
101
+ * 动画类型,1三个点,2gif,3方块
102
+ */
103
+ loadingType: {
104
+ type: Number,
105
+ default: 1,
99
106
  }
100
107
  },
101
108
  data() {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "style"
8
8
  ],
9
9
  "description": "an uniapp ui",
10
- "version": "1.0.40",
10
+ "version": "1.0.41",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"