create-jsview 2.1.428 → 2.1.435
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/template-vue-vite/package-lock-json +6 -6
- package/template-vue-vite/package.json +2 -2
- package/template-vue-vite/dist-test-jsview-chunk/assets/1.54c7645a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1.5dc15599.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/1280x7200.f72b317a.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/2.c46fde4a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/2.df10a8ad.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/3.920d6934.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/3.dd39d2bc.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/4.4cd633a0.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/4.f58de085.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/Couplets.22a8bcb3.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/Square.2085a1e3.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/animated_webp.df116064.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/ball_3.6443240f.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg1.9dacd4a9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg2.05147169.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg3.4725410a.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg4.67998d21.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg5.e6aeb8ef.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bg_btn.3bc67ce7.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bgimage.9ebd66c5.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bgmusic.bf797943.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/blue_egg.a2c54f95.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/bmpDemo.e06bdb19.bmp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/boom.159be4de.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/border.32f99a05.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/btn_ok.a0827ed4.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coin.50aac2a4.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_left.c9f544cb.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_mid.ef262879.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/coupon_right.248ee7dc.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/egg_break.e01a800c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/fail.446dfd56.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/firecracker.bf5b0aa9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/fireworks.1c112f43.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/focus1.ff67f2e6.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/get.3509893a.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/girl_run.1c322b33.gif +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin1.d31809e9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/goldencoin2.3f5b59d2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/holder_logo.5d13253c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/icon.0d3ef206.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jpegDemo.ede7ed35.jpeg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump.d2e172b2.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump_down.68b45798.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/jump_up.2f896dd9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/leadWire.0c2130df.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/light.fd536e0c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/light2.eac76425.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_left.36cc4bd9.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_mid.21f25bbe.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/line_right.3a4bbae6.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/lose.86f51553.mp3 +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/mask.c1211360.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/mathjax-tex-svg.d4295dc3.txt +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/assets/php.9533a06f.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/php2.7e5cf392.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/pngNoAlphaDemo.8d9edc0f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/purpleStar.b1920ac5.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/quan.54556d84.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redCircle.091d191f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redStar.9c31bb42.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/red_egg.27ca7d39.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket1.72196c20.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/redpacket2.0ae89a46.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/resultSquare.b9e3527b.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/roll.aa0dfe6f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/run.b84383b2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/scroll.c4efa5a1.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/scroll1.744c0b08.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/snow.22f35787.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/spark.50b3f017.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star1.dd634833.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star2.df352429.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star3.5a62b76f.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/star4.2283606c.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/swipLight.ab6b2bc2.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/tease.3d7fb077.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/tease_lock.3602bb0d.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/test.671066bc.jpg +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/webpDemo.eb0b7786.webp +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/assets/yellowStar.d80f0718.png +0 -0
- package/template-vue-vite/dist-test-jsview-chunk/css/App.0e83537d.css +0 -6
- package/template-vue-vite/dist-test-jsview-chunk/css/App.10e9d05f.css +0 -14
- package/template-vue-vite/dist-test-jsview-chunk/css/App.16cc5e4a.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/App.18bd653b.css +0 -10
- package/template-vue-vite/dist-test-jsview-chunk/css/App.2943d6ec.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/App.329ae9f6.css +0 -23
- package/template-vue-vite/dist-test-jsview-chunk/css/App.32c55297.css +0 -8
- package/template-vue-vite/dist-test-jsview-chunk/css/App.3e2a4eb1.css +0 -108
- package/template-vue-vite/dist-test-jsview-chunk/css/App.4ea37a27.css +0 -39
- package/template-vue-vite/dist-test-jsview-chunk/css/App.54fdcefd.css +0 -51
- package/template-vue-vite/dist-test-jsview-chunk/css/App.6406907b.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/App.643b5c1b.css +0 -8
- package/template-vue-vite/dist-test-jsview-chunk/css/App.66f2f353.css +0 -553
- package/template-vue-vite/dist-test-jsview-chunk/css/App.76117f77.css +0 -21
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7a70ea9d.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/App.7ee969c5.css +0 -40
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8056ee27.css +0 -144
- package/template-vue-vite/dist-test-jsview-chunk/css/App.81e870e8.css +0 -16
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8a41b2c9.css +0 -4
- package/template-vue-vite/dist-test-jsview-chunk/css/App.8b7fc4be.css +0 -21
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9acd4020.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9b8ef7c4.css +0 -17
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c2363fe.css +0 -11
- package/template-vue-vite/dist-test-jsview-chunk/css/App.9c9050df.css +0 -10
- package/template-vue-vite/dist-test-jsview-chunk/css/App.a37ce6b4.css +0 -78
- package/template-vue-vite/dist-test-jsview-chunk/css/App.acd46c9f.css +0 -29
- package/template-vue-vite/dist-test-jsview-chunk/css/App.be6992f1.css +0 -5
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ce985162.css +0 -37
- package/template-vue-vite/dist-test-jsview-chunk/css/App.cf0eea52.css +0 -29
- package/template-vue-vite/dist-test-jsview-chunk/css/App.d80395de.css +0 -76
- package/template-vue-vite/dist-test-jsview-chunk/css/App.dc17d9ed.css +0 -355
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e25f7308.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e3998d69.css +0 -10
- package/template-vue-vite/dist-test-jsview-chunk/css/App.e864d83a.css +0 -99
- package/template-vue-vite/dist-test-jsview-chunk/css/App.eea7c4d0.css +0 -37
- package/template-vue-vite/dist-test-jsview-chunk/css/App.f7bae60e.css +0 -24
- package/template-vue-vite/dist-test-jsview-chunk/css/App.fb916576.css +0 -53
- package/template-vue-vite/dist-test-jsview-chunk/css/App.ff455e8a.css +0 -23
- package/template-vue-vite/dist-test-jsview-chunk/css/DispersedItemSample.24d1e5c2.css +0 -31
- package/template-vue-vite/dist-test-jsview-chunk/css/Homepage.6291bd50.css +0 -60
- package/template-vue-vite/dist-test-jsview-chunk/css/HorizontalButtonList.f4192657.css +0 -12
- package/template-vue-vite/dist-test-jsview-chunk/css/MainPage.7bafbf88.css +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/css/SubPage.e3029827.css +0 -17
- package/template-vue-vite/dist-test-jsview-chunk/css/index.bc47ba9c.css +0 -20
- package/template-vue-vite/dist-test-jsview-chunk/css/main.78821670.css +0 -11
- package/template-vue-vite/dist-test-jsview-chunk/debug/jsview-jsmap-serve.mjs +0 -130
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-browser.min.24b59670.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-entry.280f04b1.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-dom-native.min.0039079f.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-engine-js-browser.min.f40edc22.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.bfab260e.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-forge-define.min.26efdcd1.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-loader.f9249ad3.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/debug/map/jsview-vue-entry.415721d8.js.map +0 -1
- package/template-vue-vite/dist-test-jsview-chunk/index.html +0 -14
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0020360a.js +0 -141
- package/template-vue-vite/dist-test-jsview-chunk/js/App.073cedd6.js +0 -399
- package/template-vue-vite/dist-test-jsview-chunk/js/App.0f963d38.js +0 -95
- package/template-vue-vite/dist-test-jsview-chunk/js/App.11cde12f.js +0 -344
- package/template-vue-vite/dist-test-jsview-chunk/js/App.121965ad.js +0 -116
- package/template-vue-vite/dist-test-jsview-chunk/js/App.1575b8f0.js +0 -200
- package/template-vue-vite/dist-test-jsview-chunk/js/App.21ff555f.js +0 -455
- package/template-vue-vite/dist-test-jsview-chunk/js/App.29b9c765.js +0 -383
- package/template-vue-vite/dist-test-jsview-chunk/js/App.34ff6b40.js +0 -107
- package/template-vue-vite/dist-test-jsview-chunk/js/App.361be0b7.js +0 -144
- package/template-vue-vite/dist-test-jsview-chunk/js/App.368006e4.js +0 -431
- package/template-vue-vite/dist-test-jsview-chunk/js/App.36fc32c5.js +0 -192
- package/template-vue-vite/dist-test-jsview-chunk/js/App.386a753e.js +0 -259
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3b0de676.js +0 -321
- package/template-vue-vite/dist-test-jsview-chunk/js/App.3e808b09.js +0 -92
- package/template-vue-vite/dist-test-jsview-chunk/js/App.40f6e609.js +0 -97
- package/template-vue-vite/dist-test-jsview-chunk/js/App.539ee14e.js +0 -331
- package/template-vue-vite/dist-test-jsview-chunk/js/App.55166fae.js +0 -189
- package/template-vue-vite/dist-test-jsview-chunk/js/App.56200035.js +0 -221
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5698ed0a.js +0 -243
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5788a834.js +0 -1675
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5a51ba28.js +0 -788
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5db3be20.js +0 -215
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f895413.js +0 -53
- package/template-vue-vite/dist-test-jsview-chunk/js/App.5f95520c.js +0 -320
- package/template-vue-vite/dist-test-jsview-chunk/js/App.64e2a47b.js +0 -276
- package/template-vue-vite/dist-test-jsview-chunk/js/App.69ca326b.js +0 -107
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6f92a934.js +0 -277
- package/template-vue-vite/dist-test-jsview-chunk/js/App.6fafe9e2.js +0 -430
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7067dfe2.js +0 -120
- package/template-vue-vite/dist-test-jsview-chunk/js/App.754fa30e.js +0 -776
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7a63fc1e.js +0 -240
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7b9d1275.js +0 -447
- package/template-vue-vite/dist-test-jsview-chunk/js/App.7bf78a71.js +0 -89
- package/template-vue-vite/dist-test-jsview-chunk/js/App.832753e3.js +0 -98
- package/template-vue-vite/dist-test-jsview-chunk/js/App.83b9bc1a.js +0 -194
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8473b928.js +0 -568
- package/template-vue-vite/dist-test-jsview-chunk/js/App.85f0e26b.js +0 -1342
- package/template-vue-vite/dist-test-jsview-chunk/js/App.8e86826b.js +0 -502
- package/template-vue-vite/dist-test-jsview-chunk/js/App.94064c31.js +0 -104
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9625268d.js +0 -173
- package/template-vue-vite/dist-test-jsview-chunk/js/App.96596f9f.js +0 -119
- package/template-vue-vite/dist-test-jsview-chunk/js/App.977c745b.js +0 -237
- package/template-vue-vite/dist-test-jsview-chunk/js/App.9e7fbf3c.js +0 -122
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a059fc60.js +0 -676
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a446bb49.js +0 -369
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a485fc61.js +0 -139
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a574bf96.js +0 -122
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a58787a4.js +0 -225
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6e90b5c.js +0 -614
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a6ef2ea5.js +0 -241
- package/template-vue-vite/dist-test-jsview-chunk/js/App.a82ae465.js +0 -119
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ab97fadc.js +0 -306
- package/template-vue-vite/dist-test-jsview-chunk/js/App.b8d07d60.js +0 -68
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ba82ae89.js +0 -731
- package/template-vue-vite/dist-test-jsview-chunk/js/App.c0fa704f.js +0 -181
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ca457df6.js +0 -193
- package/template-vue-vite/dist-test-jsview-chunk/js/App.cab5b11a.js +0 -182
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ceb70fcc.js +0 -395
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d1955c7b.js +0 -139
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d35f431e.js +0 -524
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d434d1bc.js +0 -1201
- package/template-vue-vite/dist-test-jsview-chunk/js/App.d9ea2537.js +0 -172
- package/template-vue-vite/dist-test-jsview-chunk/js/App.dce9c295.js +0 -209
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e06251fc.js +0 -157
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e160a2dd.js +0 -587
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e1d44beb.js +0 -198
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e442e6e0.js +0 -611
- package/template-vue-vite/dist-test-jsview-chunk/js/App.e75db44d.js +0 -257
- package/template-vue-vite/dist-test-jsview-chunk/js/App.ebb89cc7.js +0 -97
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f5f253ec.js +0 -143
- package/template-vue-vite/dist-test-jsview-chunk/js/App.f6a2ac1e.js +0 -251
- package/template-vue-vite/dist-test-jsview-chunk/js/App2.f586c86d.js +0 -112
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.64639b51.js +0 -112
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic.vue.5e093f8c.js +0 -130
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.8b0c8a0a.js +0 -106
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApic2.vue.7959bd77.js +0 -124
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserApicLib.14ef44a9.js +0 -416
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.28bef0de.js +0 -251
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserAudio.vue.b874d583.js +0 -265
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.06fbda62.js +0 -100
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvLatex.vue.f0cdb016.js +0 -112
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.a6858caf.js +0 -563
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserJsvPlayer.vue.8615ee65.js +0 -575
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.fe21457d.js +0 -139
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserPreload.vue.23eda6fd.js +0 -146
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.727b4b8f.js +0 -175
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserQrcode.vue.8e2b3454.js +0 -181
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.b126f2ae.js +0 -57
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserSpray.vue.52301a81.js +0 -70
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.e70349c2.js +0 -315
- package/template-vue-vite/dist-test-jsview-chunk/js/BrowserTextureAnim.vue.5426b5db.js +0 -327
- package/template-vue-vite/dist-test-jsview-chunk/js/DispersedItemSample.9696c982.js +0 -534
- package/template-vue-vite/dist-test-jsview-chunk/js/GifData.e5dd9fac.js +0 -429
- package/template-vue-vite/dist-test-jsview-chunk/js/Homepage.d8afeb55.js +0 -466
- package/template-vue-vite/dist-test-jsview-chunk/js/HorizontalButtonList.bbdbc725.js +0 -160
- package/template-vue-vite/dist-test-jsview-chunk/js/MainPage.cff1e89b.js +0 -57
- package/template-vue-vite/dist-test-jsview-chunk/js/SubPage.9633adf8.js +0 -59
- package/template-vue-vite/dist-test-jsview-chunk/js/app.config.92148fde.js +0 -18
- package/template-vue-vite/dist-test-jsview-chunk/js/export-sfc.2749ebea.js +0 -23
- package/template-vue-vite/dist-test-jsview-chunk/js/index.32520aa9.js +0 -938
- package/template-vue-vite/dist-test-jsview-chunk/js/index.56197146.js +0 -2892
- package/template-vue-vite/dist-test-jsview-chunk/js/index.f76869d4.js +0 -7522
- package/template-vue-vite/dist-test-jsview-chunk/js/jpegDemo.ff177df5.js +0 -7
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-browser.min.24b59670.js +0 -1913
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-entry.280f04b1.js +0 -76
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-dom-native.min.0039079f.js +0 -1487
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-engine-js-browser.min.f40edc22.js +0 -10684
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.bfab260e.js +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-forge-define.min.26efdcd1.js +0 -97
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-loader.f9249ad3.js +0 -238
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview-vue-entry.415721d8.js +0 -22233
- package/template-vue-vite/dist-test-jsview-chunk/js/jsview.config.a8cf302c.js +0 -49
- package/template-vue-vite/dist-test-jsview-chunk/js/main.bd759d7c.js +0 -565
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.51a0d4f8.mjs +0 -28
- package/template-vue-vite/dist-test-jsview-chunk/js/main.jsv.mjs +0 -28
- package/template-vue-vite/dist-test-jsview-chunk/js/permission.88de599e.js +0 -7
- package/template-vue-vite/dist-test-jsview-chunk/js/pngNoAlphaDemo.fbc58313.js +0 -7
- package/template-vue-vite/dist-test-jsview-chunk/js/vue.889a9b8b.js +0 -5382
- package/template-vue-vite/dist-test-jsview-chunk/jsv-info.json +0 -9
- package/template-vue-vite/dist-test-jsview-chunk/jsv-list.json +0 -248
|
@@ -1,1201 +0,0 @@
|
|
|
1
|
-
import { s as shallowRef, w as watch, E as onBeforeUnmount, o as openBlock, e as createElementBlock, k as createVNode, u as unref, I as withDirectives, J as vShow, f as createBaseVNode, g as normalizeStyle, l as withCtx, F as Fragment, t as onMounted, A as createBlock, q as createCommentVNode, m as renderList, i as inject, p as provide, j as renderSlot, b as resolveComponent, G as toDisplayString } from "./vue.889a9b8b.js";
|
|
2
|
-
import { Q as getKeyFramesGroup, J as JsvPreload, D as JsvSpriteAnim, F as _sfc_main$q, a1 as _sfc_main$B, x as _JsvSpray$1, b as buildPreloadInfo$1 } from "./jsview-vue-entry.415721d8.js";
|
|
3
|
-
import "./jsview-forge-define.bfab260e.js";
|
|
4
|
-
import { b as buildPreloadInfo } from "./index.56197146.js";
|
|
5
|
-
import { a as _export_sfc } from "./export-sfc.2749ebea.js";
|
|
6
|
-
import "./jsview-dom-entry.280f04b1.js";
|
|
7
|
-
const Couplets = "" + new URL("../assets/Couplets.22a8bcb3.png", import.meta.url).href;
|
|
8
|
-
const scrollPng = "" + new URL("../assets/scroll.c4efa5a1.png", import.meta.url).href;
|
|
9
|
-
const _formatInfo = (action_json) => {
|
|
10
|
-
const info = {
|
|
11
|
-
frames: [],
|
|
12
|
-
meta: {
|
|
13
|
-
size: action_json.meta.size
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
let frames_ref = info.frames;
|
|
17
|
-
let max_width = 0;
|
|
18
|
-
let max_height = 0;
|
|
19
|
-
for (let i = 0; i < action_json.frames.length; i++) {
|
|
20
|
-
const target = action_json.frames[i].spriteSourceSize;
|
|
21
|
-
frames_ref.push({
|
|
22
|
-
target,
|
|
23
|
-
source: action_json.frames[i].frame
|
|
24
|
-
});
|
|
25
|
-
const sprite_with = target.x + target.w;
|
|
26
|
-
const sprite_height = target.y + target.h;
|
|
27
|
-
if (sprite_with > max_width) {
|
|
28
|
-
max_width = sprite_with;
|
|
29
|
-
}
|
|
30
|
-
if (sprite_height > max_height) {
|
|
31
|
-
max_height = sprite_height;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return { info, maxW: max_width, maxH: max_height };
|
|
35
|
-
};
|
|
36
|
-
const scroll = "" + new URL("../assets/scroll1.744c0b08.png", import.meta.url).href;
|
|
37
|
-
const _sfc_main$5 = {
|
|
38
|
-
__name: "Couplets",
|
|
39
|
-
props: {
|
|
40
|
-
width: { type: Number, require: true },
|
|
41
|
-
height: { type: Number, require: true },
|
|
42
|
-
animTime: { type: Number, require: true },
|
|
43
|
-
left: { type: Number, default: 0 },
|
|
44
|
-
top: { type: Number, default: 0 }
|
|
45
|
-
},
|
|
46
|
-
setup(__props) {
|
|
47
|
-
const props = __props;
|
|
48
|
-
let myShow = shallowRef(false);
|
|
49
|
-
const Couplets2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/Couplets.png";
|
|
50
|
-
const scrollPng2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/scroll.png";
|
|
51
|
-
const scrollJson = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/scroll.json";
|
|
52
|
-
const scroll2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/scroll1.png";
|
|
53
|
-
const preload_info = [
|
|
54
|
-
buildPreloadInfo(Couplets2),
|
|
55
|
-
buildPreloadInfo(scrollPng2),
|
|
56
|
-
buildPreloadInfo(scroll2)
|
|
57
|
-
];
|
|
58
|
-
let adaptedHeight = 500;
|
|
59
|
-
let readyNum = shallowRef(0);
|
|
60
|
-
const loadDone = (a) => {
|
|
61
|
-
readyNum.value++;
|
|
62
|
-
};
|
|
63
|
-
let sprite_info = shallowRef(null);
|
|
64
|
-
const view_size = shallowRef(null);
|
|
65
|
-
const preloadCallback = (config_json, resolve_set) => {
|
|
66
|
-
sprite_info.value = _formatInfo(config_json);
|
|
67
|
-
view_size.value = {
|
|
68
|
-
w: sprite_info.value.maxW,
|
|
69
|
-
h: sprite_info.value.maxH
|
|
70
|
-
};
|
|
71
|
-
resolve_set();
|
|
72
|
-
readyNum.value++;
|
|
73
|
-
};
|
|
74
|
-
let aniName1 = shallowRef(null);
|
|
75
|
-
let aniName2 = shallowRef(null);
|
|
76
|
-
const idRandom = Math.floor(Math.random() * 1e6);
|
|
77
|
-
let name1 = "anim1-" + idRandom;
|
|
78
|
-
let name2 = "anim2-" + idRandom;
|
|
79
|
-
let styleShell = getKeyFramesGroup();
|
|
80
|
-
let anim1 = `@keyframes ${name1} {
|
|
81
|
-
from {
|
|
82
|
-
transform: translate3d(0,${-adaptedHeight}, 0);
|
|
83
|
-
}
|
|
84
|
-
to {
|
|
85
|
-
transform: translate3d(0, 0, 0);
|
|
86
|
-
}
|
|
87
|
-
}`;
|
|
88
|
-
styleShell.insertRule(anim1);
|
|
89
|
-
let anim2 = `@keyframes ${name2} {
|
|
90
|
-
from {
|
|
91
|
-
transform: translate3d(0,${adaptedHeight}, 0);
|
|
92
|
-
}
|
|
93
|
-
to {
|
|
94
|
-
transform: translate3d(0, 0, 0);
|
|
95
|
-
}
|
|
96
|
-
}`;
|
|
97
|
-
styleShell.insertRule(anim2);
|
|
98
|
-
let timer = { id: -1 };
|
|
99
|
-
let myRef = shallowRef(null);
|
|
100
|
-
watch(readyNum, (n, o) => {
|
|
101
|
-
if (o != 2 && n == 2) {
|
|
102
|
-
timer.id = setTimeout(() => {
|
|
103
|
-
myShow.value = true;
|
|
104
|
-
myRef.value.start();
|
|
105
|
-
aniName1.value = `${name1} ${props.animTime}s linear`;
|
|
106
|
-
aniName2.value = `${name2} ${props.animTime}s linear`;
|
|
107
|
-
}, 0);
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
onBeforeUnmount(() => {
|
|
111
|
-
styleShell.removeRule(name1);
|
|
112
|
-
styleShell.removeRule(name2);
|
|
113
|
-
clearTimeout(timer.id);
|
|
114
|
-
timer.id = -1;
|
|
115
|
-
});
|
|
116
|
-
return (_ctx, _cache) => {
|
|
117
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
118
|
-
createVNode(unref(JsvPreload), {
|
|
119
|
-
preloadList: preload_info,
|
|
120
|
-
onPreloadDone: loadDone
|
|
121
|
-
}),
|
|
122
|
-
withDirectives(createBaseVNode("div", {
|
|
123
|
-
style: normalizeStyle({
|
|
124
|
-
width: 180,
|
|
125
|
-
height: unref(adaptedHeight),
|
|
126
|
-
top: props.top,
|
|
127
|
-
left: props.left,
|
|
128
|
-
transform: `scale3d(${props.width / 180},${props.width / 180},1)`,
|
|
129
|
-
transformOrigin: "left top"
|
|
130
|
-
})
|
|
131
|
-
}, [
|
|
132
|
-
createBaseVNode("div", {
|
|
133
|
-
style: normalizeStyle({
|
|
134
|
-
top: 0,
|
|
135
|
-
left: 0,
|
|
136
|
-
width: 180,
|
|
137
|
-
height: unref(adaptedHeight),
|
|
138
|
-
overflow: "hidden",
|
|
139
|
-
animation: unref(aniName1)
|
|
140
|
-
})
|
|
141
|
-
}, [
|
|
142
|
-
createBaseVNode("div", {
|
|
143
|
-
style: normalizeStyle({
|
|
144
|
-
top: 0,
|
|
145
|
-
left: 0,
|
|
146
|
-
width: 180,
|
|
147
|
-
height: unref(adaptedHeight),
|
|
148
|
-
backgroundImage: Couplets2,
|
|
149
|
-
animation: unref(aniName2)
|
|
150
|
-
})
|
|
151
|
-
}, null, 4)
|
|
152
|
-
], 4),
|
|
153
|
-
createVNode(unref(_sfc_main$q), {
|
|
154
|
-
imageUrl: scrollPng2,
|
|
155
|
-
configUrl: scrollJson,
|
|
156
|
-
onConfigReady: preloadCallback,
|
|
157
|
-
noNeedResource: false
|
|
158
|
-
}, {
|
|
159
|
-
default: withCtx(() => [
|
|
160
|
-
createBaseVNode("div", {
|
|
161
|
-
style: normalizeStyle({
|
|
162
|
-
left: -30,
|
|
163
|
-
top: unref(adaptedHeight),
|
|
164
|
-
transform: `scale3d(${(180 + 60) / unref(view_size).w},1,1)`
|
|
165
|
-
})
|
|
166
|
-
}, [
|
|
167
|
-
createBaseVNode("div", {
|
|
168
|
-
style: normalizeStyle({
|
|
169
|
-
width: unref(view_size).w,
|
|
170
|
-
height: unref(view_size).h,
|
|
171
|
-
animation: unref(aniName1)
|
|
172
|
-
})
|
|
173
|
-
}, [
|
|
174
|
-
createVNode(unref(JsvSpriteAnim), {
|
|
175
|
-
spriteInfo: unref(sprite_info).info,
|
|
176
|
-
loop: 4,
|
|
177
|
-
duration: props.animTime / 4,
|
|
178
|
-
imageUrl: scrollPng2,
|
|
179
|
-
ref_key: "myRef",
|
|
180
|
-
ref: myRef
|
|
181
|
-
}, null, 8, ["spriteInfo", "duration"])
|
|
182
|
-
], 4)
|
|
183
|
-
], 4)
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
}),
|
|
187
|
-
createBaseVNode("div", {
|
|
188
|
-
style: normalizeStyle({
|
|
189
|
-
top: -30,
|
|
190
|
-
left: -30,
|
|
191
|
-
width: 180 + 60,
|
|
192
|
-
height: 30,
|
|
193
|
-
backgroundImage: scroll2
|
|
194
|
-
})
|
|
195
|
-
}, null, 4)
|
|
196
|
-
], 4), [
|
|
197
|
-
[vShow, unref(myShow)]
|
|
198
|
-
])
|
|
199
|
-
], 64);
|
|
200
|
-
};
|
|
201
|
-
}
|
|
202
|
-
};
|
|
203
|
-
const _sfc_main$4 = {
|
|
204
|
-
__name: "Fireworks",
|
|
205
|
-
props: {
|
|
206
|
-
top: { type: Number, require: true },
|
|
207
|
-
left: { type: Number, require: true }
|
|
208
|
-
},
|
|
209
|
-
setup(__props) {
|
|
210
|
-
const props = __props;
|
|
211
|
-
const group1_1 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/1/group1_1.png";
|
|
212
|
-
const group1_2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/1/group1_2.png";
|
|
213
|
-
const group2_1 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/2/group2_1.png";
|
|
214
|
-
const group2_2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/2/group2_2.png";
|
|
215
|
-
const group3_1 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/3/group3_1.png";
|
|
216
|
-
const group3_2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/3/group3_2.png";
|
|
217
|
-
const group4_1 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/4/group4_1.png";
|
|
218
|
-
const group4_2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/4/group4_2.png";
|
|
219
|
-
const group5_1 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/5/group5_1.png";
|
|
220
|
-
const group5_2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Fireworks/images/5/group5_2.png";
|
|
221
|
-
const ammo = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/star2.png";
|
|
222
|
-
const fireworksPng2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/fireworks.png";
|
|
223
|
-
const fireworksJson = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/fireworks.json";
|
|
224
|
-
let moveDistance = 260;
|
|
225
|
-
let sprite_info = shallowRef(null);
|
|
226
|
-
let view_size = shallowRef(null);
|
|
227
|
-
let isSpray = shallowRef(false);
|
|
228
|
-
let isSpray1 = shallowRef(false);
|
|
229
|
-
let isSpray2 = shallowRef(false);
|
|
230
|
-
let isSpray3 = shallowRef(false);
|
|
231
|
-
let isSpray4 = shallowRef(false);
|
|
232
|
-
const sprayArray = [isSpray1, isSpray2, isSpray3, isSpray4];
|
|
233
|
-
let isShow = shallowRef(true);
|
|
234
|
-
let actorRef = shallowRef(null);
|
|
235
|
-
let myShow = shallowRef(false);
|
|
236
|
-
let actorControl;
|
|
237
|
-
const spray = () => {
|
|
238
|
-
timer.id2 = setTimeout(() => {
|
|
239
|
-
let randomIndex = Math.floor(Math.random() * sprayArray.length);
|
|
240
|
-
sprayArray[randomIndex].value = true;
|
|
241
|
-
timer.id = setInterval(() => {
|
|
242
|
-
let remainingItems = sprayArray.filter((item) => !item.value);
|
|
243
|
-
if (remainingItems.length === 0) {
|
|
244
|
-
clearInterval(timer.id);
|
|
245
|
-
timer.id = -1;
|
|
246
|
-
} else {
|
|
247
|
-
randomIndex = Math.floor(Math.random() * remainingItems.length);
|
|
248
|
-
remainingItems[randomIndex].value = true;
|
|
249
|
-
}
|
|
250
|
-
}, 100);
|
|
251
|
-
}, 500);
|
|
252
|
-
};
|
|
253
|
-
const preload_info = [
|
|
254
|
-
buildPreloadInfo$1(group1_1),
|
|
255
|
-
buildPreloadInfo$1(group1_2),
|
|
256
|
-
buildPreloadInfo$1(group2_1),
|
|
257
|
-
buildPreloadInfo$1(group2_2),
|
|
258
|
-
buildPreloadInfo$1(group3_1),
|
|
259
|
-
buildPreloadInfo$1(group3_2),
|
|
260
|
-
buildPreloadInfo$1(group4_1),
|
|
261
|
-
buildPreloadInfo$1(group4_2),
|
|
262
|
-
buildPreloadInfo$1(group5_1),
|
|
263
|
-
buildPreloadInfo$1(group5_2),
|
|
264
|
-
buildPreloadInfo$1(fireworksPng2),
|
|
265
|
-
buildPreloadInfo$1(ammo)
|
|
266
|
-
];
|
|
267
|
-
let readyNum = shallowRef(0);
|
|
268
|
-
const loadDone = (a) => {
|
|
269
|
-
readyNum.value++;
|
|
270
|
-
};
|
|
271
|
-
const preloadCallback = (config_json, resolve_set) => {
|
|
272
|
-
sprite_info.value = _formatInfo(config_json);
|
|
273
|
-
view_size.value = {
|
|
274
|
-
w: sprite_info.value.maxW,
|
|
275
|
-
h: sprite_info.value.maxH
|
|
276
|
-
};
|
|
277
|
-
resolve_set();
|
|
278
|
-
readyNum.value++;
|
|
279
|
-
};
|
|
280
|
-
let timer = { id: -1, id2: -1 };
|
|
281
|
-
let myRef = shallowRef(null);
|
|
282
|
-
const sprayOk = {
|
|
283
|
-
type: 0,
|
|
284
|
-
particleNum: 60,
|
|
285
|
-
deltaAngle: 180,
|
|
286
|
-
deltaWidth: 20,
|
|
287
|
-
deltaHeight: 40,
|
|
288
|
-
pointSizeMin: 30,
|
|
289
|
-
pointSizeMax: 50,
|
|
290
|
-
speedMin: 1,
|
|
291
|
-
speedMax: 7,
|
|
292
|
-
lifeMin: 500,
|
|
293
|
-
lifeMax: 800,
|
|
294
|
-
accelerateX: 0,
|
|
295
|
-
accelerateY: 0,
|
|
296
|
-
addNumSpeed: 1e-3,
|
|
297
|
-
enableFade: false,
|
|
298
|
-
enableShrink: true
|
|
299
|
-
};
|
|
300
|
-
const sprayOk1 = {
|
|
301
|
-
type: 0,
|
|
302
|
-
particleNum: 30,
|
|
303
|
-
deltaAngle: 180,
|
|
304
|
-
deltaWidth: 20,
|
|
305
|
-
deltaHeight: 40,
|
|
306
|
-
pointSizeMin: 30,
|
|
307
|
-
pointSizeMax: 50,
|
|
308
|
-
speedMin: 1,
|
|
309
|
-
speedMax: 7,
|
|
310
|
-
lifeMin: 1e3,
|
|
311
|
-
lifeMax: 2e3,
|
|
312
|
-
accelerateX: 0,
|
|
313
|
-
accelerateY: -40,
|
|
314
|
-
addNumSpeed: 1e-3,
|
|
315
|
-
enableFade: false,
|
|
316
|
-
enableShrink: false
|
|
317
|
-
};
|
|
318
|
-
const group1 = [group1_1, group1_2];
|
|
319
|
-
const group2 = [group2_1, group2_2];
|
|
320
|
-
const group3 = [group3_1, group3_2];
|
|
321
|
-
const group4 = [group4_1, group4_2];
|
|
322
|
-
const group5 = [group5_1, group5_2];
|
|
323
|
-
let ImgData1;
|
|
324
|
-
let ImgData2;
|
|
325
|
-
let ImgData3;
|
|
326
|
-
let ImgData4;
|
|
327
|
-
let ImgData5;
|
|
328
|
-
const allGroup = [group1, group2, group3, group4, group5];
|
|
329
|
-
const remainingGroups = [...allGroup];
|
|
330
|
-
for (let i = 1; i <= 5; i++) {
|
|
331
|
-
const randomIndex = Math.floor(Math.random() * remainingGroups.length);
|
|
332
|
-
const selectedGroup = remainingGroups[randomIndex];
|
|
333
|
-
switch (i) {
|
|
334
|
-
case 1:
|
|
335
|
-
ImgData1 = selectedGroup;
|
|
336
|
-
break;
|
|
337
|
-
case 2:
|
|
338
|
-
ImgData2 = selectedGroup;
|
|
339
|
-
break;
|
|
340
|
-
case 3:
|
|
341
|
-
ImgData3 = selectedGroup;
|
|
342
|
-
break;
|
|
343
|
-
case 4:
|
|
344
|
-
ImgData4 = selectedGroup;
|
|
345
|
-
break;
|
|
346
|
-
case 5:
|
|
347
|
-
ImgData5 = selectedGroup;
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
remainingGroups.splice(randomIndex, 1);
|
|
351
|
-
}
|
|
352
|
-
watch(readyNum, (n, o) => {
|
|
353
|
-
if (o != 2 && n == 2) {
|
|
354
|
-
myShow.value = true;
|
|
355
|
-
timer.id2 = setTimeout(() => {
|
|
356
|
-
myRef.value.start();
|
|
357
|
-
actorControl.run([
|
|
358
|
-
actorControl.condition().onNextTick(2).then([
|
|
359
|
-
actorControl.action().setSpeed(void 0, -9),
|
|
360
|
-
actorControl.action(3).setAccel(void 0, 0.13)
|
|
361
|
-
]),
|
|
362
|
-
actorControl.condition().reachPosition(void 0, -moveDistance).then([
|
|
363
|
-
actorControl.action().stopMoving(),
|
|
364
|
-
() => {
|
|
365
|
-
isSpray.value = true;
|
|
366
|
-
isShow.value = false;
|
|
367
|
-
spray();
|
|
368
|
-
}
|
|
369
|
-
])
|
|
370
|
-
]);
|
|
371
|
-
}, 0);
|
|
372
|
-
}
|
|
373
|
-
});
|
|
374
|
-
onMounted(() => {
|
|
375
|
-
actorControl = actorRef.value.control;
|
|
376
|
-
});
|
|
377
|
-
onBeforeUnmount(() => {
|
|
378
|
-
clearTimeout(timer.id2);
|
|
379
|
-
timer.id2 = -1;
|
|
380
|
-
});
|
|
381
|
-
return (_ctx, _cache) => {
|
|
382
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
383
|
-
createVNode(unref(JsvPreload), {
|
|
384
|
-
preloadList: preload_info,
|
|
385
|
-
onPreloadDone: loadDone
|
|
386
|
-
}),
|
|
387
|
-
createVNode(unref(_sfc_main$q), {
|
|
388
|
-
imageUrl: fireworksPng2,
|
|
389
|
-
configUrl: fireworksJson,
|
|
390
|
-
onConfigReady: preloadCallback,
|
|
391
|
-
noNeedResource: false
|
|
392
|
-
}, {
|
|
393
|
-
default: withCtx(() => [
|
|
394
|
-
withDirectives(createBaseVNode("div", {
|
|
395
|
-
style: normalizeStyle({
|
|
396
|
-
top: props.top,
|
|
397
|
-
left: props.left,
|
|
398
|
-
transform: `scale3d(${80 / unref(view_size).w},${160 / unref(view_size).h},1)`
|
|
399
|
-
})
|
|
400
|
-
}, [
|
|
401
|
-
createBaseVNode("div", { style: {
|
|
402
|
-
top: -170,
|
|
403
|
-
left: -45
|
|
404
|
-
} }, [
|
|
405
|
-
createVNode(unref(JsvSpriteAnim), {
|
|
406
|
-
spriteInfo: unref(sprite_info).info,
|
|
407
|
-
loop: 1,
|
|
408
|
-
duration: 1,
|
|
409
|
-
imageUrl: fireworksPng2,
|
|
410
|
-
ref_key: "myRef",
|
|
411
|
-
ref: myRef
|
|
412
|
-
}, null, 8, ["spriteInfo"])
|
|
413
|
-
])
|
|
414
|
-
], 4), [
|
|
415
|
-
[vShow, unref(myShow)]
|
|
416
|
-
])
|
|
417
|
-
]),
|
|
418
|
-
_: 1
|
|
419
|
-
}),
|
|
420
|
-
unref(isShow) ? (openBlock(), createBlock(unref(_sfc_main$B), {
|
|
421
|
-
key: 0,
|
|
422
|
-
top: props.top + 40,
|
|
423
|
-
left: props.left + 15,
|
|
424
|
-
ref_key: "actorRef",
|
|
425
|
-
ref: actorRef,
|
|
426
|
-
width: 8,
|
|
427
|
-
height: 8
|
|
428
|
-
}, {
|
|
429
|
-
default: withCtx(() => [
|
|
430
|
-
createBaseVNode("div", {
|
|
431
|
-
style: normalizeStyle({
|
|
432
|
-
width: 8,
|
|
433
|
-
height: 8,
|
|
434
|
-
backgroundImage: ammo
|
|
435
|
-
})
|
|
436
|
-
}, null, 4)
|
|
437
|
-
]),
|
|
438
|
-
_: 1
|
|
439
|
-
}, 8, ["top", "left"])) : createCommentVNode("", true),
|
|
440
|
-
unref(isSpray) ? (openBlock(), createElementBlock("div", {
|
|
441
|
-
key: 1,
|
|
442
|
-
style: normalizeStyle({
|
|
443
|
-
top: props.top - unref(moveDistance) + 20,
|
|
444
|
-
left: props.left,
|
|
445
|
-
width: 50,
|
|
446
|
-
height: 50
|
|
447
|
-
})
|
|
448
|
-
}, [
|
|
449
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(ImgData1), (item) => {
|
|
450
|
-
return openBlock(), createBlock(unref(_JsvSpray$1), {
|
|
451
|
-
pointRes: `url(${item})`,
|
|
452
|
-
sprayStyle: sprayOk,
|
|
453
|
-
ignoreClip: true
|
|
454
|
-
}, null, 8, ["pointRes"]);
|
|
455
|
-
}), 256))
|
|
456
|
-
], 4)) : createCommentVNode("", true),
|
|
457
|
-
unref(isSpray1) ? (openBlock(), createElementBlock("div", {
|
|
458
|
-
key: 2,
|
|
459
|
-
style: normalizeStyle({
|
|
460
|
-
top: props.top - unref(moveDistance) + 80,
|
|
461
|
-
left: props.left - 100,
|
|
462
|
-
width: 50,
|
|
463
|
-
height: 50
|
|
464
|
-
})
|
|
465
|
-
}, [
|
|
466
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(ImgData2), (item) => {
|
|
467
|
-
return openBlock(), createBlock(unref(_JsvSpray$1), {
|
|
468
|
-
pointRes: `url(${item})`,
|
|
469
|
-
sprayStyle: sprayOk1,
|
|
470
|
-
ignoreClip: true
|
|
471
|
-
}, null, 8, ["pointRes"]);
|
|
472
|
-
}), 256))
|
|
473
|
-
], 4)) : createCommentVNode("", true),
|
|
474
|
-
unref(isSpray2) ? (openBlock(), createElementBlock("div", {
|
|
475
|
-
key: 3,
|
|
476
|
-
style: normalizeStyle({
|
|
477
|
-
top: props.top - unref(moveDistance) + 80,
|
|
478
|
-
left: props.left + 100,
|
|
479
|
-
width: 50,
|
|
480
|
-
height: 50
|
|
481
|
-
})
|
|
482
|
-
}, [
|
|
483
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(ImgData3), (item) => {
|
|
484
|
-
return openBlock(), createBlock(unref(_JsvSpray$1), {
|
|
485
|
-
pointRes: `url(${item})`,
|
|
486
|
-
sprayStyle: sprayOk1,
|
|
487
|
-
ignoreClip: true
|
|
488
|
-
}, null, 8, ["pointRes"]);
|
|
489
|
-
}), 256))
|
|
490
|
-
], 4)) : createCommentVNode("", true),
|
|
491
|
-
unref(isSpray3) ? (openBlock(), createElementBlock("div", {
|
|
492
|
-
key: 4,
|
|
493
|
-
style: normalizeStyle({
|
|
494
|
-
top: props.top - unref(moveDistance) - 80,
|
|
495
|
-
left: props.left - 100,
|
|
496
|
-
width: 50,
|
|
497
|
-
height: 50
|
|
498
|
-
})
|
|
499
|
-
}, [
|
|
500
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(ImgData4), (item) => {
|
|
501
|
-
return openBlock(), createBlock(unref(_JsvSpray$1), {
|
|
502
|
-
pointRes: `url(${item})`,
|
|
503
|
-
sprayStyle: sprayOk1,
|
|
504
|
-
ignoreClip: true
|
|
505
|
-
}, null, 8, ["pointRes"]);
|
|
506
|
-
}), 256))
|
|
507
|
-
], 4)) : createCommentVNode("", true),
|
|
508
|
-
unref(isSpray4) ? (openBlock(), createElementBlock("div", {
|
|
509
|
-
key: 5,
|
|
510
|
-
style: normalizeStyle({
|
|
511
|
-
top: props.top - unref(moveDistance) - 80,
|
|
512
|
-
left: props.left + 100,
|
|
513
|
-
width: 50,
|
|
514
|
-
height: 50
|
|
515
|
-
})
|
|
516
|
-
}, [
|
|
517
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(ImgData5), (item) => {
|
|
518
|
-
return openBlock(), createBlock(unref(_JsvSpray$1), {
|
|
519
|
-
pointRes: `url(${item})`,
|
|
520
|
-
sprayStyle: sprayOk1,
|
|
521
|
-
ignoreClip: true
|
|
522
|
-
}, null, 8, ["pointRes"]);
|
|
523
|
-
}), 256))
|
|
524
|
-
], 4)) : createCommentVNode("", true)
|
|
525
|
-
], 64);
|
|
526
|
-
};
|
|
527
|
-
}
|
|
528
|
-
};
|
|
529
|
-
const _sfc_main$3 = {
|
|
530
|
-
__name: "Maroon",
|
|
531
|
-
props: {
|
|
532
|
-
top: Number,
|
|
533
|
-
left: Number,
|
|
534
|
-
deg: Number,
|
|
535
|
-
controller: Object,
|
|
536
|
-
myRef: Object
|
|
537
|
-
},
|
|
538
|
-
setup(__props, { expose }) {
|
|
539
|
-
const props = __props;
|
|
540
|
-
let maroonResource = inject("maroonResource");
|
|
541
|
-
let view_size = maroonResource.firecrackerSet.viewSize;
|
|
542
|
-
let actorRef = shallowRef(null);
|
|
543
|
-
let actorControl;
|
|
544
|
-
let isShow = shallowRef(true);
|
|
545
|
-
let isSpray = shallowRef(false);
|
|
546
|
-
let deg = shallowRef(props.deg);
|
|
547
|
-
const fire = () => {
|
|
548
|
-
props.myRef.value.start();
|
|
549
|
-
actorControl.run([
|
|
550
|
-
actorControl.action().setSpdAndAccel(void 0, 0, void 0, 0.15, null, null),
|
|
551
|
-
actorControl.condition().reachPosition(void 0, 280).then([actorControl.action().stopMoving()])
|
|
552
|
-
]);
|
|
553
|
-
};
|
|
554
|
-
const ImgData = [
|
|
555
|
-
maroonResource.star1,
|
|
556
|
-
maroonResource.star2,
|
|
557
|
-
maroonResource.star3
|
|
558
|
-
];
|
|
559
|
-
const sprayOk = {
|
|
560
|
-
type: 0,
|
|
561
|
-
particleNum: 100,
|
|
562
|
-
deltaAngle: 360,
|
|
563
|
-
deltaWidth: 20,
|
|
564
|
-
deltaHeight: 20,
|
|
565
|
-
pointSizeMin: 20,
|
|
566
|
-
pointSizeMax: 30,
|
|
567
|
-
speedMin: 1,
|
|
568
|
-
speedMax: 7,
|
|
569
|
-
lifeMin: 1e3,
|
|
570
|
-
lifeMax: 2e3,
|
|
571
|
-
accelerateX: 0,
|
|
572
|
-
accelerateY: 0,
|
|
573
|
-
addNumSpeed: 1e-3,
|
|
574
|
-
enableFade: true,
|
|
575
|
-
enableShrink: true
|
|
576
|
-
};
|
|
577
|
-
const onAnimEnd = () => {
|
|
578
|
-
isShow.value = false;
|
|
579
|
-
isSpray.value = true;
|
|
580
|
-
};
|
|
581
|
-
onMounted(() => {
|
|
582
|
-
actorControl = actorRef.value.control;
|
|
583
|
-
});
|
|
584
|
-
expose({ fire });
|
|
585
|
-
return (_ctx, _cache) => {
|
|
586
|
-
return openBlock(), createBlock(unref(_sfc_main$B), {
|
|
587
|
-
top: props.top,
|
|
588
|
-
left: props.left,
|
|
589
|
-
width: 30,
|
|
590
|
-
height: 60,
|
|
591
|
-
ref_key: "actorRef",
|
|
592
|
-
ref: actorRef
|
|
593
|
-
}, {
|
|
594
|
-
default: withCtx(() => [
|
|
595
|
-
createBaseVNode("div", { style: {
|
|
596
|
-
width: 30,
|
|
597
|
-
height: 60
|
|
598
|
-
} }, [
|
|
599
|
-
createBaseVNode("div", {
|
|
600
|
-
style: normalizeStyle({
|
|
601
|
-
width: 30,
|
|
602
|
-
height: 40,
|
|
603
|
-
transform: `rotate3d(0,0,1,${unref(deg)}deg) scale3d(${40 / unref(view_size).w},${40 / unref(view_size).w},1)`,
|
|
604
|
-
transformOrigin: "center center"
|
|
605
|
-
})
|
|
606
|
-
}, [
|
|
607
|
-
createVNode(unref(JsvSpriteAnim), {
|
|
608
|
-
spriteInfo: unref(maroonResource).firecrackerSet.info.value,
|
|
609
|
-
loop: 1,
|
|
610
|
-
duration: 0.8,
|
|
611
|
-
imageUrl: unref(maroonResource).firecrackerPng,
|
|
612
|
-
onAnimEnd,
|
|
613
|
-
ref: props.myRef
|
|
614
|
-
}, null, 8, ["spriteInfo", "duration", "imageUrl"]),
|
|
615
|
-
unref(isSpray) ? (openBlock(), createElementBlock("div", {
|
|
616
|
-
key: 0,
|
|
617
|
-
style: normalizeStyle({
|
|
618
|
-
top: unref(view_size).h / 2,
|
|
619
|
-
left: unref(view_size).w / 2,
|
|
620
|
-
width: unref(view_size).w,
|
|
621
|
-
height: unref(view_size).h
|
|
622
|
-
})
|
|
623
|
-
}, [
|
|
624
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(ImgData, (item) => {
|
|
625
|
-
return createVNode(unref(_JsvSpray$1), {
|
|
626
|
-
pointRes: `url(${item})`,
|
|
627
|
-
sprayStyle: sprayOk,
|
|
628
|
-
ignoreClip: true
|
|
629
|
-
}, null, 8, ["pointRes"]);
|
|
630
|
-
}), 64))
|
|
631
|
-
], 4)) : createCommentVNode("", true)
|
|
632
|
-
], 4)
|
|
633
|
-
])
|
|
634
|
-
]),
|
|
635
|
-
_: 1
|
|
636
|
-
}, 8, ["top", "left"]);
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
};
|
|
640
|
-
const _sfc_main$2 = {
|
|
641
|
-
__name: "MaroonLoader",
|
|
642
|
-
props: {
|
|
643
|
-
top: Number,
|
|
644
|
-
left: Number,
|
|
645
|
-
deg: Number,
|
|
646
|
-
controller: Object,
|
|
647
|
-
myRef: Object
|
|
648
|
-
},
|
|
649
|
-
setup(__props) {
|
|
650
|
-
const maroonResource = {
|
|
651
|
-
star1: "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/redStar.png",
|
|
652
|
-
star2: "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/yellowStar.png",
|
|
653
|
-
star3: "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/purpleStar.png",
|
|
654
|
-
firecrackerPng: "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/firecracker.png",
|
|
655
|
-
firecrackerJson: "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/firecracker.json",
|
|
656
|
-
firecrackerSet: {
|
|
657
|
-
info: shallowRef(null),
|
|
658
|
-
viewSize: shallowRef(null)
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
|
-
const preload_info = [
|
|
662
|
-
buildPreloadInfo$1(maroonResource.start1),
|
|
663
|
-
buildPreloadInfo$1(maroonResource.start2),
|
|
664
|
-
buildPreloadInfo$1(maroonResource.start3),
|
|
665
|
-
buildPreloadInfo$1(maroonResource.firecrackerPng)
|
|
666
|
-
];
|
|
667
|
-
let sonFlag = inject("sonFlag");
|
|
668
|
-
provide("maroonResource", maroonResource);
|
|
669
|
-
let readyNum = shallowRef(0);
|
|
670
|
-
const loadDone = (a) => {
|
|
671
|
-
readyNum.value++;
|
|
672
|
-
};
|
|
673
|
-
const preloadCallback = (config_json, resolve_set) => {
|
|
674
|
-
let sprite_info = _formatInfo(config_json);
|
|
675
|
-
maroonResource.firecrackerSet.info.value = sprite_info.info;
|
|
676
|
-
maroonResource.firecrackerSet.viewSize.value = {
|
|
677
|
-
w: sprite_info.maxW,
|
|
678
|
-
h: sprite_info.maxH
|
|
679
|
-
};
|
|
680
|
-
resolve_set();
|
|
681
|
-
readyNum.value++;
|
|
682
|
-
};
|
|
683
|
-
watch(readyNum, (n, o) => {
|
|
684
|
-
if (o != 2 && n == 2) {
|
|
685
|
-
sonFlag.value = true;
|
|
686
|
-
}
|
|
687
|
-
});
|
|
688
|
-
return (_ctx, _cache) => {
|
|
689
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
690
|
-
createVNode(unref(JsvPreload), {
|
|
691
|
-
preloadList: preload_info,
|
|
692
|
-
onPreloadDone: loadDone
|
|
693
|
-
}),
|
|
694
|
-
createVNode(unref(_sfc_main$q), {
|
|
695
|
-
imageUrl: maroonResource.firecrackerPng,
|
|
696
|
-
configUrl: maroonResource.firecrackerJson,
|
|
697
|
-
onConfigReady: preloadCallback,
|
|
698
|
-
noNeedResource: false
|
|
699
|
-
}, {
|
|
700
|
-
default: withCtx(() => [
|
|
701
|
-
unref(sonFlag) ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("", true)
|
|
702
|
-
]),
|
|
703
|
-
_: 3
|
|
704
|
-
}, 8, ["imageUrl", "configUrl"])
|
|
705
|
-
], 64);
|
|
706
|
-
};
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
const Banger_vue_vue_type_style_index_0_scoped_66b92620_lang = "";
|
|
710
|
-
const _sfc_main$1 = {
|
|
711
|
-
__name: "Banger",
|
|
712
|
-
props: {
|
|
713
|
-
top: { type: Number, default: 0 },
|
|
714
|
-
left: { type: Number, default: 0 },
|
|
715
|
-
num: { type: Number, default: 12 },
|
|
716
|
-
width: { type: Number, require: true },
|
|
717
|
-
leadWireTime: { type: Number, require: true }
|
|
718
|
-
},
|
|
719
|
-
setup(__props) {
|
|
720
|
-
const props = __props;
|
|
721
|
-
const leadWire2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/leadWire.png";
|
|
722
|
-
const sparkPng2 = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/spark.png";
|
|
723
|
-
const sparkJson = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/Sprite/spark.json";
|
|
724
|
-
const preload_info = [buildPreloadInfo$1(leadWire2), buildPreloadInfo$1(sparkPng2)];
|
|
725
|
-
let controllerAnim = shallowRef(null);
|
|
726
|
-
let readyNum = shallowRef(0);
|
|
727
|
-
const loadDone = (a) => {
|
|
728
|
-
readyNum.value++;
|
|
729
|
-
myShow.value = true;
|
|
730
|
-
};
|
|
731
|
-
let myShow = shallowRef(false);
|
|
732
|
-
const widgetWidth = 80;
|
|
733
|
-
let sprite_info = shallowRef(null);
|
|
734
|
-
let view_size = shallowRef(null);
|
|
735
|
-
let leadWireHeight = (props.num - 1) * 16 + 20;
|
|
736
|
-
const idRandom = Math.floor(Math.random() * 1e6);
|
|
737
|
-
let styleShell = getKeyFramesGroup();
|
|
738
|
-
let name1 = "animLw1-" + idRandom;
|
|
739
|
-
let name2 = "animLw2-" + idRandom;
|
|
740
|
-
let animLw1 = `@keyframes ${name1} {
|
|
741
|
-
from {
|
|
742
|
-
transform: translate3d(0,${leadWireHeight}, 0);
|
|
743
|
-
}
|
|
744
|
-
to {
|
|
745
|
-
transform: translate3d(0, 0, 0);
|
|
746
|
-
}
|
|
747
|
-
}`;
|
|
748
|
-
styleShell.insertRule(animLw1);
|
|
749
|
-
let animLw2 = `@keyframes ${name2} {
|
|
750
|
-
from {
|
|
751
|
-
transform: translate3d(0,${-leadWireHeight}, 0);
|
|
752
|
-
}
|
|
753
|
-
to {
|
|
754
|
-
transform: translate3d(0, 0, 0);
|
|
755
|
-
}
|
|
756
|
-
}`;
|
|
757
|
-
styleShell.insertRule(animLw2);
|
|
758
|
-
const preloadCallback = (config_json, resolve_set) => {
|
|
759
|
-
sprite_info.value = _formatInfo(config_json);
|
|
760
|
-
view_size.value = {
|
|
761
|
-
w: sprite_info.value.maxW,
|
|
762
|
-
h: sprite_info.value.maxH
|
|
763
|
-
};
|
|
764
|
-
resolve_set();
|
|
765
|
-
readyNum.value++;
|
|
766
|
-
};
|
|
767
|
-
let sonFlag = shallowRef(false);
|
|
768
|
-
provide("sonFlag", sonFlag);
|
|
769
|
-
let aniName1 = shallowRef(null);
|
|
770
|
-
let aniName2 = shallowRef(null);
|
|
771
|
-
let isSpark = shallowRef(true);
|
|
772
|
-
const closeSpark = () => {
|
|
773
|
-
isSpark.value = false;
|
|
774
|
-
};
|
|
775
|
-
const spriteArray = new Array(props.num);
|
|
776
|
-
let RefArray = shallowRef([]);
|
|
777
|
-
for (let i = 0; i < spriteArray.length; i++) {
|
|
778
|
-
spriteArray[i] = shallowRef(null);
|
|
779
|
-
}
|
|
780
|
-
const callFireMethod = (index) => {
|
|
781
|
-
if (index >= spriteArray.length) {
|
|
782
|
-
return;
|
|
783
|
-
}
|
|
784
|
-
const currentMaroonRef = RefArray.value[index];
|
|
785
|
-
if (currentMaroonRef) {
|
|
786
|
-
currentMaroonRef.fire();
|
|
787
|
-
}
|
|
788
|
-
timer.id2 = setTimeout(() => {
|
|
789
|
-
callFireMethod(index + 1);
|
|
790
|
-
}, props.leadWireTime * 1e3 / (props.num - 1));
|
|
791
|
-
};
|
|
792
|
-
let timer = { id: -1, id2: -1 };
|
|
793
|
-
watch(readyNum, (n, o) => {
|
|
794
|
-
if (o != 3 && n == 3) {
|
|
795
|
-
timer.id = setTimeout(() => {
|
|
796
|
-
controllerAnim.value.start();
|
|
797
|
-
callFireMethod(0);
|
|
798
|
-
aniName1.value = `${name1} ${props.leadWireTime}s linear`;
|
|
799
|
-
aniName2.value = `${name2} ${props.leadWireTime}s linear`;
|
|
800
|
-
}, 0);
|
|
801
|
-
}
|
|
802
|
-
});
|
|
803
|
-
watch(sonFlag, (n) => {
|
|
804
|
-
if (n == true) {
|
|
805
|
-
readyNum.value++;
|
|
806
|
-
}
|
|
807
|
-
});
|
|
808
|
-
onBeforeUnmount(() => {
|
|
809
|
-
styleShell.removeRule(name1);
|
|
810
|
-
styleShell.removeRule(name2);
|
|
811
|
-
clearTimeout(timer.id);
|
|
812
|
-
clearTimeout(timer.id2);
|
|
813
|
-
timer.id = -1;
|
|
814
|
-
timer.id2 = -1;
|
|
815
|
-
});
|
|
816
|
-
return (_ctx, _cache) => {
|
|
817
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
818
|
-
createVNode(unref(JsvPreload), {
|
|
819
|
-
preloadList: preload_info,
|
|
820
|
-
onPreloadDone: loadDone
|
|
821
|
-
}),
|
|
822
|
-
withDirectives(createBaseVNode("div", {
|
|
823
|
-
style: normalizeStyle({
|
|
824
|
-
left: props.left - widgetWidth / 2,
|
|
825
|
-
top: props.top,
|
|
826
|
-
width: widgetWidth,
|
|
827
|
-
height: unref(leadWireHeight),
|
|
828
|
-
transform: `scale3d(${props.width / widgetWidth},${props.width / widgetWidth},1)`,
|
|
829
|
-
transformOrigin: "center top"
|
|
830
|
-
})
|
|
831
|
-
}, [
|
|
832
|
-
createBaseVNode("div", {
|
|
833
|
-
style: normalizeStyle({
|
|
834
|
-
top: -unref(leadWireHeight),
|
|
835
|
-
left: 0,
|
|
836
|
-
width: 80,
|
|
837
|
-
height: unref(leadWireHeight),
|
|
838
|
-
overflow: "hidden",
|
|
839
|
-
animation: unref(aniName1)
|
|
840
|
-
})
|
|
841
|
-
}, [
|
|
842
|
-
createBaseVNode("div", {
|
|
843
|
-
style: normalizeStyle({
|
|
844
|
-
top: unref(leadWireHeight),
|
|
845
|
-
left: 0,
|
|
846
|
-
width: 80,
|
|
847
|
-
height: unref(leadWireHeight),
|
|
848
|
-
backgroundImage: leadWire2,
|
|
849
|
-
animation: unref(aniName2)
|
|
850
|
-
})
|
|
851
|
-
}, null, 4)
|
|
852
|
-
], 4),
|
|
853
|
-
unref(isSpark) ? (openBlock(), createElementBlock("div", {
|
|
854
|
-
key: 0,
|
|
855
|
-
style: normalizeStyle({
|
|
856
|
-
top: -10,
|
|
857
|
-
left: 31,
|
|
858
|
-
animation: unref(aniName1)
|
|
859
|
-
}),
|
|
860
|
-
onAnimationend: closeSpark
|
|
861
|
-
}, [
|
|
862
|
-
createVNode(unref(_sfc_main$q), {
|
|
863
|
-
imageUrl: sparkPng2,
|
|
864
|
-
configUrl: sparkJson,
|
|
865
|
-
onConfigReady: preloadCallback,
|
|
866
|
-
noNeedResource: false
|
|
867
|
-
}, {
|
|
868
|
-
default: withCtx(() => [
|
|
869
|
-
createBaseVNode("div", {
|
|
870
|
-
style: normalizeStyle({
|
|
871
|
-
transform: `scale3d(${20 / unref(view_size).w},${20 / unref(view_size).h},1)`
|
|
872
|
-
})
|
|
873
|
-
}, [
|
|
874
|
-
createVNode(unref(JsvSpriteAnim), {
|
|
875
|
-
spriteInfo: unref(sprite_info).info,
|
|
876
|
-
loop: "infinite",
|
|
877
|
-
duration: 0.1,
|
|
878
|
-
imageUrl: sparkPng2,
|
|
879
|
-
ref_key: "controllerAnim",
|
|
880
|
-
ref: controllerAnim,
|
|
881
|
-
autoStart: "true"
|
|
882
|
-
}, null, 8, ["spriteInfo", "duration"])
|
|
883
|
-
], 4)
|
|
884
|
-
]),
|
|
885
|
-
_: 1
|
|
886
|
-
})
|
|
887
|
-
], 36)) : createCommentVNode("", true),
|
|
888
|
-
createVNode(_sfc_main$2, null, {
|
|
889
|
-
default: withCtx(() => [
|
|
890
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(spriteArray), (item, index) => {
|
|
891
|
-
return openBlock(), createBlock(_sfc_main$3, {
|
|
892
|
-
top: unref(leadWireHeight) - 40 - index * 16,
|
|
893
|
-
left: 10,
|
|
894
|
-
deg: index % 2 == 0 ? 30 : -30,
|
|
895
|
-
ref_for: true,
|
|
896
|
-
ref: (el) => unref(RefArray)[index] = el,
|
|
897
|
-
myRef: unref(spriteArray)[index]
|
|
898
|
-
}, null, 8, ["top", "deg", "myRef"]);
|
|
899
|
-
}), 256))
|
|
900
|
-
]),
|
|
901
|
-
_: 1
|
|
902
|
-
})
|
|
903
|
-
], 4), [
|
|
904
|
-
[vShow, unref(myShow)]
|
|
905
|
-
])
|
|
906
|
-
], 64);
|
|
907
|
-
};
|
|
908
|
-
}
|
|
909
|
-
};
|
|
910
|
-
const styleSheetsContent$1 = { "66b92620": { ".text": '{"fontSize":24,"color":"#ffffff","fontWeight":"bold","textAlign":"center","lineHeight":32}' } };
|
|
911
|
-
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent$1);
|
|
912
|
-
const Banger = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-66b92620"]]);
|
|
913
|
-
const star1 = "" + new URL("../assets/star1.dd634833.png", import.meta.url).href;
|
|
914
|
-
const star2 = "" + new URL("../assets/star2.df352429.png", import.meta.url).href;
|
|
915
|
-
const star3 = "" + new URL("../assets/star3.5a62b76f.png", import.meta.url).href;
|
|
916
|
-
const star4 = "" + new URL("../assets/star4.2283606c.png", import.meta.url).href;
|
|
917
|
-
const fireworksPng = "" + new URL("../assets/fireworks.1c112f43.png", import.meta.url).href;
|
|
918
|
-
const redStar = "" + new URL("../assets/redStar.9c31bb42.png", import.meta.url).href;
|
|
919
|
-
const yellowStar = "" + new URL("../assets/yellowStar.d80f0718.png", import.meta.url).href;
|
|
920
|
-
const purpleStar = "" + new URL("../assets/purpleStar.b1920ac5.png", import.meta.url).href;
|
|
921
|
-
const firecrackerPng = "" + new URL("../assets/firecracker.bf5b0aa9.png", import.meta.url).href;
|
|
922
|
-
const leadWire = "" + new URL("../assets/leadWire.0c2130df.png", import.meta.url).href;
|
|
923
|
-
const sparkPng = "" + new URL("../assets/spark.50b3f017.png", import.meta.url).href;
|
|
924
|
-
const App_vue_vue_type_style_index_0_scoped_c4d231bd_lang = "";
|
|
925
|
-
const _sfc_main = {
|
|
926
|
-
__name: "App",
|
|
927
|
-
setup(__props) {
|
|
928
|
-
const ammo = "https://qcast-image.oss-cn-qingdao.aliyuncs.com/JsViewVideo/ImageTestSample/SpringFestivalTest_2024/images/star2.png";
|
|
929
|
-
let myIndex = shallowRef(1);
|
|
930
|
-
const onKeyDown = (ev) => {
|
|
931
|
-
switch (ev.keyCode) {
|
|
932
|
-
case 37:
|
|
933
|
-
myIndex.value--;
|
|
934
|
-
if (myIndex.value <= 1) {
|
|
935
|
-
myIndex.value = 1;
|
|
936
|
-
}
|
|
937
|
-
break;
|
|
938
|
-
case 39:
|
|
939
|
-
myIndex.value++;
|
|
940
|
-
if (myIndex.value >= 3) {
|
|
941
|
-
myIndex.value = 3;
|
|
942
|
-
}
|
|
943
|
-
break;
|
|
944
|
-
}
|
|
945
|
-
};
|
|
946
|
-
return (_ctx, _cache) => {
|
|
947
|
-
const _component_jsv_focus_block = resolveComponent("jsv-focus-block");
|
|
948
|
-
return openBlock(), createBlock(_component_jsv_focus_block, {
|
|
949
|
-
autoFocus: "",
|
|
950
|
-
onKeyDown
|
|
951
|
-
}, {
|
|
952
|
-
default: withCtx(() => [
|
|
953
|
-
createBaseVNode("div", { class: "bgStyle" }, [
|
|
954
|
-
unref(myIndex) == 1 ? (openBlock(), createElementBlock("div", { key: 0 }, [
|
|
955
|
-
createVNode(_sfc_main$5, {
|
|
956
|
-
top: 130,
|
|
957
|
-
left: 200,
|
|
958
|
-
width: 150,
|
|
959
|
-
animTime: 1.5
|
|
960
|
-
}, null, 8, ["animTime"]),
|
|
961
|
-
createBaseVNode("div", {
|
|
962
|
-
style: normalizeStyle({
|
|
963
|
-
top: 100,
|
|
964
|
-
left: 800,
|
|
965
|
-
width: 210,
|
|
966
|
-
height: 30,
|
|
967
|
-
backgroundImage: unref(scroll)
|
|
968
|
-
})
|
|
969
|
-
}, null, 4),
|
|
970
|
-
createBaseVNode("div", {
|
|
971
|
-
style: normalizeStyle({
|
|
972
|
-
top: 260,
|
|
973
|
-
left: 800,
|
|
974
|
-
width: 210,
|
|
975
|
-
height: 120,
|
|
976
|
-
backgroundImage: unref(scrollPng)
|
|
977
|
-
})
|
|
978
|
-
}, null, 4),
|
|
979
|
-
createBaseVNode("div", {
|
|
980
|
-
style: normalizeStyle({
|
|
981
|
-
top: 500,
|
|
982
|
-
left: 880,
|
|
983
|
-
width: 50,
|
|
984
|
-
height: 200,
|
|
985
|
-
backgroundImage: unref(Couplets)
|
|
986
|
-
})
|
|
987
|
-
}, null, 4),
|
|
988
|
-
createBaseVNode("div", {
|
|
989
|
-
class: "text",
|
|
990
|
-
style: { top: 40, left: 200, width: 150, height: 100 }
|
|
991
|
-
}, toDisplayString("春联效果")),
|
|
992
|
-
createBaseVNode("div", {
|
|
993
|
-
class: "text",
|
|
994
|
-
style: { top: 40, left: 800, width: 210, height: 100 }
|
|
995
|
-
}, toDisplayString("上卷轴图片素材")),
|
|
996
|
-
createBaseVNode("div", {
|
|
997
|
-
class: "text",
|
|
998
|
-
style: { top: 200, left: 800, width: 210, height: 100 }
|
|
999
|
-
}, toDisplayString("下卷轴精灵图素材")),
|
|
1000
|
-
createBaseVNode("div", {
|
|
1001
|
-
class: "text",
|
|
1002
|
-
style: { top: 440, left: 800, width: 210, height: 100 }
|
|
1003
|
-
}, toDisplayString("主体图片素材"))
|
|
1004
|
-
])) : unref(myIndex) == 2 ? (openBlock(), createElementBlock("div", { key: 1 }, [
|
|
1005
|
-
createVNode(Banger, {
|
|
1006
|
-
top: 100,
|
|
1007
|
-
left: 200,
|
|
1008
|
-
num: 16,
|
|
1009
|
-
leadWireTime: 4,
|
|
1010
|
-
width: 100
|
|
1011
|
-
}),
|
|
1012
|
-
createBaseVNode("div", {
|
|
1013
|
-
class: "text",
|
|
1014
|
-
style: { top: 40, left: 130, width: 150, height: 100 }
|
|
1015
|
-
}, toDisplayString("炮仗效果")),
|
|
1016
|
-
createBaseVNode("div", {
|
|
1017
|
-
style: normalizeStyle({
|
|
1018
|
-
top: 100,
|
|
1019
|
-
left: 600,
|
|
1020
|
-
width: 210,
|
|
1021
|
-
height: 120,
|
|
1022
|
-
backgroundImage: unref(sparkPng)
|
|
1023
|
-
})
|
|
1024
|
-
}, null, 4),
|
|
1025
|
-
createBaseVNode("div", {
|
|
1026
|
-
style: normalizeStyle({
|
|
1027
|
-
top: 300,
|
|
1028
|
-
left: 600,
|
|
1029
|
-
width: 210,
|
|
1030
|
-
height: 120,
|
|
1031
|
-
backgroundImage: unref(firecrackerPng)
|
|
1032
|
-
})
|
|
1033
|
-
}, null, 4),
|
|
1034
|
-
createBaseVNode("div", {
|
|
1035
|
-
style: normalizeStyle({
|
|
1036
|
-
top: 520,
|
|
1037
|
-
left: 650,
|
|
1038
|
-
width: 100,
|
|
1039
|
-
height: 150,
|
|
1040
|
-
backgroundImage: unref(leadWire)
|
|
1041
|
-
})
|
|
1042
|
-
}, null, 4),
|
|
1043
|
-
createBaseVNode("div", {
|
|
1044
|
-
style: normalizeStyle({
|
|
1045
|
-
top: 100,
|
|
1046
|
-
left: 900,
|
|
1047
|
-
width: 210,
|
|
1048
|
-
height: 120,
|
|
1049
|
-
backgroundImage: unref(redStar)
|
|
1050
|
-
})
|
|
1051
|
-
}, null, 4),
|
|
1052
|
-
createBaseVNode("div", {
|
|
1053
|
-
style: normalizeStyle({
|
|
1054
|
-
top: 300,
|
|
1055
|
-
left: 900,
|
|
1056
|
-
width: 210,
|
|
1057
|
-
height: 120,
|
|
1058
|
-
backgroundImage: unref(yellowStar)
|
|
1059
|
-
})
|
|
1060
|
-
}, null, 4),
|
|
1061
|
-
createBaseVNode("div", {
|
|
1062
|
-
style: normalizeStyle({
|
|
1063
|
-
top: 520,
|
|
1064
|
-
left: 900,
|
|
1065
|
-
width: 210,
|
|
1066
|
-
height: 120,
|
|
1067
|
-
backgroundImage: unref(purpleStar)
|
|
1068
|
-
})
|
|
1069
|
-
}, null, 4),
|
|
1070
|
-
createBaseVNode("div", {
|
|
1071
|
-
class: "text",
|
|
1072
|
-
style: { top: 40, left: 600, width: 210, height: 100 }
|
|
1073
|
-
}, toDisplayString("火花精灵图素材")),
|
|
1074
|
-
createBaseVNode("div", {
|
|
1075
|
-
class: "text",
|
|
1076
|
-
style: { top: 240, left: 600, width: 210, height: 100 }
|
|
1077
|
-
}, toDisplayString("鞭炮精灵图素材")),
|
|
1078
|
-
createBaseVNode("div", {
|
|
1079
|
-
class: "text",
|
|
1080
|
-
style: { top: 460, left: 600, width: 210, height: 100 }
|
|
1081
|
-
}, toDisplayString("引线图片素材")),
|
|
1082
|
-
createBaseVNode("div", {
|
|
1083
|
-
class: "text",
|
|
1084
|
-
style: { top: 40, left: 900, width: 210, height: 100 }
|
|
1085
|
-
}, toDisplayString("火花图片素材1")),
|
|
1086
|
-
createBaseVNode("div", {
|
|
1087
|
-
class: "text",
|
|
1088
|
-
style: { top: 240, left: 900, width: 210, height: 100 }
|
|
1089
|
-
}, toDisplayString("火花图片素材2")),
|
|
1090
|
-
createBaseVNode("div", {
|
|
1091
|
-
class: "text",
|
|
1092
|
-
style: { top: 460, left: 900, width: 210, height: 100 }
|
|
1093
|
-
}, toDisplayString("火花图片素材3"))
|
|
1094
|
-
])) : (openBlock(), createElementBlock("div", { key: 2 }, [
|
|
1095
|
-
createVNode(_sfc_main$4, {
|
|
1096
|
-
top: 600,
|
|
1097
|
-
left: 200
|
|
1098
|
-
}),
|
|
1099
|
-
createBaseVNode("div", {
|
|
1100
|
-
class: "text",
|
|
1101
|
-
style: { top: 40, left: 130, width: 150, height: 100 }
|
|
1102
|
-
}, toDisplayString("烟花效果")),
|
|
1103
|
-
createBaseVNode("div", {
|
|
1104
|
-
style: normalizeStyle({
|
|
1105
|
-
top: 100,
|
|
1106
|
-
left: 600,
|
|
1107
|
-
width: 210,
|
|
1108
|
-
height: 120,
|
|
1109
|
-
backgroundImage: unref(fireworksPng)
|
|
1110
|
-
})
|
|
1111
|
-
}, null, 4),
|
|
1112
|
-
createBaseVNode("div", {
|
|
1113
|
-
style: normalizeStyle({
|
|
1114
|
-
top: 100,
|
|
1115
|
-
left: 980,
|
|
1116
|
-
width: 50,
|
|
1117
|
-
height: 50,
|
|
1118
|
-
backgroundImage: unref(star1)
|
|
1119
|
-
})
|
|
1120
|
-
}, null, 4),
|
|
1121
|
-
createBaseVNode("div", {
|
|
1122
|
-
style: normalizeStyle({
|
|
1123
|
-
top: 260,
|
|
1124
|
-
left: 980,
|
|
1125
|
-
width: 50,
|
|
1126
|
-
height: 50,
|
|
1127
|
-
backgroundImage: unref(star2)
|
|
1128
|
-
})
|
|
1129
|
-
}, null, 4),
|
|
1130
|
-
createBaseVNode("div", {
|
|
1131
|
-
style: normalizeStyle({
|
|
1132
|
-
top: 420,
|
|
1133
|
-
left: 980,
|
|
1134
|
-
width: 50,
|
|
1135
|
-
height: 50,
|
|
1136
|
-
backgroundImage: unref(star3)
|
|
1137
|
-
})
|
|
1138
|
-
}, null, 4),
|
|
1139
|
-
createBaseVNode("div", {
|
|
1140
|
-
style: normalizeStyle({
|
|
1141
|
-
top: 580,
|
|
1142
|
-
left: 980,
|
|
1143
|
-
width: 50,
|
|
1144
|
-
height: 50,
|
|
1145
|
-
backgroundImage: unref(star4)
|
|
1146
|
-
})
|
|
1147
|
-
}, null, 4),
|
|
1148
|
-
createBaseVNode("div", {
|
|
1149
|
-
style: normalizeStyle({
|
|
1150
|
-
top: 360,
|
|
1151
|
-
left: 680,
|
|
1152
|
-
width: 50,
|
|
1153
|
-
height: 50,
|
|
1154
|
-
backgroundImage: ammo
|
|
1155
|
-
})
|
|
1156
|
-
}, null, 4),
|
|
1157
|
-
createBaseVNode("div", {
|
|
1158
|
-
class: "text",
|
|
1159
|
-
style: { top: 40, left: 600, width: 210, height: 100 }
|
|
1160
|
-
}, toDisplayString("烟花精灵图素材")),
|
|
1161
|
-
createBaseVNode("div", {
|
|
1162
|
-
class: "text",
|
|
1163
|
-
style: { top: 40, left: 900, width: 210, height: 100 }
|
|
1164
|
-
}, toDisplayString("火星图片素材1")),
|
|
1165
|
-
createBaseVNode("div", {
|
|
1166
|
-
class: "text",
|
|
1167
|
-
style: { top: 200, left: 900, width: 210, height: 100 }
|
|
1168
|
-
}, toDisplayString("火星图片素材2")),
|
|
1169
|
-
createBaseVNode("div", {
|
|
1170
|
-
class: "text",
|
|
1171
|
-
style: { top: 360, left: 900, width: 210, height: 100 }
|
|
1172
|
-
}, toDisplayString("火星图片素材3")),
|
|
1173
|
-
createBaseVNode("div", {
|
|
1174
|
-
class: "text",
|
|
1175
|
-
style: { top: 520, left: 900, width: 210, height: 100 }
|
|
1176
|
-
}, toDisplayString("火星图片素材4")),
|
|
1177
|
-
createBaseVNode("div", {
|
|
1178
|
-
class: "text",
|
|
1179
|
-
style: { top: 300, left: 600, width: 210, height: 100 }
|
|
1180
|
-
}, toDisplayString("弹药图片素材"))
|
|
1181
|
-
])),
|
|
1182
|
-
createBaseVNode("div", {
|
|
1183
|
-
class: "text",
|
|
1184
|
-
style: { top: 680, left: 980, width: 300, height: 60 }
|
|
1185
|
-
}, toDisplayString(`当前 ${unref(myIndex)}/3 页`), 1)
|
|
1186
|
-
])
|
|
1187
|
-
]),
|
|
1188
|
-
_: 1
|
|
1189
|
-
});
|
|
1190
|
-
};
|
|
1191
|
-
}
|
|
1192
|
-
};
|
|
1193
|
-
const styleSheetsContent = { "c4d231bd": { ".bgStyle": '{"width":1280,"height":720,"backgroundColor":"#007788"}', ".text": '{"fontSize":24,"color":"#ffffff","fontWeight":"bold","textAlign":"center","lineHeight":32}' } };
|
|
1194
|
-
window.JsvCode.Dom.DeclareStyleSheets(styleSheetsContent);
|
|
1195
|
-
const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c4d231bd"]]);
|
|
1196
|
-
export {
|
|
1197
|
-
App as default
|
|
1198
|
-
};
|
|
1199
|
-
//# sourceMappingURL=http://localhost:57245/map/App.d434d1bc.js.map
|
|
1200
|
-
|
|
1201
|
-
/*jsvmd5:3d5e24f8d77dc7b443a29667436babb1*/
|