mali-applet-ui 0.0.83 → 0.0.85

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.
@@ -43,6 +43,7 @@ export default {
43
43
  display: block;
44
44
  border-radius: 10rpx;
45
45
  background: #ffffff;
46
+ margin: 20rpx 0;
46
47
  .ml-chunk-group-title {
47
48
  display: flex;
48
49
  flex-direction: row;
@@ -62,9 +62,11 @@ export default {
62
62
  }
63
63
  },
64
64
  created () {
65
- if (this.autoload && this.requestMethod) {
66
- this.reload()
67
- }
65
+ this.$nextTick(() => {
66
+ if (this.autoload && this.requestMethod) {
67
+ this.reload()
68
+ }
69
+ })
68
70
  },
69
71
  methods: {
70
72
  getParams () {
@@ -143,7 +145,7 @@ export default {
143
145
 
144
146
  <style lang="scss">
145
147
  .ml-list-group {
146
- padding: 0 10rpx;
148
+ margin: 20rpx 0;
147
149
  .ml-list-group-content {
148
150
  display: flex;
149
151
  flex-direction: column;
@@ -62,6 +62,12 @@ export default {
62
62
  margin: 20rpx 0;
63
63
  border-radius: 10rpx;
64
64
  background: #ffffff;
65
+ &:first-child {
66
+ margin-top: 0;
67
+ }
68
+ &:last-child {
69
+ margin-bottom: 0;
70
+ }
65
71
  .ml-list-item-content {
66
72
  display: flex;
67
73
  flex-direction: column;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",