Merge branch 'hotfix/game_ratio_modify' of wmtx/platform into release

特殊比例bug修正
master
郑永星 4 years ago committed by Gogs
commit bdcc9a8e27

@ -53,17 +53,43 @@
<td rowspan="{$data.row}">{$data.game_type_name}</td> <td rowspan="{$data.row}">{$data.game_type_name}</td>
<td rowspan="{$data.row}">{$data.original_package_name}</td> <td rowspan="{$data.row}">{$data.original_package_name}</td>
<td rowspan="{$data.row}">{$data.relation_game_name}</td> <td rowspan="{$data.row}">{$data.relation_game_name}</td>
<td rowspan="{$data.row}">{$data.valid}</td> <notempty name="data['valid'][0]">
<notempty name="data['turnover_ratio'][0]"> <td rowspan="{$data['sec_row'][0]}">{$data['valid'][0]}</td>
<td>{$data['turnover_ratio'][0]['name']|default="--"}</td> <else />
<td>{$data['turnover_ratio'][0]['ratio']|showPercent}</td> <td>--</td>
</notempty>
<notempty name="data['turnover_ratios'][0][0]">
<td >{$data['turnover_ratios'][0][0]['name']|default="--"}</td>
<td >{$data['turnover_ratios'][0][0]['ratio']|showPercent}</td>
<else /> <else />
<td>--</td> <td>--</td>
<td>--</td> <td>--</td>
</notempty> </notempty>
</tr>
<foreach name="data['valid']" item="valid" key="keys">
<if condition="$keys gt 0">
<tr>
<td rowspan="{$data['sec_row'][$keys]}">{$valid|default="--"}</td>
<td>{$data['turnover_ratios'][$keys][0]['name']|default="--"}</td>
<td>{$data['turnover_ratios'][$keys][0]['ratio']|showPercent}</td>
<td rowspan="{$data['sec_row'][$keys]}">
<foreach name="data['oplist'][$keys]" item="vo" >
{$vo}
</foreach>
</td>
</tr>
<foreach name="data['turnover_ratios'][$keys]" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0">
<tr>
<td>{$game_ratio['name']|default="--"}</td>
<td>{$game_ratio['ratio']|showPercent}</td>
</tr> </tr>
<if condition="$data['row'] gt 1"> </if>
<foreach name="data['turnover_ratio']" item="game_ratio" key="gamekey"> </foreach>
<else/>
<foreach name="data['turnover_ratios'][$keys]" item="game_ratio" key="gamekey">
<if condition="$gamekey gt 0"> <if condition="$gamekey gt 0">
<tr> <tr>
<td>{$game_ratio['name']|default="--"}</td> <td>{$game_ratio['name']|default="--"}</td>
@ -72,6 +98,20 @@
</if> </if>
</foreach> </foreach>
</if> </if>
</foreach>
<!-- <if condition="$data['row'] gt 1">-->
<!-- <foreach name="data['turnover_ratios']" item="game_ratio" key="gamekey">-->
<!-- <foreach name="game_ratio" item="game_ratio_sec" key="key">-->
<!-- <if condition="$gamekey neq 0 and $key neq 0">-->
<!-- <tr>-->
<!-- <td>{$game_ratio_sec['name']|default="&#45;&#45;"}</td>-->
<!-- <td>{$game_ratio_sec['ratio']|showPercent}</td>-->
<!-- </tr>-->
<!-- </if>-->
<!-- </foreach>-->
<!-- </foreach>-->
<!-- </if>-->
</volist> </volist>
</if> </if>
</tbody> </tbody>

Loading…
Cancel
Save