| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <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 class="result">
- <div class="animate__animated animate__fadeInDown">
- <i :class="${code }"></i>
- </div>
- <p class="result-msg">
- ${msg }
- </p>
- <div style="text-align: center;width: 36%;margin: 0 auto;margin-top: 120px;">
- <van-button type="info" plain hairline block @click="closeThis">{{btnDesc}}</van-button>
- </div>
- </div>
- </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"
- }
- }
- })
- function closeThis() {
- try {
- space.utils.window.close();
- } catch (e) {
- console.error(e);
- space.message.warning("发生错误,请稍后再试");
- }
- }
- </script>
- </html>
|