<div>
<span>适用平台:</span>
<span>{(() => {
switch (currentItems.usePlatform) {
case 0:
return '全平台可用'
case 1:
return '淘宝'
case 2:
return '美团'
case 3:
return '爱奇艺'
case 4:
return '腾讯'
default:
return null
}
}
)()}</span>
</div>
<div>
<span>适用平台:</span>
<span>{(() => {
switch (currentItems.usePlatform) {
case 0:
return '全平台可用'
case 1:
return '淘宝'
case 2:
return '美团'
case 3:
return '爱奇艺'
case 4:
return '腾讯'
default:
return null
}
}
)()}</span>
</div>