mali-applet-ui 0.1.30 → 0.1.32

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.
@@ -135,15 +135,15 @@ export default {
135
135
  &.is-round {
136
136
  border-radius: 50rpx;
137
137
  &.size-medium {
138
- padding: 0 40rpx;
138
+ padding: 0 50rpx;
139
139
  border-radius: 60rpx;
140
140
  }
141
141
  &.size-small {
142
- padding: 0 30rpx;
142
+ padding: 0 40rpx;
143
143
  border-radius: 40rpx;
144
144
  }
145
145
  &.size-mini {
146
- padding: 0 20rpx;
146
+ padding: 0 30rpx;
147
147
  border-radius: 30rpx;
148
148
  }
149
149
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <view
3
3
  class="ml-col"
4
- :class="[className || '', span && !width ? `span-${span}` : '', align ? `align-${align}` : '', verticalAling ? `vertical-${verticalAling}` : '', {'is-light': light, 'is-flex': verticalAling || flex, 'is-fixed': width || shrink, 'is-important': important}]"
4
+ :class="[className || '', span && !width ? `span-${span}` : '', align ? `align-${align}` : '', verticalAlign ? `vertical-${verticalAlign}` : '', {'is-light': light, 'is-flex': verticalAlign || flex, 'is-fixed': width || shrink, 'is-important': important}]"
5
5
  :style="styles"
6
6
  @click="clickEvent">
7
7
  <slot></slot>
@@ -21,7 +21,7 @@ export default {
21
21
  flex: Boolean,
22
22
  shrink: Boolean,
23
23
  align: String,
24
- verticalAling: String,
24
+ verticalAlign: String,
25
25
  width: String,
26
26
  className: String
27
27
  },
@@ -90,7 +90,7 @@ export default {
90
90
  this.animateTime = setTimeout(() => {
91
91
  this.visible = false
92
92
  this.$emit('input', false)
93
- this.$emit('show', {})
93
+ this.$emit('hide', {})
94
94
  }, 300)
95
95
  },
96
96
  open () {
@@ -99,7 +99,7 @@ export default {
99
99
  this.visible = true
100
100
  this.animateTime = setTimeout(() => {
101
101
  this.isAnimate = true
102
- this.$emit('hide', {})
102
+ this.$emit('show', {})
103
103
  }, 20)
104
104
  this.$emit('input', true)
105
105
  },
@@ -130,10 +130,14 @@ export default {
130
130
  position: fixed;
131
131
  top: 0;
132
132
  left: 0;
133
- width: 100%;
133
+ width: $page-full-width;
134
134
  height: 100vh;
135
135
  z-index: 999;
136
136
  background-color: rgba(0, 0, 0, 0.4);
137
+ // #ifdef H5
138
+ left: 50%;
139
+ transform: translateX(-50%);
140
+ // #endif
137
141
  &.is-visible {
138
142
  display: block;
139
143
  }
@@ -72,6 +72,10 @@ export default {
72
72
  color: $uni-text-color;
73
73
  background: #FFFFFF;
74
74
  border-top: 1px solid #e5e5e5;
75
+ // #ifdef H5
76
+ left: 50%;
77
+ transform: translateX(-50%);
78
+ // #endif
75
79
  .ml-tabbar-item {
76
80
  flex-grow: 1;
77
81
  text-align: center;
@@ -95,10 +99,12 @@ export default {
95
99
  line-height: 32rpx;
96
100
  }
97
101
  .ml-tabbar-icon {
102
+ display: block;
98
103
  position: relative;
99
104
  font-size: 40rpx;
100
105
  }
101
106
  .ml-tabbar-name {
107
+ display: block;
102
108
  width: 100%;
103
109
  text-align: center;
104
110
  font-size: 24rpx;
@@ -246,6 +246,7 @@ export default {
246
246
 
247
247
  <style lang="scss">
248
248
  .ml-table {
249
+ display: block;
249
250
  width: 100%;
250
251
  font-size: 26rpx;
251
252
  box-shadow: 0rpx 0rpx 10rpx -3rpx rgba(0, 0, 0, 0.2);
@@ -53,6 +53,7 @@ export default {
53
53
 
54
54
  <style lang="scss">
55
55
  .ml-tabs {
56
+ display: block;
56
57
  font-size: $uni-font-size-base;
57
58
  .ml-tabs-navs {
58
59
  white-space: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",