截流自动化的商城平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit.html 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {layout name="layout2" /}
  2. <style>
  3. .tips {
  4. color: red;
  5. }
  6. .from-content {
  7. background-color: #FFFFFF;
  8. padding: 20px;
  9. }
  10. </style>
  11. <div class="layui-form from-content" lay-filter="">
  12. <input name="id" type="hidden" value="{$detail.id}">
  13. <div class="layui-tab">
  14. <div class="layui-form-item">
  15. <label class="layui-form-label">打印机:</label>
  16. <div class="layui-input-block" style="padding-top: 8px;">
  17. 易联云
  18. </div>
  19. </div>
  20. </div>
  21. <div class="layui-form-item">
  22. <label class="layui-form-label"><span class="tips">*</span>应用ID:</label>
  23. <div class="layui-input-block">
  24. <input type="text" name="client_id" value="{$detail.client_id}" placeholder="请输入应用ID" class="layui-input">
  25. </div>
  26. </div>
  27. <div class="layui-form-item">
  28. <label class="layui-form-label"><span class="tips">*</span>应用秘钥:</label>
  29. <div class="layui-input-block">
  30. <input type="text" name="client_secret" value="{$detail.client_secret}" placeholder="请输入应用秘钥"
  31. class="layui-input">
  32. </div>
  33. </div>
  34. <div class="layui-form-item">
  35. <label class="layui-form-label"><span class="tips">*</span>状态:</label>
  36. <div class="layui-input-block">
  37. <input type="checkbox" lay-filter="disable" name="status" lay-skin="switch" lay-text="开启|关闭" {if
  38. condition="$detail.status eq 1" }checked{/if}>
  39. </div>
  40. </div>
  41. <div class="layui-form-item layui-hide">
  42. <input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认">
  43. </div>
  44. </div>