index-03b110b8.js 7.3 KB

1
  1. import{d as F,P as I,q as S,x as T,r as v,y as q,V as f,D as A,b$ as H,Z as L,Y as D,R as V,a as t,A as a,a0 as b,c4 as P}from"./index-ec1086fa.js";import{_ as x,s as o}from"./initVideo-9556aeac.js";import{O as W}from"./index-686767e2.js";/* empty css */import{u as k}from"./index-efcebac6.js";import{u}from"./index-c5383b3e.js";import"./tcplayer.v4.8.0.min-bea4b434.js";import"./index-71cc5f1d.js";const R=""+new URL("next_btn-fc630eed.png",import.meta.url).href,Z=F({name:"intention-questionnaire",setup(){const i=I(),B=i.query.type==="primarySchoolNo"?"(小学)关于开展音乐(器乐)课堂数字化转型的调查问卷":i.query.type==="juniorSchoolNo"?"(初中)关于开展音乐(器乐)课堂数字化转型的调查问卷":"关于开展音乐(器乐)课堂数字化转型的调查问卷",h=k(B,"科学的教育改变世界,科技的力量让音乐传播更远,让孩子奏响心中的乐章",window.location.origin+"/classroom-app/shareImg/question-share.png");u(1e3,{controls:!0}).pause();const w=S(),e=T({loading:!0,code:null,openId:"",isPageHide:!1,contentA:'<p style="text-align: left; font-size:13px;"><strong style="font-size:15px;">尊敬的家长: 您好!</strong></p><p style="text-align: left;">非常感谢您一直以来对学校工作给予的大力支持与密切关注。为深入贯彻教育部《关于全面实施学校美育浸润行动的通知》(教体艺〔2023〕5 号)文件精神,积极顺应艺术素质测评结果纳入中考的教育改革趋势,致力于让学生在在校期间熟练掌握 1 - 2 项艺术专长,全面提升学生的艺术素养。</p><p style="text-align: left;">我校计划在北京知勉公益基金会的支持下,启动音乐(器乐)课堂数字化转型工作。为了确保此项工作顺利开展,现向您详细介绍相关情况,并诚恳征询您的宝贵意见,学校将根据您的意见反馈决定开展与否。</p>',contentB:'<p style="text-align: left;"><strong style="font-size:15px; color: #0B8BFE;">二、为什么要开展数字化转型</strong></p><p style="text-align: left;">1.解决学习难题:数字化转型将为乐器学习和练习制定明确标准,学生能实时知晓练习的对错,练习结果也可量化呈现,有效解决学生不会练、家长无法辅导的困扰。</p><p style="text-align: left;">2.适应教改趋势:随着教育改革的推进,艺术素质测评结果已逐步纳入中考,数字化转型将助力学生更好地适应这一变化,提升综合素养。</p><p style="text-align: left;">3.关注身心健康:乐器学习能成为学生缓解学习压力的有效途径,有助于学生保持身心健康,实现全面发展。</p><p style="text-align: left;"><br></p>',contentC:'<p style="text-align: left;"><strong style="font-size:15px; color: #0B8BFE;">三、开展原则</strong></p><p style="text-align: left;">本次活动面向全体学生,完全遵循学生自愿参加的原则。</p><p style="text-align: left;">1.若学生选择参加转型,家长需自行为学生准备好自用的乐器(硬件)和“器乐数字 Ai”应用(软件,用于联通学校音乐课堂)两项学习工具。</p><p style="text-align: left;">2.若学生不参加转型,可继续按原有方式进行音乐课学习。</p>',contentD:'<p style="text-align: left;"><strong style="font-size:15px; color: #0B8BFE;">五、事项说明</strong></p><p style="text-align: left;">1.学校不涉及任何费用收取。学生所需的自用工具在市面上均可购买到,家长可自行根据实际情况为学生准备。</p><p style="text-align: left;">2.如学生有参加数字化转型的意愿,但存在特殊或特困情况,可先向学校进行登记,学校将尽力寻求资源协助家长解决。</p><p style="text-align: left;">在您了解上述内容后,请点击下一步进行意见填写:</p>',introductionVideo:"https://oss.dayaedu.com/ktyq/02/1739345029052.mp4",introductionVideoTime:117,coverImg:"https://oss.dayaedu.com/ktyq/02/1739362815061.png",introductionVideo2:"https://oss.dayaedu.com/ktyq/02/1739345326291.mp4",introductionVideoTime2:111,coverImg2:"https://oss.dayaedu.com/ktyq/02/1739324215341.png",player1:null,player2:null,player1Speed:1,player2Speed:1,videoLoading1:!0,videoLoading2:!0,meetingType:"primarySchoolNo",intentionInfo:null,contentShow:!1});v(!1),v("");const c=u(1e3,{controls:!0});c.pause();const p=u(1e3,{controls:!0});p.pause(),q(async()=>{e.meetingType=i.query.type||e.meetingType,e.code=i.query.code||e.code;try{if(!e.code&&f().weixin)return;const{data:n}=await A.get("/edu-app/open/meetingQuestionSetting/detail?type="+e.meetingType+"&weChatCode="+e.code);n&&(e.contentA=n.contentA||e.contentA,e.contentB=n.contentB||e.contentB,e.contentC=n.contentC||e.contentC,e.contentD=n.contentD||e.contentD,e.openId=n.openId||e.openId,sessionStorage.setItem("active-open-id",e.openId),sessionStorage.removeItem("isWxcode")),e.contentShow=!0}catch(n){e.contentShow=!0}console.log("初始化视频",111),e.player1=x("one",e,c),e.player2=x("two",e,p)});const C=async n=>{try{sessionStorage.setItem("isWxcode","1"),b(),P("wxccc2efd2678adbe3",n)}catch(s){console.log(s)}};if(f().weixin){const n=sessionStorage.getItem("active-open-id");e.openId=n;const s=H(),l=sessionStorage.getItem("isWxcode");if(!s||l!=="1"){const r=L()+window.location.pathname+"#"+i.path+"?"+D.stringify({...i.query});return C(r),""}else e.code=s,h.getAppSignature()}const E=()=>{w.push({path:"/fill-questionnaire",query:{openId:e.openId,meetingType:e.meetingType}})},d=()=>{console.log(e.isPageHide,"showInfo"),e.isPageHide};window.addEventListener("pageshow",d);const g=()=>{console.log(e.isPageHide,"showInfo"),e.isPageHide=!0};return window.addEventListener("pagehide",g),V(()=>{var n,s,l,r,y,m;window.removeEventListener("pageshow",d),window.removeEventListener("pagehide",g),(n=e.player1)==null||n.pause(),(s=e.player1)==null||s.src(""),(l=e.player1)==null||l.dispose(),(r=e.player2)==null||r.pause(),(y=e.player2)==null||y.src(""),(m=e.player2)==null||m.dispose()}),()=>t("div",{class:o["intention-page"]},[t("div",{class:[o["content-box"],!e.contentShow&&o.hideContent]},[t("div",{class:o.contentBody,innerHTML:e.contentA},null),t("div",{class:o.contentBody},[t("div",{class:o.cbTitle},[a("一、什么是音乐(器乐)课堂数字化转型"),t("span",null,[a("(详见视频介绍)")])]),t("div",{class:o.videoBoxCon},[t("div",{class:o.videoBox},[t("div",{class:[o["video-content"]]},[t("video",{id:"register-video",class:o.video,src:e.introductionVideo,playsinline:!0,poster:e.coverImg,preload:"auto"},null)])])])]),t("div",{class:o.contentBody,innerHTML:e.contentB},null),t("div",{class:o.contentBody,innerHTML:e.contentC},null),t("div",{class:o.contentBody},[t("div",{class:o.cbTitle},[a("四、什么是器乐数字 Ai"),t("span",null,[a("(详见视频介绍)")])]),t("div",{class:o.videoBoxCon},[t("div",{class:o.videoBox},[t("div",{class:[o["video-content"]]},[t("video",{id:"register-video2",class:o.video,src:e.introductionVideo2,playsinline:!0,poster:e.coverImg2,preload:"auto"},null)])])])]),t("div",{class:o.contentBody,innerHTML:e.contentD},null)]),t(W,null,null),e.openId&&t("div",{class:o.bottomBtn},[t("p",null,[a("在您了解上述内容后,"),t("i",null,[a("请点击下一步进行意见填写")])]),t("img",{class:o.nextBtn,src:R,onClick:E},null)])])}});export{Z as default};