@tplc/business 0.4.92 → 0.4.93

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,33 @@
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.4.93](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.85...v0.4.93) (2025-05-06)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.4.86 ([416e508](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/416e5084cc7fe91ac3bd27201eda28027e4ce7b6))
11
+ * **release:** 0.4.87 ([d1d32ca](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d1d32ca85286418367c70f1f5c5f2933b69c358f))
12
+ * **release:** 0.4.88 ([bfb7500](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bfb75004afa0b47aca4115a468d127c2049e14af))
13
+ * **release:** 0.4.89 ([d87ae1a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d87ae1a87f7138c08eba028dd3926f31a9b27f92))
14
+ * **release:** 0.4.90 ([b57342f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b57342f17e79532fdf84e376362b374ab8459673))
15
+ * **release:** 0.4.91 ([ce06293](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce062932e8a0526c85ec660e999357152fc11bdd))
16
+ * **release:** 0.4.92 ([6be6b53](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6be6b53fd98e316f0e8095aecce447021bbfee5a))
17
+
18
+
19
+ ### ✨ Features | 新功能
20
+
21
+ * nav 支持动态参数 ([996d6e7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/996d6e762bdf73c65a6fa4f27146f0982cd63c74))
22
+ * notsyle ([a188815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a1888152e522c59a96d0ee54e091bd1ea75222b6))
23
+ * 支持依赖值反选 ([458c055](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/458c055285e156fce1f2c2df8276df85681cf02d))
24
+ * 支持图片 ([aa756b1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aa756b181a530f9748c56d631eebe0b04d2f847a))
25
+ * 新增nav ([3e05736](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e05736e996ae5e2e69cdf8e127f21386aa96c6e))
26
+ * 新增数据 ([d5bec0e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d5bec0eadb0854d2145ab9aa032c0cc558b1ef11))
27
+ * 新增配置title ([f51f370](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f51f370c0528339cf98e759ddf06123192127ee3))
28
+ * 新增页面 ([82aaddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/82aaddda0c747c03af1ac59a89aff8eee70bbc25))
29
+ * 暂时支持template ([8d413fe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8d413fee8ea18d86167b733f66fea8a59eaf7c49))
30
+ * 跳转布局问题 ([1b5d4ba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1b5d4bab4a59318bae79fdd4a435b5a32208ddcf))
31
+
5
32
  ### [0.4.92](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.91...v0.4.92) (2025-05-05)
6
33
 
7
34
 
@@ -39,7 +39,7 @@
39
39
  {{ title }}
40
40
  </view>
41
41
  <view class="p-3 max-h-50vh overflow-y-auto" v-if="content">
42
- <mp-html :content="content" />
42
+ <lcb-rich-text :content="content" />
43
43
  </view>
44
44
  <view v-if="jumpType === 141" class="pt-6 pb-5 box-border flex-col-center gap-3">
45
45
  <wd-qr-code :value="jumpUrl" :canvas-id="`id_${jumpUrl}`" :size="160" />
@@ -58,7 +58,6 @@
58
58
  import { computed, ref, inject, Ref, onMounted } from 'vue'
59
59
  import { LcbActionViewProps } from './types'
60
60
  import { uploadFile } from '../../hooks/useUpload'
61
- import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
62
61
  import { getFinalUrl, onPageScrollSelector, getExposed } from '../../utils/utils'
63
62
  import SharePopup from '../lcb-nav/SharePopup/index.vue'
64
63
  import { useTranslate } from '@tplc/wot'
@@ -6,14 +6,13 @@
6
6
  <view class="agreement-popup">
7
7
  <view class="title">{{ data?.name }}</view>
8
8
  <view class="max-h-60vh overflow-y-auto w-full">
9
- <mpHtml :content="data?.content" />
9
+ <lcb-rich-text :content="data?.content" />
10
10
  </view>
11
11
  </view>
12
12
  </wd-popup>
13
13
  </template>
14
14
 
15
15
  <script setup lang="ts">
16
- import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
17
16
  import { useRequest } from 'vue-hooks-plus'
18
17
  import { getAgreementDetail } from './api'
19
18
  import { ref } from 'vue'
@@ -1,10 +1,11 @@
1
1
  <template>
2
2
  <lcb-block v-bind="$props">
3
- <mp-html :content="content" />
3
+ <mp-html :content="htmlContent" />
4
4
  </lcb-block>
5
5
  </template>
6
6
 
7
7
  <script setup lang="ts">
8
+ import { computed } from 'vue'
8
9
  import { LcbRichTextProps } from './types'
9
10
  import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
10
11
  defineOptions({
@@ -16,6 +17,9 @@ defineOptions({
16
17
  },
17
18
  })
18
19
  const props = withDefaults(defineProps<LcbRichTextProps>(), {})
20
+ const htmlContent = computed(() => {
21
+ return props.content?.replace(/<p>\s*<\/p>/g, '<br/>')
22
+ })
19
23
  </script>
20
24
 
21
25
  <style lang="scss" scoped></style>
@@ -7,7 +7,7 @@
7
7
  >
8
8
  <view class="pop-view flex justify-center flex-col items-center" v-if="modelValue">
9
9
  <view class="text-4 mb-4 font-500">{{ modelValue.userRightsTitle }}</view>
10
- <mp-html :content="modelValue.userRightsContent" v-if="modelValue.userRightsContent" />
10
+ <lcb-rich-text :content="modelValue.userRightsContent" v-if="modelValue.userRightsContent" />
11
11
  <wd-qr-code
12
12
  custom-class="!mt-5"
13
13
  :size="130"
@@ -38,7 +38,6 @@
38
38
  </template>
39
39
 
40
40
  <script setup lang="ts">
41
- import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
42
41
  import { ref, watch } from 'vue'
43
42
  import { UserLevelRightsList } from '../../api'
44
43
  const show = ref(false)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.92",
3
+ "version": "0.4.93",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],