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

51 lines
1.7 KiB
HTML
Raw Normal View History

2023-08-10 06:59:52 +00:00
{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>