@tplc/business 0.3.6 → 0.3.7

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.
@@ -84,7 +84,7 @@
84
84
  </lcb-calendar>
85
85
  <lcb-action-view v-bind="link" :urlParams="stringify(form)">
86
86
  <wd-button type="primary" customClass="!w-full my-42rpx" size="large">
87
- {{ btnText }}
87
+ {{ btnText || `${translate('搜索')}${tabs?.[current]?.label || ''}` }}
88
88
  </wd-button>
89
89
  </lcb-action-view>
90
90
  <view
@@ -134,7 +134,6 @@ const props = withDefaults(defineProps<LcbHomeSearch>(), {
134
134
  backgroundColor: '#ffffff',
135
135
  radius: 16,
136
136
  placeholder: '位置|酒店|关键词',
137
- btnText: '搜索酒店',
138
137
  opacity: 1,
139
138
  })
140
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -7,7 +7,6 @@ declare const _default: import('vue').DefineComponent<
7
7
  backgroundColor: string
8
8
  radius: number
9
9
  placeholder: string
10
- btnText: string
11
10
  opacity: number
12
11
  }
13
12
  >,
@@ -29,7 +28,6 @@ declare const _default: import('vue').DefineComponent<
29
28
  backgroundColor: string
30
29
  radius: number
31
30
  placeholder: string
32
- btnText: string
33
31
  opacity: number
34
32
  }
35
33
  >
@@ -41,7 +39,6 @@ declare const _default: import('vue').DefineComponent<
41
39
  placeholder: string
42
40
  marginHorizontal: number
43
41
  opacity: number
44
- btnText: string
45
42
  },
46
43
  {}
47
44
  >