擅长:python、mysql、java
<p>朋友,你解决问题了吗?
如果没有,一个可能更简单的解决方案是使用javascript。
尝试以某种方式将标记变量{items}}存储在javascript变量中。在</p>
<pre><code>for (let item in variableItems){
let currentPrice = variableItems[item].sellingStatus[0].currentPrice[0];
console.log(currentPrice['@currencyId'];
console.log(currentPrice['__value__'];
}
</code></pre>
<p>一旦完成了这项工作,就可以使用这些值来达到您想要的目的。在</p>
<hr/>
<p>另一个可能的解决方案是在后端删除@字符和uu字符(因为@字符在模板中会产生问题)。您可以使用替换功能。<code>str.replace('@', '')</code>和结构更换(''','')</p>
<p>y en la pantilla html:</p>
^{pr2}$