Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
blocks 小程序可用的全部组件、属性与取值范围
vstack
hstack
gap
align
padding
children
zstack
text
value
size
weight
button
label
icon
variant
action
disabled
image
url
width
height
fit
alt
name
spacer
divider
progress
max
input
placeholder
select
options
xs
small
medium
large
xl
start
center
end
stretch
regular
bold
primary
secondary
danger
flat
contain
cover
fill
E_INVALID_BLOCKS
{ type: "vstack", gap: "small", padding: "medium", children: [ { type: "text", value: "全场最高分", weight: "bold", size: "large" }, { type: "divider" }, { type: "progress", value: 40, max: 100 }, { type: "hstack", gap: "small", children: [ { type: "button", label: "加注", action: "raise", variant: "primary" }, { type: "button", label: "弃牌", action: "fold", variant: "flat" }, ], }, ], }
ctx.action_id
onAction
ctx.inputs
此页面对您有帮助吗?