@tplc/business 0.2.71 → 0.2.73

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,15 @@
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.73](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.72...v0.2.73) (2025-01-06)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 瀑布流 ([a5334a0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a5334a02c4cc3cbecf5822534fabfb899d166f35))
11
+
12
+ ### [0.2.72](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.71...v0.2.72) (2025-01-06)
13
+
5
14
  ### [0.2.71](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.70...v0.2.71) (2025-01-06)
6
15
 
7
16
  ### [0.2.70](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.56...v0.2.70) (2025-01-06)
@@ -149,7 +149,7 @@ const renderList = computed(() => {
149
149
  >
150
150
  <template #coverImg="{ value }">
151
151
  <u-lazy-load
152
- threshold="-450"
152
+ threshold="-800"
153
153
  :border-radius="imageRadius"
154
154
  :image="value"
155
155
  :is-effect="false"
@@ -189,7 +189,7 @@ const renderList = computed(() => {
189
189
  >
190
190
  <template #coverImg="{ value }">
191
191
  <u-lazy-load
192
- threshold="-450"
192
+ threshold="-800"
193
193
  :border-radius="imageRadius"
194
194
  :image="value"
195
195
  :index="index"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
package/utils/utils.ts CHANGED
@@ -46,7 +46,8 @@ export const onPageScrollSelector = (selector: string) => {
46
46
  export const getPreviewImageUrl = (url: string, width = 200) => {
47
47
  const isctyun = url?.indexOf('.ctyun') >= 0
48
48
  const sym = url?.indexOf('?') > 0 ? '&' : '?'
49
- return isctyun
49
+ const suffix = isctyun
50
50
  ? `${sym}x-amz-process=image/resize,w_${width},m_lfit`
51
51
  : `${sym}x-oss-process=image/resize,m_mfit,w_${width}&imageView2/2/w/${width}`
52
+ return `${url}${width > 0 ? suffix : ''}`
52
53
  }