liushengqiang 1 year ago
parent
commit
4e76106c1f
2 changed files with 5 additions and 12 deletions
  1. 1 2
      src/page-orchestra/detail/index.module.less
  2. 4 10
      src/view/evaluating/index.tsx

+ 1 - 2
src/page-orchestra/detail/index.module.less

@@ -29,8 +29,7 @@
     }
 
     .container {
-        position: sticky;
-        top: 0;
+        position: relative;
         height: calc(100vh - var(--header-height));
         margin: 0 10px;
         border-radius: 10px;

+ 4 - 10
src/view/evaluating/index.tsx

@@ -248,8 +248,6 @@ export const handleEndEvaluat = (isComplete = false) => {
 		forbidClick: true,
 	});
 	evaluatingData.isComplete = isComplete;
-	// 保存视频到相册
-	// saveVideoToAlbum();
 };
 
 /**
@@ -266,6 +264,7 @@ export const handleEndBegin = () => {
  */
 export const handleCancelEvaluat = () => {
 	evaluatingData.evaluatings = {};
+	evaluatingData.startBegin = false;
 	// 关闭提示
 	closeToast();
 	// 取消记录
@@ -304,16 +303,11 @@ export const handleViewReport = (key: "recordId" | "recordIdStr", type: "gym" |
 		statusBarTextColor: false,
 		isOpenLight: true,
 	});
+	setTimeout(() => {
+		evaluatingData.resulstMode = false;
+	}, 1000)
 };
 
-/** 保存视频到相册 */
-const saveVideoToAlbum = async () => {
-	if (state.setting.saveToAlbum && state.setting.camera){
-		const res = await api_videoUpdate()
-		console.log("保存视频到相册回调:", res)
-	}
-}
-
 
 export default defineComponent({
 	name: "evaluating",