| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <html>
- <head>
- <style>
- /* 设定动画的过渡时间 */
- .animate__animated.animate__fadeInDown {
- --animate-duration: 300ms;
- --animate-delay: 0s;
- }
- </style>
- </head>
- <body class="body-bg-white">
- <div id="space-content">
- <div class="content-wrap">
- </div>
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- btnDesc: '关闭',
- success: "spaceicon icon-success",
- error: "spaceicon icon-error",
- warning: "spaceicon icon-warning",
- info: "spaceicon icon-info",
- question: "spaceicon icon-question"
- }
- },
- mounted: function () {
- top.space.message.auto({ code: '${code}', msg: '${msg}' });
- closeThis();
- }
- })
- function closeThis() {
- try {
- space.utils.window.close();
- } catch (e) {
- console.error(e);
- space.message.warning("发生错误,请稍后再试");
- }
- }
- </script>
- </html>
|