{include file="Public:header2"/}
出货概览 - {$boxInfo.title|default='未知盒子'}
{if condition="!empty($list)"}
统计摘要
总出货数量
{$totalCount}
总出货价值
¥ {$totalValue|round=2}
0): ?>
平均每次出货价值/盒子单价
¥ /
平均出货价值/盒子单价
0 ? round(($avgValue / $boxPrice), 2) : 0; echo $ratio . ' 倍'; ?>
数据分析
$maxValue) { $maxValue = $itemValue; $maxItem = $item; } } if($maxItem) { $goods_count = isset($maxItem['goods_count']) ? $maxItem['goods_count'] : 0; $money = isset($maxItem['money']) ? $maxItem['money'] : 0; $itemValue = $money * $goods_count; echo "

出货金额最多的奖品: ".$maxItem['title']." (¥".round($itemValue, 2).")

"; // 计算占总金额的百分比 $valuePercent = $totalValue > 0 ? round(($itemValue / $totalValue) * 100, 2) : 0; echo "

占总出货金额的: ".$valuePercent."%

"; } ?>
{/if} {volist name="list" id="vo"} {/volist} {if condition="empty($list)"} {/if}
奖品ID 奖品类型 奖品名称 奖品图片 出货数量 奖品单价 兑换金额 理论概率 实际概率 概率偏差 总价值
{$vo.goodslist_id} {$vo.shang_id|default="0"} {$vo.title} {$vo.goods_count} ¥ {$vo.price|default="0"} ¥ {$vo.money|default="0"} {$vo.real_pro|default="0"}% 0) { $goods_count = isset($vo['goods_count']) ? $vo['goods_count'] : 0; $actual_percent = round(($goods_count / $totalCount) * 100, 2); } ?> {$actual_percent}% = 0 ? '#5FB878' : '#FF5722'; $sign = $diff > 0 ? '+' : ''; ?> % ¥
暂时没有数据!
{include file="Public:footer"/}