@tplc/business 0.3.92 → 0.3.93
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 +7 -0
- package/components/lcb-list/components/FilterList/index.vue +1 -0
- package/components/lcb-product-item/components/ItemValue.vue +7 -1
- package/components/lcb-product-item/lcb-product-item.vue +13 -9
- package/components/lcb-tags/Tag/index.vue +13 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.3.93](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.92...v0.3.93) (2025-03-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 搜索支持输入 ([345275a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/345275a417f3399739c512d628796d163862f0cc))
|
|
11
|
+
|
|
5
12
|
### [0.3.92](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.91...v0.3.92) (2025-03-20)
|
|
6
13
|
|
|
7
14
|
### [0.3.91](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.72...v0.3.91) (2025-03-20)
|
|
@@ -316,9 +316,15 @@ const value = computed(() => {
|
|
|
316
316
|
<view>{{ value }}</view>
|
|
317
317
|
</view>
|
|
318
318
|
</slot>
|
|
319
|
+
<slot :value="value" v-if="prop === 'orderSkuCountTips'" name="orderSkuCountTips">
|
|
320
|
+
<view :class="className" :style="style" class="text-22rpx text-gray-500 flex items-center">
|
|
321
|
+
<view>{{ value }}</view>
|
|
322
|
+
</view>
|
|
323
|
+
</slot>
|
|
324
|
+
|
|
319
325
|
<slot :value="value" v-if="prop === 'distanceTips'" name="distanceTips">
|
|
320
326
|
<view :class="className" :style="style" class="text-22rpx text-gray-500 flex items-center">
|
|
321
|
-
<
|
|
327
|
+
<wd-icon name="location" />
|
|
322
328
|
<view>{{ value }}</view>
|
|
323
329
|
</view>
|
|
324
330
|
</slot>
|
|
@@ -184,11 +184,12 @@ const itemStyle = computed(() => {
|
|
|
184
184
|
<!-- </template> -->
|
|
185
185
|
</ItemValue>
|
|
186
186
|
|
|
187
|
-
<
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
</
|
|
187
|
+
<view class="flex gap-1 items-center">
|
|
188
|
+
<ItemValue prop="orderSkuCountTips" />
|
|
189
|
+
<view class="text-3.5 text-#969696" v-if="orderSkuCountTips && orderTips">·</view>
|
|
190
|
+
<ItemValue prop="orderTips" />
|
|
191
|
+
</view>
|
|
192
|
+
|
|
192
193
|
<ItemValue prop="distanceTips">
|
|
193
194
|
<!-- <template #distanceTips="{ value }"> -->
|
|
194
195
|
<!-- <slot name="distanceTips" :value="value" /> -->
|
|
@@ -325,12 +326,15 @@ const itemStyle = computed(() => {
|
|
|
325
326
|
<slot name="tags" :value="value" />
|
|
326
327
|
</template> -->
|
|
327
328
|
</ItemValue>
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
<view class="flex gap-1 items-center">
|
|
330
|
+
<ItemValue prop="orderSkuCountTips"></ItemValue>
|
|
331
|
+
<view class="text-3.5 text-#969696" v-if="orderSkuCountTips && orderTips">·</view>
|
|
332
|
+
<ItemValue prop="orderTips">
|
|
333
|
+
<!-- <template #orderTips="{ value }">
|
|
331
334
|
<slot name="orderTips" :value="value" />
|
|
332
335
|
</template> -->
|
|
333
|
-
|
|
336
|
+
</ItemValue>
|
|
337
|
+
</view>
|
|
334
338
|
<ItemValue prop="distanceTips"></ItemValue>
|
|
335
339
|
</view>
|
|
336
340
|
<view class="flex-1"></view>
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view v-for="(item, index) in items" :key="index" class="px-8rpx py-5rpx">
|
|
3
|
-
<view
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<view
|
|
4
|
+
class="border-solid border-1 flex py-4rpx px-6rpx leading-none"
|
|
5
|
+
:style="{
|
|
6
|
+
borderRadius: transformValueUnit(tagRadius),
|
|
7
|
+
fontSize: transformValueUnit(fontSize),
|
|
8
|
+
color: tagColor,
|
|
9
|
+
borderColor: tagColor,
|
|
10
|
+
}"
|
|
11
|
+
>
|
|
9
12
|
<view>{{ item }}</view>
|
|
10
13
|
</view>
|
|
11
14
|
</view>
|
|
12
|
-
|
|
13
15
|
</template>
|
|
14
16
|
|
|
15
17
|
<script setup lang="ts">
|
|
16
|
-
import type { LcbTagsItemProps } from '../types'
|
|
18
|
+
import type { LcbTagsItemProps } from '../types'
|
|
17
19
|
import { transformValueUnit } from '../../../utils/transform'
|
|
18
20
|
|
|
19
21
|
// defineProps<LcbImageProps>() @click="onClickItem(each.urlObj)"
|
|
20
22
|
|
|
21
|
-
const props = withDefaults(defineProps<LcbTagsItemProps>(), {
|
|
22
|
-
|
|
23
|
-
})
|
|
23
|
+
const props = withDefaults(defineProps<LcbTagsItemProps>(), {})
|
|
24
24
|
</script>
|
|
25
25
|
<style lang="scss" scoped>
|
|
26
|
-
.tag {
|
|
26
|
+
.tag {
|
|
27
|
+
}
|
|
27
28
|
</style>
|