@tplc/business 0.0.71 → 0.0.72
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,13 @@
|
|
|
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.0.72](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.71...v0.0.72) (2024-11-22)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
9
|
+
|
|
10
|
+
* lcb-nav 兼容page-scroll-top ([e809efd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e809efddf1559a42c48140cae80e4081542fa123))
|
|
11
|
+
|
|
5
12
|
### [0.0.71](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.66...v0.0.71) (2024-11-22)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -19,7 +19,7 @@ import { computed, getCurrentInstance, onMounted, ref, watch } from 'vue'
|
|
|
19
19
|
import useZPaging from 'z-paging/components/z-paging/js/hooks/useZPaging'
|
|
20
20
|
import { LcbFilterListProps } from './type'
|
|
21
21
|
import { formatJson } from '../../../../utils/utils'
|
|
22
|
-
import { getRect } from '@tplc/wot/components/common/util'
|
|
22
|
+
import { getRect, isH5 } from '@tplc/wot/components/common/util'
|
|
23
23
|
|
|
24
24
|
defineOptions({
|
|
25
25
|
name: 'FilterList',
|
|
@@ -93,9 +93,14 @@ const queryList = async (page: number, limit: number) => {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
const { proxy } = getCurrentInstance() as any
|
|
96
|
+
const isTabBar = uni.$lcb.getIsTabbar()
|
|
96
97
|
onMounted(() => {
|
|
97
98
|
getRect(`#pagingTop`, false, proxy).then((res) => {
|
|
98
|
-
|
|
99
|
+
if (!isTabBar || isH5) {
|
|
100
|
+
height.value = `${viewPageHeight - (res.top || 0)}px`
|
|
101
|
+
} else {
|
|
102
|
+
height.value = `calc(${viewPageHeight - (res.top || 0)}px - var(--window-bottom) - env(safe-area-inset-bottom))`
|
|
103
|
+
}
|
|
99
104
|
})
|
|
100
105
|
})
|
|
101
106
|
</script>
|
|
@@ -108,6 +113,7 @@ onMounted(() => {
|
|
|
108
113
|
gap: 50rpx;
|
|
109
114
|
padding: 20rpx 52rpx;
|
|
110
115
|
box-sizing: border-box;
|
|
116
|
+
|
|
111
117
|
:deep(.wd-button) {
|
|
112
118
|
height: 100%;
|
|
113
119
|
line-height: 100%;
|