通用组件开发

This commit is contained in:
juguohong
2025-08-17 00:00:56 +08:00
parent 86e14cb445
commit 4f6ca73148
25 changed files with 2554 additions and 24 deletions

View File

@@ -0,0 +1,7 @@
.list {
background: #fafafa;
margin-top: 12px;
display: flex;
flex-direction: column;
gap: 5px;
}

View File

@@ -0,0 +1,16 @@
import { View } from '@tarojs/components'
import './index.scss'
interface ListProps {
children: React.ReactNode
}
const List: React.FC<ListProps> = ({ children }) => {
return (
<View className="list">
{children}
</View>
)
}
export default List