@tplc/business 0.1.15 → 0.2.2
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 +9 -0
- 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/components/lcb-user-top/lcb-user-top.vue +9 -5
- 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
- package/types/index.d.ts +0 -6
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.2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.42...v0.2.2) (2024-11-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.1.16 ([53b5a85](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53b5a8587e924c2d12388a21fd475a35013809f2))
|
|
11
|
+
|
|
12
|
+
### [0.1.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.42...v0.1.16) (2024-11-27)
|
|
13
|
+
|
|
5
14
|
### [0.0.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.78...v0.0.80) (2024-11-26)
|
|
6
15
|
|
|
7
16
|
|
|
@@ -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
|
|
|
@@ -94,25 +94,25 @@
|
|
|
94
94
|
v-if="valuesCard == true"
|
|
95
95
|
v-bind="$props"
|
|
96
96
|
title="储值卡"
|
|
97
|
-
@click="
|
|
97
|
+
@click="navigateTo('/pages-sub/walletAccount/index')"
|
|
98
98
|
/>
|
|
99
99
|
<Nums
|
|
100
100
|
v-if="coupons == true"
|
|
101
101
|
v-bind="$props"
|
|
102
102
|
title="优惠券"
|
|
103
|
-
@click="
|
|
103
|
+
@click="navigateTo('/pages-sub/mine/coupon')"
|
|
104
104
|
/>
|
|
105
105
|
<Nums
|
|
106
106
|
v-if="presales == true"
|
|
107
107
|
v-bind="$props"
|
|
108
108
|
title="预售券"
|
|
109
|
-
@click="
|
|
109
|
+
@click="navigateTo('/pages-sub/mine/advanceTicket')"
|
|
110
110
|
/>
|
|
111
111
|
<Nums
|
|
112
112
|
v-if="memberPoints == true"
|
|
113
113
|
v-bind="$props"
|
|
114
114
|
title="会员积分"
|
|
115
|
-
@click="
|
|
115
|
+
@click="navigateTo('/pages-sub/vip/points')"
|
|
116
116
|
/>
|
|
117
117
|
</view>
|
|
118
118
|
</lcb-block>
|
|
@@ -124,7 +124,6 @@ import { transformValueUnit } from '../../utils/transform'
|
|
|
124
124
|
import Nums from './Nums/index.vue'
|
|
125
125
|
import { computed } from 'vue'
|
|
126
126
|
import { addUnit } from '@tplc/wot/components/common/util'
|
|
127
|
-
import { $lcb } from 'index'
|
|
128
127
|
|
|
129
128
|
const { statusBarHeight } = uni.getSystemInfoSync()
|
|
130
129
|
defineOptions({
|
|
@@ -172,6 +171,11 @@ const toEdit = () => {
|
|
|
172
171
|
url: '/pages/user/edit',
|
|
173
172
|
})
|
|
174
173
|
}
|
|
174
|
+
const navigateTo = (url) => {
|
|
175
|
+
uni.navigateTo({
|
|
176
|
+
url,
|
|
177
|
+
})
|
|
178
|
+
}
|
|
175
179
|
</script>
|
|
176
180
|
<style lang="scss" scoped>
|
|
177
181
|
.userPlace {
|
package/package.json
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
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
|
-
},
|
|
17
8
|
"publishConfig": {
|
|
18
9
|
"access": "public",
|
|
19
10
|
"registry": "https://registry.npmjs.org/"
|
|
20
11
|
},
|
|
21
12
|
"peerDependencies": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
13
|
+
"vue": ">=3.2.47",
|
|
14
|
+
"@tplc/wot": "0.1.42"
|
|
24
15
|
},
|
|
25
16
|
"engines": {
|
|
26
17
|
"node": ">=18",
|
|
@@ -33,5 +24,14 @@
|
|
|
33
24
|
},
|
|
34
25
|
"devDependencies": {
|
|
35
26
|
"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
|
{}
|