@tplc/business 0.2.60 → 0.2.61

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.2.61](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.60...v0.2.61) (2025-01-04)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 治理部分属性失效 ([d743827](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d743827467d0d1e666241327dbfbc5982b955ddf))
11
+ * 调整布局 ([a4f75f4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a4f75f4bed928fb9d04b90184f9a4feb67a5457f))
12
+
5
13
  ### [0.2.60](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.59...v0.2.60) (2025-01-04)
6
14
 
7
15
  ### [0.2.59](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.58...v0.2.59) (2025-01-04)
@@ -128,7 +128,15 @@ const value = computed(() => {
128
128
 
129
129
  <!-- 标题 -->
130
130
  <slot :value="value" v-if="prop === 'productName'" name="productName">
131
- <view :class="[className, 'inline text-[32rpx] font-bold']" :style="style" :value="value">
131
+ <view
132
+ :class="[
133
+ className,
134
+ 'inline text-[32rpx] font-bold',
135
+ `line-clamp-${itemProps.titleLineClamp}`,
136
+ ]"
137
+ :style="style"
138
+ :value="value"
139
+ >
132
140
  {{ value }}
133
141
  </view>
134
142
  </slot>
@@ -315,3 +323,23 @@ const value = computed(() => {
315
323
  </slot>
316
324
  </block>
317
325
  </template>
326
+ <style lang="scss" scoped>
327
+ .line-clamp-1 {
328
+ display: -webkit-box;
329
+ -webkit-box-orient: vertical;
330
+ -webkit-line-clamp: 1;
331
+ overflow: hidden;
332
+ }
333
+ .line-clamp-2 {
334
+ display: -webkit-box;
335
+ -webkit-box-orient: vertical;
336
+ -webkit-line-clamp: 2;
337
+ overflow: hidden;
338
+ }
339
+ .line-clamp-3 {
340
+ display: -webkit-box;
341
+ -webkit-box-orient: vertical;
342
+ -webkit-line-clamp: 3;
343
+ overflow: hidden;
344
+ }
345
+ </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.60",
3
+ "version": "0.2.61",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],