1001410057_edit.jsp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <html>
  2. <head>
  3. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  4. <style>
  5. #icon {
  6. font-size: 120px;
  7. width: 120px;
  8. height: 120px;
  9. margin: 80px auto 30px;
  10. text-align: center;
  11. color: #409EFF;
  12. }
  13. .desc {
  14. text-align: center;
  15. font-size: 20px;
  16. color: #333;
  17. line-height: 42px;
  18. }
  19. .btns {
  20. width: 200px;
  21. height: 200px;
  22. margin: 30px auto 0px auto;
  23. text-align: center;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="space-content">
  29. <el-form action='@service{name:`bindingWechat`, page:`toWxResult`, params:`{ personId: "${personId}", openId: "${openId}" }` }@' method="post" :model="obj" label-width="100px">
  30. <div id="icon">
  31. <i class="el-icon-question"></i>
  32. </div>
  33. <div class="desc">
  34. 你确认要绑定账号<br>
  35. ${personName}吗?
  36. </div>
  37. <div class="btns">
  38. <el-button type="primary" onclick="space.forms.submit();">确认绑定</el-button>
  39. <br>
  40. <a href="javascript:WeixinJSBridge.call('closeWindow');">
  41. <el-button id="close" style="margin-top: 20px" onclick="closePage();">关闭页面</el-button>
  42. </a>
  43. </div>
  44. </el-form>
  45. </div>
  46. </body>
  47. <script type="text/javascript">
  48. space.vue = new Vue({
  49. el: space.appContent,
  50. data() {
  51. return {
  52. obj: {}
  53. }
  54. }
  55. })
  56. function closePage() {
  57. WeixinJSBridge.call('closeWindow');
  58. }
  59. </script>
  60. </html>