glhcp/server/app/shop/view/printer/config/edit.html

51 lines
1.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{layout name="layout2" /}
<style>
.tips {
color: red;
}
.from-content {
background-color: #FFFFFF;
padding: 20px;
}
</style>
<div class="layui-form from-content" lay-filter="">
<input name="id" type="hidden" value="{$detail.id}">
<div class="layui-tab">
<div class="layui-form-item">
<label class="layui-form-label">打印机:</label>
<div class="layui-input-block" style="padding-top: 8px;">
易联云
</div>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="tips">*</span>应用ID</label>
<div class="layui-input-block">
<input type="text" name="client_id" value="{$detail.client_id}" placeholder="请输入应用ID" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="tips">*</span>应用秘钥:</label>
<div class="layui-input-block">
<input type="text" name="client_secret" value="{$detail.client_secret}" placeholder="请输入应用秘钥"
class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label"><span class="tips">*</span>状态:</label>
<div class="layui-input-block">
<input type="checkbox" lay-filter="disable" name="status" lay-skin="switch" lay-text="开启|关闭" {if
condition="$detail.status eq 1" }checked{/if}>
</div>
</div>
<div class="layui-form-item layui-hide">
<input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认">
</div>
</div>