TIANYONG 1 gadu atpakaļ
vecāks
revīzija
062b416302

+ 1 - 1
dist/colexiu.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-2c0f4ca6.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-d533eab3.js"></script>
 
   <meta charset="UTF-8" />
   <link rel="icon" type="image/svg+xml" href="./vite.svg" />

+ 1 - 1
dist/index.html

@@ -2,7 +2,7 @@
 <html lang="ZH-cn">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-2c0f4ca6.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-d533eab3.js"></script>
 
   <meta charset="UTF-8">
   <link rel="icon" href="./favicon.ico" />

+ 3 - 3
dist/instrument.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-2c0f4ca6.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-d533eab3.js"></script>
 
   <meta charset="UTF-8" />
   <meta name="viewport"
@@ -40,7 +40,7 @@
       })
     }
   </script>
-  <script type="module" crossorigin src="./js/instrument-0663a15a.js"></script>
+  <script type="module" crossorigin src="./js/instrument-231cf6a9.js"></script>
   <link rel="modulepreload" crossorigin href="./js/index-2cd9703a.js">
   <link rel="stylesheet" href="./css/index-b4e93e48.css">
   <link rel="stylesheet" href="./css/instrument-6f0402ec.css">
@@ -62,7 +62,7 @@
   
   <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
   <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-d9f51167.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/instrument-legacy-1a1c0077.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/instrument-legacy-63843779.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/index-22f77862.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/index-f6e11267.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/index-legacy-8364f0bb.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/index-legacy-f79b7117.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/instrument-231cf6a9.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/instrument-legacy-63843779.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/polyfills-2c0f4ca6.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/js/polyfills-d533eab3.js


+ 1 - 1
dist/orchestra.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-2c0f4ca6.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-d533eab3.js"></script>
 
   <meta charset="UTF-8" />
   <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->

+ 1 - 1
dist/report-share.html

@@ -2,7 +2,7 @@
 <html lang="en">
 
 <head>
-  <script type="module" crossorigin src="./js/polyfills-2c0f4ca6.js"></script>
+  <script type="module" crossorigin src="./js/polyfills-d533eab3.js"></script>
 
   <meta charset="UTF-8" />
   <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->

+ 10 - 9
src/page-instrument/simple-detail/index.tsx

@@ -22,34 +22,35 @@ export default defineComponent({
 		});
 
 		const communicateCb = (res: any) => {
-			console.log('h5消息',JSON.stringify(res))
+			console.log('h5消息',res)
+			const resInfo = res.data ? res.data : res;
 			// 开始播放
-			if (res?.data?.api === "api_play") {
+			if (resInfo?.api === "api_play") {
 				console.log('h5开始播放')
 				state.playState = 'play';
 				setStep();
 			}
 			// 暂停播放
-			if (res?.data?.api === "api_paused") {
+			if (resInfo?.api === "api_paused") {
 				console.log('暂停播放')
 				state.playState = 'paused';
 			}
 			// 暂停状态下,拖动进度
-			if (res?.data?.api === "api_updateProgress") {
+			if (resInfo?.api === "api_updateProgress") {
 				console.log('拖动的进度')
 				if (state.playState === 'paused') {
-					detailData.currentTime = res?.data?.content?.currentTime ? res?.data?.content?.currentTime : detailData.currentTime;
+					detailData.currentTime = resInfo?.content?.currentTime ? resInfo?.content?.currentTime : detailData.currentTime;
 					handlePlaying();
 				}
 			}
 			// 播放进度
-			if (res?.data?.api === "api_playProgress") {
+			if (resInfo?.api === "api_playProgress") {
 				console.log('播放进度',res)
-				if (res?.data?.content?.currentTime) {
-					if (res?.data?.content?.currentTime < detailData.currentTime) {
+				if (resInfo?.content?.currentTime) {
+					if (resInfo?.content?.currentTime < detailData.currentTime) {
 						state.activeNoteIndex = 0
 					}
-					detailData.currentTime = res?.data?.content?.currentTime
+					detailData.currentTime = resInfo?.content?.currentTime
 				}
 			}
 		};

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
stats.html


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels