fix: 显式绑定餐饮首页按钮样式
This commit is contained in:
1 parent
b3e37827cf
commit
056e7d3711
2 files changed
+6
-3
No files matched your search
@@ -29,8 +29,10 @@ function Home({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
{p.stallTime && <Text className="notice-time">{p.stallTime}</Text>}
|
||||
</View>
|
||||
<View className="actions">
|
||||
<Button onClick={() => navigate("inquiry")}>咨询 / 预订</Button>
|
||||
<Button className="muted" onClick={() => navigate("offerings")}>
|
||||
<Button className="home-action" onClick={() => navigate("inquiry")}>
|
||||
咨询 / 预订
|
||||
</Button>
|
||||
<Button className="home-action muted" onClick={() => navigate("offerings")}>
|
||||
查看餐品
|
||||
</Button>
|
||||
</View>
|
||||
|
||||
@@ -127,7 +127,8 @@
|
||||
gap: 14px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.food-home .actions button {
|
||||
.food-home .actions button,
|
||||
.food-home .actions .home-action {
|
||||
flex: 0 0 calc(50% - 7px);
|
||||
width: calc(50% - 7px);
|
||||
min-width: 0;
|
||||
|
||||
Reference in new issue
Block a user