1003910209_edit.jsp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <html>
  2. <head>
  3. <style>
  4. /* 设定动画的过渡时间 */
  5. .animate__animated.animate__fadeInDown {
  6. --animate-duration: 300ms;
  7. --animate-delay: 0s;
  8. }
  9. </style>
  10. </head>
  11. <body class="body-bg-white">
  12. <div id="space-content">
  13. <div class="content-wrap">
  14. <div class="result">
  15. <div class="animate__animated animate__fadeInDown">
  16. <i :class="${code }"></i>
  17. </div>
  18. <p class="result-msg">
  19. ${msg }
  20. </p>
  21. <div style="text-align: center;width: 36%;margin: 0 auto;margin-top: 120px;">
  22. <van-button type="info" plain hairline block @click="closeThis">{{btnDesc}}</van-button>
  23. </div>
  24. </div>
  25. </div>
  26. </div>
  27. </body>
  28. <script type="text/javascript">
  29. space.vue = new Vue({
  30. el: space.appContent,
  31. data() {
  32. return {
  33. btnDesc: '确定',
  34. success: "spaceicon icon-success",
  35. error: "spaceicon icon-error",
  36. warning: "spaceicon icon-warning",
  37. info: "spaceicon icon-info",
  38. question: "spaceicon icon-question"
  39. }
  40. }
  41. })
  42. function closeThis() {
  43. try {
  44. space.utils.window.close();
  45. } catch (e) {
  46. console.error(e);
  47. space.message.warning("发生错误,请稍后再试");
  48. }
  49. }
  50. </script>
  51. </html>