fix: 补齐餐饮首页可编辑区域
This commit is contained in:
1 parent
66dbba5748
commit
df2b1f6031
5 files changed
+79
-5
No files matched your search
@@ -29,12 +29,12 @@ function Home({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
<Text>{text(brand.address)}</Text>
|
||||
{p.stallTime && <Text className="notice-time">{p.stallTime}</Text>}
|
||||
</View>
|
||||
<View className="actions">
|
||||
<View className="actions" data-editor-target="food.home.actions">
|
||||
<Button className="home-action" onClick={() => navigate("inquiry")}>
|
||||
咨询 / 预订
|
||||
{p.primaryAction || "咨询 / 预订"}
|
||||
</Button>
|
||||
<Button className="home-action muted" onClick={() => navigate("offerings")}>
|
||||
查看餐品
|
||||
{p.secondaryAction || "查看餐品"}
|
||||
</Button>
|
||||
</View>
|
||||
</View>
|
||||
@@ -57,7 +57,7 @@ function Home({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
<Text className="heading">{p.worksTitle || "可选餐品"}</Text>
|
||||
</View>
|
||||
<Text className="more" onClick={() => navigate("offerings")}>
|
||||
查看全部 ›
|
||||
{p.moreAction || "查看全部"} ›
|
||||
</Text>
|
||||
</View>
|
||||
<View className="dish-grid">
|
||||
|
||||
Reference in new issue
Block a user