@tplc/business 0.2.1 → 0.2.3
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 +511 -638
- package/components/lcb-city-select/components/lcb-city-list/index.vue +0 -4
- package/components/lcb-image/Image/index.vue +2 -2
- package/components/lcb-image/lcb-image.vue +1 -0
- package/components/lcb-image/types.ts +1 -0
- package/components/lcb-img-nav/lcb-img-nav.vue +2 -1
- package/components/lcb-img-nav/types.ts +1 -0
- package/components/lcb-nav/lcb-nav.vue +1 -1
- package/iconfonts/index.css +55 -4
- package/package.json +13 -13
- package/types/components/lcb-image/types.d.ts +1 -0
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +3 -0
- package/types/components/lcb-img-nav/types.d.ts +1 -0
- package/types/components/lcb-product/lcb-product.vue.d.ts +1 -1
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
:width="`${styleGroup == 3 ? transformValueUnit(imageSize) : '100%'}`"
|
|
17
17
|
:src="item.url"
|
|
18
18
|
:enable-preview="enablePreview"
|
|
19
|
-
mode="widthFix"
|
|
20
|
-
height="auto"
|
|
19
|
+
:mode="imageHeight ? 'scaleToFill' : 'widthFix'"
|
|
20
|
+
:height="imageHeight ? transformValueUnit(imageHeight) : 'auto'"
|
|
21
21
|
:custom-class="`${styleGroup == 3 ? 'overflow-hidden' : 'overflow-hidden block'}`"
|
|
22
22
|
:style="{
|
|
23
23
|
borderRadius: transformValueUnit(imageRadius),
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
title,
|
|
7
7
|
marginHorizontal: 0,
|
|
8
8
|
paddingHorizontal: titlePadding,
|
|
9
|
-
paddingBottom:
|
|
9
|
+
paddingBottom: titleBottom,
|
|
10
10
|
fontSize,
|
|
11
11
|
fontWeight,
|
|
12
12
|
color,
|
|
@@ -111,6 +111,7 @@ withDefaults(defineProps<LcbImgNavProps>(), {
|
|
|
111
111
|
titleKey: 'title',
|
|
112
112
|
itemFlexMode: 'column',
|
|
113
113
|
itemGap: 24,
|
|
114
|
+
titleBottom: 40,
|
|
114
115
|
})
|
|
115
116
|
</script>
|
|
116
117
|
|
package/iconfonts/index.css
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
|
|
2
1
|
@font-face {
|
|
3
2
|
font-family: 'lcb'; /* Project id 4710234 */
|
|
4
3
|
src:
|
|
5
|
-
url('//at.alicdn.com/t/c/
|
|
6
|
-
url('//at.alicdn.com/t/c/
|
|
7
|
-
url('//at.alicdn.com/t/c/
|
|
4
|
+
url('//at.alicdn.com/t/c/font_4710234_0mlehmv59ri.woff2?t=1732780214312') format('woff2'),
|
|
5
|
+
url('//at.alicdn.com/t/c/font_4710234_0mlehmv59ri.woff?t=1732780214312') format('woff'),
|
|
6
|
+
url('//at.alicdn.com/t/c/font_4710234_0mlehmv59ri.ttf?t=1732780214312') format('truetype');
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
.lcb {
|
|
@@ -15,6 +14,58 @@
|
|
|
15
14
|
-moz-osx-font-smoothing: grayscale;
|
|
16
15
|
}
|
|
17
16
|
|
|
17
|
+
.lcb-a-:before {
|
|
18
|
+
content: '\e66b';
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.lcb-dianwei:before {
|
|
22
|
+
content: '\e66a';
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.lcb-daohang:before {
|
|
26
|
+
content: '\e669';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.lcb-shoucang:before {
|
|
30
|
+
content: '\e662';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.lcb-chuzhika:before {
|
|
34
|
+
content: '\e663';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.lcb-weixin:before {
|
|
38
|
+
content: '\e664';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.lcb-a--:before {
|
|
42
|
+
content: '\e665';
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.lcb-jujue:before {
|
|
46
|
+
content: '\e666';
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.lcb-daodian:before {
|
|
50
|
+
content: '\e667';
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.lcb-gengduo:before {
|
|
54
|
+
content: '\e668';
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.lcb-yuding:before {
|
|
58
|
+
content: '\e653';
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.lcb-ruzhuren:before {
|
|
62
|
+
content: '\e657';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.lcb-shenhe:before {
|
|
66
|
+
content: '\e660';
|
|
67
|
+
}
|
|
68
|
+
|
|
18
69
|
.lcb-a-xingzhuang103:before {
|
|
19
70
|
content: '\e64e';
|
|
20
71
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
7
7
|
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
10
|
+
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
11
|
+
"release-major": "standard-version --release-as major ",
|
|
12
|
+
"release-minor": "standard-version --release-as minor",
|
|
13
|
+
"release-patch": "standard-version --release-as patch ",
|
|
14
|
+
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
15
|
+
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
16
|
+
},
|
|
8
17
|
"publishConfig": {
|
|
9
18
|
"access": "public",
|
|
10
19
|
"registry": "https://registry.npmjs.org/"
|
|
11
20
|
},
|
|
12
21
|
"peerDependencies": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
22
|
+
"@tplc/wot": "workspace:*",
|
|
23
|
+
"vue": ">=3.2.47"
|
|
15
24
|
},
|
|
16
25
|
"engines": {
|
|
17
26
|
"node": ">=18",
|
|
@@ -24,14 +33,5 @@
|
|
|
24
33
|
},
|
|
25
34
|
"devDependencies": {
|
|
26
35
|
"standard-version": "^9.5.0"
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
30
|
-
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
31
|
-
"release-major": "standard-version --release-as major ",
|
|
32
|
-
"release-minor": "standard-version --release-as minor",
|
|
33
|
-
"release-patch": "standard-version --release-as patch ",
|
|
34
|
-
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
35
|
-
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|
|
@@ -16,6 +16,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
16
16
|
titleKey: string
|
|
17
17
|
itemFlexMode: string
|
|
18
18
|
itemGap: number
|
|
19
|
+
titleBottom: number
|
|
19
20
|
}
|
|
20
21
|
>,
|
|
21
22
|
{},
|
|
@@ -47,6 +48,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
47
48
|
titleKey: string
|
|
48
49
|
itemFlexMode: string
|
|
49
50
|
itemGap: number
|
|
51
|
+
titleBottom: number
|
|
50
52
|
}
|
|
51
53
|
>
|
|
52
54
|
>
|
|
@@ -65,6 +67,7 @@ declare const _default: import('vue').DefineComponent<
|
|
|
65
67
|
textSize: number
|
|
66
68
|
urlKey: string
|
|
67
69
|
titleKey: string
|
|
70
|
+
titleBottom: number
|
|
68
71
|
itemGap: number
|
|
69
72
|
itemFlexMode: 'row' | 'column'
|
|
70
73
|
},
|
|
@@ -24,10 +24,10 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
24
24
|
imageRadius: number
|
|
25
25
|
items: Record<string, any>[]
|
|
26
26
|
imageWidth: number
|
|
27
|
+
imageHeight: number
|
|
27
28
|
listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
|
|
28
29
|
imageWidthPercent: number
|
|
29
30
|
imageHeightPercent: number
|
|
30
|
-
imageHeight: number
|
|
31
31
|
itemHeight: number
|
|
32
32
|
},
|
|
33
33
|
{}
|