@tplc/business 0.3.77 → 0.3.78
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,20 @@
|
|
|
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.78](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.65...v0.3.78) (2025-03-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.1.66 ([f23f243](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f23f2437450743054ccbfd05dcdd8a24e74a355b))
|
|
11
|
+
* **release:** 0.3.77 ([0e84283](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0e8428369c5fbcaa5e3f77f50cee3391856c33c1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ✨ Features | 新功能
|
|
15
|
+
|
|
16
|
+
* 支持search ([b40bddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b40bddd4bb1441a389475df4dae0ce98dc0176b8))
|
|
17
|
+
* 调整icon ([ded88ce](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ded88ce1bfe0cfd08dbc4cc2843d60ca3f1c2a1b))
|
|
18
|
+
|
|
5
19
|
### [0.3.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.63...v0.3.77) (2025-03-11)
|
|
6
20
|
|
|
7
21
|
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
left
|
|
68
68
|
v-if="styleGroup === 2 && titleLocation === 'left'"
|
|
69
69
|
/>
|
|
70
|
-
<Title v-bind="titleProps" v-else-if="topStyle !== 2" :opacity="
|
|
70
|
+
<Title v-bind="titleProps" v-else-if="topStyle !== 2" :opacity="titleOpacity" />
|
|
71
71
|
</view>
|
|
72
72
|
</view>
|
|
73
73
|
<!-- 中间布局 -->
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<Title
|
|
81
81
|
v-bind="titleProps"
|
|
82
82
|
v-else-if="styleGroup === 2 || titleLocation === 'center'"
|
|
83
|
-
:opacity="
|
|
83
|
+
:opacity="titleOpacity"
|
|
84
84
|
/>
|
|
85
85
|
</view>
|
|
86
86
|
<view
|
|
@@ -192,6 +192,13 @@ const navbarBgOpacity = computed(() => {
|
|
|
192
192
|
}
|
|
193
193
|
return 1
|
|
194
194
|
})
|
|
195
|
+
const titleOpacity = computed(() => {
|
|
196
|
+
const { topStyle, immersionMode } = props
|
|
197
|
+
if (topStyle === 2 && immersionMode === 3) {
|
|
198
|
+
return 1
|
|
199
|
+
}
|
|
200
|
+
return navbarBgOpacity.value
|
|
201
|
+
})
|
|
195
202
|
/** 标题样式 */
|
|
196
203
|
const titleProps = computed(() => {
|
|
197
204
|
return {
|
|
@@ -26,8 +26,8 @@ export interface NavProps extends NavTitleProps {
|
|
|
26
26
|
/** 是否沉浸式状态栏 */
|
|
27
27
|
// 1 标准 2沉浸式
|
|
28
28
|
topStyle?: 1 | 2
|
|
29
|
-
// 沉浸规则 1滑动后恢复 2永久沉浸式
|
|
30
|
-
immersionMode?: 1 | 2
|
|
29
|
+
// 沉浸规则 1滑动后恢复 2永久沉浸式 3 永久沉浸式且显示标题
|
|
30
|
+
immersionMode?: 1 | 2 | 3
|
|
31
31
|
/** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */
|
|
32
32
|
styleGroup?: 1 | 2 | 3 | 4
|
|
33
33
|
/** 背景图片 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.78",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "0.1.
|
|
14
|
+
"@tplc/wot": "0.1.66"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|