@tplc/business 0.1.15 → 0.2.1

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,72 @@
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.1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.79...v0.2.1) (2024-11-27)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * lcb-list兼容小程序 ([065efe8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/065efe8f63c6f58581b227df534c954fbc56cc48))
11
+
12
+
13
+ ### ✨ Features | 新功能
14
+
15
+ * 兼容user-top ([56a04c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/56a04c189d4379cc7dd83acae5a3dac05bbe9314))
16
+ * 新增 按钮模式 ([e839a01](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e839a01dd81996dae49a5259940cbfea6d03acca))
17
+ * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
18
+
19
+
20
+ ### 🚀 Chore | 构建/工程依赖/工具
21
+
22
+ * **release:** 0.0.80 ([a7e25d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a7e25d6951502a9023ddf7599c07a3ec3310d9ae))
23
+ * **release:** 0.1.16 ([2c69e6f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2c69e6f2099187fa852420c52bca155c1b3a9368))
24
+ * **release:** 0.1.22 ([0b4e25d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0b4e25da273d86d8f014beb487d8d213504c6527))
25
+ * **release:** 0.1.40 ([f446dab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f446daba559dbd89b1a705c71bb06f93264966c4))
26
+ * **release:** 0.1.41 ([3702673](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/370267380ff0fad014bd2087063849c9db05e370))
27
+
28
+ ### [0.1.22](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.79...v0.1.22) (2024-11-27)
29
+
30
+
31
+ ### 🐛 Bug Fixes | Bug 修复
32
+
33
+ * lcb-list兼容小程序 ([065efe8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/065efe8f63c6f58581b227df534c954fbc56cc48))
34
+
35
+
36
+ ### ✨ Features | 新功能
37
+
38
+ * 兼容user-top ([56a04c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/56a04c189d4379cc7dd83acae5a3dac05bbe9314))
39
+ * 新增 按钮模式 ([e839a01](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e839a01dd81996dae49a5259940cbfea6d03acca))
40
+ * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
41
+
42
+
43
+ ### 🚀 Chore | 构建/工程依赖/工具
44
+
45
+ * **release:** 0.0.80 ([a7e25d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a7e25d6951502a9023ddf7599c07a3ec3310d9ae))
46
+ * **release:** 0.1.16 ([2c69e6f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2c69e6f2099187fa852420c52bca155c1b3a9368))
47
+ * **release:** 0.1.40 ([f446dab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f446daba559dbd89b1a705c71bb06f93264966c4))
48
+ * **release:** 0.1.41 ([3702673](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/370267380ff0fad014bd2087063849c9db05e370))
49
+
50
+ ### [0.1.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.79...v0.1.16) (2024-11-27)
51
+
52
+
53
+ ### 🐛 Bug Fixes | Bug 修复
54
+
55
+ * lcb-list兼容小程序 ([065efe8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/065efe8f63c6f58581b227df534c954fbc56cc48))
56
+
57
+
58
+ ### 🚀 Chore | 构建/工程依赖/工具
59
+
60
+ * **release:** 0.0.80 ([a7e25d6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a7e25d6951502a9023ddf7599c07a3ec3310d9ae))
61
+ * **release:** 0.1.40 ([f446dab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f446daba559dbd89b1a705c71bb06f93264966c4))
62
+ * **release:** 0.1.41 ([3702673](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/370267380ff0fad014bd2087063849c9db05e370))
63
+
64
+
65
+ ### ✨ Features | 新功能
66
+
67
+ * 兼容user-top ([56a04c1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/56a04c189d4379cc7dd83acae5a3dac05bbe9314))
68
+ * 新增 按钮模式 ([e839a01](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e839a01dd81996dae49a5259940cbfea6d03acca))
69
+ * 跳转 wd-backtop 滚动方式 ([2844471](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28444716c8382777b1c74141a7d08611a304ee18))
70
+
5
71
  ### [0.0.80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.78...v0.0.80) (2024-11-26)
6
72
 
7
73
 
@@ -94,25 +94,25 @@
94
94
  v-if="valuesCard == true"
95
95
  v-bind="$props"
96
96
  title="储值卡"
97
- @click="$lcb.navigateTo('/pages-sub/walletAccount/index')"
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="$lcb.navigateTo('/pages-sub/mine/coupon')"
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="$lcb.navigateTo('/pages-sub/mine/advanceTicket')"
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="$lcb.navigateTo('/pages-sub/vip/points')"
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.1.15",
3
+ "version": "0.2.1",
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
- "@tplc/wot": "workspace:*",
23
- "vue": ">=3.2.47"
13
+ "vue": ">=3.2.47",
14
+ "@tplc/wot": "0.1.41"
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
+ }
package/types/index.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { LcbGlobal } from './action'
2
- export declare const $lcb: LcbGlobal
3
- declare const _default: {
4
- install: (Vue: any) => void
5
- }
6
- export default _default