为什么这个Bixby布局无法渲染?
尽管有指示,Bixby无法显示来自对象的段落文本 我正在尝试将销售衬衫的bixby basic transactional capsule改造为销售内容包为什么这个Bixby布局无法渲染?,bixby,bixbystudio,Bixby,Bixbystudio,尽管有指示,Bixby无法显示来自对象的段落文本 我正在尝试将销售衬衫的bixby basic transactional capsule改造为销售内容包 layout-macro-def (pack-details) { params { param (pack) { type (Pack) min (Required) max (One) } } content { section { content {
layout-macro-def (pack-details) {
params {
param (pack) {
type (Pack)
min (Required) max (One)
}
}
content {
section {
content {
title-area {
halign (Start)
slot1 {
text {
value ("#{value(pack.title)}")
style (Title_L)
}
}
slot2 {
single-line {
text {
value ("#{value(pack.price)}")
style (Title_S)
}
}
}
slot3 {
single-line {
text {
value ("#{value(pack.brand)}#{value(pack.tag)}")
style (Detail_L_Soft)
}
}
}
}
paragraph {
value ("#{value(pack.description)}")
style (Detail_M)
}
}
}
}
}
我希望细节包括一段描述对象的文字。
这是来自调试器的
Layout
Logs
resources/base/Pack_Result.view.bxb
Looking up result-view for 1.7.3-altbrains.quotations.Pack
Evaluate render block
Evaluating < #{size(this) > 1} > false
Evaluating < #{size(this) == 1} > true
resources/base/Pack_Result.view.bxb
resources/base/layout/DetailsSection.layout.bxb
Calling layout-macro `pack-details`
[section]
[title-area]
[slot1]
[text]
[slot2]
[single-line]
[text]
[slot3]
[single-line]
[text]
halign Start
[paragraph]
Could not render template
布局
日志
资源/base/Pack_Result.view.bxb
查找1.7.3-altbrains.quotes.Pack的结果视图
评估渲染块
评估<#{size(this)>1}>错误
计算<#{size(this)==1}>true
资源/base/Pack_Result.view.bxb
资源/base/layout/DetailsSection.layout.bxb
调用布局宏“包详细信息”`
[部分]
[标题区]
[slot1]
[正文]
[slot2]
[单行]
[正文]
[slot3]
[单行]
[正文]
哈利恩起动
[段]
无法呈现模板
检查此URL以使用权限
如果您在“值”中使用模板,它将呈现您想要的内容
paragraph {
value {
template ("#{value(hotel.description)}")
}
style (Detail_M)
}
你能给我看看模板本身是什么样子吗?