@tplc/business 0.7.61 → 0.7.63

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,22 @@
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.7.63](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.62...v0.7.63) (2026-01-10)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * **lcb-tabs:** extend timeout duration for currentTab initialization to enhance default tab selection accuracy ([a29ae0c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a29ae0cf9c1b0c9ef483c4ca94f094fb7286153c))
11
+
12
+ ### [0.7.62](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.61...v0.7.62) (2026-01-10)
13
+
14
+
15
+ ### 🐛 Bug Fixes | Bug 修复
16
+
17
+ * **iconfonts:** update font URLs to absolute paths for improved accessibility ([4a9ff7c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/4a9ff7c0128766a6a718d8bc266d2914bbe1b6da))
18
+ * **iconfonts:** update font URLs to relative paths for better asset management ([61e3142](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/61e31429da7faf69f76cb7b7e423c47e8ec1d7eb))
19
+ * **lcb-tabs:** increase timeout duration for initializing currentTab to improve default tab selection timing ([01b7415](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/01b74154ea693ab32f1414c2aa3a153bdab169a4))
20
+
5
21
  ### [0.7.61](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.60...v0.7.61) (2026-01-09)
6
22
 
7
23
 
@@ -23,7 +23,7 @@
23
23
  </view>
24
24
  </scroll-view>
25
25
  <view
26
- class="flex flex-col justify-center items-center px-2 py-1 w-8 text-primary bg-white mt-3"
26
+ class="flex flex-col justify-center items-center px-2 py-1 w-8 text-primary mt-3"
27
27
  @click="onMore"
28
28
  v-if="showMore"
29
29
  >
@@ -60,7 +60,7 @@ watch(
60
60
  onMounted(() => {
61
61
  setTimeout(() => {
62
62
  currentTab.value = props.items?.[props.defaultIndex]?.name
63
- }, 150)
63
+ }, 200)
64
64
  })
65
65
  </script>
66
66
 
@@ -6,12 +6,16 @@
6
6
  :autoplay="autoplay"
7
7
  :muted="muted"
8
8
  :showProgress="showProgress"
9
- class="w-full"
9
+ :style="{
10
+ height: videoHeight ? transformValueUnit(videoHeight) : '',
11
+ width: videoWidth ? transformValueUnit(videoWidth) : '100%',
12
+ }"
10
13
  />
11
14
  </lcb-block>
12
15
  </template>
13
16
 
14
17
  <script setup lang="ts">
18
+ import { transformValueUnit } from '../../utils/transform'
15
19
  import { LcbVideoProps } from './types'
16
20
  defineOptions({
17
21
  name: 'LcbVideo',
@@ -1,4 +1,6 @@
1
- export interface LcbVideoProps {
1
+ import { LcbBlockProps } from '../../components/lcb-block/types'
2
+
3
+ export interface LcbVideoProps extends LcbBlockProps {
2
4
  // Define the component's prop types here
3
5
  src?: string
4
6
  loop?: boolean
@@ -8,4 +10,6 @@ export interface LcbVideoProps {
8
10
  marginTop?: number
9
11
  marginBottom?: number
10
12
  marginHorizontal?: number
13
+ videoHeight?: number
14
+ videoWidth?: number
11
15
  }
@@ -1,9 +1,9 @@
1
1
  @font-face {
2
2
  font-family: 'lcb'; /* Project id 4710234 */
3
3
  src:
4
- url('//at.alicdn.com/t/c/font_4710234_8zhj9giis9n.woff2?t=1737644309894') format('woff2'),
5
- url('//at.alicdn.com/t/c/font_4710234_8zhj9giis9n.woff?t=1737644309894') format('woff'),
6
- url('//at.alicdn.com/t/c/font_4710234_8zhj9giis9n.ttf?t=1737644309894') format('truetype');
4
+ url('https://at.alicdn.com/t/c/font_4710234_8zhj9giis9n.woff2?t=1737644309894') format('woff2'),
5
+ url('https://at.alicdn.com/t/c/font_4710234_8zhj9giis9n.woff?t=1737644309894') format('woff'),
6
+ url('https://at.alicdn.com/t/c/font_4710234_8zhj9giis9n.ttf?t=1737644309894') format('truetype');
7
7
  }
8
8
 
9
9
  .lcb {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.61",
3
+ "version": "0.7.63",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -1,4 +1,5 @@
1
- export interface LcbVideoProps {
1
+ import { LcbBlockProps } from '../../components/lcb-block/types'
2
+ export interface LcbVideoProps extends LcbBlockProps {
2
3
  src?: string
3
4
  loop?: boolean
4
5
  muted?: boolean
@@ -7,4 +8,6 @@ export interface LcbVideoProps {
7
8
  marginTop?: number
8
9
  marginBottom?: number
9
10
  marginHorizontal?: number
11
+ videoHeight?: number
12
+ videoWidth?: number
10
13
  }