@if (meta.description) { {{ meta.description }}
}
@if (contextOrder(); as order) { 订单号:{{ order['OrderNo'] || order['ID'] }}
@for (item of contextCarts(); track $index) {
{{ contextProductName(item) }}×{{ item['Pronum'] || 1 }} } }
@if (addRoute()) { }
@if (meta.tabs?.length) {
@for (tab of meta.tabs; track tab; let index = $index) {
}
}
@if (meta.actions?.length) {
@for (action of meta.actions; track action.label) {
@if (action.scope !== 'item') {
}
}
}
@if (loading()) {
正在加载
} @else if (error()) {
数据加载失败{{ error() }}
} @else if (items().length) {
@for (item of items(); track $index) {
@if (imageOf(item); as image) {
}
{{ titleOf(item) }}
@if (meta.path === 'pages/shop/order_comment') {
@for (star of [1,2,3,4,5]; track star) { ★ }
}@if (subtitleOf(item)) {
{{ subtitleOf(item) }}
}@if (bodyOf(item)) {
{{ bodyOf(item) }}
}
@if (itemActions(item).length) {
@for (action of itemActions(item); track $index) {
}
}
@if (meta.deleteAction) { }
@if (meta.itemRoute) { }
}
} @else if (detail()) {
@for (entry of detailEntries(); track entry.key) { - {{ entry.key }}
- {{ entry.value }}
}
} @else {
{{ meta.emptyText || '暂无数据' }}
}
@if (selectedAction(); as action) {