refactor(home): 优化首页精品服务模块布局
- 在 HomeFeaturesView 组件中添加了一个 content容器,用于更好地组织内容结构 - 调整了 header、DataEmpty 和 items 的层级关系,提高了代码的可读性和可维护性
这个提交包含在:
父节点
35acc240ab
当前提交
05a81e4ff2
@ -22,6 +22,7 @@ type Props = {
|
||||
export default function HomeFeaturesView(props: Props) {
|
||||
return (
|
||||
<View style={styles.contanier}>
|
||||
<View style={styles.content}>
|
||||
<View style={styles.header}>
|
||||
<Image
|
||||
style={styles.background}
|
||||
@ -56,6 +57,7 @@ export default function HomeFeaturesView(props: Props) {
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户