<extend name="Public/base" />
<block name="body" >
    <div class="part-box">
        <div class="part part-1" style="height: 440px">
            <div class="m1200">
                <!--推荐游戏-->
                <div class="hot-game-box-index">
                    <div class="hd-title">推荐游戏</div>    <!--20190829-->
                    <div class="hot-game-list" style="float: left">
                        <volist name="recommend" id="rec" offset="0" length="1">
                            <div class="hot-game-info hot-game-1">
                                <div class="top-info" style="width: 400px">
                                    <div class="pic">
                                        <img src="{:get_cover($rec['cover'],'path')}" onerror="this.src='__IMG__/empty.jpg';this.onerror=null"/>
                                    </div>
                                    <div class="down-code" style="width: 400px;">
                                        <div class="code">
                                            <img src="{:U('Game/dow_url_generate',array('game_id'=>$rec['relation_game_id'],'type'=>1))}" width="100" height="100" onerror="this.src='__IMG__/empty.jpg';this.onerror=null" />
                                        </div>
                                        <div class="text">
                                            <p class="type">游戏类型:{:msubstr2($rec['game_type_name'],0,10)}</p>
                                            <p class="score">玩家评分:<span class="stars"><em style="width:{:$rec['game_score']*10}%;"></em></span></p>
                                            <a href="{:U('Game/game_detail',array('id'=>$rec['relation_game_id']))}">下载游戏</a>
                                            <!--<a href="{:U('Game/game_detail',array('id'=>$rec['relation_game_id']))}">查看游戏</a>-->
                                        </div>
                                    </div>
                                </div>
                                <div class="bottom-info" style="width: 360px;margin: 0">
                                    <h3 class="name">{:msubstr2($rec['relation_game_name'],0,10)}</h3>
                                    <p><notempty name="rec.features">{$rec.features}<else />&nbsp;</notempty></p>
                                    <a href="{:U('Game/game_detail',array('id'=>$rec['relation_game_id']))}">进入官网</a>
                                </div>
                            </div>
                        </volist>
                    </div>

                    <div style="float: left;margin:20px 0 0 360px ">
                        <div style="float: left">
                            <img style="width: 120px;height: 120px" src="__IMG__/chongzhi.png" alt="">
                        </div>
                        <div style="float: left;margin-left: 20px">
                            <h3 style="color: #0C0C0C">平台币充值</h3>
                            <p style="font-size: 14px;color: #666;margin-bottom: 30px;width: 300px;">平台币是可以在游戏内直接消费使用的,1平台币=1人民币,在游戏内您可直接用平台币选择购买相应的道具(钻石、宝石、金币等)。</p>
                            <style>
                                .btn{
                                    background-color: #03B4F5;
                                    color: #0C0C0C;
                                    border-color: #03B4F5;
                                    height: 40px;
                                    line-height: 34px;
                                    padding: 10px 20px;
                                    font-size: 14px;
                                    font-weight: bold;

                                }
                            </style>
                            <a class="btn" href="{:U('Recharge/pay')}">立即充值</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

</block>