1003910420_edit.jsp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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>
  15. </div>
  16. </body>
  17. <script type="text/javascript">
  18. space.vue = new Vue({
  19. el: space.appContent,
  20. data() {
  21. return {
  22. btnDesc: '关闭',
  23. success: "spaceicon icon-success",
  24. error: "spaceicon icon-error",
  25. warning: "spaceicon icon-warning",
  26. info: "spaceicon icon-info",
  27. question: "spaceicon icon-question"
  28. }
  29. },
  30. mounted: function () {
  31. var code = '${code}';
  32. var isNextServiceFlag = '${nextServiceDataKey != null}';
  33. if(isNextServiceFlag == 'true' && code == "success") {
  34. try {
  35. @service{ type: 'nextService', msg: 'mobile' }@
  36. } catch (error) {
  37. // error
  38. }
  39. } else {
  40. top.space.message.auto({ code: code, msg: '${msg}' });
  41. }
  42. closeThis();
  43. }
  44. })
  45. function closeThis() {
  46. try {
  47. space.utils.window.close();
  48. } catch (e) {
  49. console.error(e);
  50. space.message.warning("发生错误,请稍后再试");
  51. }
  52. }
  53. </script>
  54. </html>