@@ -53,6 +53,7 @@ if (!function_exists('show_goods_spec')) {
*/
function show_goods_spec(string $spec): string
{
+ dump($spec);die;
$specs = [];
foreach (explode(';;', $spec) as $sp) {
$specs[] = explode('::', $sp)[1];
@@ -122,7 +122,7 @@
{foreach $vo.items as $g}
<div>
<b class="color-blue">{$g.stock_sales|default=0}件</b><span class="color-red"> x </span><b class="color-blue">{$g.price_selling+0}元 </b>
- {$g.goods_name|default=''} <span class="color-green"> ( {$g.goods_spec} )</span>
+ {$g.goods_name|default=''} <span class="color-green"> ( {$g.goods_spec|show_goods_spec} )</span>
</div>
{/foreach}
</td>