import { defineComponent, onMounted, reactive, ref } from 'vue'; import styles from './index.module.less'; import img1 from '../images/co-tenant/img1.png'; import img2 from '../images/co-tenant/img2.png'; import img3 from '../images/co-tenant/img3.png'; // Import Swiper Vue.js components import { Swiper, SwiperSlide } from 'swiper/vue'; // Import Swiper styles import 'swiper/css'; import { Vue3Lottie } from 'vue3-lottie'; import request from 'umi-request'; export default defineComponent({ name: 'music-room', setup() { const swipeIndex = ref(1); const animation = reactive({ animaRef1: null as any, animaRef2: null as any, animaRef3: null as any, subjectJSON: '', ensembleJSON: '', soloJSON: '' }); onMounted(async () => { await request(location.pathname + 'data/ensemble.json').then(res => { animation.ensembleJSON = res; }); await request(location.pathname + 'data/solo.json').then(res => { animation.soloJSON = res; }); await request(location.pathname + 'data/subject.json').then(res => { animation.subjectJSON = res; }); }); return () => (
客制化训练教程
专属定制训练教程,让学员所学即所练
{ swipeIndex.value = swiper.activeIndex; if (swiper.activeIndex === 0) { // animation.animPlay = true; // animation.animPlay2 = false; // animation.animPlay3 = false; animation.animaRef1?.play(); animation.animaRef2?.stop(); animation.animaRef3?.stop(); } else if (swiper.activeIndex === 1) { // animation.animPlay = false; // animation.animPlay2 = true; // animation.animPlay3 = false; animation.animaRef1?.stop(); animation.animaRef2?.play(); animation.animaRef3?.stop(); } else if (swiper.activeIndex === 2) { // animation.animPlay = false; // animation.animPlay2 = false; // animation.animPlay3 = true; console.log(animation.animaRef3); animation.animaRef1?.stop(); animation.animaRef2?.stop(); animation.animaRef3?.play(); } }}>
(animation.animaRef1 = el)} animationData={animation.subjectJSON} autoPlay={false}>

声部教材全量制作为练习曲目,课堂所学即课后所练。让学生循序渐进逐步掌握器乐演奏技能

(animation.animaRef2 = el)} animationData={animation.ensembleJSON} autoPlay={true}>

不同难度的小曲目、流行乐曲持续更新,每首曲目都带有伴奏,在课程之外提升练习兴趣

{ animation.animaRef3 = el; }} animationData={animation.soloJSON} autoPlay={false}>

每首合奏曲目都包含多分轨和对应分轨伴奏。同一教学体系下的合奏训练,合排更容易,演出更出彩

训练统计
学生练习情况统计,让您随时掌握训练情况
即时通讯
自定义教学群组,让学生的问题及时解决,让学生和家长感受到全方面的优秀服务
高效管理
老师、学生信息一首掌握,让您的管理更加高效
); } });