|
@@ -0,0 +1,75 @@
|
|
|
+import { Skeleton, Switch } from "vant";
|
|
|
+import { defineComponent, onBeforeMount, onBeforeUnmount, onMounted, reactive, Transition, watch, ref } from "vue";
|
|
|
+import state, { isRhythmicExercises, getMusicDetail, EnumMusicRenderType } from "../../state";
|
|
|
+import MusicScore from "../../view/music-score";
|
|
|
+import styles from "./index.module.less";
|
|
|
+import { getQuery } from "/src/utils/queryString";
|
|
|
+import backIcon from "./image/back_icon.png";
|
|
|
+import videoIcon from "./image/video_icon.png";
|
|
|
+
|
|
|
+
|
|
|
+export default defineComponent({
|
|
|
+ name: "music-list",
|
|
|
+ setup() {
|
|
|
+ const query: any = getQuery();
|
|
|
+ const scoreData = reactive({
|
|
|
+ videoFilePath: "", // 回放视频路径
|
|
|
+ openRealPitch: false,
|
|
|
+ });
|
|
|
+
|
|
|
+ onBeforeMount(() => {
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ onMounted(async () => {
|
|
|
+ state.isEvaluatReport = true;
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ return () => (
|
|
|
+ <div class={styles.reportDetail}>
|
|
|
+ <div class={styles.reportHead}>
|
|
|
+ <img class={styles.backIcon} src={backIcon} />
|
|
|
+ <div class={styles.content}>
|
|
|
+ <div class={styles.title}>
|
|
|
+ <span class={styles.titleName}>天空之城</span>
|
|
|
+ <span class={styles.titleLevel}>入门级|速度90</span>
|
|
|
+ </div>
|
|
|
+ <div class={styles.score}>
|
|
|
+ <span class={styles.total}>总分: 78</span>
|
|
|
+ <span>|音准: 67</span>
|
|
|
+ <span>|节奏: 87</span>
|
|
|
+ <span>|完整度: 87</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class={styles.right}>
|
|
|
+ <div class={styles.fItem}>
|
|
|
+ <i></i>
|
|
|
+ <span>标准音高</span>
|
|
|
+ </div>
|
|
|
+ <div class={styles.sItem}>
|
|
|
+ <i></i>
|
|
|
+ <span>演奏音高</span>
|
|
|
+ </div>
|
|
|
+ <Switch
|
|
|
+ v-model={scoreData.openRealPitch}
|
|
|
+ onChange={ async (value) => {
|
|
|
+ //
|
|
|
+ }}
|
|
|
+ ></Switch>
|
|
|
+ <img class={styles.videoIcon} src={videoIcon} />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class={styles.scoreTable}>
|
|
|
+ <table>
|
|
|
+ <tr>
|
|
|
+ <td></td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ );
|
|
|
+ },
|
|
|
+});
|