mali-applet-ui 0.1.60 → 0.1.62

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.
@@ -81,7 +81,7 @@ export default {
81
81
  height: 24rpx;
82
82
  position: relative;
83
83
  margin: 12rpx 0;
84
- padding-right: 46rpx;
84
+ padding-right: 80rpx;
85
85
  .progress-bar-num {
86
86
  position: absolute;
87
87
  right: 0;
@@ -92,6 +92,9 @@ export default {
92
92
  }
93
93
  }
94
94
  .progress-bar-title {
95
+ overflow: hidden;
96
+ text-overflow: ellipsis;
97
+ white-space: nowrap;
95
98
  color: rgba(0, 0, 0, 0.85);
96
99
  &.is-underline {
97
100
  text-decoration: underline;
@@ -53,6 +53,11 @@ export default {
53
53
  }
54
54
  },
55
55
  computed: {
56
+ selectTab () {
57
+ return this.tabs ? this.tabs.value : null
58
+ }
59
+ },
60
+ methods: {
56
61
  updateProp (prop) {
57
62
  if (this.tabs) {
58
63
  const item = this.tabs.tabList.find(item => item.mId === this.mId)
@@ -60,9 +65,6 @@ export default {
60
65
  item[prop] = this[prop]
61
66
  }
62
67
  }
63
- },
64
- selectTab () {
65
- return this.tabs ? this.tabs.value : null
66
68
  }
67
69
  }
68
70
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.1.60",
3
+ "version": "0.1.62",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",