|
@@ -30,27 +30,27 @@ import { onChangeModelType } from '../../buttons'
|
|
|
const scoreInfos: any = {
|
|
|
1: {
|
|
|
img: Image1,
|
|
|
- tips: '你的演奏不太好,音准和完整性还需加强,再练一练吧~',
|
|
|
+ tips: '你的演奏不太好,再练一练吧~',
|
|
|
mome: '敢于尝试',
|
|
|
},
|
|
|
2: {
|
|
|
img: Image2,
|
|
|
- tips: '你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~',
|
|
|
+ tips: '你的演奏还不熟练,加紧训练才能有好成绩哦~',
|
|
|
mome: '还要加油哦',
|
|
|
},
|
|
|
3: {
|
|
|
img: Image3,
|
|
|
- tips: '你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~',
|
|
|
+ tips: '你的演奏还不流畅,科学的练习才能更完美哦~',
|
|
|
mome: '突破自我',
|
|
|
},
|
|
|
4: {
|
|
|
img: Image4,
|
|
|
- tips: '你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~',
|
|
|
+ tips: '你的演奏还不错,继续加油吧,离完美就差一步啦~',
|
|
|
mome: '崭露头角',
|
|
|
},
|
|
|
5: {
|
|
|
img: Image5,
|
|
|
- tips: '你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~',
|
|
|
+ tips: '你的演奏非常不错,完整性把握的很好~',
|
|
|
mome: '你很棒',
|
|
|
},
|
|
|
}
|
|
@@ -162,9 +162,9 @@ export default defineComponent({
|
|
|
</div>
|
|
|
<img class={styles.iconTop} src={scoreInfos[info].img} />
|
|
|
</div>
|
|
|
- <div class={styles.evaluatWrap}>
|
|
|
- <Grid>
|
|
|
- {detailState.isPercussion ? null : (
|
|
|
+ {!detailState.isPercussion ? null : (
|
|
|
+ <div class={styles.evaluatWrap}>
|
|
|
+ <Grid>
|
|
|
<GridItem
|
|
|
vSlots={{
|
|
|
icon: () => (
|
|
@@ -181,26 +181,24 @@ export default defineComponent({
|
|
|
),
|
|
|
}}
|
|
|
></GridItem>
|
|
|
- )}
|
|
|
- <div class={styles.line}></div>
|
|
|
- <GridItem
|
|
|
- vSlots={{
|
|
|
- icon: () => (
|
|
|
- <div>
|
|
|
- <img class={styles.evaluatIcon} src={CadenceIcon} />
|
|
|
- <span class={styles.evaluatTitle}>节奏</span>
|
|
|
- </div>
|
|
|
- ),
|
|
|
- text: () => (
|
|
|
- <span class={styles.fraction}>
|
|
|
- {data.value?.cadence}
|
|
|
- <span>分</span>
|
|
|
- </span>
|
|
|
- ),
|
|
|
- }}
|
|
|
- ></GridItem>
|
|
|
- <div class={styles.line}></div>
|
|
|
- {detailState.isPercussion ? null : (
|
|
|
+ <div class={styles.line}></div>
|
|
|
+ <GridItem
|
|
|
+ vSlots={{
|
|
|
+ icon: () => (
|
|
|
+ <div>
|
|
|
+ <img class={styles.evaluatIcon} src={CadenceIcon} />
|
|
|
+ <span class={styles.evaluatTitle}>节奏</span>
|
|
|
+ </div>
|
|
|
+ ),
|
|
|
+ text: () => (
|
|
|
+ <span class={styles.fraction}>
|
|
|
+ {data.value?.cadence}
|
|
|
+ <span>分</span>
|
|
|
+ </span>
|
|
|
+ ),
|
|
|
+ }}
|
|
|
+ ></GridItem>
|
|
|
+ <div class={styles.line}></div>
|
|
|
<GridItem
|
|
|
vSlots={{
|
|
|
icon: () => (
|
|
@@ -217,40 +215,43 @@ export default defineComponent({
|
|
|
),
|
|
|
}}
|
|
|
></GridItem>
|
|
|
+ </Grid>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
+
|
|
|
+ <div class={styles.tips}>
|
|
|
+ <div style={!detailState.isPercussion ? {height: '45px', fontSize: '15px'} : ''}>{scoreInfos[info].tips}</div>
|
|
|
+ <div class={styles.btns} style={{ justifyContent: isUnitTest ? 'center' : '' }}>
|
|
|
+ {detailState.frozenMode || isUnitTest ? null : (
|
|
|
+ <Button
|
|
|
+ onClick={() => {
|
|
|
+ runtime.evaluatingStatus = false
|
|
|
+ detailState.evaluatings = {}
|
|
|
+ evaluatingShow.value = false
|
|
|
+ onChangeModelType('practice')
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <img class={styles.btnIcon} src={iconLianxi} />
|
|
|
+ </Button>
|
|
|
+ )}
|
|
|
+ <Button
|
|
|
+ style={{ margin: '0 4px' }}
|
|
|
+ onClick={() => {
|
|
|
+ detailState.evaluatings = {}
|
|
|
+ emit('restart')
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <img class={styles.btnIcon} src={TryIcon} />
|
|
|
+ </Button>
|
|
|
+ {isUnitTest ? null : (
|
|
|
+ <Button onClick={viewReport}>
|
|
|
+ <img class={styles.btnIcon} src={iconReport} alt="查看报告" />
|
|
|
+ </Button>
|
|
|
)}
|
|
|
- </Grid>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div class={styles.tips}>{scoreInfos[info].tips}</div>
|
|
|
- </div>
|
|
|
- <div class={styles.btns}>
|
|
|
- {detailState.frozenMode || isUnitTest ? null : (
|
|
|
- <Button
|
|
|
- onClick={() => {
|
|
|
- runtime.evaluatingStatus = false
|
|
|
- detailState.evaluatings = {}
|
|
|
- evaluatingShow.value = false
|
|
|
- onChangeModelType('practice')
|
|
|
- }}
|
|
|
- >
|
|
|
- <img class={styles.btnIcon} src={iconLianxi} />
|
|
|
- </Button>
|
|
|
- )}
|
|
|
- <Button
|
|
|
- style={{ margin: '0 4px' }}
|
|
|
- onClick={() => {
|
|
|
- detailState.evaluatings = {}
|
|
|
- emit('restart')
|
|
|
- }}
|
|
|
- >
|
|
|
- <img class={styles.btnIcon} src={TryIcon} />
|
|
|
- </Button>
|
|
|
- {isUnitTest ? null : (
|
|
|
- <Button onClick={viewReport}>
|
|
|
- <img class={styles.btnIcon} src={iconReport} alt="查看报告" />
|
|
|
- </Button>
|
|
|
- )}
|
|
|
</div>
|
|
|
+
|
|
|
{isUnitTest ? null : (
|
|
|
<div class={styles.rigthBtns}>
|
|
|
<div class={styles.skepBtn} onClick={() => emit('upload')}>
|