@tplc/business 0.0.68 → 0.0.71

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,40 @@
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.71](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.66...v0.0.71) (2024-11-22)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * home-search-ui 调整 ([c894815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c894815dd55d471dd8d240730778fd3ef41c76db))
11
+ * lcb-title 新增更多配置 ([0be4376](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0be4376cc7c5552a19f6f19b3088276a0fec5218))
12
+ * wd-popup 兼容小程序 ([121367c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/121367c6d45e78f47fe160ce98626aeb0e63e8ec))
13
+
14
+
15
+ ### 🚀 Chore | 构建/工程依赖/工具
16
+
17
+ * **release:** 0.0.67 ([9855458](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/985545875348ab644c95b28805dbd8e2e7ceaf54))
18
+ * **release:** 0.0.68 ([cebb1d9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cebb1d917b7f569a8221b69bf0f4f9208673d67e))
19
+ * **release:** 0.0.69 ([e70c23f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e70c23fbd74800637ccb37284cdfbef198925dab))
20
+ * **release:** 0.0.70 ([885499f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/885499fa64b2fe55872e53ba47e7988604cd9c2d))
21
+ * **release:** 0.1.29 ([2736f92](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2736f92697545d412715c6719b36428e12bb3cea))
22
+ * **release:** 0.1.30 ([6a745ec](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6a745ec7682e9e655d3f3ffd31a4d946551800f8))
23
+
24
+
25
+ ### 🐛 Bug Fixes | Bug 修复
26
+
27
+ * 修复lcb-city-select 小程序无法选中锚点 ([93b3d2f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93b3d2f31bab14d4dc85abbd835e8c659a917dde))
28
+
29
+ ### [0.0.70](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.69...v0.0.70) (2024-11-21)
30
+
31
+ ### [0.0.69](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.68...v0.0.69) (2024-11-21)
32
+
33
+
34
+ ### ✨ Features | 新功能
35
+
36
+ * home-search-ui 调整 ([c894815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c894815dd55d471dd8d240730778fd3ef41c76db))
37
+ * wd-popup 兼容小程序 ([121367c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/121367c6d45e78f47fe160ce98626aeb0e63e8ec))
38
+
5
39
  ### [0.0.68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.30...v0.0.68) (2024-11-21)
6
40
 
7
41
  ### [0.0.67](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.29...v0.0.67) (2024-11-21)
@@ -38,8 +38,9 @@
38
38
  <lcb-city-list :list="lcbAddress" :keyword="searchValue" @click="onAddressClick" />
39
39
  </view>
40
40
  <view
41
+ v-if="isOver"
41
42
  :class="{
42
- '!hidden': !(!showList && isOver),
43
+ '!hidden': showList,
43
44
  }"
44
45
  class="flex-1 h-0"
45
46
  >
@@ -148,22 +148,24 @@ const getDayName = (time: number) => {
148
148
  }
149
149
  </script>
150
150
  <style lang="scss" scoped>
151
+ @import '@tplc/wot/components/common/abstracts/variable';
151
152
  .search-view {
152
153
  // border-radius: 16rpx;
153
154
  border-top-left-radius: 16rpx;
154
155
  border-top-right-radius: 16rpx;
156
+ overflow: hidden;
155
157
  .search-tab {
156
158
  flex: 1;
157
159
  text-align: center;
158
160
  font-size: 30rpx;
159
161
  padding: 24rpx 0;
160
- color: #999;
162
+ color: #333;
161
163
  }
162
164
  .active {
163
- color: #000;
165
+ color: $-color-theme;
164
166
  font-weight: bold;
165
- border-top-left-radius: 16rpx;
166
- border-top-right-radius: 16rpx;
167
+ // border-top-left-radius: 16rpx;
168
+ // border-top-right-radius: 16rpx;
167
169
  // &-left {
168
170
  // border-bottom-right-radius: 16rpx;
169
171
  // }
@@ -80,7 +80,7 @@
80
80
 
81
81
  <script setup lang="ts">
82
82
  import { addUnit } from '@tplc/wot/components/common/util'
83
- import { computed } from 'vue'
83
+ import { computed, inject } from 'vue'
84
84
  import { ICapsule, NavProps } from './types'
85
85
  import Title from './Title/index.vue'
86
86
  import Search from './Search/index.vue'
@@ -104,6 +104,7 @@ const iconMap = {
104
104
  home: 'shouye_home1',
105
105
  }
106
106
  const [scrollTop] = usePageScroll()
107
+ const injectScrollTop = inject('page-scroll-top', { value: 0 })
107
108
  const props = withDefaults(defineProps<NavProps>(), {
108
109
  styleGroup: 1,
109
110
  titleLocation: 'center',
@@ -132,7 +133,9 @@ const isLastPage = () => {
132
133
  const navbarBgOpacity = computed(() => {
133
134
  const { topStyle, immersionMode } = props
134
135
  if (topStyle === 2) {
135
- return immersionMode === 1 ? scrollTop.value / ((statusBarHeight || 0) + 44) : 0
136
+ return immersionMode === 1
137
+ ? (scrollTop.value || injectScrollTop.value) / ((statusBarHeight || 0) + 44)
138
+ : 0
136
139
  }
137
140
  return 1
138
141
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.0.68",
3
+ "version": "0.0.71",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],