@tplc/business 0.0.48 → 0.0.50

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +270 -0
  2. package/action.d.ts +7 -2
  3. package/api/user.ts +6 -0
  4. package/components/lcb-action-view/types.ts +2 -2
  5. package/components/lcb-block/types.ts +1 -0
  6. package/components/lcb-button/lcb-button.vue +32 -0
  7. package/components/lcb-button/types.ts +8 -0
  8. package/components/lcb-city-select/components/lcb-city-letter/index.vue +1 -1
  9. package/components/lcb-city-select/components/lcb-city-list/index.vue +1 -1
  10. package/components/lcb-city-select/components/lcb-city-list/types.ts +1 -1
  11. package/components/lcb-dynamic-data/lcb-dynamic-data.vue +10 -3
  12. package/components/lcb-image/Image/index.vue +15 -25
  13. package/components/lcb-list/components/FilterList/index.vue +9 -4
  14. package/components/lcb-list/components/FilterList/mockData.ts +575 -0
  15. package/components/lcb-list/hooks/useSelect.ts +2 -0
  16. package/components/lcb-list/lcb-list.vue +32 -17
  17. package/components/lcb-list/types.ts +0 -13
  18. package/components/lcb-nav/lcb-nav.vue +1 -1
  19. package/components/lcb-notice/api/index.ts +21 -0
  20. package/components/lcb-notice/lcb-notice.vue +66 -50
  21. package/components/lcb-notice/types.ts +11 -26
  22. package/components/lcb-product/lcb-product.vue +37 -33
  23. package/components/lcb-product-item/components/ItemValue.vue +103 -22
  24. package/components/lcb-product-item/lcb-product-item.vue +249 -70
  25. package/components/lcb-product-item/types.ts +15 -14
  26. package/components/lcb-text/lcb-text.vue +20 -0
  27. package/components/lcb-text/types.ts +5 -0
  28. package/components/lcb-user-top/Nums/index.vue +19 -10
  29. package/components/lcb-user-top/lcb-user-top.vue +51 -43
  30. package/constants.ts +2 -0
  31. package/global.d.ts +2 -0
  32. package/hooks/useUpload.ts +3 -6
  33. package/index.ts +1 -1
  34. package/package.json +2 -2
  35. package/tsconfig.json +24 -0
  36. package/types/api/user.d.ts +6 -0
  37. package/types/components/lcb-action-view/types.d.ts +2 -2
  38. package/types/components/lcb-block/types.d.ts +1 -0
  39. package/types/components/{lcb-notice/Item/index.vue.d.ts → lcb-button/lcb-button.vue.d.ts} +4 -18
  40. package/types/components/lcb-button/types.d.ts +7 -0
  41. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +1 -1
  42. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +1 -1
  43. package/types/components/lcb-list/components/FilterList/mockData.d.ts +63 -0
  44. package/types/components/lcb-list/lcb-list.vue.d.ts +7 -3
  45. package/types/components/lcb-list/types.d.ts +0 -1
  46. package/types/components/lcb-notice/api/index.d.ts +19 -0
  47. package/types/components/lcb-notice/lcb-notice.vue.d.ts +25 -19
  48. package/types/components/lcb-notice/types.d.ts +11 -24
  49. package/types/components/lcb-product/lcb-product.vue.d.ts +2 -22
  50. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +26 -8
  51. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +63 -23
  52. package/types/components/lcb-product-item/types.d.ts +14 -13
  53. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  54. package/types/components/lcb-text/types.d.ts +4 -0
  55. package/types/constants.d.ts +2 -0
  56. package/types/hooks/useUpload.d.ts +1 -3
  57. package/types/utils/auth.d.ts +2 -0
  58. package/types/utils/utils.d.ts +2 -0
  59. package/utils/auth.ts +19 -0
  60. package/utils/utils.ts +6 -1
  61. package/components/lcb-notice/Item/index.vue +0 -112
  62. package/components/lcb-user-top/api/index.ts +0 -13
  63. package/types/components/lcb-user-top/api/index.d.ts +0 -10
package/CHANGELOG.md CHANGED
@@ -2,6 +2,276 @@
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.0.50](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.22...v0.0.50) (2024-10-29)
6
+
7
+ ### [0.0.49](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.0.49) (2024-10-29)
8
+
9
+
10
+ ### 🐛 Bug Fixes | Bug 修复
11
+
12
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
18
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
19
+ * notice 修改内容 ([2f05b68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2f05b688b32471249e0aeb65d2773f25c9cf7ed2))
20
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
21
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
22
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
23
+ * 修改drop menu ([3a9ae3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a9ae3ad5b31b6db63c43e3e8bdc51e649fd8e00))
24
+ * 兼容tabs ([5a15ba5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5a15ba5410e30ba3a8e82a9128557d5175174936))
25
+ * 单选支持清空 ([6411717](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6411717927e430f938019cc8edb5424b8529fa55))
26
+ * 完成公告 ([57d3c06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57d3c06098ecc1367757a1e1152fd1547a9fe0c6))
27
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
28
+ * 更新版本 ([c4acfd4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c4acfd4db77af966f4318a9c61b32361a3a06c54))
29
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
30
+ * 获取用户信息 ([9a1059b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a1059b690add02a32d185156c627deb77e53602))
31
+ * 调整notice ([72bcb8c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72bcb8c1615990b49270569715f5881d2a4c1aea))
32
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
33
+ * 鉴权 ([53d4257](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53d425711924852fa0763b3e9c42ca4a35cddd0e))
34
+
35
+
36
+ ### 🚀 Chore | 构建/工程依赖/工具
37
+
38
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
39
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
40
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
41
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
42
+ * **release:** 0.1.13 ([13b79f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b79f9b45076d215fdde3a80cb8aa0580b7f2d8))
43
+ * **release:** 0.1.14 ([943384d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/943384d64f7aa131fd63752f24b34006a39afef3))
44
+ * **release:** 0.1.15 ([b341118](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b341118fcd6fa4cdefe9a2595f05653e3a141730))
45
+ * **release:** 0.1.16 ([8fa966b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8fa966b1ddf9df15cdbba3ccdee2eccbf7062bbb))
46
+ * **release:** 0.1.21 ([0bc7fdb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0bc7fdb69d68b0ce86bc7a80c6d5d393e302ba08))
47
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
48
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
49
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
50
+
51
+ ### [0.1.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.16) (2024-10-29)
52
+
53
+
54
+ ### 🐛 Bug Fixes | Bug 修复
55
+
56
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
57
+
58
+
59
+ ### ✨ Features | 新功能
60
+
61
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
62
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
63
+ * notice 修改内容 ([2f05b68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2f05b688b32471249e0aeb65d2773f25c9cf7ed2))
64
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
65
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
66
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
67
+ * 修改drop menu ([3a9ae3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a9ae3ad5b31b6db63c43e3e8bdc51e649fd8e00))
68
+ * 兼容tabs ([5a15ba5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5a15ba5410e30ba3a8e82a9128557d5175174936))
69
+ * 单选支持清空 ([6411717](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6411717927e430f938019cc8edb5424b8529fa55))
70
+ * 完成公告 ([57d3c06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57d3c06098ecc1367757a1e1152fd1547a9fe0c6))
71
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
72
+ * 更新版本 ([c4acfd4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c4acfd4db77af966f4318a9c61b32361a3a06c54))
73
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
74
+ * 获取用户信息 ([9a1059b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a1059b690add02a32d185156c627deb77e53602))
75
+ * 调整notice ([72bcb8c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72bcb8c1615990b49270569715f5881d2a4c1aea))
76
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
77
+ * 鉴权 ([53d4257](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53d425711924852fa0763b3e9c42ca4a35cddd0e))
78
+
79
+
80
+ ### 🚀 Chore | 构建/工程依赖/工具
81
+
82
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
83
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
84
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
85
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
86
+ * **release:** 0.1.13 ([13b79f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b79f9b45076d215fdde3a80cb8aa0580b7f2d8))
87
+ * **release:** 0.1.14 ([943384d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/943384d64f7aa131fd63752f24b34006a39afef3))
88
+ * **release:** 0.1.15 ([b341118](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b341118fcd6fa4cdefe9a2595f05653e3a141730))
89
+ * **release:** 0.1.21 ([0bc7fdb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0bc7fdb69d68b0ce86bc7a80c6d5d393e302ba08))
90
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
91
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
92
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
93
+
94
+ ### [0.1.15](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.15) (2024-10-29)
95
+
96
+
97
+ ### 🐛 Bug Fixes | Bug 修复
98
+
99
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
100
+
101
+
102
+ ### 🚀 Chore | 构建/工程依赖/工具
103
+
104
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
105
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
106
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
107
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
108
+ * **release:** 0.1.13 ([13b79f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b79f9b45076d215fdde3a80cb8aa0580b7f2d8))
109
+ * **release:** 0.1.14 ([943384d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/943384d64f7aa131fd63752f24b34006a39afef3))
110
+ * **release:** 0.1.21 ([0bc7fdb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0bc7fdb69d68b0ce86bc7a80c6d5d393e302ba08))
111
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
112
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
113
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
114
+
115
+
116
+ ### ✨ Features | 新功能
117
+
118
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
119
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
120
+ * notice 修改内容 ([2f05b68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2f05b688b32471249e0aeb65d2773f25c9cf7ed2))
121
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
122
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
123
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
124
+ * 修改drop menu ([3a9ae3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a9ae3ad5b31b6db63c43e3e8bdc51e649fd8e00))
125
+ * 兼容tabs ([5a15ba5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5a15ba5410e30ba3a8e82a9128557d5175174936))
126
+ * 单选支持清空 ([6411717](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6411717927e430f938019cc8edb5424b8529fa55))
127
+ * 完成公告 ([57d3c06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57d3c06098ecc1367757a1e1152fd1547a9fe0c6))
128
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
129
+ * 更新版本 ([c4acfd4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c4acfd4db77af966f4318a9c61b32361a3a06c54))
130
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
131
+ * 获取用户信息 ([9a1059b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a1059b690add02a32d185156c627deb77e53602))
132
+ * 调整notice ([72bcb8c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72bcb8c1615990b49270569715f5881d2a4c1aea))
133
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
134
+ * 鉴权 ([53d4257](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53d425711924852fa0763b3e9c42ca4a35cddd0e))
135
+
136
+ ### [0.1.13](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.13) (2024-10-28)
137
+ =======
138
+ ### [0.1.14](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.21...v0.1.14) (2024-10-29)
139
+ >>>>>>> 53d425711924852fa0763b3e9c42ca4a35cddd0e
140
+
141
+
142
+ ### 🚀 Chore | 构建/工程依赖/工具
143
+
144
+ <<<<<<< HEAD
145
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
146
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
147
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
148
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
149
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
150
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
151
+
152
+
153
+ ### 🐛 Bug Fixes | Bug 修复
154
+
155
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
156
+
157
+
158
+ ### ✨ Features | 新功能
159
+
160
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
161
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
162
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
163
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
164
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
165
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
166
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
167
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
168
+ =======
169
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
170
+
171
+ ### [0.1.13](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.21...v0.1.13) (2024-10-29)
172
+ >>>>>>> 53d425711924852fa0763b3e9c42ca4a35cddd0e
173
+
174
+ ### [0.1.12](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.12) (2024-10-28)
175
+
176
+
177
+ ### 🚀 Chore | 构建/工程依赖/工具
178
+
179
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
180
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
181
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
182
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
183
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
184
+
185
+
186
+ ### ✨ Features | 新功能
187
+
188
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
189
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
190
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
191
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
192
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
193
+
194
+ ### [0.1.11](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.11) (2024-10-27)
195
+
196
+
197
+ ### 🚀 Chore | 构建/工程依赖/工具
198
+
199
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
200
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
201
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
202
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
203
+
204
+
205
+ ### ✨ Features | 新功能
206
+
207
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
208
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
209
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
210
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
211
+
212
+ ### [0.1.10](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.10) (2024-10-27)
213
+
214
+
215
+ ### ✨ Features | 新功能
216
+
217
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
218
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
219
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
220
+
221
+
222
+ ### 🚀 Chore | 构建/工程依赖/工具
223
+
224
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
225
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
226
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
227
+
228
+ ### [0.1.9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.9) (2024-10-26)
229
+
230
+
231
+ ### ✨ Features | 新功能
232
+
233
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
234
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
235
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
236
+
237
+
238
+ ### 🚀 Chore | 构建/工程依赖/工具
239
+
240
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
241
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
242
+
243
+ ### [0.1.8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.8) (2024-10-26)
244
+
245
+
246
+ ### ✨ Features | 新功能
247
+
248
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
249
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
250
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
251
+
252
+
253
+ ### 🚀 Chore | 构建/工程依赖/工具
254
+
255
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
256
+
257
+ ### [0.1.7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.7) (2024-10-26)
258
+
259
+
260
+ ### ✨ Features | 新功能
261
+
262
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
263
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
264
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
265
+
266
+ ### [0.1.6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.48...v0.1.6) (2024-10-26)
267
+
268
+
269
+ ### ✨ Features | 新功能
270
+
271
+ * 修改userTop ([8b7f526](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8b7f526234f0cdaa509d2252118e25a234ba9db3))
272
+ * 修改用户信息页 ([5983018](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5983018adc1eb2bd9c56e29365cb2547351e256f))
273
+ * 更新api地址 ([bb2854c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bb2854c5ec06d8a2ea449c87d0aaab14daf74769))
274
+
5
275
  ### [0.0.48](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.47...v0.0.48) (2024-10-26)
6
276
 
7
277
 
package/action.d.ts CHANGED
@@ -14,7 +14,7 @@ export interface ActionView {
14
14
  }[]
15
15
  }
16
16
  export type IResData<T> = {
17
- code: number
17
+ code: number | string
18
18
  msg: string
19
19
  data: T
20
20
  }
@@ -25,12 +25,17 @@ export interface LcbGlobal {
25
25
  post<T>(
26
26
  url: string,
27
27
  data?: Record<string, any> | undefined,
28
- query?: Record<string, any> | undefined,
28
+ hideLoadingToast?: boolean,
29
29
  ): Promise<IResData<T>>
30
30
  }
31
31
  loadingStore?: () => {
32
32
  changeLoading: (path: string, loading: boolean) => void
33
33
  }
34
+ userStore?: () => {
35
+ userInfo: Record<string, any>
36
+ updateUser: (data: Record<string, any>) => void
37
+ getUser: () => void
38
+ }
34
39
  }
35
40
 
36
41
  global {
package/api/user.ts ADDED
@@ -0,0 +1,6 @@
1
+ /** 获取用户手机号 */
2
+ export const getUserPhone = (data: { encryptedData: string; iv: string; code?: string }) =>
3
+ uni.$lcb.http.post('/wechatProgram/api/getPhone', {
4
+ ...data,
5
+ appId: (import.meta as any).env.VITE_WX_APPID,
6
+ })
@@ -2,9 +2,9 @@ export interface LcbActionViewProps {
2
2
  /**
3
3
  * 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
4
4
  * 13: 退出登录 14: 小程序弹框 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
5
- * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号
5
+ * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像
6
6
  */
7
- jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88
7
+ jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88 | 101
8
8
  /** 跳转路径 */
9
9
  jumpUrl?: string
10
10
  /** 小程序appid */
@@ -31,6 +31,7 @@ export interface LcbBlockProps {
31
31
  backgroundSize?: string
32
32
  backgroundPosition?: string
33
33
  borderColor?: string
34
+ textAlign?: 'left' | 'center' | 'right'
34
35
  }
35
36
  export interface LcbBlockInnerProps extends LcbBlockProps {
36
37
  [key: string]: any
@@ -0,0 +1,32 @@
1
+ <template>
2
+ <lcb-block v-bind="$props">
3
+ <lcb-action-view v-bind="action" @phone="phoneHandler">
4
+ <wd-button type="primary" block size="large">
5
+ {{ text }}
6
+ </wd-button>
7
+ </lcb-action-view>
8
+ </lcb-block>
9
+ </template>
10
+
11
+ <script setup lang="ts">
12
+ import { getPhone } from '../../utils/auth'
13
+ import { getExposed } from '../../utils/utils'
14
+ import { LcbButtonProps } from './types'
15
+ defineOptions({
16
+ name: 'LcbButton',
17
+ options: {
18
+ addGlobalClass: true,
19
+ virtualHost: true,
20
+ styleIsolation: 'shared',
21
+ },
22
+ })
23
+ withDefaults(defineProps<LcbButtonProps>(), {})
24
+ const phoneHandler = async (e) => {
25
+ await getPhone(e)
26
+ uni.$lcb.userStore?.()?.getUser()
27
+ getExposed().reload?.()
28
+ uni.navigateBack()
29
+ }
30
+ </script>
31
+
32
+ <style lang="scss" scoped></style>
@@ -0,0 +1,8 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+
4
+ export interface LcbButtonProps extends LcbBlockProps {
5
+ type: 'phone-auth'
6
+ text: string
7
+ action: LcbActionViewProps
8
+ }
@@ -44,7 +44,7 @@
44
44
 
45
45
  <script setup lang="ts">
46
46
  import { LcbCitySelectProps } from '../../../lcb-city-select/types'
47
- import { ChildHotAddress, getHotAddress, HotAddress } from '../../../lcb-city-select/api'
47
+ import { ChildHotAddress, getHotAddress, HotAddress } from '../../api'
48
48
  import { computed, onMounted, ref, watch } from 'vue'
49
49
 
50
50
  defineOptions({
@@ -38,7 +38,7 @@
38
38
  </template>
39
39
 
40
40
  <script setup lang="ts">
41
- import { LcbAddress } from '../../../lcb-city-select/api'
41
+ import { LcbAddress } from '../../api'
42
42
  import { LcbCityListProps } from './types'
43
43
  import { ref } from 'vue'
44
44
 
@@ -1,4 +1,4 @@
1
- import { LcbAddress } from '../../../lcb-city-select/api'
1
+ import { LcbAddress } from '../../api'
2
2
 
3
3
  export interface LcbCityListProps {
4
4
  list: LcbAddress[]
@@ -1,8 +1,15 @@
1
1
  <template>
2
2
  <lcb-block v-bind="$props">
3
- <view class="flex justify-between items-center">
4
- <view v-for="item in items" :key="item.title">
5
- <view>{{ item.unit }} {{ pageInfo[item.key] }}</view>
3
+ <view class="flex justify-between items-center text-28rpx">
4
+ <view
5
+ v-for="item in items"
6
+ :key="item.title"
7
+ class="flex flex-col items-center justify-center"
8
+ >
9
+ <view class="flex mb-12rpx">
10
+ <view class="text-24rpx mr-4rpx mt-12rpx">{{ item.unit }}</view>
11
+ <view class="font-500 text-36rpx">{{ pageInfo[item.key] || '0.00' }}</view>
12
+ </view>
6
13
  <view>{{ item.title }}</view>
7
14
  </view>
8
15
  </view>
@@ -11,22 +11,22 @@
11
11
  }"
12
12
  >
13
13
  <view class="relative overflow-hidden">
14
- <wd-img
15
- v-if="!!item.url"
16
- :width="`${styleGroup == 3 ? transformValueUnit(imageSize) : '100%'}`"
17
- @click="item.mode == 1 && onClickItem(item)"
18
- :src="item.url"
19
- :enable-preview="enablePreview"
20
- mode="widthFix"
21
- :class="`${styleGroup == 3 ? 'overflow-hidden' : 'overflow-hidden block'}`"
22
- :style="{
23
- borderRadius: transformValueUnit(imageRadius),
24
- display: 'block',
25
- }"
26
- />
27
-
14
+ <lcb-action-view v-bind="item.link" custom-class="w-full" v-if="item.url">
15
+ <wd-img
16
+ :width="`${styleGroup == 3 ? transformValueUnit(imageSize) : '100%'}`"
17
+ :src="item.url"
18
+ :enable-preview="enablePreview"
19
+ mode="widthFix"
20
+ height="auto"
21
+ :custom-class="`${styleGroup == 3 ? 'overflow-hidden' : 'overflow-hidden block'}`"
22
+ :style="{
23
+ borderRadius: transformValueUnit(imageRadius),
24
+ display: 'block',
25
+ }"
26
+ />
27
+ </lcb-action-view>
28
28
  <view
29
- v-if="!item.url"
29
+ v-else
30
30
  class="flex justify-center items-center bg-light color-gray overflow-hidden"
31
31
  :style="{
32
32
  height: transformValueUnit(styleGroup == 3 ? 300 : 400),
@@ -57,16 +57,6 @@
57
57
  import { LcbImageProps } from '../types'
58
58
  import { transformValueUnit } from '../../../utils/transform'
59
59
 
60
- // defineProps<LcbImageProps>() @click="onClickItem(each.urlObj)"
61
-
62
- function onClickItem(item: any) {
63
- if (item?.link) {
64
- uni.navigateTo({
65
- url: item.link,
66
- })
67
- }
68
- }
69
-
70
60
  const props = withDefaults(defineProps<LcbImageProps>(), {
71
61
  imageMargin: 0,
72
62
  })
@@ -16,6 +16,7 @@ import { computed, ref, watch, useAttrs } from 'vue'
16
16
  import useZPaging from 'z-paging/components/z-paging/js/hooks/useZPaging'
17
17
  import { LcbFilterListProps } from './type'
18
18
  import { formatJson } from '../../../../utils/utils'
19
+ import mockData from './mockData'
19
20
  const attrs = useAttrs()
20
21
 
21
22
  defineOptions({
@@ -36,13 +37,16 @@ const normalizeDataList = computed(() => {
36
37
  const imgArr = formatJson(item.coverImg, [])
37
38
  const tags = formatJson(item.tags, [])
38
39
  return {
39
- ...item,
40
- image: imgArr?.[1] ?? imgArr?.[0],
40
+ image: imgArr?.[1] || imgArr?.[0],
41
41
  title: item?.productName,
42
- tags,
42
+ // subTitle: item?.poiName,
43
+ location: item?.address,
43
44
  price: item?.price,
44
- location: item?.cityAreaName,
45
45
  priceSuffix: item?.behindUnit,
46
+ // originPrice: item?.price,
47
+ // originPriceSuffix: item?.behindUnit,
48
+ ...item,
49
+ tags,
46
50
  }
47
51
  })
48
52
  // console.log('list', list)
@@ -76,6 +80,7 @@ watch(
76
80
  )
77
81
  const queryList = async (page: number, limit: number) => {
78
82
  try {
83
+ // const { data } = mockData
79
84
  const { data } = await uni.$lcb.http.post(props.url, {
80
85
  ...props.baseParam,
81
86
  ...props.filter,