| | |
| | | <!--单选框--> |
| | | <div class="layui-form-item" style="display: inline-block; margin-bottom: 10px"> |
| | | <input type="radio" name="selectTemplate" value="1" title="模板一" lay-filter="selectTemplateRadio" checked="checked"> |
| | | <!-- <input type="radio" name="selectTemplate" value="2" title="模板二" lay-filter="selectTemplateRadio">--> |
| | | <input type="radio" name="selectTemplate" value="2" title="模板二" lay-filter="selectTemplateRadio"> |
| | | </div> |
| | | <fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;text-align: left;"> |
| | | <legend>打印预览</legend> |
| | |
| | | <table class="contain" width="280" style="overflow: hidden;table-layout: fixed; border: none; font-size: xx-large"> |
| | | <tr style="height: 74px"> |
| | | <td class="barcode" colspan="9" align="center" scope="col" style="border: none"> |
| | | <img class="template-code template-barcode" src="" width="90%;"> ↓ |
| | | <img class="template-code template-qrcode" src="" width="70%;"> |
| | | <div style="letter-spacing: 2px;margin-top: 1px; text-align: center; font-size: xx-small"> |
| | | <span>xxxxxx</span> |
| | | </div> |
| | |
| | | {{/each}} |
| | | </script> |
| | | <!-- 模板2 --> |
| | | <script type="text/template" id="templatePreview2" class="template-barcode"> |
| | | <script type="text/template" id="templatePreview2" class="template-qrcode"> |
| | | {{#each data}} |
| | | <table class="contain" width="400px" style="overflow: hidden;table-layout: fixed; border: none; font-size: xxx-large; color:#000;"> |
| | | <tr style="height: 150px"> |
| | | <td class="barcode" colspan="9" align="center" scope="col" style="border: none"> |
| | | <img class="template-code template-barcode" src="{{this.barcodeUrl}}" width="90%;"> ↓ |
| | | <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="79%;"> |
| | | <div style="letter-spacing: 2px;margin-top: 1px; text-align: center; font-size: xx-large"> |
| | | <span>{{this.item}}</span> |
| | | </div> |