@tplc/wot 0.1.48 → 0.1.49
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 +17 -0
- package/components/wd-backtop/wd-backtop.vue +10 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
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.1.49](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.42...v0.1.49) (2024-12-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.1.48 ([c3e0993](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/c3e0993578687c9d13175dc6f8e0d0e10cd17701))
|
|
11
|
+
* **release:** 0.2.43 ([086f3d7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/086f3d7b3bb3db09ee60b1cd1c0078fc62fac8ab))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ✨ Features | 新功能
|
|
15
|
+
|
|
16
|
+
* calendar 支持 open cancel 事件 ([a93093a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a93093ab96b0365986ce0c426b49164ca0064b6e))
|
|
17
|
+
* lcb-calendar 新增confirm 事件回调 ([0b7a090](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0b7a090e4200e299bc3cf6f6d49e0864ee8466b5))
|
|
18
|
+
* wot ([b9a942a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b9a942a41a98caf326392c2f0ab5c583ae7318dd))
|
|
19
|
+
* 增加 product-item 各类文本字体相关配置 ([091cec0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/091cec051ce4639e73f1b9933857bdb768d0e552))
|
|
20
|
+
* 支持poster ([619043a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/619043abbb55908206793076003471666be76f47))
|
|
21
|
+
|
|
5
22
|
### [0.1.48](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.43...v0.1.48) (2024-12-30)
|
|
6
23
|
|
|
7
24
|
### [0.1.47](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.37...v0.1.47) (2024-12-26)
|
|
@@ -28,15 +28,22 @@ export default {
|
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
30
|
<script lang="ts" setup>
|
|
31
|
-
import { computed,
|
|
31
|
+
import { computed, ref } from 'vue'
|
|
32
32
|
import { backtopProps } from './types'
|
|
33
|
-
|
|
33
|
+
import { onPageScroll } from '@dcloudio/uni-app'
|
|
34
|
+
const scrollTop = ref(0)
|
|
34
35
|
const props = defineProps(backtopProps)
|
|
35
36
|
|
|
36
37
|
const show = computed(() => scrollTop.value > props.top)
|
|
37
|
-
|
|
38
|
+
onPageScroll((e) => {
|
|
39
|
+
scrollTop.value = e.scrollTop
|
|
40
|
+
})
|
|
38
41
|
function handleBacktop() {
|
|
39
42
|
scrollTop.value = 0
|
|
43
|
+
uni.pageScrollTo({
|
|
44
|
+
scrollTop: 0,
|
|
45
|
+
duration: props.duration,
|
|
46
|
+
})
|
|
40
47
|
}
|
|
41
48
|
</script>
|
|
42
49
|
|