fix: 完善模板可视化编辑闭环与通用验收
This commit is contained in:
1 parent
fa6b492bce
commit
22a82dbfba
39 files changed
+7773
-443
No files matched your search
@@ -222,7 +222,11 @@ function Service({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
)}
|
||||
<Text>{text(process.config.refundNote)}</Text>
|
||||
</View>
|
||||
<Button className="process-action" onClick={() => navigate("inquiry")}>
|
||||
<Button
|
||||
data-editor-target="food.service.process-action"
|
||||
className="process-action"
|
||||
onClick={() => navigate("inquiry")}
|
||||
>
|
||||
{p.processAction || "立即咨询"} →
|
||||
</Button>
|
||||
</View>
|
||||
@@ -461,7 +465,9 @@ function OfferingList({ workspace }: { workspace: RuntimeWorkspace }) {
|
||||
<Text className="subtitle">{item.desc}</Text>
|
||||
<View className="dish-bottom">
|
||||
<Text className="price">{item.priceRange}</Text>
|
||||
<Text className="more">{p.detailAction || "查看详情 ›"}</Text>
|
||||
<Text className="more" data-editor-target="acheng-campus-food.offerings.action">
|
||||
{p.detailAction || "查看详情 ›"}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
@@ -560,7 +566,7 @@ function Detail({ workspace, id }: { workspace: RuntimeWorkspace; id?: string })
|
||||
))}
|
||||
</View>
|
||||
</View>
|
||||
<View className="bar">
|
||||
<View className="bar" data-editor-target="acheng-campus-food.detail.action">
|
||||
<Button onClick={() => navigate("inquiry", { offeringId: item.id })}>
|
||||
{p.inquiryAction || "咨询 / 提前预订"}
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user