spz-order-shipment
When to Use
When you need to display order logistics, usually used on the order details page.
Code Demonstration
Basic Usage
This component encapsulates all the business logic. We can directly use the encapsulated data to display logistics details.
Template Data
Multilingual data required by the component supports multiple languages and can be used directly. (Only includes data processed by the component, original interface data remains unchanged)
Logistics Package Data:
parsedTime Object Data
parsedProperties Object Data
spz-render with role="tracking-info-render" attribute template data:
istics tracking number|string|
|checkpoints|Information on each checkpoint reached by logistics|Array|
|tagInfo|Logistics status information, e.g.: Delivered on Feb 15, Wed|string|
|primaryColor|Primary color in hexadecimal|string|
|width|Percentage of current logistics progress|string|
Buttons performing various actions need to be configured with the corresponding role attribute value to endow the current button with the respective capabilities, supporting the following types of action capabilities:
Properties
AI Summary (LLM Ready)
- Component ID:
spz-order-shipment - One-line purpose: Display order logistics.
- Detected attribute rows: 0
- Detected method subsections: 0
- Detected event subsections: 0
- Top attribute names: none (needs manual completion)
- Top method names: none (needs manual completion)
- Top event names: none (needs manual completion)
- Reading order: start from usage/examples, then verify attributes, methods, and events.
- Related docs: /en/guide/actions-and-events/ , /en/guide/layouts/