@tplc/business 0.2.61 → 0.2.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/action.d.ts +10 -0
- package/components/lcb-action-view/lcb-action-view.vue +1 -1
- package/components/lcb-nav/lcb-nav.vue +4 -4
- package/components/lcb-user-order/lcb-user-order.vue +1 -1
- package/components/lcb-user-top/lcb-user-top.vue +2 -2
- package/components/lcb-vip/components/InfoDialog/index.vue +1 -1
- package/index.ts +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.2.62](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.61...v0.2.62) (2025-01-04)
|
|
6
|
+
|
|
5
7
|
### [0.2.61](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.60...v0.2.61) (2025-01-04)
|
|
6
8
|
|
|
7
9
|
|
package/action.d.ts
CHANGED
|
@@ -39,6 +39,16 @@ export interface LcbGlobal {
|
|
|
39
39
|
}
|
|
40
40
|
getIsTabbar: () => boolean
|
|
41
41
|
layoutId: string
|
|
42
|
+
internalPages: {
|
|
43
|
+
webview: string
|
|
44
|
+
search: string
|
|
45
|
+
setting: string
|
|
46
|
+
home: string
|
|
47
|
+
orderList: string
|
|
48
|
+
authPhone: string
|
|
49
|
+
userEdit: string
|
|
50
|
+
drawdown: string
|
|
51
|
+
}
|
|
42
52
|
}
|
|
43
53
|
|
|
44
54
|
global {
|
|
@@ -192,7 +192,7 @@ const onCapsule = ({ action }: ICapsule) => {
|
|
|
192
192
|
break
|
|
193
193
|
case 'search':
|
|
194
194
|
uni.navigateTo({
|
|
195
|
-
url:
|
|
195
|
+
url: uni.$lcb.internalPages.search,
|
|
196
196
|
})
|
|
197
197
|
break
|
|
198
198
|
case 'scanCode':
|
|
@@ -216,13 +216,13 @@ const onCapsule = ({ action }: ICapsule) => {
|
|
|
216
216
|
break
|
|
217
217
|
case 'setting':
|
|
218
218
|
uni.navigateTo({
|
|
219
|
-
url:
|
|
219
|
+
url: uni.$lcb.internalPages.setting,
|
|
220
220
|
})
|
|
221
221
|
break
|
|
222
222
|
|
|
223
223
|
case 'home':
|
|
224
224
|
uni.switchTab({
|
|
225
|
-
url:
|
|
225
|
+
url: uni.$lcb.internalPages.home,
|
|
226
226
|
})
|
|
227
227
|
break
|
|
228
228
|
}
|
|
@@ -231,7 +231,7 @@ const onCapsule = ({ action }: ICapsule) => {
|
|
|
231
231
|
const toBack = () => {
|
|
232
232
|
if (isLastPage()) {
|
|
233
233
|
uni.switchTab({
|
|
234
|
-
url:
|
|
234
|
+
url: uni.$lcb.internalPages.home,
|
|
235
235
|
})
|
|
236
236
|
} else {
|
|
237
237
|
uni.navigateBack()
|
|
@@ -62,7 +62,7 @@ defineOptions({
|
|
|
62
62
|
})
|
|
63
63
|
const onClick = (item: IIconList) => {
|
|
64
64
|
uni.navigateTo({
|
|
65
|
-
url:
|
|
65
|
+
url: `${uni.$lcb.internalPages.orderList}?orderStatus=${item.status}`,
|
|
66
66
|
})
|
|
67
67
|
}
|
|
68
68
|
const props = withDefaults(defineProps<LcbUserOrderProps>(), {
|
|
@@ -158,7 +158,7 @@ const padTop = computed(() => {
|
|
|
158
158
|
})
|
|
159
159
|
const phoneHandler = () => {
|
|
160
160
|
uni.navigateTo({
|
|
161
|
-
url:
|
|
161
|
+
url: uni.$lcb.internalPages.authPhone,
|
|
162
162
|
})
|
|
163
163
|
}
|
|
164
164
|
const onAvatar = (headImgUrl) => {
|
|
@@ -168,7 +168,7 @@ const onAvatar = (headImgUrl) => {
|
|
|
168
168
|
}
|
|
169
169
|
const toEdit = () => {
|
|
170
170
|
uni.navigateTo({
|
|
171
|
-
url:
|
|
171
|
+
url: uni.$lcb.internalPages.userEdit,
|
|
172
172
|
})
|
|
173
173
|
}
|
|
174
174
|
const navigateTo = (url) => {
|
|
@@ -45,7 +45,7 @@ watch(
|
|
|
45
45
|
)
|
|
46
46
|
const onDrawdown = () => {
|
|
47
47
|
uni.navigateTo({
|
|
48
|
-
url:
|
|
48
|
+
url: `${uni.$lcb.internalPages.drawdown}?from=vip&id=${modelValue.value?.userRightsConfigId}`,
|
|
49
49
|
})
|
|
50
50
|
}
|
|
51
51
|
const onClose = () => {
|
package/index.ts
CHANGED
|
@@ -4,6 +4,16 @@ export const $lcb: LcbGlobal = {
|
|
|
4
4
|
navigateTo: (url) => {
|
|
5
5
|
uni.navigateTo({ url })
|
|
6
6
|
},
|
|
7
|
+
internalPages: {
|
|
8
|
+
webview: '/pages/system/webview',
|
|
9
|
+
search: '/pages/search/index',
|
|
10
|
+
setting: '/pages/mine/setting',
|
|
11
|
+
home: '/pages/index/index',
|
|
12
|
+
orderList: '/pages-sub/order/list',
|
|
13
|
+
authPhone: '/pages/system/authPhone',
|
|
14
|
+
userEdit: '/pages/user/edit',
|
|
15
|
+
drawdown: '/pages/drawdown/drawdown',
|
|
16
|
+
},
|
|
7
17
|
} as LcbGlobal
|
|
8
18
|
|
|
9
19
|
export const setup = (params: Partial<LcbGlobal>) => {
|