|
@@ -62,7 +62,7 @@
|
|
</p>
|
|
</p>
|
|
<div class="cell" :class="four==1?'activce':''" @click="four=1">
|
|
<div class="cell" :class="four==1?'activce':''" @click="four=1">
|
|
<img :src="imgList.excellent" class="icons" alt />
|
|
<img :src="imgList.excellent" class="icons" alt />
|
|
- 非常棒!你演奏一气呵成!
|
|
|
|
|
|
+ 非常棒!你演奏一气呵成!
|
|
</div>
|
|
</div>
|
|
<div class="cell" :class="four==2?'activce':''" @click="four=2">
|
|
<div class="cell" :class="four==2?'activce':''" @click="four=2">
|
|
<img :src="imgList.good" class="icons" alt />
|
|
<img :src="imgList.good" class="icons" alt />
|
|
@@ -73,12 +73,15 @@
|
|
继续努力!告诉自己,你一定能行的!
|
|
继续努力!告诉自己,你一定能行的!
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class='submit'>
|
|
|
|
- <img :src="imgList.btn" width="100%" alt="">
|
|
|
|
|
|
+ <div class="submit" @click="submietInfo">
|
|
|
|
+ <img :src="imgList.btn" width="100%" alt />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
|
|
+import { browser } from '@/common/common'
|
|
|
|
+import { addStudyReport } from "@/api/teacher";
|
|
|
|
+// addStudyReport
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -88,13 +91,75 @@ export default {
|
|
excellent: require("@/assets/images/start/excellent.png"),
|
|
excellent: require("@/assets/images/start/excellent.png"),
|
|
good: require("@/assets/images/start/good.png"),
|
|
good: require("@/assets/images/start/good.png"),
|
|
normal: require("@/assets/images/start/normal.png"),
|
|
normal: require("@/assets/images/start/normal.png"),
|
|
- btn: require("@/assets/images/start/button.png"),
|
|
|
|
|
|
+ btn: require("@/assets/images/start/button.png")
|
|
},
|
|
},
|
|
- one:'',
|
|
|
|
- two:'',
|
|
|
|
- three:'',
|
|
|
|
- four:'',
|
|
|
|
|
|
+ one: "",
|
|
|
|
+ two: "",
|
|
|
|
+ three: "",
|
|
|
|
+ four: "",
|
|
|
|
+ json: {
|
|
|
|
+ one: {
|
|
|
|
+ "1": "保持日常练习,与老师良好的互动是进步的开始 !稳定的节奏就像是音乐的脉搏,搭配良好的音符准确度,也许将来会成为职业音乐家也不一定哦!",
|
|
|
|
+ "2": "保持日常练习,与老师良好的互动是进步的开始 !稳定的节奏就像是音乐的脉搏,搭配良好的音符准确度,也许将来会成为职业音乐家也不一定哦!",
|
|
|
|
+ "3": "专注是进步的基石,练习在“精”不在“长”,打开节拍器练习,认真读谱再演奏,高质量的练习会让你在课程中突飞猛进!"
|
|
|
|
+ },
|
|
|
|
+ two: {
|
|
|
|
+ "1": "节奏是音乐的心跳,恭喜你有一颗良好跳动的音乐之心!保持你的优势,同时提升其他方面综合水平,相信未来的你会更好!",
|
|
|
|
+ "2": "节奏是音乐的心跳,恭喜你有一颗良好跳动的音乐之心!保持你的优势,同时提升其他方面综合水平,相信未来的你会更好!",
|
|
|
|
+ "3": "俗话说“错音不错节奏”,音乐的风格与律动与节奏有着离不开的关系,建议平时多使用节拍器练习,想要提升节奏稳定度,一定要“慢”不要“快”!"
|
|
|
|
+ },
|
|
|
|
+ three: {
|
|
|
|
+ "1": "识谱能力非凡的你,在日常练习中可以针对其他环节做更多的练习,音乐是多元素的艺术表现方式,综合能力的提升才是硬道理!",
|
|
|
|
+ "2": "识谱能力非凡的你,在日常练习中可以针对其他环节做更多的练习,音乐是多元素的艺术表现方式,综合能力的提升才是硬道理!",
|
|
|
|
+ "3": "识谱慢?没关系!你知道吗,管乐器常用的音符一共才不超过36呦!熟悉它们的位置,分清线上和线间,包你读谱赛神仙!"
|
|
|
|
+ },
|
|
|
|
+ four: {
|
|
|
|
+ "1": "你的演奏行云流水!这一定离不开你对节奏的掌控跟快速准确的识谱,现在可以在曲目演奏过程中加上一些你对音乐的理解,音乐的表达是重要的一环哦!",
|
|
|
|
+ "2": "你的演奏行云流水!这一定离不开你对节奏的掌控跟快速准确的识谱,现在可以在曲目演奏过程中加上一些你对音乐的理解,音乐的表达是重要的一环哦!",
|
|
|
|
+ "3": "你的演奏行云流水!这一定离不开你对节奏的掌控跟快速准确的识谱,现在可以在曲目演奏过程中加上一些你对音乐的理解,音乐的表达是重要的一环哦!"
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ classGroupId:null,
|
|
|
|
+ comment:null,
|
|
|
|
+ item:null,
|
|
};
|
|
};
|
|
|
|
+ },
|
|
|
|
+ created(){
|
|
|
|
+ this.classGroupId = this.$route.query.classGroupId;
|
|
|
|
+ this.token = localStorage.getItem('userInfo')
|
|
|
|
+ if (!this.token || !this.classGroupId) {
|
|
|
|
+ this.onAppBack()
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ methods:{
|
|
|
|
+
|
|
|
|
+ submietInfo(){
|
|
|
|
+ // console.log(this.one)
|
|
|
|
+ // console.log(this.json.one[this.one])
|
|
|
|
+ if(!this.one || !this.two ||!this.three || !this.four){
|
|
|
|
+ this.$toast('请认真选择每一项')
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ this.comment = this.json.one[this.one]+this.json.two[this.two]+this.json.three[this.three]+this.json.four[this.four]
|
|
|
|
+ this.item = this.one+','+this.two+','+this.three+','+this.four
|
|
|
|
+ addStudyReport({classGroupId:this.classGroupId,item:this.item,comment:this.comment}).then(res=>{
|
|
|
|
+ if(res.code == 200){
|
|
|
|
+ this.$toast('提交成功')
|
|
|
|
+ this.onAppBack()
|
|
|
|
+ }else {
|
|
|
|
+ this.$toast(res.msg)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ onAppBack() {
|
|
|
|
+ if(browser().android) {
|
|
|
|
+ DAYA.postMessage(JSON.stringify({api: 'back'}))
|
|
|
|
+ } else if(browser().iPhone) {
|
|
|
|
+ window.webkit.messageHandlers.DAYA.postMessage(JSON.stringify({api: 'back'}))
|
|
|
|
+ }
|
|
|
|
+ },
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
@@ -108,8 +173,6 @@ export default {
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
.topBanner {
|
|
.topBanner {
|
|
- padding-left: 0.41rem;
|
|
|
|
- padding-right: 0.16rem;
|
|
|
|
position: relative;
|
|
position: relative;
|
|
top: 0.1rem;
|
|
top: 0.1rem;
|
|
}
|
|
}
|
|
@@ -165,15 +228,15 @@ export default {
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
font-size: 0.15rem;
|
|
font-size: 0.15rem;
|
|
margin-bottom: 0.245rem;
|
|
margin-bottom: 0.245rem;
|
|
- border: 1px solid transparent;
|
|
|
|
|
|
+ border: 1px solid transparent;
|
|
.icons {
|
|
.icons {
|
|
width: 0.26rem;
|
|
width: 0.26rem;
|
|
height: 0.26rem;
|
|
height: 0.26rem;
|
|
margin: 0 0.105rem;
|
|
margin: 0 0.105rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .submit {
|
|
|
|
- width: 3.2rem;
|
|
|
|
|
|
+ .submit {
|
|
|
|
+ width: 3.2rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|