@tplc/business 0.2.19 → 0.2.20

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,8 @@
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.2.20](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.19...v0.2.20) (2024-12-06)
6
+
5
7
  ### [0.2.19](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.18...v0.2.19) (2024-12-06)
6
8
 
7
9
  ### [0.2.18](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.14...v0.2.18) (2024-12-06)
@@ -190,7 +190,7 @@ const onChooseAvatar = async (e) => {
190
190
  margin: 0;
191
191
  color: inherit;
192
192
  font-size: inherit;
193
- display: inline-block;
193
+ // display: inline-block;
194
194
  line-height: normal;
195
195
  border-radius: inherit;
196
196
  overflow: inherit;
@@ -1,23 +1,31 @@
1
1
  <template>
2
- <lcb-action-view
3
- :custom-class="{
4
- center_mod: !left,
5
- 'pl-7': back && !left,
6
- 'pr-90px': hasCapsule,
2
+ <view
3
+ :class="{
4
+ '!flex-1': !left,
5
+ '!pl-7': back && !left,
6
+ '!pr-90px': hasCapsule,
7
7
  'search-view': true,
8
8
  }"
9
- v-bind="link"
10
9
  >
10
+ <lcb-action-view v-bind="link" v-if="link">
11
+ <wd-search
12
+ custom-class="search-input"
13
+ :placeholder="searchText"
14
+ placeholder-left
15
+ hide-cancel
16
+ :disabled="Boolean(link)"
17
+ />
18
+ </lcb-action-view>
11
19
  <wd-search
20
+ v-else
12
21
  custom-class="search-input"
13
22
  :placeholder="searchText"
14
23
  placeholder-left
15
24
  hide-cancel
16
- :disabled="Boolean(link)"
17
25
  @search="onSearch"
18
26
  @clear="onSearch"
19
27
  />
20
- </lcb-action-view>
28
+ </view>
21
29
  </template>
22
30
 
23
31
  <script setup lang="ts">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],