This commit is contained in:
dzc committed 2024-11-12 09:43:02 +08:00
1 parent 983674cfc9
commit 96a9bdfec8
18 files changed
+611 -117

No files matched your search

@@ -588,7 +588,6 @@ export default {
<style lang="scss" scoped>
.tmDrawerFooter {
width: 100%;
padding: 0 24rpx 0px 24rpx;
box-sizing: border-box;
}
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, ref, onMounted, watch, PropType } from "vue";
import { computed, ref, onMounted, watch, type PropType } from "vue";
import { arrayNumberValid, getUid, arrayNumberValidByStyleMP, arrayNumberValidByStyleBorderColor, arrayNumberValidByStyleBorderStyle, covetUniNumber, linearValid, getUnit } from "../../libs/tool";
import { useTmConfig } from "../../libs/config";
import { getDefaultColor, getDefaultColorObj, getOutlineColorObj, getTextColorObj, getThinColorObj } from "../../libs/colors";
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, ref, onMounted, watch, PropType } from "vue";
import { computed, ref, onMounted, watch, type PropType } from "vue";
import { arrayNumberValid, getUid, arrayNumberValidByStyleMP, arrayNumberValidByStyleBorderColor, arrayNumberValidByStyleBorderStyle, covetUniNumber, linearValid, getUnit } from "../../libs/tool";
import { useTmConfig } from "../../libs/config";
import { getDefaultColor, getDefaultColorObj, getOutlineColorObj, getTextColorObj, getThinColorObj } from "../../libs/colors";
@@ -28,15 +28,15 @@ export default {
};
</script>
<style lang="css" scoped>
.tmSticky{
.tmSticky {
position: relative;
}
</style>
<template>
<view class="tmSticky">
<!--
<view class="tmSticky">
<!--
@slot 正常布局内容,如果想粘性头,tm-sticky-header组件必须是直接子节点组件
-->
<slot></slot>
</view>
<slot></slot>
</view>
</template>