Files
mini-yu/uni_modules/tdesign-uniapp/components/scroll-view/scroll-view.vue
lingxiao865 c5af079d8c first commit
2026-02-10 08:05:03 +08:00

53 lines
769 B
Vue

<template>
<scroll-view
:class="tClass"
type="list"
scroll-y
enhanced
:show-scrollbar="false"
:scroll-into-view="scrollIntoView"
>
<slot />
</scroll-view>
</template>
<script>
import { uniComponent } from '../common/src/index';
import { prefix } from '../common/config';
// import { canUseProxyScrollView } from '../common/version';
const name = `${prefix}-scroll-view`;
export default uniComponent({
name,
options: {
styleIsolation: 'shared',
},
externalClasses: [`${prefix}-class`],
props: {
scrollIntoView: {
type: [String, Number, null],
default: null,
},
},
data() {
return {
};
},
watch: {
},
mounted() {
},
methods: {
},
});
</script>
<style scoped>
</style>