@tplc/business 0.5.63 → 0.5.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,47 @@
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.5.65](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.54...v0.5.65) (2025-12-03)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.5.55 ([8e2b7f5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8e2b7f502011d0f7832120493ecaa32aae372dd7))
11
+ * **release:** 0.5.56 ([ea9c10a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ea9c10a15341d8fe79af6a39b0c37bdce771c94c))
12
+ * **release:** 0.5.57 ([25aaac1](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/25aaac13025bbe39873e24f3658f8be085fadac4))
13
+ * **release:** 0.5.58 ([ba9c23e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ba9c23e4678f6bc843e15ad210059bf182d41b0b))
14
+ * **release:** 0.5.59 ([d878b4b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d878b4bbf1fb837d0e0cd1f519c7b5894f4b6adc))
15
+ * **release:** 0.5.60 ([f1d5f6c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f1d5f6c29447ce74936a40afa5ad892417a83a8b))
16
+ * **release:** 0.5.61 ([0d2df07](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0d2df07c71176094d18c034389d860006cd984d2))
17
+ * **release:** 0.5.62 ([a3b3140](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a3b314051eec8c03d3887bd2dcccb34c0e8c2485))
18
+ * **release:** 0.5.63 ([2960f35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2960f3512794c9b692710cbf1abf251c5f69d465))
19
+ * **release:** 0.5.64 ([3096d05](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3096d05de1012d8d3216841bcc0fef3a866346c2))
20
+
21
+
22
+ ### ✨ Features | 新功能
23
+
24
+ * webp 调整 ([8bcb6c8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8bcb6c89a725f44b687fa1d5d459a4f0c2dc03d7))
25
+ * 修改尺寸 ([c932da4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c932da48d9693508b72cba09aae7f96208d00da1))
26
+ * 兼容h5 ([ca67c3f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ca67c3fa6d5d7ef9adbf526c92d115cbed03c16d))
27
+ * 兼容nav ([bcb45b6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/bcb45b679894e6e72d3a9c75b1de326e3424c395))
28
+ * 新增判断 ([197736a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/197736a34c0a5aed9b172b2dd5d7a6718affcaab))
29
+ * 新增节流 ([671b7fe](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/671b7fe766d17fe904beb5a457ef263f1006b0ae))
30
+ * 样式调整 ([9db0e26](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9db0e26b22faaa3678f501d06baa03245e5aa744))
31
+ * 默认offsetTop ([23f7924](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/23f79247cc494a99a0c97a7354b5449c9a24f925))
32
+
33
+
34
+ ### 🐛 Bug Fixes | Bug 修复
35
+
36
+ * 修改外面包裹view ([9d7906e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9d7906e6f0f754ee35bb0a5eb69e42cba42330e2))
37
+ * 兼容list为空 ([a6e0af9](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a6e0af9a21548192572d94abba9bcd8d7c1053c1))
38
+
39
+ ### [0.5.64](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.63...v0.5.64) (2025-12-03)
40
+
41
+
42
+ ### ✨ Features | 新功能
43
+
44
+ * 兼容h5 ([ca67c3f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ca67c3fa6d5d7ef9adbf526c92d115cbed03c16d))
45
+
5
46
  ### [0.5.63](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.62...v0.5.63) (2025-12-02)
6
47
 
7
48
  ### [0.5.62](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.61...v0.5.62) (2025-12-02)
@@ -88,7 +88,6 @@ defineOptions({
88
88
  })
89
89
 
90
90
  const props = defineProps<LcbActionViewProps>()
91
- const { offsetTopNavbar = true } = props as { offsetTopNavbar?: boolean }
92
91
  const basicInfo = inject(USER_BASIC_INFO, {}) as unknown as Ref<Record<string, any>>
93
92
  const pageInfo = inject(PAGE_PROVIDE_KEY) as unknown as Ref<Record<string, any>>
94
93
  const showPoster = ref(false)
@@ -206,8 +205,7 @@ const onActionClick = async () => {
206
205
  if (url) {
207
206
  const windowInfo = uni.getWindowInfo()
208
207
  const navbarHeight = (windowInfo.statusBarHeight || 0) + 44
209
- const offsetTop = offsetTopNavbar ? navbarHeight : 0
210
- onPageScrollSelector(url, offsetTop)
208
+ onPageScrollSelector(url, navbarHeight)
211
209
  }
212
210
  break
213
211
  case 17:
@@ -187,7 +187,10 @@ const itemStyle = computed(() => {
187
187
  </ItemValue>
188
188
  </view>
189
189
 
190
- <view class="flex gap-1 items-center">
190
+ <view
191
+ class="flex gap-1 items-center"
192
+ v-if="scoreAvgVisible || scoreTipsVisible || userInteractionInfoVisible"
193
+ >
191
194
  <ItemValue prop="scoreAvg">
192
195
  <!-- <template #scoreAvg="{ value }"><slot name="scoreAvg" :value="value" /></template> -->
193
196
  </ItemValue>
@@ -201,25 +204,25 @@ const itemStyle = computed(() => {
201
204
  </ItemValue>
202
205
  </view>
203
206
 
204
- <ItemValue prop="addressIntro">
207
+ <ItemValue prop="addressIntro" v-if="addressIntroVisible">
205
208
  <!-- <template #addressIntro="{ value }"> -->
206
209
  <!-- <slot name="addressIntro" :value="value" /> -->
207
210
  <!-- </template> -->
208
211
  </ItemValue>
209
212
 
210
- <ItemValue prop="subTitle">
213
+ <ItemValue prop="subTitle" v-if="subTitleVisible">
211
214
  <!-- <template #subTitle="{ value }"> -->
212
215
  <!-- <slot name="subTitle" :value="value" /> -->
213
216
  <!-- </template> -->
214
217
  </ItemValue>
215
218
 
216
- <ItemValue prop="tags">
219
+ <ItemValue prop="tags" v-if="tagsVisible">
217
220
  <!-- <template #tags="{ value }"> -->
218
221
  <!-- <slot name="tags" :value="value" /> -->
219
222
  <!-- </template> -->
220
223
  </ItemValue>
221
224
 
222
- <view class="flex gap-1 items-center">
225
+ <view class="flex gap-1 items-center" v-if="orderSkuCountTipsVisible || orderTipsVisible">
223
226
  <ItemValue prop="orderSkuCountTips" />
224
227
  <view
225
228
  class="text-3.5 text-#969696"
@@ -230,7 +233,7 @@ const itemStyle = computed(() => {
230
233
  <ItemValue prop="orderTips" />
231
234
  </view>
232
235
 
233
- <ItemValue prop="distanceTips">
236
+ <ItemValue prop="distanceTips" v-if="distanceTipsVisible">
234
237
  <!-- <template #distanceTips="{ value }"> -->
235
238
  <!-- <slot name="distanceTips" :value="value" /> -->
236
239
  <!-- </template> -->
@@ -346,7 +349,10 @@ const itemStyle = computed(() => {
346
349
  </ItemValue>
347
350
  </view>
348
351
 
349
- <view class="flex gap-1 items-center">
352
+ <view
353
+ class="flex gap-1 items-center"
354
+ v-if="scoreAvgVisible || scoreTipsVisible || userInteractionInfoVisible"
355
+ >
350
356
  <ItemValue prop="scoreAvg">
351
357
  <!-- <template #="{ value }"><slot name="scoreAvg" :value="value" /></template> -->
352
358
  </ItemValue>
@@ -360,24 +366,24 @@ const itemStyle = computed(() => {
360
366
  </ItemValue>
361
367
  </view>
362
368
 
363
- <ItemValue prop="addressIntro">
369
+ <ItemValue prop="addressIntro" v-if="addressIntroVisible">
364
370
  <!-- <template #addressIntro="{ value }">
365
371
  <slot name="addressIntro" :value="value" />
366
372
  </template> -->
367
373
  </ItemValue>
368
374
 
369
- <ItemValue prop="subTitle">
375
+ <ItemValue prop="subTitle" v-if="subTitleVisible">
370
376
  <!-- <template #subTitle="{ value }">
371
377
  <slot name="subTitle" :value="value" />
372
378
  </template> -->
373
379
  </ItemValue>
374
380
 
375
- <ItemValue prop="tags">
381
+ <ItemValue prop="tags" v-if="tagsVisible">
376
382
  <!-- <template #tags="{ value }">
377
383
  <slot name="tags" :value="value" />
378
384
  </template> -->
379
385
  </ItemValue>
380
- <view class="flex gap-1 items-center">
386
+ <view class="flex gap-1 items-center" v-if="orderSkuCountTipsVisible || orderTipsVisible">
381
387
  <ItemValue prop="orderSkuCountTips"></ItemValue>
382
388
  <view
383
389
  class="text-3.5 text-#969696"
@@ -391,7 +397,7 @@ const itemStyle = computed(() => {
391
397
  </template> -->
392
398
  </ItemValue>
393
399
  </view>
394
- <ItemValue prop="distanceTips"></ItemValue>
400
+ <ItemValue prop="distanceTips" v-if="distanceTipsVisible"></ItemValue>
395
401
  </view>
396
402
  <view class="flex-1"></view>
397
403
  <view class="flex flex-col gap-1 items-end leading-none">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.63",
3
+ "version": "0.5.65",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],