sign.ejs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <% include ./sub_menu.ejs %>
  2. <div class="panel-content">
  3. <div class="panel-title">
  4. <div class="title-main">
  5. <h2>电子签名</h2>
  6. </div>
  7. </div>
  8. <div class="content-wrap">
  9. <div class="c-body">
  10. <div class="row m-0">
  11. <div class="col-5 my-3">
  12. <!--账号资料-->
  13. <form>
  14. <!--<div class="form-group">-->
  15. <!--<div class="form-check form-check-inline">-->
  16. <!--<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">-->
  17. <!--<label class="form-check-label" for="inlineRadio2">在线手写签名图</label>-->
  18. <!--</div>-->
  19. <!--<div class="form-check form-check-inline">-->
  20. <!--<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">-->
  21. <!--<label class="form-check-label" for="inlineRadio1">上传签名图</label>-->
  22. <!--</div>-->
  23. <!--</div>-->
  24. <!--<div class="form-group">-->
  25. <!--<label>上传签名图</label>-->
  26. <!--<input type="file" class="form-control-file" id="exampleFormControlFile1">-->
  27. <!--<small class="form-text text-danger">图片大小为600x300,格式PNG透明背景。</small>-->
  28. <!--</div>-->
  29. <div class="form-group">
  30. <label>在线手写签名</label>
  31. <div><img src="/profile/qrCode" width="150"></div>
  32. <small class="form-text text-danger">微信扫码使用在线手写程序</small>
  33. </div>
  34. <button type="button" class="btn btn-danger" id="delete-sign">移除签名</button>
  35. <div class="form-group">
  36. <label>签名图预览</label>
  37. <div>
  38. <div class="position-relative">
  39. <img src="/public/images/baobiao3.png">
  40. <% if (accountData.sign_path !== '') { %>
  41. <div class="position-absolute fixed-top" id="sign-show" style="left:290px;top:320px">
  42. <img src="/public/upload/sign/<%= accountData.sign_path %>" width="90">
  43. </div>
  44. <% } %>
  45. </div>
  46. </div>
  47. </div>
  48. </form>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <script type="text/javascript">
  55. const csrf = '<%= ctx.csrf %>';
  56. </script>
  57. <script type="text/javascript" src="/public/js/profile.js"></script>