首页开发

This commit is contained in:
2022-04-06 18:42:14 +08:00
parent e983ba05ea
commit fc3e9885d3
18 changed files with 654 additions and 12 deletions
+12
View File
@@ -0,0 +1,12 @@
.icon_a_cuowuwrong_self {
height: 20px;
width: 20px;
font-size: 27px;
padding: 10px;
border-radius: 50%;
border: #ccc 1px solid;
color: #ccc;
display: flex;
justify-content: center;
align-items: center;
}
+18
View File
@@ -0,0 +1,18 @@
import { View } from "@tarojs/components"
import { memo } from "react"
import style from "./index.module.scss"
type Params = {
onClose?: () => void,
styleObj?: Object
}
export default memo(({onClose, styleObj = {}}:Params) => {
return (
<View
style={styleObj}
className={`iconfont icon-a-cuowuwrong ${style.icon_a_cuowuwrong_self}`}
onClick={onClose}
></View>
)
})