@tplc/business 0.0.18 → 0.0.22

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 +148 -0
  2. package/action.d.ts +10 -1
  3. package/components/lcb-action-view/lcb-action-view.vue +148 -0
  4. package/components/lcb-action-view/types.ts +14 -0
  5. package/components/lcb-banner/lcb-banner.vue +2 -6
  6. package/components/lcb-banner/types.ts +2 -4
  7. package/components/lcb-banner-block/lcb-banner-block.vue +17 -27
  8. package/components/lcb-banner-block/types.ts +1 -1
  9. package/components/lcb-block/lcb-block.vue +11 -23
  10. package/components/lcb-block/types.ts +23 -9
  11. package/components/lcb-grid/lcb-grid.vue +12 -16
  12. package/components/lcb-grid/types.ts +1 -1
  13. package/components/lcb-home-search/lcb-home-search.vue +62 -34
  14. package/components/lcb-home-search/types.ts +4 -3
  15. package/components/lcb-image/Image/index.vue +96 -0
  16. package/components/lcb-image/lcb-image.vue +91 -0
  17. package/components/lcb-image/types.ts +15 -0
  18. package/components/lcb-img-nav/lcb-img-nav.vue +37 -37
  19. package/components/lcb-img-nav/types.ts +2 -9
  20. package/components/lcb-nav/lcb-nav.vue +42 -14
  21. package/components/lcb-nav/types.ts +1 -2
  22. package/components/lcb-notice-bar/Item/index.vue +85 -0
  23. package/components/lcb-notice-bar/lcb-notice-bar.vue +63 -0
  24. package/components/lcb-notice-bar/types.ts +19 -0
  25. package/components/lcb-title/lcb-title.vue +2 -3
  26. package/components/lcb-user-order/lcb-user-order.vue +20 -32
  27. package/components/lcb-user-order/types.ts +3 -2
  28. package/components/lcb-user-top/lcb-user-top.vue +96 -48
  29. package/components/lcb-user-top/types.ts +1 -0
  30. package/components/lcb-video/lcb-video.vue +33 -0
  31. package/components/lcb-video/types.ts +11 -0
  32. package/global.d.ts +4 -0
  33. package/package.json +2 -2
  34. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
  35. package/types/components/lcb-action-view/types.d.ts +14 -0
  36. package/types/components/lcb-banner/lcb-banner.vue.d.ts +1 -2
  37. package/types/components/lcb-banner/types.d.ts +2 -3
  38. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +7 -3
  39. package/types/components/lcb-banner-block/types.d.ts +1 -1
  40. package/types/components/lcb-block/lcb-block.vue.d.ts +18 -25
  41. package/types/components/lcb-block/types.d.ts +21 -9
  42. package/types/components/lcb-grid/lcb-grid.vue.d.ts +4 -1
  43. package/types/components/lcb-grid/types.d.ts +1 -1
  44. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +12 -0
  45. package/types/components/lcb-home-search/types.d.ts +4 -3
  46. package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
  47. package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
  48. package/types/components/lcb-image/types.d.ts +13 -0
  49. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +6 -12
  50. package/types/components/lcb-img-nav/types.d.ts +2 -9
  51. package/types/components/lcb-nav/Search/index.vue.d.ts +1 -1
  52. package/types/components/lcb-nav/lcb-nav.vue.d.ts +2 -2
  53. package/types/components/lcb-nav/types.d.ts +1 -2
  54. package/types/components/lcb-notice-bar/Item/index.vue.d.ts +28 -0
  55. package/types/components/lcb-notice-bar/lcb-notice-bar.vue.d.ts +56 -0
  56. package/types/components/lcb-notice-bar/types.d.ts +15 -0
  57. package/types/components/lcb-title/lcb-title.vue.d.ts +6 -0
  58. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +1 -1
  59. package/types/components/lcb-user-order/types.d.ts +1 -0
  60. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +3 -0
  61. package/types/components/lcb-user-top/types.d.ts +1 -0
  62. package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
  63. package/types/components/lcb-video/types.d.ts +10 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,148 @@
1
+ # Changelog
2
+
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
+
5
+ ### [0.0.22](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.21...v0.0.22) (2024-09-24)
6
+
7
+ ### [0.0.21](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.7...v0.0.21) (2024-09-24)
8
+
9
+
10
+ ### ✨ Features | 新功能
11
+
12
+ * banner grid 新增链接 ([06ea3f9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/06ea3f9203a04867ee71b01239f046d242f4ee3a))
13
+ * banner 新增click ([e95fc15](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e95fc15c6620ad5de70854a572eab5b3800cbf3c))
14
+ * home-search支持点击 ([726fe69](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/726fe6974f0f5c83a92ddcf4c5f4d471e9bcfe28))
15
+ * navImg 跳转 ([27e9d65](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/27e9d659770441e72e996a565820a98fdc8c48d0))
16
+ * update version ([6aeee95](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6aeee95a18ab4a1091253c6b2a8bec76e3a63886))
17
+ * 图片间隙 ([ce3501b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce3501be567230d88e09abc5166941edc5c45ec0))
18
+ * 支持nav action ([1ad0c00](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1ad0c001b8ecaa35041131ee3c3359f6b715c962))
19
+ * 调整customClass ([74e83ce](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/74e83ce404fb3ccc73e0fb6c7065511e417d7470))
20
+ * 调整swiper布局 ([faa2e24](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/faa2e244ed4e2929b91249b41256d6ab9055082a))
21
+ * 跳转jumpType ([1a89c12](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1a89c12457388ed7875b4ce990c959e8e997407e))
22
+
23
+ ### [0.0.20](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.19...v0.0.20) (2024-09-22)
24
+
25
+ ### 0.0.19 (2024-09-22)
26
+
27
+
28
+ ### ✅ Tests | 测试
29
+
30
+ * publish ([997689b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/997689bfc0c7d084bf97b6ae33de6f005c5e339a))
31
+
32
+
33
+ ### 🚀 Chore | 构建/工程依赖/工具
34
+
35
+ * **release:** 0.1.0 ([58e4098](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/58e40989c4fd125e3e32fdbd415fe394b76109ee))
36
+ * **release:** 0.1.0 ([eac1562](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/eac1562d90d27a259a9c7e0947669147d94115c6))
37
+ * **release:** 0.2.0 ([c1d8014](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c1d8014b0901e072ec65b73c76a66d08c55e9308))
38
+ * **release:** 0.3.0 ([26df4b1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/26df4b16caf4bbd3adebeb46244f23d82d618ff2))
39
+ * **release:** 1.0.1 ([ed7b9b2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ed7b9b23f0f9f8dc477acf8b26d4acf1f8eb2643))
40
+ * **release:** 1.1.0 ([1a2d46a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1a2d46adc756210c7aa6e0c0268f4aa1209243ac))
41
+ * **release:** 1.1.0 ([f555363](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f555363210427dff66838c24f8be0470e52ada06))
42
+ * **release:** 1.1.0 ([98a1ca0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/98a1ca001d7886907881919a813901bc6be09763))
43
+ * **release:** 1.2.0 ([af6d181](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/af6d181a78e1bc8b140b4a44e28bd1290e40e0c0))
44
+
45
+
46
+ ### 🐛 Bug Fixes | Bug 修复
47
+
48
+ * tag click ([71a0f68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/71a0f682d3fcc952e2488e62f5fccfcb9d77be19))
49
+ * 修复slider 无法拖动问题 ([5ed5da7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ed5da72dd52596768ea83a46d8db22cfa2dcce5))
50
+ * 修复多余事件 ([d7785de](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d7785de8b9304bbe96643ae588ac299839d48227))
51
+
52
+
53
+ ### ✨ Features | 新功能
54
+
55
+ * tagSelect ([9d68b93](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9d68b9344aecbb0ac658ef3983b610b5a19ffd80))
56
+ * 调整数据结构 ([d1d3341](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d1d3341ce1db32ceb2aceb022eb9ab7ff6694085))
57
+ * banner基本模式 ([ef55b77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ef55b77283b6da1dddb2beed1770ba1a3a8b3cee))
58
+ * banner支持基础配置 ([23f0cec](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/23f0cec318aec67d026d8eaca78d33d1286e6f63))
59
+ * busness version ([a2e6840](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a2e684075dab93ee447b367fd6953b3997b2cf4d))
60
+ * card ([c1698ed](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c1698edcda8607a08096f09afe999c3ad5d05545))
61
+ * commito ([dec9dec](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dec9dec549a81906373481f2a4f9460b861dc226))
62
+ * commito ([2018f1d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2018f1dfa0f3d692213847ae3de9bd193b3c7da3))
63
+ * day ([5ce96c0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5ce96c02b131d8c763cfa918f76121b329c659de))
64
+ * disabled ([ab5ad53](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ab5ad53dcf8c997473665a78071f7cd20f78706c))
65
+ * docs ([3a740b3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3a740b37689ad9a5da7b1dfed70aaaa505ba03c8))
66
+ * docs ([cf8c74e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cf8c74ef7a28b06cfa43b539fe4bfb64353c123e))
67
+ * docs ([3135252](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3135252b7fd5cd9170d7a971f41750e37abfd3cf))
68
+ * docs ([52e0301](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/52e0301ba921472ccfe462da3771ffbbbf2a6d45))
69
+ * engine 捕获子布局点击事件 ([5cb5a4d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5cb5a4d536c6347038792f41bab62a60c0ecf1f8))
70
+ * filter ([c302d1c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c302d1caef2a57494cd8904f25224da1fd38128b))
71
+ * filter ([7d2806b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7d2806b91f3537dc0ad50b647548c2a35536334b))
72
+ * gap ([00c218a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/00c218ab7883f4e3b7e804cd924d921638a3938f))
73
+ * icon ([7cdac33](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7cdac336a18836491add9dae9a6f972cffd57d39))
74
+ * icon 细节拉满 ([1ae7d1b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1ae7d1be4e206528fecbb86a3a53a13bf63b859b))
75
+ * modei ([39af3c7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/39af3c7bd124924ead7773c4308d105bb9d3f2ec))
76
+ * monorepo ([312d296](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/312d296fef99f97409c99fb200c0e2438bc8dde5))
77
+ * nav ([a829c34](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a829c34c28203eaf017a81eac838e29607254694))
78
+ * nav 支持fixed ([4f28e06](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4f28e06d169e93108072b32f3feb23716666e8c1))
79
+ * public ([d8bc60c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d8bc60c01b7abd375ae6d0195338c0d7c2e837d4))
80
+ * select ([e3fa44e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e3fa44e9b44d1db404b62beafc1cc4e33c18a3d5))
81
+ * sliderView ([2307d32](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2307d329b3c0fb4df1a737c2e15cfcd292360957))
82
+ * tsc ([1d8b987](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d8b98793fcf21940908142801a4de0c38e91ffe))
83
+ * update version ([2e533ab](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2e533ab0c0877b75b35a1e235217e65c5369bca6))
84
+ * wot ([8743bd6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8743bd6f92c634f4dc4e85b2406ad28a9c34f043))
85
+ * wot publish ([d4f87fa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d4f87fab773929761d1ecabf014bc302ba52c1a0))
86
+ * 九宫格 ([e10f22e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e10f22e9cb55e2d8685b657a1ad86185da29b8bb))
87
+ * 修改引擎接口 ([2273305](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/22733056508ef8e88a107735a52aca2310216581))
88
+ * 修改版本号 ([0b8fe35](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0b8fe35424a492983c40f750057ce9a24786b4ca))
89
+ * 修改部分数据 ([71fbe56](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/71fbe5656d4a74108cb33b40788c8412074045bd))
90
+ * 关联属性调整 ([8231933](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/823193370bf261a9c534c25576cb61c32a32a60d))
91
+ * 兼容engine页面 ([df2fbbc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/df2fbbc048720f6f05af56bbd8d0d314ef6c0d9f))
92
+ * 兼容pc展示 ([b5d6776](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b5d6776430f73adde56d0515d08f8067f6b1e791))
93
+ * 兼容图标 ([236a7ed](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/236a7ed8a20de7dbc3aa2bee6efbc81e7a3e51aa))
94
+ * 删除多余导入 ([3d164ce](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3d164ce97e9175e050eda119ffc4db0e9c8a4e0a))
95
+ * 动态加载组件 ([30ecfae](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/30ecfae59d8816400cdedbbb81e556720bef330a))
96
+ * 变更nav ([0774c0d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0774c0d0f21a0049b8f47e6b3da842362ca1e5f2))
97
+ * 变更swiper类型 ([b0b170e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b0b170ea3d1e1f1edcea7e1247cc1c262cde558a))
98
+ * 变更wot 版本 ([afd4e50](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/afd4e50ff8601ad7490ae359a6f490e5f5ee6671))
99
+ * 变更字段映射 ([232226f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/232226fa7e46dcfd704ad265ea3517c4cd42a86c))
100
+ * 变更组织 ([813540a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/813540a955358b41c10db8bb52809c6ce89c8398))
101
+ * 变更脚本 字体默认在业务组件库 ([cadf349](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cadf349021fd8017b5b9b636789bc2d91edd7a07))
102
+ * 同步字段 ([e4e2b67](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e4e2b679f63c65b1d08034869d4f8c6b67756a8d))
103
+ * 同步布局 ([7812326](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7812326c1d99c9dd2a6bff070930d195a94cb815))
104
+ * 同步页面配置 ([10773fa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/10773fac899e67fd66e03848bc79670cc2990233))
105
+ * 图片尺寸 ([93ea161](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93ea16130e92b3d36dc4b6439e2dd0f0b4c1010a))
106
+ * 完成nav基础样式 ([a61750f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a61750f6b0fef5382bc236bcc493271e81ca665d))
107
+ * 完成基础基准 ([ca8efb2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca8efb29a79753f00b272ceba7ceee5bca43095b))
108
+ * 已调整 ([dbbef0a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dbbef0a20ef06d3be21d84a0177235fded848026))
109
+ * 引擎动态加载 ([8aaa2bc](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8aaa2bccf003854c7b67c567adc09c0a5e938d72))
110
+ * 指令合并 ([c2019f7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c2019f70fbabbfccdc6ffee7607501f950eeef3b))
111
+ * 支持remove del ([18a85a2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/18a85a27b775ab4324f8a6e729a6cc186a99c9e9))
112
+ * 支持修改标题 ([2b41983](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2b419839f40f242b01effa576d4f5be4a2ed3b19))
113
+ * 支持引擎网络请求 ([4e7b1af](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4e7b1af12798e6b743203a7aa0462936f4bb3a65))
114
+ * 支持文件生成脚本 ([1422a77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1422a77b5a06d4e205ac2e2687f54d55c54268ee))
115
+ * 支持沉浸式 ([78edbba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/78edbba936a8a267524b86701fe66bea8ad7026d))
116
+ * 支持过滤器 ([28740a4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/28740a4e672e539ec01c9382bd1c0cecb045a3ad))
117
+ * 支撑pc排序 ([1c007df](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1c007df8263cea0da9b451f2619c5a13c4698f37))
118
+ * 新增action_view ([7bdfc3a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7bdfc3a400392a282525176c810b0dfd29b73ff9))
119
+ * 新增changelog ([a226af7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a226af765f5e6bff36bad7cf326f54c0c03fded9))
120
+ * 新增search-view ([3244af6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3244af61d3c977ad685da21f554361e2062498c1))
121
+ * 新增types ([caf7dc6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/caf7dc6a8e3041ef49f2f3d19b66fb102258de35))
122
+ * 新增version ([abe7e1a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/abe7e1afdc16793f4ade8b80b2b6d970135d9393))
123
+ * 新增校验 ([4c1b9e4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4c1b9e42736b8bd6097f26252793d31b5f9e4644))
124
+ * 新增案例 ([533cbba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/533cbba3700c218a396f1154331bdecd56172653))
125
+ * 新增组件业务 ([1de1a0a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1de1a0ac41607db6be9efa459ff6c839c932e6a4))
126
+ * 新增组件脚本 及 global脚本 ([3bfa81b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3bfa81bf6689d1c55d730704490ce7521c69c9a7))
127
+ * 新增金刚区 ([a8ce320](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a8ce320c529510f45d7df8a1e56c8ff141137ed7))
128
+ * 新增防抖 200ms ([f618b04](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f618b04578e1b91be116710498c40b7f0ad468f7))
129
+ * 暂时完成部分filter ([8c2d9c6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8c2d9c63d5c3ad87f49b05f500f176fe6194a54d))
130
+ * 更新business ([b074411](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b07441144a5bee5fbc577dc0c2ef93b1f92e867d))
131
+ * 更新nav自适应 ([986348b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/986348bcc2858ea5aad8ebfb408b452c73e295f1))
132
+ * 更新组件库版本 ([b8c716b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b8c716b8bf242b028e1441e8393a91f70f71b751))
133
+ * 更新组件库版本 ([73d1d54](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/73d1d54fb81002597231ae99c3e95df14248b985))
134
+ * 版本变更 ([141a426](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/141a4260f6742326d150137c5cb6d82381c6d6d7))
135
+ * 类型变更 ([485272c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/485272c19867af8d5c7e277379cf5475135b5558))
136
+ * 节假日 ([0f84d9e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0f84d9e286d98573b083f6e84df28a5e4ed51007))
137
+ * 调整nav 支持胶囊 ([64a8e15](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/64a8e15d322a273331ea295a7e13230cb6a86113))
138
+ * 调整standard ([81b5f2a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/81b5f2a9ff5f957e580c0dc611268d12ac8f7a79))
139
+ * 调整基本 ([46211c5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/46211c5afdcf601f5bd4058438484265c106706e))
140
+ * 调整引用地址 ([643a9e1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/643a9e17293a94ca5c9d167a1b68c7a2beeeb399))
141
+ * 调整组件传参 ([a1c99af](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a1c99af48ff6b95608bd085ca670bbf657f14524))
142
+ * 调整组件导入 ([ce1eaaa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce1eaaa75cdb9f6c133d2067133092593c3740a7))
143
+ * 调整胶囊规则 ([1e20392](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1e20392ca2f6b73ff8295a20bbd38cdd84a6f290))
144
+ * 调整部分参数 ([f59beb5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f59beb5b235d285e8312d2675510dc95ba54a33d))
145
+ * 调整间距 ([178b398](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/178b398004c0e050710105f7fe920ff5104600fd))
146
+ * 重新跑 ([09b14ac](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/09b14acafc63cd5c34e3afedc6ceef968d23e57c))
147
+ * 预览 ([bd05b63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bd05b63ec6c923b76e7bebb7ff16bcd91dbc5286))
148
+ * 默认为link ([7e9e327](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7e9e3272b9549b591e100ec16244a17bff2c6571))
package/action.d.ts CHANGED
@@ -1,8 +1,17 @@
1
+ import { LcbActionViewProps } from './components/lcb-action-view/types'
1
2
  export interface ActionView {
2
3
  title: string
3
4
  icon?: string
4
- link: string
5
+ link: LcbActionViewProps
5
6
  url?: string
7
+ mode: number
8
+ hotSpot?: {
9
+ x: number
10
+ y: number
11
+ width: number
12
+ height: number
13
+ urlObj: LcbActionViewProps
14
+ }[]
6
15
  }
7
16
  export type IResData<T> = {
8
17
  code: number
@@ -0,0 +1,148 @@
1
+ <template>
2
+ <button
3
+ @click="onActionClick"
4
+ class="lcb-action-btn"
5
+ :open-type="openType"
6
+ @getphonenumber="getPhoneNumber"
7
+ :class="customClass"
8
+ >
9
+ <slot />
10
+ </button>
11
+ </template>
12
+
13
+ <script setup lang="ts">
14
+ import { computed } from 'vue'
15
+ import { LcbActionViewProps } from './types'
16
+ defineOptions({
17
+ name: 'LcbActionView',
18
+ options: {
19
+ addGlobalClass: true,
20
+ virtualHost: true,
21
+ styleIsolation: 'shared',
22
+ },
23
+ })
24
+ const props = defineProps<LcbActionViewProps>()
25
+ const openType = computed(() => {
26
+ return { 88: 'getPhoneNumber', 12: 'contact' }[props.jumpType || '']
27
+ })
28
+ const onActionClick = () => {
29
+ const { jumpAppid, jumpUrl: url, jumpType, phoneNumber } = props
30
+ /**
31
+ * 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
32
+ * 13: 退出登录 14: 小程序弹框 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
33
+ * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号
34
+ */
35
+ switch (jumpType) {
36
+ /** 网页 */
37
+ case 1:
38
+ if (url)
39
+ uni.navigateTo({
40
+ url: `/pages/webview/index?url=${encodeURIComponent(url)}`,
41
+ })
42
+ break
43
+ /** 小程序内页 */
44
+ case 2:
45
+ if (url) {
46
+ uni.navigateTo({
47
+ url,
48
+ })
49
+ }
50
+ break
51
+ /** 跳转小程序 */
52
+ case 10:
53
+ if (url && jumpAppid) {
54
+ uni.navigateToMiniProgram({
55
+ appId: jumpAppid,
56
+ path: url,
57
+ })
58
+ }
59
+ break
60
+ /** 跳转半屏小程序 */
61
+ case 11:
62
+ if (url && jumpAppid) {
63
+ uni.openEmbeddedMiniProgram({
64
+ appId: jumpAppid,
65
+ path: url,
66
+ })
67
+ }
68
+ break
69
+ /** 退出登录 */
70
+ case 13:
71
+ break
72
+ /** 小程序弹框 */
73
+ case 14:
74
+ break
75
+ /** 新窗口跳到页面 */
76
+ case 21:
77
+ if (url) {
78
+ uni.navigateTo({
79
+ url,
80
+ })
81
+ }
82
+ break
83
+ /** 切换TAB页 */
84
+ case 22:
85
+ if (url) {
86
+ uni.switchTab({
87
+ url,
88
+ })
89
+ }
90
+ break
91
+ /** 重启进入某页面 */
92
+ case 23:
93
+ if (url) {
94
+ uni.reLaunch({
95
+ url,
96
+ })
97
+ }
98
+ break
99
+ /** 回到上一层 */
100
+ case 24:
101
+ uni.navigateBack({})
102
+ break
103
+ /** 关闭当前页面 */
104
+ case 25:
105
+ uni.navigateBack({})
106
+ break
107
+ /** 关闭当前窗口 */
108
+ case 26:
109
+ if (url) {
110
+ uni.redirectTo({
111
+ url,
112
+ })
113
+ }
114
+ break
115
+ /** 拨打电话 */
116
+ case 30:
117
+ if (phoneNumber)
118
+ uni.makePhoneCall({
119
+ phoneNumber,
120
+ })
121
+ break
122
+ }
123
+ }
124
+ const getPhoneNumber = (e) => {
125
+ if (e.detail.errMsg === 'getPhoneNumber:ok') {
126
+ // 成功获取手机号,可以将 e.detail.encryptedData 和 e.detail.iv 发给后端解密
127
+ console.log('encryptedData:', e.detail.encryptedData)
128
+ console.log('iv:', e.detail.iv)
129
+ }
130
+ }
131
+ </script>
132
+
133
+ <style lang="scss" scoped>
134
+ .lcb-action-btn {
135
+ background-color: transparent;
136
+ border: none;
137
+ padding: 0;
138
+ margin: 0;
139
+ color: inherit;
140
+ font-size: inherit;
141
+ display: inline-block;
142
+ line-height: normal;
143
+ border-radius: inherit;
144
+ &::after {
145
+ border: none;
146
+ }
147
+ }
148
+ </style>
@@ -0,0 +1,14 @@
1
+ export interface LcbActionViewProps {
2
+ /**
3
+ * 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
4
+ * 13: 退出登录 14: 小程序弹框 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
5
+ * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号
6
+ */
7
+ jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88
8
+ /** 跳转路径 */
9
+ jumpUrl?: string
10
+ /** 小程序appid */
11
+ jumpAppid?: string
12
+ phoneNumber?: string
13
+ customClass?: string
14
+ }
@@ -1,13 +1,9 @@
1
1
  <template>
2
2
  <view class="lcb-banner">
3
- <lcb-block
4
- v-bind="{
5
- marginTop,
6
- marginBottom,
7
- }"
8
- >
3
+ <lcb-block v-bind="$props">
9
4
  <wd-swiper
10
5
  value-key="url"
6
+ action
11
7
  v-bind="{
12
8
  list: items,
13
9
  loop,
@@ -1,7 +1,7 @@
1
1
  import { ActionView } from 'action'
2
- import { CSSProperties } from 'vue'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
3
 
4
- export interface LcbBannerProps {
4
+ export interface LcbBannerProps extends LcbBlockProps {
5
5
  items?: Partial<ActionView>[]
6
6
  imageWidth?: number
7
7
  /** 风格 1.平铺 2.卡片 */
@@ -47,6 +47,4 @@ export interface LcbBannerProps {
47
47
  indicator?: 'dots' | 'dots-bar' | 'fraction'
48
48
  /** 滑动样式 1平面 2立体 */
49
49
  slidingStyle?: 1 | 2
50
- marginTop?: number
51
- marginBottom?: number
52
50
  }
@@ -1,16 +1,5 @@
1
1
  <template>
2
- <lcb-block
3
- v-bind="{
4
- radius,
5
- marginTop,
6
- marginBottom,
7
- backgroundColor,
8
- marginLeft: 24,
9
- marginRight: 24,
10
- paddingBottom: styleGroup === 2 ? 0 : 24,
11
- }"
12
- card
13
- >
2
+ <lcb-block v-bind="$props">
14
3
  <view v-if="styleGroup === 1" class="pl-32rpx">
15
4
  <view class="py-42rpx pr-26rpx flex justify-between items-center" v-if="styleGroup === 1">
16
5
  <view class="flex-1 flex items-center">
@@ -22,21 +11,21 @@
22
11
  </view>
23
12
  <wd-icon class-prefix="iconfont" name="a-xingzhuang97" size="24rpx" color="#666666" />
24
13
  </view>
25
- <scroll-view scroll-x class="w-full whitespace-nowrap">
26
- <img
27
- v-for="(item, index) in items"
28
- :key="index"
29
- :src="item.url"
30
- class="inline-block"
31
- :style="{
32
- height: transformValueUnit(height),
33
- width: transformValueUnit(imgWidth),
34
- marginRight: transformValueUnit(itemPadding),
35
- }"
36
- />
14
+ <scroll-view scroll-x class="w-full whitespace-nowrap pb-24rpx">
15
+ <lcb-action-view v-for="(item, index) in items" :key="index" v-bind="item.link">
16
+ <img
17
+ :src="item.url"
18
+ class="block"
19
+ :style="{
20
+ height: transformValueUnit(height),
21
+ width: transformValueUnit(imgWidth),
22
+ marginRight: transformValueUnit(itemPadding),
23
+ }"
24
+ />
25
+ </lcb-action-view>
37
26
  </scroll-view>
38
27
  </view>
39
- <template v-if="styleGroup === 2">
28
+ <view v-if="styleGroup === 2">
40
29
  <lcb-banner
41
30
  v-bind="{
42
31
  ...bannerProps,
@@ -52,7 +41,7 @@
52
41
  <view>{{ title }}</view>
53
42
  <wd-icon class-prefix="iconfont" name="a-xingzhuang103" size="30rpx" color="#666" />
54
43
  </view>
55
- </template>
44
+ </view>
56
45
  </lcb-block>
57
46
  </template>
58
47
 
@@ -70,8 +59,9 @@ defineOptions({
70
59
  },
71
60
  })
72
61
  const props = withDefaults(defineProps<LcbBannerListProps>(), {
73
- borderRadius: 16,
62
+ radius: 16,
74
63
  imageRadius: 0,
64
+ marginHorizontal: 24,
75
65
  backgroundColor: '#ffffff',
76
66
  })
77
67
  const bannerProps = computed(() => {
@@ -1,7 +1,7 @@
1
1
  import { LcbBlockProps } from '../lcb-block/types'
2
2
  import { ActionView } from 'action'
3
3
  export interface LcbBannerListProps extends LcbBlockProps {
4
- items?: Partial<ActionView>[]
4
+ items?: ActionView[]
5
5
  /** 风格 1.顶部title 2.底部title */
6
6
  styleGroup?: 1 | 2
7
7
  /** 轮播图高度 默认192 */
@@ -1,16 +1,10 @@
1
1
  <template>
2
2
  <view
3
3
  :style="{
4
- marginTop: transformValueUnit(marginTop),
5
- marginBottom: transformValueUnit(marginBottom),
6
- marginLeft: transformValueUnit(marginLeft),
7
- marginRight: transformValueUnit(marginRight),
8
- padding: `
9
- ${transformValueUnit(paddingTop || 0)}
10
- ${transformValueUnit(paddingRight || 0)}
11
- ${transformValueUnit(paddingBottom || 0)}
12
- ${transformValueUnit(paddingLeft || 0)}
13
- `,
4
+ marginTop: transformValueUnit(-(floatUp || 0)),
5
+ marginLeft: transformValueUnit(marginHorizontal || 0),
6
+ marginRight: transformValueUnit(marginHorizontal || 0),
7
+ padding: `${transformValueUnit(paddingTop || paddingVertical || 0)} ${transformValueUnit(paddingRight || paddingHorizontal || 0)} ${transformValueUnit(paddingBottom || paddingVertical || 0)} ${transformValueUnit(paddingLeft || paddingHorizontal || 0)}`,
14
8
  borderRadius: transformValueUnit(radius),
15
9
  color,
16
10
  backgroundColor,
@@ -19,19 +13,18 @@
19
13
  backgroundPosition,
20
14
  backgroundSize,
21
15
  fontSize: transformValueUnit(fontSize),
22
- boxShadow,
23
- }"
24
- :class="{
25
- card,
16
+ boxShadow:
17
+ shadowColor && shadowSize ? `0px 0px ${blurSize}px ${shadowSize}px ${shadowColor}` : '',
26
18
  }"
27
19
  class="box-border overflow-hidden relative"
20
+ :class="customClass"
28
21
  >
29
22
  <slot />
30
23
  </view>
31
24
  </template>
32
25
 
33
26
  <script setup lang="ts">
34
- import { LcbBlockProps } from './types'
27
+ import { LcbBlockInnerProps } from './types'
35
28
  import { transformValueUnit } from '../../utils/transform'
36
29
  defineOptions({
37
30
  name: 'LcbBlock',
@@ -42,14 +35,9 @@ defineOptions({
42
35
  },
43
36
  })
44
37
 
45
- withDefaults(defineProps<LcbBlockProps>(), {
46
- backgroundSize: 'cover',
38
+ withDefaults(defineProps<LcbBlockInnerProps>(), {
39
+ backgroundSize: '100% 100%',
47
40
  backgroundRepeat: 'no-repeat',
48
41
  backgroundPosition: `top center`,
49
- } as LcbBlockProps)
42
+ })
50
43
  </script>
51
- <style lang="scss" scoped>
52
- .card {
53
- box-shadow: 0px 4rpx 10rpx 0px rgba(51, 51, 51, 0.1);
54
- }
55
- </style>
@@ -1,22 +1,36 @@
1
1
  export interface LcbBlockProps {
2
- marginTop?: number
3
- marginBottom?: number
2
+ /** 左右外距 */
3
+ marginHorizontal?: number
4
+ /** 左右内距 */
5
+ paddingHorizontal?: number
6
+ /** 上下内距 */
7
+ paddingVertical?: number
8
+ /** 背景颜色 #ffffff */
4
9
  backgroundColor?: string
10
+ /** 背景图片 */
5
11
  backgroundImage?: string
12
+ /** 上浮距离 */
13
+ floatUp?: number
14
+ /** 阴影颜色 */
15
+ shadowColor?: string
16
+ /** 阴影大小 */
17
+ shadowSize?: number
18
+ /** 模糊大小 */
19
+ blurSize?: number
20
+
6
21
  paddingTop?: number
7
22
  paddingBottom?: number
23
+ paddingLeft?: number
24
+ paddingRight?: number
25
+
8
26
  color?: string
9
27
  fontSize?: number
10
- bold?: boolean
11
28
  radius?: number
12
29
  customClass?: string
13
- card?: boolean
14
- paddingLeft?: number
15
- paddingRight?: number
16
- marginLeft?: number
17
- marginRight?: number
18
30
  backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
19
31
  backgroundSize?: string
20
32
  backgroundPosition?: string
21
- boxShadow?: string
33
+ }
34
+ export interface LcbBlockInnerProps extends LcbBlockProps {
35
+ [key: string]: any
22
36
  }
@@ -1,26 +1,21 @@
1
1
  <template>
2
- <lcb-block
3
- v-bind="{
4
- marginTop,
5
- marginBottom,
6
- marginLeft: 24,
7
- marginRight: 24,
8
- }"
9
- >
2
+ <lcb-block v-bind="$props">
10
3
  <view
11
4
  class="grid gap-2"
12
5
  :style="{
13
6
  'grid-template-columns': `repeat(${cols}, minmax(0, 1fr))`,
14
7
  }"
15
8
  >
16
- <wd-img
17
- v-for="(item, index) in items"
18
- :key="index"
19
- :src="item.url"
20
- :height="transformValueUnit(height)"
21
- :radius="transformValueUnit(radius)"
22
- mode="aspectFill"
23
- />
9
+ <lcb-action-view v-for="(item, index) in items" :key="index" v-bind="item.link">
10
+ <wd-img
11
+ :src="item.url"
12
+ :height="transformValueUnit(height)"
13
+ :radius="transformValueUnit(radius)"
14
+ mode="aspectFill"
15
+ width="100%"
16
+ custom-class="!block"
17
+ />
18
+ </lcb-action-view>
24
19
  </view>
25
20
  </lcb-block>
26
21
  </template>
@@ -37,6 +32,7 @@ defineOptions({
37
32
  },
38
33
  })
39
34
  withDefaults(defineProps<LcbGridProps>(), {
35
+ marginHorizontal: 24,
40
36
  height: 100,
41
37
  cols: 2,
42
38
  radius: 8,
@@ -1,7 +1,7 @@
1
1
  import { LcbBlockProps } from '../lcb-block/types'
2
2
  import { ActionView } from 'action'
3
3
  export interface LcbGridProps extends LcbBlockProps {
4
- items?: Partial<ActionView>[]
4
+ items?: ActionView[]
5
5
  height?: number
6
6
  cols?: number
7
7
  gap?: number