参数
无控制属性
无示例
根据条件显示图标。arc:case 元素与 company_name 属性值匹配 “CompanyA” 和 “CompanyB”,如果满足其中一种,则会采取与此情况关联的操作。另请参阅
- arc:select:编写一个多选 ArcScript 代码块。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
定义 arc:select 中的回退块,当没有 arc:case 值与所选值匹配时执行。
<arc:select value="[company_name]">
<arc:case value="CompanyA">
<img src="http://www.companya.com/favicon.ico" />
</arc:case>
<arc:case value="CompanyB">
<img src="http://www.companyb.com/favicon.ico" />
</arc:case>
<arc:default>
<img src="http://www.myhosting.com/generic.ico"/>
</arc:default>
</arc:select>