@tplc/business 0.4.8 → 0.4.10

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,10 @@
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.10](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.9...v0.4.10) (2025-03-25)
6
+
7
+ ### [0.4.9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.8...v0.4.9) (2025-03-25)
8
+
5
9
  ### [0.4.8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.7...v0.4.8) (2025-03-25)
6
10
 
7
11
  ### [0.4.7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.6...v0.4.7) (2025-03-25)
@@ -47,11 +47,15 @@
47
47
  backgroundColor: `rgba(241,241, 241, ${opacity})`,
48
48
  }"
49
49
  />
50
- <input
51
- class="text-[var(--content-color)] text-28rpx flex-1 mr-3"
52
- :placeholder="placeholder"
53
- v-model="form.keywords"
54
- />
50
+ <lcb-action-view
51
+ custom-class="!text-28rpx !flex-1 !mr-3"
52
+ :customStyle="{
53
+ color: form.keywords ? 'var(--content-color)' : '#969696',
54
+ }"
55
+ v-bind="inputLink"
56
+ >
57
+ {{ form.keywords || placeholder }}
58
+ </lcb-action-view>
55
59
  <view class="justify-center flex flex-col items-center" @click="getLocation(true)">
56
60
  <wd-loading size="30rpx" v-if="locationIng" />
57
61
  <img
@@ -11,4 +11,5 @@ export interface LcbHomeSearch extends LcbBlockProps {
11
11
  value: string
12
12
  }[]
13
13
  link?: LcbActionViewProps
14
+ inputLink?: LcbActionViewProps
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -10,4 +10,5 @@ export interface LcbHomeSearch extends LcbBlockProps {
10
10
  value: string
11
11
  }[]
12
12
  link?: LcbActionViewProps
13
+ inputLink?: LcbActionViewProps
13
14
  }
@@ -50,8 +50,8 @@ declare const __VLS_component: import('vue').DefineComponent<
50
50
  paddingHorizontal: number
51
51
  paddingVertical: number
52
52
  imageWidth: number
53
- imageHeight: number
54
53
  column: number
54
+ imageHeight: number
55
55
  listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
56
56
  titleLineClamp: number
57
57
  sourceMode: 1 | 2
package/utils/utils.ts CHANGED
@@ -47,7 +47,7 @@ export const getPreviousPageId = () => {
47
47
  }
48
48
  getPageId: () => number
49
49
  }
50
- return isH5 ? page.$page.id : page.getPageId?.()
50
+ return isH5 ? page?.$page?.id : page?.getPageId?.()
51
51
  }
52
52
  /** 合并url参数 url = /pages/data/index?id=1&name=2 urlParams = id=1&name=2&type=1 */
53
53
  export const getFinalUrl = (url: string, urlParams?: string) => {