liushengqiang 2 年之前
父節點
當前提交
85658c1e67

File diff suppressed because it is too large
+ 0 - 0
dist/assets/colexiu-520f3489.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/colexiu-legacy-bf97c047.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-3124cddc.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-6df40df0.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-b34f74bf.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-legacy-14a16e8d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-legacy-6fe7fd2b.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/index-legacy-e587b2ea.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/orchestra-5795a5b4.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/orchestra-7615a5b3.css


File diff suppressed because it is too large
+ 0 - 0
dist/assets/orchestra-legacy-63521674.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/orchestra-legacy-fe57726b.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/polyfills-legacy-bfc8a220.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/report-share-e70e4a86.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/report-share-legacy-01e16344.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/vue3-lottie.es-9629249d.js


File diff suppressed because it is too large
+ 0 - 0
dist/assets/vue3-lottie.es-legacy-312e33c0.js


+ 6 - 6
dist/colexiu.html

@@ -38,10 +38,10 @@
       },
     })
   </script>
-  <script type="module" crossorigin src="./assets/colexiu-5bdb7d5a.js"></script>
-  <link rel="modulepreload" crossorigin href="./assets/index-487abad7.js">
-  <link rel="modulepreload" crossorigin href="./assets/index-93e6cba1.js">
-  <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-d017246f.js">
+  <script type="module" crossorigin src="./assets/colexiu-520f3489.js"></script>
+  <link rel="modulepreload" crossorigin href="./assets/index-3124cddc.js">
+  <link rel="modulepreload" crossorigin href="./assets/index-6df40df0.js">
+  <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-9629249d.js">
   <link rel="stylesheet" href="./assets/index-27e2d8d2.css">
   <link rel="stylesheet" href="./assets/index-fc8404d2.css">
   <link rel="stylesheet" href="./assets/colexiu-4a62fa3a.css">
@@ -54,8 +54,8 @@
   <img id="loading" class="show" src="./loading.svg" alt="loading" />
   
   <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="./assets/polyfills-legacy-2e109892.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-ed782b75.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-bfc8a220.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-bf97c047.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 5 - 5
dist/index.html

@@ -73,9 +73,9 @@
       }
     })
   </script>
-  <script type="module" crossorigin src="./assets/index-47514c6d.js"></script>
-  <link rel="modulepreload" crossorigin href="./assets/index-487abad7.js">
-  <link rel="modulepreload" crossorigin href="./assets/index-93e6cba1.js">
+  <script type="module" crossorigin src="./assets/index-b34f74bf.js"></script>
+  <link rel="modulepreload" crossorigin href="./assets/index-3124cddc.js">
+  <link rel="modulepreload" crossorigin href="./assets/index-6df40df0.js">
   <link rel="stylesheet" href="./assets/index-27e2d8d2.css">
   <link rel="stylesheet" href="./assets/index-fc8404d2.css">
   <link rel="stylesheet" href="./assets/index-21a88d2d.css">
@@ -92,8 +92,8 @@
   <img id="loading" class="show" src="./loading.svg" alt="loading" />
   
   <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="./assets/polyfills-legacy-2e109892.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-c2b00c77.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-bfc8a220.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-14a16e8d.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 7 - 7
dist/orchestra.html

@@ -39,13 +39,13 @@
       transition: opacity .3s;
     }
   </style>
-  <script type="module" crossorigin src="./assets/orchestra-6ee9a738.js"></script>
-  <link rel="modulepreload" crossorigin href="./assets/index-487abad7.js">
-  <link rel="modulepreload" crossorigin href="./assets/index-93e6cba1.js">
-  <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-d017246f.js">
+  <script type="module" crossorigin src="./assets/orchestra-5795a5b4.js"></script>
+  <link rel="modulepreload" crossorigin href="./assets/index-3124cddc.js">
+  <link rel="modulepreload" crossorigin href="./assets/index-6df40df0.js">
+  <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-9629249d.js">
   <link rel="stylesheet" href="./assets/index-27e2d8d2.css">
   <link rel="stylesheet" href="./assets/index-fc8404d2.css">
-  <link rel="stylesheet" href="./assets/orchestra-2d26b0c9.css">
+  <link rel="stylesheet" href="./assets/orchestra-7615a5b3.css">
   <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
   <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
 </head>
@@ -66,8 +66,8 @@
   </script>
   
   <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="./assets/polyfills-legacy-2e109892.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-fe57726b.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-bfc8a220.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-63521674.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 4 - 4
dist/report-share.html

@@ -23,8 +23,8 @@
       transition: opacity .3s;
     }
   </style>
-  <script type="module" crossorigin src="./assets/report-share-b0082f0b.js"></script>
-  <link rel="modulepreload" crossorigin href="./assets/index-487abad7.js">
+  <script type="module" crossorigin src="./assets/report-share-e70e4a86.js"></script>
+  <link rel="modulepreload" crossorigin href="./assets/index-3124cddc.js">
   <link rel="stylesheet" href="./assets/index-27e2d8d2.css">
   <link rel="stylesheet" href="./assets/report-share-c00bfd89.css">
   <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
@@ -47,8 +47,8 @@
   </script>
   
   <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="./assets/polyfills-legacy-2e109892.js"></script>
-  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/report-share-legacy-1f23aac5.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
+  <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-bfc8a220.js"></script>
+  <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/report-share-legacy-01e16344.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
 </body>
 
 </html>

+ 2 - 2
src/page-orchestra/custom-plugins/helper-model/recommendation/index.tsx

@@ -53,8 +53,8 @@ export default defineComponent({
 						</div>
 						<Field
 							v-model={recommenData.message}
-							rows="3"
-							autosize={{ maxHeight: 120 }}
+							rows="2"
+							autosize={{ maxHeight: 128 }}
 							border={false}
 							type="textarea"
 							maxlength={200}

+ 6 - 4
src/page-orchestra/detail/index.module.less

@@ -23,14 +23,15 @@
         height: var(--header-height);
         transition: margin .3s;
         z-index: 10;
-        &.headHide{
+
+        &.headHide {
             margin-top: calc(0Px - var(--header-height));
         }
     }
 
     .container {
         position: relative;
-        height: calc(100vh - var(--header-height));
+        height: calc(100% - var(--header-height));
         margin: 0 10px;
         border-radius: 10px;
         transition: height .3s;
@@ -49,8 +50,9 @@
         transform: translateX(8Px);
         opacity: var(--corsor-opacity);
     }
-    .eyeProtection{
-        #cursorImg-0{
+
+    .eyeProtection {
+        #cursorImg-0 {
             background-color: rgb(255, 159, 88);
         }
     }

+ 8 - 3
src/page-orchestra/detail/index.tsx

@@ -69,9 +69,14 @@ export default defineComponent({
 			const index = query["part-index"] ? parseInt(query["part-index"] as string) : 0;
 			const musicInfo = {
 				...res.data,
-
-				...res.data.background[index],
 			};
+			if (res.data.background[index]){
+				for(let key in res.data.background[index]){
+					if (res.data.background[index][key]){
+						musicInfo[key] = res.data.background[index][key]
+					}
+				}
+			}
 			// console.log("🚀 ~ musicInfo:", musicInfo);
 			setState(musicInfo, index);
 			setCustom();
@@ -224,7 +229,7 @@ export default defineComponent({
 		const guideShow = !localStorage.getItem("isFirstTip") || !localStorage.getItem("isFirstModel");
 		return () => (
 			<div
-				class={[styles.detail, state.setting.eyeProtection && "eyeProtection"]}
+				class={["van-safe-area-bottom", styles.detail, state.setting.eyeProtection && "eyeProtection"]}
 				style={{ paddingLeft: detailData.paddingLeft, opacity: state.setting.camera ? `${state.setting.cameraOpacity / 100}` : "" }}
 				onClick={(e: Event) => {
 					if (state.playState === "play") {

+ 11 - 8
src/state.ts

@@ -389,7 +389,6 @@ export const clearSelection = () => {
 	state.sectionStatus = false;
 	state.section = [];
 	state.sectionToast?.close();
-	state.sectionToast = null;
 };
 
 /** 开启选段 */
@@ -404,12 +403,17 @@ export const handleChangeSection = () => {
 	if (state.sectionStatus) {
 		togglePlay("paused");
 	}
-	state.sectionToast = showToast({
-		message: "请选择开始小节",
-		duration: 0,
-		position: "top",
-		className: "selectionToast",
-	});
+	if (state.sectionToast) {
+		state.sectionToast.message = "请选择开始小节"
+		state.sectionToast?.open()
+	} else {
+		state.sectionToast = showToast({
+			message: "请选择开始小节",
+			duration: 0,
+			position: "top",
+			className: "selectionToast",
+		});
+	}
 };
 
 /** 效验并格式化选段小节 */
@@ -446,7 +450,6 @@ export const handleSelection = (item: any) => {
 		if (state.section.length === 2) {
 			state.section = formateSelectMearure(state.section);
 			state.sectionToast?.close();
-			state.sectionToast = null;
 		}
 	}
 	if (state.section.length === 1 && state.sectionToast) {

Some files were not shown because too many files changed in this diff