- 选择最接近你目标的配置分组。
- 点击字段,先看“什么时候需要修改”。
- 复制 YAML 片段并只替换需要的值。
模板 templates/**/*.yml
组件模板、页面模板、商店模板和扩展集成模板。
- template 引用 templates/ 的相对路径,不含 .yml。
- 对象递归合并,列表整体替换,不会自动追加 children。
- 集成模板需要原业务插件的有效会话。
本页包含 39 个配置文件选择要查看的文件
templates/back.yml6 个字段templates/bedrock-form.yml16 个字段templates/bedrock-page.yml6 个字段templates/compact/back.yml6 个字段templates/compact/bedrock-form.yml17 个字段templates/compact/bedrock-page.yml8 个字段templates/compact/navigation.yml195 个字段templates/compact/shop-category.yml23 个字段templates/compact/shop-product.yml142 个字段templates/integrations/basictool/module-tabs.yml76 个字段templates/integrations/basictool/rank-card.yml191 个字段templates/integrations/basictool/rank-name.yml81 个字段templates/integrations/basictool/setting-card.yml101 个字段templates/integrations/basictool/setting-entry.yml232 个字段templates/integrations/basictool/setting-preview.yml18 个字段templates/integrations/basictool/settings-panel-control.yml93 个字段templates/integrations/basictool/settings-panel-row.yml241 个字段templates/integrations/basictool/settings-panel.yml261 个字段templates/integrations/basictool/settings.yml901 个字段templates/integrations/basictool/statistics-field.yml44 个字段templates/integrations/basictool/statistics-game.yml38 个字段templates/integrations/basictool/statistics-record.yml36 个字段templates/integrations/basictool/statistics.yml614 个字段templates/integrations/basictool/voucher-ticket.yml85 个字段templates/integrations/basictool/vouchers.yml331 个字段templates/integrations/fotiacosmetic/entry.yml73 个字段templates/integrations/fotiacosmetic/entry_compact.yml73 个字段templates/integrations/fotiacosmetic/entry_unified.yml112 个字段templates/integrations/fotiacosmetic/entry_unified_compact.yml112 个字段templates/integrations/fotiacosmetic/page.yml277 个字段templates/integrations/fotiacosmetic/page_compact.yml278 个字段templates/integrations/fotiacosmetic/page_unified.yml302 个字段templates/integrations/fotiacosmetic/page_unified_compact.yml303 个字段templates/integrations/fotiacosmetic/preview.yml134 个字段templates/integrations/fotiacosmetic/preview_compact.yml151 个字段templates/integrations/fotiacosmetic/preview_unified.yml144 个字段templates/integrations/fotiacosmetic/preview_unified_compact.yml161 个字段templates/shop-category.yml23 个字段templates/shop-product.yml131 个字段product_card
templates/shop-product.yml以下内容来自插件当前默认资源。先确定你想改变的功能,再选择配置分组;技术路径只用于在 YAML 中准确定位。
先看懂这个文件
可复用模板
模板相对路径就是引用名;对象递归合并,列表整体替换。
templatelayoutcomponents / childrenstates
03字段教程
文本
组件唯一 ID
id
这项配置控制什么
同一菜单内唯一,仅字母、数字、下划线;列表展开时会自动添加条目前缀。
什么时候需要修改
需要调整「组件唯一 ID」对应的行为时修改;具体约束见上方用途与填写规则。
可以怎样填写
文本。同一菜单内唯一,仅字母、数字、下划线;列表展开时会自动添加条目前缀。
当前默认值
product_card可复制的 YAML 片段
# 这是文件根级字段
id: product_card修改步骤
- 先在服务器中找到路径
id。 - 在冒号后修改内容。值中包含 #、: 或其他特殊字符时,建议保留原有引号。
- 保存文件并执行
/fui reload,随后查看控制台。
注意事项
保持 YAML 类型与缩进;有模板、资源或语言改动时用完整 /fui reload。业务动作最终仍会检查真实状态。