@tplc/business 0.3.32 → 0.3.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
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.3.34](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.33...v0.3.34) (2025-02-10)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * 修改组件样式 ([ca5d275](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca5d275c2f909289729879c1fa7275e6dac2f1bf))
11
+
12
+ ### [0.3.33](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.28...v0.3.33) (2025-02-10)
13
+
14
+
15
+ ### 🚀 Chore | 构建/工程依赖/工具
16
+
17
+ * **release:** 0.3.29 ([0ea4cb8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0ea4cb8bb435436e8fd655c62183e1f1d6d7ed1d))
18
+ * **release:** 0.3.30 ([e42d9fd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e42d9fd31117d435eb6d695a5d8233a4949bfa56))
19
+ * **release:** 0.3.31 ([3c4362a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3c4362a59d5feb99021055f5372a49368e9a30da))
20
+ * **release:** 0.3.32 ([f3889f3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f3889f3b263a679162ee2af33484d5bfc1f793af))
21
+
22
+
23
+ ### ✨ Features | 新功能
24
+
25
+ * 修改vip展示 ([16d67e2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/16d67e20d0acdd822c3bea1f06141972de82e320))
26
+ * 修改过滤字段 ([0b0b10d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0b0b10daa2ad61a9797be3c1cb3b86f653ad60e6))
27
+ * 兼容user info ([2097a3f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2097a3f346a064bdd2ab26900782722943bb20a2))
28
+ * 日历调整 ([a78bc04](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a78bc04f75f0c3b972bdb7db8139822115ec082f))
29
+
5
30
  ### [0.3.32](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.31...v0.3.32) (2025-02-10)
6
31
 
7
32
  ### [0.3.31](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.30...v0.3.31) (2025-02-10)
@@ -32,6 +32,7 @@
32
32
  </view>
33
33
  </view>
34
34
  </wd-popup>
35
+ <SharePopup v-model="showPoster" :params="requestParam" />
35
36
  </template>
36
37
 
37
38
  <script setup lang="ts">
@@ -40,6 +41,7 @@ import { LcbActionViewProps } from './types'
40
41
  import { uploadFile } from '../../hooks/useUpload'
41
42
  import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
42
43
  import { getFinalUrl, onPageScrollSelector } from '../../utils/utils'
44
+ import SharePopup from '../lcb-nav/SharePopup/index.vue'
43
45
  defineOptions({
44
46
  name: 'LcbActionView',
45
47
  options: {
@@ -49,6 +51,7 @@ defineOptions({
49
51
  },
50
52
  })
51
53
  const props = defineProps<LcbActionViewProps>()
54
+ const showPoster = ref(false)
52
55
  const emits = defineEmits<{
53
56
  (e: 'phone', value: { detail: { errMsg: string; encryptedData: string; iv: string } }): void
54
57
  (e: 'avatar', value: string): void
@@ -177,6 +180,9 @@ const onActionClick = async () => {
177
180
  case 105:
178
181
  if (props.addressInfo) uni.openLocation(props.addressInfo)
179
182
  break
183
+ case 106:
184
+ showPoster.value = true
185
+ break
180
186
  default:
181
187
  emits('click')
182
188
  break
@@ -11,7 +11,9 @@ export type LcbActionViewProps = {
11
11
  /**
12
12
  * 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
13
13
  * 13: 退出登录 14: 小程序弹框 16: 小程序锚点 17 网络请求 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
14
- * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页 105 查看地图
14
+ * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
15
+ * 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
16
+ * 105 查看地图 106 查看地图
15
17
  */
16
18
  jumpType?:
17
19
  | 1
@@ -63,4 +65,8 @@ export type LcbActionViewProps = {
63
65
  name: string
64
66
  }
65
67
  }
68
+ | {
69
+ jumpType: 106
70
+ requestParam?: Record<string, any>
71
+ }
66
72
  )
@@ -43,7 +43,17 @@
43
43
  import { getCurrentPage } from '../../../utils/utils'
44
44
  import { getShareConfigList } from './api'
45
45
  import { ref, inject, watch } from 'vue'
46
-
46
+ defineOptions({
47
+ name: 'SharePopup',
48
+ options: {
49
+ addGlobalClass: true,
50
+ virtualHost: true,
51
+ styleIsolation: 'shared',
52
+ },
53
+ })
54
+ const props = defineProps<{
55
+ params?: Record<string, any>
56
+ }>()
47
57
  interface ViewNode {
48
58
  key?: string
49
59
  views?: ViewNode[]
@@ -91,6 +101,7 @@ const getData = async () => {
91
101
  } = await getShareConfigList({
92
102
  ...getCurrentPage().options,
93
103
  page: getCurrentPage().route,
104
+ ...props.params,
94
105
  })
95
106
  data.value = shareConfigList.map((v) => {
96
107
  return getTemplateValues(v.styleConfig, {
@@ -26,7 +26,7 @@
26
26
  </wd-popover>
27
27
  <IconActionView v-bind="item" v-else @refresh="$emit('refresh')" ref="popverRef" />
28
28
  </block>
29
- <view class="flex-1" v-if="iconList?.length"></view>
29
+ <view class="flex-1"></view>
30
30
  <BtnViews :button-list="buttonList" @refresh="emits('refresh')" :size="size" />
31
31
  </view>
32
32
  <wd-message-box />
@@ -15,7 +15,7 @@
15
15
  </view>
16
16
  <view
17
17
  v-if="
18
- ['voucher', 'cashVoucher'].includes(modelValue.userRightsType) &&
18
+ ['voucher', 'cashVoucher', 'invite'].includes(modelValue.userRightsType) &&
19
19
  !hiddenDrawdown &&
20
20
  currentLevelFlag
21
21
  "
@@ -11,6 +11,7 @@
11
11
  :src="getJsonStrFirstUrl(info.coverImg)"
12
12
  width="100%"
13
13
  :height="transformValueUnit(cardHeight)"
14
+ radius="16rpx"
14
15
  />
15
16
  <view class="absolute w-20 text-center leading-6 top-0 left-0">
16
17
  {{ info.effectiveDate }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.32",
3
+ "version": "0.3.34",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -14,7 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<
14
14
  string,
15
15
  import('vue').PublicProps,
16
16
  any,
17
- {} | {} | {},
17
+ {} | {} | {} | {},
18
18
  {}
19
19
  >
20
20
  declare const _default: __VLS_WithTemplateSlots<
@@ -10,7 +10,9 @@ export type LcbActionViewProps = {
10
10
  /**
11
11
  * 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
12
12
  * 13: 退出登录 14: 小程序弹框 16: 小程序锚点 17 网络请求 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
13
- * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页 105 查看地图
13
+ * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
14
+ * 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
15
+ * 105 查看地图 106 查看地图
14
16
  */
15
17
  jumpType?:
16
18
  | 1
@@ -60,4 +62,8 @@ export type LcbActionViewProps = {
60
62
  name: string
61
63
  }
62
64
  }
65
+ | {
66
+ jumpType: 106
67
+ requestParam?: Record<string, any>
68
+ }
63
69
  )
@@ -133,10 +133,10 @@ declare const __VLS_component: import('vue').DefineComponent<
133
133
  },
134
134
  {
135
135
  customClass: string
136
+ params: Record<string, any>
136
137
  minDate: number
137
138
  maxDate: number
138
139
  defaultValue: number[]
139
- params: Record<string, any>
140
140
  },
141
141
  {}
142
142
  >
@@ -24,11 +24,11 @@ declare const __VLS_component: import('vue').DefineComponent<
24
24
  color: string
25
25
  customClass: string
26
26
  radius: number
27
+ backgroundImage: string
27
28
  imageRadius: number
28
29
  marginHorizontal: number
29
30
  paddingHorizontal: number
30
31
  paddingVertical: number
31
- backgroundImage: string
32
32
  floatUp: number
33
33
  shadowColor: string
34
34
  shadowSize: number
@@ -1,6 +1,9 @@
1
+ declare let __VLS_typeProps: {
2
+ params?: Record<string, any>
3
+ }
1
4
  type __VLS_PublicProps = {
2
5
  modelValue?: any
3
- }
6
+ } & typeof __VLS_typeProps
4
7
  declare const _default: import('vue').DefineComponent<
5
8
  __VLS_TypePropsToOption<__VLS_PublicProps>,
6
9
  {},