🎈 perf(购物页面): 新增下拉刷新数据

This commit is contained in:
xuan
2022-09-28 11:02:09 +08:00
parent d6e9107276
commit 4f09a902ac
3 changed files with 39 additions and 14 deletions
+5 -6
View File
@@ -1,5 +1,6 @@
import { View, Text } from "@tarojs/components"
import { memo } from "react"
import IconFont from "../iconfont/iconfont"
import style from "./index.module.scss"
type Params = {
@@ -9,12 +10,10 @@ type Params = {
export default memo(({onClose, styleObj = {}}:Params) => {
return (
<View
style={styleObj}
className={style.icon_a_cuowuwrong_self}
onClick={onClose}
>
<Text className={`iconfont icon-guanbi ${style.icon_a_btn}`}></Text>
<View style={styleObj} className={style.icon_a_cuowuwrong_self} onClick={onClose}>
<View className={style.icon_a_btn}>
<IconFont name='icon-guanbi' size={30} color='#ccc'></IconFont>
</View>
</View>
)
})
-1
View File
@@ -19,7 +19,6 @@
height: 60px;
flex: 1 1 auto;
padding-left: 60px;
padding-right: 30px;
background: #eee;
box-sizing: border-box;
display: flex;