mali-applet-ui 0.0.81 → 0.0.83

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.
@@ -67,6 +67,7 @@ export default {
67
67
  .amount-unit {
68
68
  font-size: 0.65em;
69
69
  color: rgba(39, 42, 48, 0.45);
70
+ padding-left: 5rpx;
70
71
  }
71
72
  &.status-primary {
72
73
  color: $uni-color-primary;
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <button class="ml-button" :class="[className || '', `type-${type}`, status ? `status-${status}` : '', round ? 'is-round' : '']" :style="styles" @tap="tapEvent" @click="clickEvent">
2
+ <button class="ml-button" :class="[className || '', `type-${type}`, status ? `status-${status}` : '', round ? 'is-round' : '']" :open-type="openType" :style="styles" @tap="tapEvent" @click="clickEvent">
3
3
  <slot>{{ content }}</slot>
4
4
  </button>
5
5
  </template>
@@ -18,6 +18,7 @@ export default {
18
18
  type: String,
19
19
  default: 'button'
20
20
  },
21
+ openType: String,
21
22
  width: String,
22
23
  redirect: Boolean,
23
24
  url: String,
@@ -87,22 +88,27 @@ export default {
87
88
  &.status-primary {
88
89
  color: #ffffff;
89
90
  background: $uni-color-primary;
91
+ border-color: $uni-color-primary;
90
92
  }
91
93
  &.status-success {
92
94
  color: #ffffff;
93
95
  background: $uni-color-success;
96
+ border-color: $uni-color-success;
94
97
  }
95
98
  &.status-info {
96
99
  color: #ffffff;
97
100
  background: #909399;
101
+ border-color: #909399;
98
102
  }
99
103
  &.status-warning {
100
104
  color: #ffffff;
101
105
  background: $uni-color-warning;
106
+ border-color: $uni-color-warning;
102
107
  }
103
108
  &.status-danger {
104
109
  color: #ffffff;
105
110
  background: $uni-color-error;
111
+ border-color: $uni-color-error;
106
112
  }
107
113
  }
108
114
  &.is-round {
@@ -68,15 +68,12 @@ export default {
68
68
  width: nth($spans, $index + 1);
69
69
  }
70
70
  }
71
- &:not(.is-vertical) {
72
- border-bottom: 1px solid #e5e5e5;
73
- }
74
71
  &.is-vertical {
75
72
  flex-direction: row;
76
73
  border-bottom: 1px solid #e5e5e5;
77
- }
78
- &:last-child {
79
- border: 0;
74
+ &:last-child {
75
+ border: 0;
76
+ }
80
77
  }
81
78
  }
82
79
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.0.81",
3
+ "version": "0.0.83",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",