123456789101112131415161718192021222324252627282930 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="text-center">
- <div id="printer" class="text-center">
- <img src="{:url('Qrcode/qrcode',['code'=>$code,'type'=>1])}" width="300" alt="">
- <p>{$info.title}</p>
- <p><br></p>
- </div>
- <a href="javascript:;" class="btn btn-sm btn-primary" onclick="print()">
- <i class="glyphicon glyphicon-print">打印</i>
- </a>
- </div>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script src="/static/browser.js"></script>
- <script src="/static/jquery.jqprint-0.3.js"></script>
- <script>
- function print(){
- $("#printer").jqprint();
- }
- </script>
- {/block}
|