@if (error()) {

{{ error() }}

} @else if (product()) {
@if (gallery().length > 1) { }

{{ name() }}

¥{{ price() | number:'1.2-2' }}

库存:{{ stock() || '充足' }}

@if (specConfig(); as specs) {
@for (group of specs.groups; track group.name; let groupIndex = $index) {

{{ group.name }}

@for (option of group.properties; track option.key) { }
}
}
购买数量

商品详情

用户评价 ({{ comments().length }})

@for (comment of comments(); track comment['ID'] ?? $index) {
{{ comment['IsAnonymous'] ? '匿名用户' : comment['HoneyName'] || comment['UserName'] || '用户' }}
{{ comment['Score'] || 5 }}

{{ comment['MsgContent'] || comment['Content'] || comment['Title'] }}

} @empty {

暂无评价

}
}