1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <style>
- .layui-card-body
- {
- height: 60%;
- }
- </style>
- <div class="layui-card-body">
- <label class="layui-form-label label-required">商品详情</label>
- <div class="layui-input-block">
- <table class="layui-table margin-top-10" lay-skin="line">
- <thead>
- <tr>
- <th class='text-left nowrap'>名称</th>
- <th class='text-left nowrap'>图片</th>
- <th class='text-left nowrap'>数量</th>
- <th class='text-left nowrap'>明信片</th>
- </tr>
- </thead>
- <tbody class="no_html">
- {foreach :json_decode($vo.pro_info,true) as $sk=>$sv}
- <tr class="no_detail">
- <td class='text-left nowrap'>
- <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['case_name']}"/>
- </td>
- <td class='text-left nowrap'><img src="{$vo.case_cover|default=''}" width="30px"></td>
- <td class='text-left nowrap'>
- <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['num']}"/>
- </td>
- <td class='text-left nowrap'>
- <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['crystal']}"/>
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- </div>
- </div>
- <script>
- window.form.render();
- </script>
|