signed

QiShunwang

“诚信为本、客户至上”

thinkphp5 volist 嵌套

2020/12/26 13:27:53   来源:
 {volist name="type_arr" id='tav'  key='tak' }
        <div class="card">
            <div class="card-body">
                <h4 class="card-title">{:lang('check_type')[$tak]}</h4>
                <table class="table table-bordered mb-0">
                    <thead>
                    <tr>
                        <th>任务阶段</th>
                        <th>任务金额</th>
                        <th>已完成奖励</th>
                        <th>未完成处罚</th>
                        <th>完成状态</th>
                        <th>获得奖励</th>
                    </tr>
                    </thead>
                    {volist name='tav' id='tavv' key='tavk'}

                    <tr>
                        <td>{$tavv.level}</td>
                        <td>{$tavv.todo_num}</td>
                        <td>{$tavv.reward_price}</td>
                        <td>{$tavv.undo_punish_price}</td>
                        <td>{$tavv.status}</td>
                        <td>{$tavv.reward_price}</td>
                    </tr>
                    {/volist}
                </table>
            </div>
        </div>
        {/volist}