i18n 给变量单独设置样式
template:
<i18n path="totalBuy" tag="span" :for="item.purchaseMboxAmount">
<span class="item-text">{{ item.purchaseMboxAmount }}</span>
</i18n>
翻译:
{
totalBuy: "累计购买盲盒 {0} 个",
}
输出:

template:
<i18n path="totalBuy" tag="span" :for="item.purchaseMboxAmount">
<span class="item-text">{{ item.purchaseMboxAmount }}</span>
</i18n>
翻译:
{
totalBuy: "累计购买盲盒 {0} 个",
}
输出:
