@tplc/business 0.0.33 → 0.0.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,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.34](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.33...v0.0.34) (2024-10-20)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * video bind ([4ad53eb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4ad53eb1391aba69753f3b3ef33d4bbd94ffe479))
11
+
5
12
  ### [0.0.33](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.32...v0.0.33) (2024-10-20)
6
13
 
7
14
  ### [0.0.32](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.31...v0.0.32) (2024-10-20)
@@ -52,13 +52,15 @@ watch(
52
52
  deep: true,
53
53
  },
54
54
  )
55
- const queryList = async (pageNo: number, pageSize: number) => {
55
+ const queryList = async (page: number, limit: number) => {
56
56
  try {
57
57
  const { data } = await uni.$lcb.http.post(props.url, {
58
58
  ...props.baseParam,
59
59
  ...props.filter,
60
- pageNo,
61
- pageSize,
60
+ pageSearch: {
61
+ limit,
62
+ page,
63
+ },
62
64
  })
63
65
  paging.value.complete(data)
64
66
  } catch (error) {
@@ -3,8 +3,8 @@
3
3
  <wd-sticky @sticky="sticky = $event">
4
4
  <view
5
5
  :class="{
6
- 'lcb-filter__border-top': styleMode === 'plain' && !sticky ? false : border,
7
- 'lcb-filter__plain': styleMode === 'plain' && !sticky,
6
+ 'lcb-filter__border-top': showPlain ? false : border,
7
+ 'lcb-filter__plain': showPlain,
8
8
  }"
9
9
  class="w-100vw"
10
10
  >
@@ -72,7 +72,7 @@
72
72
  </template>
73
73
 
74
74
  <script setup lang="ts">
75
- import { inject, Ref, ref, watch } from 'vue'
75
+ import { computed, inject, Ref, ref, watch } from 'vue'
76
76
  import { LcbListProps } from './types'
77
77
  import { FilterComponent, getFilterDetail, LcbFilterResult } from './api'
78
78
  import FilterSelect from './components/FilterSelect/index.vue'
@@ -108,6 +108,10 @@ const filter = ref<Record<string, any>>({})
108
108
  const titleObj = ref<Record<string, any>>({})
109
109
  /** 是否悬停 */
110
110
  const sticky = ref(false)
111
+ const showPlain = computed(() => {
112
+ console.log(props.styleMode, sticky.value, 'showPlain')
113
+ return props.styleMode === 'plain' && !sticky.value
114
+ })
111
115
  watch(
112
116
  () => props.pageFilterType,
113
117
  async (val) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],