mali-applet-ui 0.2.64 → 0.2.65

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.
@@ -148,8 +148,8 @@ export default {
148
148
  text-align: center;
149
149
  width: 140rpx;
150
150
  .ml-approval-select-user-picture {
151
- width: 100rpx;
152
- height: 100rpx;
151
+ width: 80rpx;
152
+ height: 80rpx;
153
153
  border-radius: 50%;
154
154
  margin: 0 auto;
155
155
  }
@@ -2,10 +2,12 @@
2
2
  <view class="ml-chunk-group" :class="[className || '', status ? `ss-${status}` : '', align ? `align-${align}` : '', {'is-status': !!status, 'is-vertical': vertical, 'is-header': title || $slots.title}]">
3
3
  <view v-if="title || $slots.title" class="ml-chunk-group-title">
4
4
  <slot name="title">
5
- <view v-if="prefixIcon" class="ml-chunk-group-left-icon">
6
- <ml-icon :className="prefixIcon" :status="status"></ml-icon>
5
+ <view class="ml-chunk-group-title-warpper">
6
+ <view v-if="prefixIcon" class="ml-chunk-group-left-icon">
7
+ <ml-icon :className="prefixIcon" :status="status"></ml-icon>
8
+ </view>
9
+ <view class="ml-chunk-group-title-content">{{ title }}</view>
7
10
  </view>
8
- <text class="ml-chunk-group-title-content">{{ title }}</text>
9
11
  </slot>
10
12
  </view>
11
13
  <view class="ml-chunk-group-body">
@@ -51,11 +53,24 @@ export default {
51
53
  height: 80rpx;
52
54
  padding: 0 20rpx ;
53
55
  }
56
+ .ml-chunk-group-title-warpper {
57
+ display: flex;
58
+ flex-direction: row;
59
+ align-items: center;
60
+ overflow: hidden;
61
+ }
54
62
  .ml-chunk-group-left-icon {
63
+ flex-shrink: 0;
55
64
  font-size: 38rpx;
56
65
  flex-shrink: 0;
57
66
  padding-right: 10rpx;
58
67
  }
68
+ .ml-chunk-group-title-content {
69
+ flex-grow: 1;
70
+ overflow: hidden;
71
+ text-overflow: ellipsis;
72
+ white-space: nowrap;
73
+ }
59
74
  .ml-chunk-group-content {
60
75
  display: flex;
61
76
  flex-direction: row;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.64",
3
+ "version": "0.2.65",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"