@tplc/business 0.5.22 → 0.5.27

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.
@@ -8,11 +8,9 @@
8
8
  padding: `${transformValueUnit(paddingTop || paddingVertical || 0)} ${transformValueUnit(paddingRight || paddingHorizontal || 0)} ${transformValueUnit(paddingBottom || paddingVertical || 0)} ${transformValueUnit(paddingLeft || paddingHorizontal || 0)}`,
9
9
  borderRadius: `${transformValueUnit(topRadius || radius)} ${transformValueUnit(topRadius || radius)} ${transformValueUnit(bottomRadius || radius)} ${transformValueUnit(bottomRadius || radius)}`,
10
10
  color,
11
- backgroundColor: innerBackgroundColor,
12
- backgroundImage: backgroundImage ? `url('${backgroundImage}')` : '',
13
- backgroundRepeat,
14
- backgroundPosition,
15
- backgroundSize,
11
+ background: backgroundImage
12
+ ? `url('${backgroundImage}') ${backgroundPosition} / ${backgroundSize} ${backgroundRepeat}`
13
+ : innerBackgroundColor,
16
14
  fontSize: transformValueUnit(fontSize),
17
15
  fontWeight,
18
16
  borderColor,
@@ -106,7 +106,7 @@
106
106
  <view
107
107
  class="fixed left-0 w-full z-2 bg-white"
108
108
  :style="{ height: height, top: top }"
109
- v-if="form?.keywords && productTypeList && top"
109
+ v-if="form?.keywords && productTypeList?.length && top"
110
110
  >
111
111
  <lcb-search-list
112
112
  :productTypeList="productTypeList"
@@ -246,7 +246,7 @@ const onCancel = () => {
246
246
  uni.navigateBack()
247
247
  }
248
248
  watchEffect(() => {
249
- popupProvide.value = form.value?.keywords && props.productTypeList && top
249
+ popupProvide.value = form.value?.keywords && props.productTypeList?.length && top
250
250
  })
251
251
  const onClear = () => {
252
252
  form.value.keywords = ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.22",
3
+ "version": "0.5.27",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],