mali-applet-ui 0.2.95 → 0.2.96

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.
@@ -5,11 +5,10 @@
5
5
  </view>
6
6
  <view v-if="showNotData && !loading" class="ml-load-more-empty">
7
7
  <slot name="empty">
8
- <ml-not-data :emptyUrl="emptyUrl" :emptyText="emptyText" :emptyHint="emptyHint">
9
- <template #content>
10
- <slot name="emptycontent"></slot>
11
- </template>
12
- </ml-not-data>
8
+ <ml-not-data :emptyUrl="emptyUrl" :emptyText="emptyText" :emptyHint="emptyHint"></ml-not-data>
9
+ <view class="ml-load-more-empty-content">
10
+ <slot name="emptycontent"></slot>
11
+ </view>
13
12
  </slot>
14
13
  </view>
15
14
  <view v-else-if="showPage" class="ml-load-more-warpper">
@@ -186,6 +185,9 @@ export default {
186
185
  display: none;
187
186
  }
188
187
  }
188
+ .ml-load-more-empty-content {
189
+ text-align: center;
190
+ }
189
191
  }
190
192
  .ml-load-more-warpper {
191
193
  text-align: center;
@@ -17,7 +17,7 @@
17
17
  </slot>
18
18
  </view>
19
19
  <view class="ml-not-data-contnet">
20
- <slot name="contnet"></slot>
20
+ <slot name="content"></slot>
21
21
  </view>
22
22
  </slot>
23
23
  </view>
@@ -37,7 +37,7 @@ export default {
37
37
  <style lang="scss">
38
38
  .ml-not-data {
39
39
  text-align: center;
40
- padding-top: 100rpx;
40
+ padding-top: 5vh;
41
41
  .ml-not-data-image-icon {
42
42
  width: 400rpx;
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.95",
3
+ "version": "0.2.96",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"