| | |
| | | } |
| | | |
| | | /* ------------------------------------------------ */ |
| | | .template-preview { |
| | | display: inline-block; |
| | | } |
| | | |
| | | |
| | | .contain { |
| | | border: 1px solid #000; |
| | | /*width: 100%;*/ |
| | |
| | | |
| | | <!-- 打印操作弹窗 --> |
| | | <div id="printDataDiv" style="display: none;padding: 20px"> |
| | | <div class="layui-form"> |
| | | <div id="template-container"> |
| | | <div class="layui-form" style="text-align: center"> |
| | | <!--单选框--> |
| | | <div class="layui-form-item" style="display: inline-block; margin-bottom: 10px"> |
| | | <input type="radio" name="sex" value="男" title="模板一" checked=""> |
| | | <input type="radio" name="sex" value="女" title="模板二"> |
| | | <input type="radio" name="sex" value="禁" title="模板三"> |
| | | </div> |
| | | <fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;text-align: left"> |
| | | <legend>打印预览</legend> |
| | | <div id="template-container" style="margin: 20px;text-align: center"> |
| | | <!-- 预览图 1 --> |
| | | <div id="template-preview-1" class="template-preview"> |
| | | <table class="contain" height="317" width="317" style="overflow: hidden"> |
| | |
| | | <!-- 预览图 3 --> |
| | | <div class="template-preview"></div> |
| | | </div> |
| | | <div class="select-template"> |
| | | <label><input type="radio" name="templateSelect" value="1" checked>模板一</label> |
| | | <label><input type="radio" name="templateSelect" value="2"> 模板二</label> |
| | | </div> |
| | | <button class="layui-btn layui-btn-danger" id="doPrint" lay-submit lay-filter="doPrint">确定</button> |
| | | </fieldset> |
| | | |
| | | <button class="layui-btn layui-btn-danger" id="doPrint" lay-submit lay-filter="doPrint" style="margin-top: 20px">确定</button> |
| | | </div> |
| | | </div> |
| | | |