@tplc/business 0.0.48 → 0.0.51

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 (75) hide show
  1. package/CHANGELOG.md +278 -0
  2. package/action.d.ts +7 -2
  3. package/api/user.ts +6 -0
  4. package/components/lcb-action-view/lcb-action-view.vue +1 -1
  5. package/components/lcb-action-view/types.ts +2 -2
  6. package/components/lcb-advert/lcb-advert.vue +78 -0
  7. package/components/lcb-advert/types.ts +3 -0
  8. package/components/lcb-block/types.ts +1 -0
  9. package/components/lcb-button/lcb-button.vue +32 -0
  10. package/components/lcb-button/types.ts +8 -0
  11. package/components/lcb-city-select/components/lcb-city-letter/index.vue +1 -1
  12. package/components/lcb-city-select/components/lcb-city-list/index.vue +1 -1
  13. package/components/lcb-city-select/components/lcb-city-list/types.ts +1 -1
  14. package/components/lcb-dynamic-data/lcb-dynamic-data.vue +10 -3
  15. package/components/lcb-image/Image/index.vue +15 -25
  16. package/components/lcb-list/components/FilterList/index.vue +9 -4
  17. package/components/lcb-list/components/FilterList/mockData.ts +575 -0
  18. package/components/lcb-list/hooks/useSelect.ts +2 -0
  19. package/components/lcb-list/lcb-list.vue +32 -17
  20. package/components/lcb-list/types.ts +0 -13
  21. package/components/lcb-nav/lcb-nav.vue +1 -1
  22. package/components/lcb-notice/api/index.ts +21 -0
  23. package/components/lcb-notice/lcb-notice.vue +66 -50
  24. package/components/lcb-notice/types.ts +11 -26
  25. package/components/lcb-product/lcb-product.vue +37 -33
  26. package/components/lcb-product-item/components/ItemValue.vue +103 -22
  27. package/components/lcb-product-item/lcb-product-item.vue +249 -70
  28. package/components/lcb-product-item/types.ts +15 -14
  29. package/components/lcb-text/lcb-text.vue +20 -0
  30. package/components/lcb-text/types.ts +5 -0
  31. package/components/lcb-user-top/Nums/index.vue +19 -10
  32. package/components/lcb-user-top/lcb-user-top.vue +51 -43
  33. package/constants.ts +2 -0
  34. package/global.d.ts +3 -0
  35. package/hooks/useUpload.ts +3 -6
  36. package/index.ts +1 -1
  37. package/package.json +2 -2
  38. package/tsconfig.json +24 -0
  39. package/types/api/user.d.ts +6 -0
  40. package/types/components/lcb-action-view/types.d.ts +2 -2
  41. package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
  42. package/types/components/lcb-advert/types.d.ts +3 -0
  43. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +1 -1
  44. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +2 -2
  45. package/types/components/lcb-block/types.d.ts +1 -0
  46. package/types/components/{lcb-notice/Item/index.vue.d.ts → lcb-button/lcb-button.vue.d.ts} +4 -18
  47. package/types/components/lcb-button/types.d.ts +7 -0
  48. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +1 -1
  49. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +1 -1
  50. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +1 -1
  51. package/types/components/lcb-grid/lcb-grid.vue.d.ts +2 -2
  52. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +1 -1
  53. package/types/components/lcb-list/components/FilterList/mockData.d.ts +63 -0
  54. package/types/components/lcb-list/lcb-list.vue.d.ts +8 -4
  55. package/types/components/lcb-list/types.d.ts +0 -1
  56. package/types/components/lcb-notice/api/index.d.ts +19 -0
  57. package/types/components/lcb-notice/lcb-notice.vue.d.ts +25 -19
  58. package/types/components/lcb-notice/types.d.ts +11 -24
  59. package/types/components/lcb-product/lcb-product.vue.d.ts +2 -22
  60. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +26 -8
  61. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +63 -23
  62. package/types/components/lcb-product-item/types.d.ts +14 -13
  63. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +2 -2
  64. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  65. package/types/components/lcb-text/types.d.ts +4 -0
  66. package/types/components/lcb-title/lcb-title.vue.d.ts +1 -1
  67. package/types/constants.d.ts +2 -0
  68. package/types/hooks/useUpload.d.ts +1 -3
  69. package/types/utils/auth.d.ts +2 -0
  70. package/types/utils/utils.d.ts +2 -0
  71. package/utils/auth.ts +19 -0
  72. package/utils/utils.ts +6 -1
  73. package/components/lcb-notice/Item/index.vue +0 -112
  74. package/components/lcb-user-top/api/index.ts +0 -13
  75. package/types/components/lcb-user-top/api/index.d.ts +0 -10
package/CHANGELOG.md CHANGED
@@ -2,6 +2,284 @@
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.51](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.50...v0.0.51) (2024-10-29)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 新增advert ([2a802dd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2a802dd128977e1b0862d4104b3fb7fa3c1f2cb7))
11
+ * 禁止遮罩 ([9645223](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/964522335b472745016ab8a15460e74a46dbcce0))
12
+
13
+ ### [0.0.50](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.22...v0.0.50) (2024-10-29)
14
+
15
+ ### [0.0.49](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.0.49) (2024-10-29)
16
+
17
+
18
+ ### 🐛 Bug Fixes | Bug 修复
19
+
20
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
21
+
22
+
23
+ ### ✨ Features | 新功能
24
+
25
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
26
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
27
+ * notice 修改内容 ([2f05b68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2f05b688b32471249e0aeb65d2773f25c9cf7ed2))
28
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
29
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
30
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
31
+ * 修改drop menu ([3a9ae3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a9ae3ad5b31b6db63c43e3e8bdc51e649fd8e00))
32
+ * 兼容tabs ([5a15ba5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5a15ba5410e30ba3a8e82a9128557d5175174936))
33
+ * 单选支持清空 ([6411717](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6411717927e430f938019cc8edb5424b8529fa55))
34
+ * 完成公告 ([57d3c06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57d3c06098ecc1367757a1e1152fd1547a9fe0c6))
35
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
36
+ * 更新版本 ([c4acfd4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c4acfd4db77af966f4318a9c61b32361a3a06c54))
37
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
38
+ * 获取用户信息 ([9a1059b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a1059b690add02a32d185156c627deb77e53602))
39
+ * 调整notice ([72bcb8c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72bcb8c1615990b49270569715f5881d2a4c1aea))
40
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
41
+ * 鉴权 ([53d4257](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53d425711924852fa0763b3e9c42ca4a35cddd0e))
42
+
43
+
44
+ ### 🚀 Chore | 构建/工程依赖/工具
45
+
46
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
47
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
48
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
49
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
50
+ * **release:** 0.1.13 ([13b79f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b79f9b45076d215fdde3a80cb8aa0580b7f2d8))
51
+ * **release:** 0.1.14 ([943384d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/943384d64f7aa131fd63752f24b34006a39afef3))
52
+ * **release:** 0.1.15 ([b341118](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b341118fcd6fa4cdefe9a2595f05653e3a141730))
53
+ * **release:** 0.1.16 ([8fa966b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8fa966b1ddf9df15cdbba3ccdee2eccbf7062bbb))
54
+ * **release:** 0.1.21 ([0bc7fdb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0bc7fdb69d68b0ce86bc7a80c6d5d393e302ba08))
55
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
56
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
57
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
58
+
59
+ ### [0.1.16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.16) (2024-10-29)
60
+
61
+
62
+ ### 🐛 Bug Fixes | Bug 修复
63
+
64
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
65
+
66
+
67
+ ### ✨ Features | 新功能
68
+
69
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
70
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
71
+ * notice 修改内容 ([2f05b68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2f05b688b32471249e0aeb65d2773f25c9cf7ed2))
72
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
73
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
74
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
75
+ * 修改drop menu ([3a9ae3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a9ae3ad5b31b6db63c43e3e8bdc51e649fd8e00))
76
+ * 兼容tabs ([5a15ba5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5a15ba5410e30ba3a8e82a9128557d5175174936))
77
+ * 单选支持清空 ([6411717](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6411717927e430f938019cc8edb5424b8529fa55))
78
+ * 完成公告 ([57d3c06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57d3c06098ecc1367757a1e1152fd1547a9fe0c6))
79
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
80
+ * 更新版本 ([c4acfd4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c4acfd4db77af966f4318a9c61b32361a3a06c54))
81
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
82
+ * 获取用户信息 ([9a1059b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a1059b690add02a32d185156c627deb77e53602))
83
+ * 调整notice ([72bcb8c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72bcb8c1615990b49270569715f5881d2a4c1aea))
84
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
85
+ * 鉴权 ([53d4257](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53d425711924852fa0763b3e9c42ca4a35cddd0e))
86
+
87
+
88
+ ### 🚀 Chore | 构建/工程依赖/工具
89
+
90
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
91
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
92
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
93
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
94
+ * **release:** 0.1.13 ([13b79f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b79f9b45076d215fdde3a80cb8aa0580b7f2d8))
95
+ * **release:** 0.1.14 ([943384d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/943384d64f7aa131fd63752f24b34006a39afef3))
96
+ * **release:** 0.1.15 ([b341118](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b341118fcd6fa4cdefe9a2595f05653e3a141730))
97
+ * **release:** 0.1.21 ([0bc7fdb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0bc7fdb69d68b0ce86bc7a80c6d5d393e302ba08))
98
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
99
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
100
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
101
+
102
+ ### [0.1.15](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.15) (2024-10-29)
103
+
104
+
105
+ ### 🐛 Bug Fixes | Bug 修复
106
+
107
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
108
+
109
+
110
+ ### 🚀 Chore | 构建/工程依赖/工具
111
+
112
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
113
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
114
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
115
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
116
+ * **release:** 0.1.13 ([13b79f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13b79f9b45076d215fdde3a80cb8aa0580b7f2d8))
117
+ * **release:** 0.1.14 ([943384d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/943384d64f7aa131fd63752f24b34006a39afef3))
118
+ * **release:** 0.1.21 ([0bc7fdb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0bc7fdb69d68b0ce86bc7a80c6d5d393e302ba08))
119
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
120
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
121
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
122
+
123
+
124
+ ### ✨ Features | 新功能
125
+
126
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
127
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
128
+ * notice 修改内容 ([2f05b68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2f05b688b32471249e0aeb65d2773f25c9cf7ed2))
129
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
130
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
131
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
132
+ * 修改drop menu ([3a9ae3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a9ae3ad5b31b6db63c43e3e8bdc51e649fd8e00))
133
+ * 兼容tabs ([5a15ba5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5a15ba5410e30ba3a8e82a9128557d5175174936))
134
+ * 单选支持清空 ([6411717](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6411717927e430f938019cc8edb5424b8529fa55))
135
+ * 完成公告 ([57d3c06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/57d3c06098ecc1367757a1e1152fd1547a9fe0c6))
136
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
137
+ * 更新版本 ([c4acfd4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c4acfd4db77af966f4318a9c61b32361a3a06c54))
138
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
139
+ * 获取用户信息 ([9a1059b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9a1059b690add02a32d185156c627deb77e53602))
140
+ * 调整notice ([72bcb8c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72bcb8c1615990b49270569715f5881d2a4c1aea))
141
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
142
+ * 鉴权 ([53d4257](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/53d425711924852fa0763b3e9c42ca4a35cddd0e))
143
+
144
+ ### [0.1.13](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.13) (2024-10-28)
145
+ =======
146
+ ### [0.1.14](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.21...v0.1.14) (2024-10-29)
147
+ >>>>>>> 53d425711924852fa0763b3e9c42ca4a35cddd0e
148
+
149
+
150
+ ### 🚀 Chore | 构建/工程依赖/工具
151
+
152
+ <<<<<<< HEAD
153
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
154
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
155
+ * **release:** 0.1.12 ([cb45e26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb45e26560dbc7de5691950e480b3f070d3dafa5))
156
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
157
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
158
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
159
+
160
+
161
+ ### 🐛 Bug Fixes | Bug 修复
162
+
163
+ * 修改图片尺寸 ([1d4dd25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4dd25e5065401562cd75560507bc23953967e8))
164
+
165
+
166
+ ### ✨ Features | 新功能
167
+
168
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
169
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
170
+ * version update ([3e0904a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e0904a72675d2c262ec4efd388c08a1f4a5375a))
171
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
172
+ * 优化 lcb-product-item 插槽与属性 ([29d00e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/29d00e49adf8c47ea223f92b400eac74385f8ee0))
173
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
174
+ * 类型调整 ([206b930](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/206b93056631e72531cd39617a3c6e7ad5529723))
175
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
176
+ =======
177
+ * **release:** 0.1.13 ([d2ff093](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2ff0931511bb59dcde85de2cbdefa21f338a1f2))
178
+
179
+ ### [0.1.13](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.21...v0.1.13) (2024-10-29)
180
+ >>>>>>> 53d425711924852fa0763b3e9c42ca4a35cddd0e
181
+
182
+ ### [0.1.12](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.12) (2024-10-28)
183
+
184
+
185
+ ### 🚀 Chore | 构建/工程依赖/工具
186
+
187
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
188
+ * **release:** 0.1.11 ([0ff8ceb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ff8ceb8c63810597998d2660a87ccc8007f7196))
189
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
190
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
191
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
192
+
193
+
194
+ ### ✨ Features | 新功能
195
+
196
+ * lcb-list 相关 slot 适应小程序调整 ([aff0850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aff085079e4918761191a7a00f7c48a5fb2c599d))
197
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
198
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
199
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
200
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
201
+
202
+ ### [0.1.11](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.11) (2024-10-27)
203
+
204
+
205
+ ### 🚀 Chore | 构建/工程依赖/工具
206
+
207
+ * **release:** 0.1.10 ([732f746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/732f746ecc268186d3357b882c40e4ee0a227250))
208
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
209
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
210
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
211
+
212
+
213
+ ### ✨ Features | 新功能
214
+
215
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
216
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
217
+ * 新增dynamic-data ([d43b20f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d43b20f5f334ae6ac5b46294b5caf7903bc4a820))
218
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
219
+
220
+ ### [0.1.10](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.10) (2024-10-27)
221
+
222
+
223
+ ### ✨ Features | 新功能
224
+
225
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
226
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
227
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
228
+
229
+
230
+ ### 🚀 Chore | 构建/工程依赖/工具
231
+
232
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
233
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
234
+ * **release:** 0.1.9 ([b1dd896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b1dd896c4acc76bfc370b39c7d0a24eb729182eb))
235
+
236
+ ### [0.1.9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.9) (2024-10-26)
237
+
238
+
239
+ ### ✨ Features | 新功能
240
+
241
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
242
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
243
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
244
+
245
+
246
+ ### 🚀 Chore | 构建/工程依赖/工具
247
+
248
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
249
+ * **release:** 0.1.8 ([0cd2b98](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0cd2b98488ea39de407df1badedf2554f94190f1))
250
+
251
+ ### [0.1.8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.8) (2024-10-26)
252
+
253
+
254
+ ### ✨ Features | 新功能
255
+
256
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
257
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
258
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
259
+
260
+
261
+ ### 🚀 Chore | 构建/工程依赖/工具
262
+
263
+ * **release:** 0.1.7 ([69fbf39](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/69fbf39f9e9f1c7b2daf25aa81d7e508a530fa2b))
264
+
265
+ ### [0.1.7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.6...v0.1.7) (2024-10-26)
266
+
267
+
268
+ ### ✨ Features | 新功能
269
+
270
+ * nav 颜色调整 ([1f7bba0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1f7bba00c2386a85a5bfe3b3973ad160c87efd78))
271
+ * 上传图片 ([5ae5dcb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ae5dcbb018ce5c9bbc53290eb0e3e082985d887))
272
+ * 调整usertop ui ([13daab3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/13daab39ecd02d313cf9c9c61fa8ab79ba10198f))
273
+
274
+ ### [0.1.6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.48...v0.1.6) (2024-10-26)
275
+
276
+
277
+ ### ✨ Features | 新功能
278
+
279
+ * 修改userTop ([8b7f526](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8b7f526234f0cdaa509d2252118e25a234ba9db3))
280
+ * 修改用户信息页 ([5983018](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5983018adc1eb2bd9c56e29365cb2547351e256f))
281
+ * 更新api地址 ([bb2854c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bb2854c5ec06d8a2ea449c87d0aaab14daf74769))
282
+
5
283
  ### [0.0.48](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.47...v0.0.48) (2024-10-26)
6
284
 
7
285
 
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
+ })
@@ -44,7 +44,7 @@ const onActionClick = () => {
44
44
  case 1:
45
45
  if (url)
46
46
  uni.navigateTo({
47
- url: `/pages/webview/index?url=${encodeURIComponent(url)}`,
47
+ url: `/pages/system/webview?url=${encodeURIComponent(url)}`,
48
48
  })
49
49
  break
50
50
  /** 小程序内页 */
@@ -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 */
@@ -0,0 +1,78 @@
1
+ <template>
2
+ <wd-popup v-model="show" custom-class="!bg-transparent" :close-on-click-modal="false">
3
+ <view class="h-fit w-325px flex flex-col card-swiper">
4
+ <wd-swiper
5
+ value-key="adContent"
6
+ custom-indicator-class="custom-indicator-class"
7
+ action
8
+ v-bind="{
9
+ list: adverts,
10
+ height: '555px',
11
+ imgWidth: '325px',
12
+ radius: '20px',
13
+ autoplay: false,
14
+ imageRadius: '20px',
15
+ indicatorPosition: 'bottom',
16
+ indicator: { type: 'dots' },
17
+ }"
18
+ />
19
+ <wd-icon
20
+ name="close-circle"
21
+ size="48rpx"
22
+ custom-class="mt-12 mx-auto"
23
+ color="#fff"
24
+ @click="show = false"
25
+ />
26
+ </view>
27
+ </wd-popup>
28
+ </template>
29
+
30
+ <script setup lang="ts">
31
+ import { AdvertItem, getAdvertList } from '../lcb-notice/api'
32
+ import { PAGE_TYPE_PROVIDE_KEY } from '../../constants'
33
+ import { inject, onMounted, ref } from 'vue'
34
+ import { LcbAdvertProps } from './types'
35
+
36
+ defineOptions({
37
+ name: 'LcbAdvert',
38
+ options: {
39
+ addGlobalClass: true,
40
+ virtualHost: true,
41
+ styleIsolation: 'shared',
42
+ },
43
+ })
44
+ const props = defineProps<LcbAdvertProps>()
45
+ const pageType = inject(PAGE_TYPE_PROVIDE_KEY, props.pageType) as string
46
+ const adverts = ref<AdvertItem[]>([])
47
+ const show = ref(false)
48
+ onMounted(async () => {
49
+ const { data } = await getAdvertList({
50
+ type: 2,
51
+ pageType,
52
+ })
53
+ adverts.value = data
54
+ if (data.length) {
55
+ show.value = true
56
+ }
57
+ })
58
+ </script>
59
+
60
+ <style lang="scss" scoped>
61
+ @import '@tplc/wot/components/common/abstracts/variable';
62
+ .card-swiper {
63
+ :deep(.custom-indicator-class) {
64
+ bottom: -20px;
65
+ .wd-swiper-nav__item--dots {
66
+ width: 8px;
67
+ height: 8px;
68
+ margin: 0 4px;
69
+ }
70
+ .wd-swiper-nav__item--dots {
71
+ background-color: #fff;
72
+ }
73
+ .wd-swiper-nav__item--dots.is-active {
74
+ background-color: $-color-theme;
75
+ }
76
+ }
77
+ }
78
+ </style>
@@ -0,0 +1,3 @@
1
+ export interface LcbAdvertProps {
2
+ pageType?: string
3
+ }
@@ -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,