mali-applet-ui 0.0.71 → 0.0.72

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.
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <view class="ml-list-group" :class="className">
3
- <view class="ml-list-group-content">
3
+ <view class="ml-list-group-content" :style="contentStyle">
4
4
  <scroll-view scroll-y>
5
5
  <slot></slot>
6
6
  </scroll-view>
@@ -25,6 +25,7 @@ export default {
25
25
  type: Boolean,
26
26
  default: true
27
27
  },
28
+ height: String,
28
29
  pageProps: Object,
29
30
  requestMethod: Function,
30
31
  title: String,
@@ -47,6 +48,9 @@ export default {
47
48
  }
48
49
  },
49
50
  computed: {
51
+ contentStyle () {
52
+ return this.height ? `height: ${this.height};` : ''
53
+ },
50
54
  loadStatus () {
51
55
  if (this.loading) {
52
56
  return 'loading'
@@ -9,7 +9,9 @@
9
9
  </slot>
10
10
  </view>
11
11
  <view class="ml-list-menu-group-content" :style="contentStyle">
12
- <slot></slot>
12
+ <scroll-view scroll-y>
13
+ <slot></slot>
14
+ </scroll-view>
13
15
  </view>
14
16
  </view>
15
17
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",