index-c8a2c5bd-1724872791500.js 7.8 KB

1
  1. import{N as p}from"./Scrollbar-d9cfeed6-1724872791500.js";import{d as m,r as d,e as r,f as s,F as l,k as t}from"./index-d5898469-1724872791500.js";const v="_theAuth_5h4tv_1",F="_iconClose_5h4tv_7",B="_theTitle_5h4tv_17",_="_authContent_5h4tv_26",C="_steps_5h4tv_30",h="_step_5h4tv_30",w="_stepNum_5h4tv_48",E="_stepContent_5h4tv_64",f="_txt_5h4tv_64",g="_red_5h4tv_74",A="_downloadCert_5h4tv_77",x="_imgs2_5h4tv_86",b="_m6_5h4tv_91",D="_w2_5h4tv_92",N="_w1_5h4tv_98",U="_w3_5h4tv_106",O="_w4_5h4tv_107",L="_w5_5h4tv_108",R="_w8_5h4tv_109",$="_w6_5h4tv_114",P="_w7_5h4tv_119",T="_m1_5h4tv_123",y="_m3_5h4tv_130",k="_m2_5h4tv_134",M="_m4_5h4tv_135",S="_m5_5h4tv_136",G="_moreImg_5h4tv_143",I="_btnGroup_5h4tv_155",K="_btn_5h4tv_155",Y="_btnUp_5h4tv_169",V="_btnDown_5h4tv_173",W="_btnDone_5h4tv_177",u={theAuth:v,iconClose:F,theTitle:B,authContent:_,steps:C,step:h,stepNum:w,stepContent:E,txt:f,red:g,downloadCert:A,imgs2:x,m6:b,w2:D,w1:N,w3:U,w4:O,w5:L,w8:R,w6:$,w7:P,m1:T,m3:y,m2:k,m4:M,m5:S,moreImg:G,btnGroup:I,btn:K,btnUp:Y,btnDown:V,btnDone:W},H=""+new URL("1-0f030cca.png",import.meta.url).href,X=""+new URL("2-685ea14d.png",import.meta.url).href,j=""+new URL("3-f1877f09.png",import.meta.url).href,q=""+new URL("4-dadbe478.png",import.meta.url).href,z=""+new URL("5-781ec9a2.png",import.meta.url).href,J=""+new URL("6-a6c53998.png",import.meta.url).href,Q=""+new URL("7-9bf60f87.png",import.meta.url).href,Z=""+new URL("8-55055f79.png",import.meta.url).href,ss=""+new URL("1-779c458d.png",import.meta.url).href,us=""+new URL("2-e3401bf1.png",import.meta.url).href,ts=""+new URL("3-66e27cfb.png",import.meta.url).href,es=""+new URL("4-7b58f651.png",import.meta.url).href,ns=""+new URL("5-e41061b2.png",import.meta.url).href,ls=""+new URL("6-20326c16.png",import.meta.url).href,i=()=>{const e=navigator.userAgent;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&e.indexOf("KHTML")==-1,mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/Mac OS X/),android:e.indexOf("DAYAAPPA")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("DAYAAPPI")>-1,isApp:e.indexOf("DAYAAPPI")>-1||e.indexOf("DAYAAPPA")>-1||e.indexOf("Adr")>-1,iPad:e.indexOf("iPad")>-1,webApp:e.indexOf("Safari")==-1,weixin:e.indexOf("MicroMessenger")>-1,alipay:e.indexOf("AlipayClient")>-1,huawei:!!e.match(/huawei/i)||!!e.match(/honor/i),xiaomi:!!e.match(/mi\s/i)||!!e.match(/redmi/i)||!!e.match(/mix/i)}},os=m({name:"the-auth",emits:["close"],setup(e,{emit:o}){const c=d(),n=r({step:1,maxStep:i().ios?5:7}),a=()=>{(function(){return/macintosh|mac os x/i.test(navigator.userAgent)})()?window.open("https://oss.dayaedu.com/https-ssl/安全证书.p12?v=".concat(new Date().getTime())):window.open("https://oss.dayaedu.com/https-ssl/安全证书.pfx")};return()=>s("div",{class:u.theAuth},[s("div",{class:u.theTitle},null),s("div",{class:u.authContent},[s("div",{class:u.steps},[s(p,{ref:c},{default:()=>[i().ios?s(l,null,[n.step===1&&s(l,null,[s("div",{class:u.step},[s("div",{class:u.stepNum},[t("01")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击下方【下载证书】按钮,下载数据安全证书安装包")]),s("div",null,[s("div",{class:u.downloadCert,onClick:a},null)])])]),s("div",{class:u.step},[s("div",{class:u.stepNum},[t("02")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("双击"),s("span",null,[t("《安全证书.p12》")]),t(",输入钥匙串密码,点击"),s("span",null,[t("【修改钥匙串】")]),s("span",{style:{"font-weight":400,color:"#777777"}},[t("(若无此步骤则忽略)")])]),s("div",{class:[u.imgs,u.imgs2]},[s("img",{src:ss,class:u.m1},null),s("img",{src:ls,class:u.m6},null)])])])]),n.step===2&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("03")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("输入证书密码:"),s("span",{class:u.red,style:{"text-decoration":"underline"}},[t("colexiu.com")]),t(",点击"),s("span",null,[t("【好】")])]),s("div",{class:u.imgs},[s("img",{src:us,class:u.m2},null)])])]),n.step===3&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("04")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[s("span",{class:u.red},[t("重启浏览器")]),t("(在电脑屏幕左上方选择当前浏览器并点击"),s("span",null,[t("【退出】")]),t("),再重新打开音乐数字课堂网址")]),s("div",{class:u.imgs},[s("img",{src:ts,class:u.m3},null)])])]),n.step===4&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("05")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("在【选择证书】弹窗中点击"),s("span",null,[t("【确定】")]),t("按钮")]),s("div",{class:u.imgs},[s("img",{src:es,class:u.m4},null)])])]),n.step===5&&s(l,null,[s("div",{class:u.step},[s("div",{class:u.stepNum},[t("06")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("输入您的电脑密码,点击"),s("span",null,[t("【始终允许】")]),s("span",{style:{"font-weight":400,color:"#777777"}},[t("(若无此步骤则忽略)")])]),s("div",{class:u.imgs},[s("img",{src:ns,class:u.m5},null)])])]),s("div",{class:u.step},[s("div",{class:u.stepNum},[t("07")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("证书安装完成,开始使用音乐数字课堂吧!")])])])])]):s(l,null,[n.step===1&&s(l,null,[s("div",{class:u.step},[s("div",{class:u.stepNum},[t("01")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击下方【下载证书】按钮,下载数据安全证书安装包")]),s("div",null,[s("div",{class:u.downloadCert,onClick:a},null)])])]),s("div",{class:u.step},[s("div",{class:u.stepNum},[t("02")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("双击"),s("span",null,[t("《安全证书.pfx》")]),t(",出现弹窗后点击"),s("span",null,[t("【下一步】")])]),s("div",{class:[u.imgs,u.imgs2]},[s("img",{src:H,class:u.w1},null),s("img",{src:X,class:u.w2},null)])])])]),n.step===2&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("03")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击"),s("span",null,[t("【下一步】")])]),s("div",{class:u.imgs},[s("img",{src:j,class:u.w3},null)])])]),n.step===3&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("04")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击"),s("span",null,[t("【下一步】")])]),s("div",{class:u.imgs},[s("img",{src:q,class:u.w4},null)])])]),n.step===4&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("05")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击"),s("span",null,[t("【下一步】")])]),s("div",{class:u.imgs},[s("img",{src:Z,class:u.w8},null)])])]),n.step===5&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("06")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击"),s("span",null,[t("【完成】")])]),s("div",{class:u.imgs},[s("img",{src:z,class:u.w5},null)])])]),n.step===6&&s("div",{class:u.step},[s("div",{class:u.stepNum},[t("07")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("点击"),s("span",null,[t("【确定】")])]),s("div",{class:u.imgs},[s("img",{src:J,class:u.w6},null)])])]),n.step===7&&s(l,null,[s("div",{class:u.step},[s("div",{class:u.stepNum},[t("08")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[s("span",{class:u.red},[t("重启浏览器")]),t(",打开音乐数字课堂网址")])])]),s("div",{class:u.step},[s("div",{class:u.stepNum},[t("09")]),s("div",{class:u.stepContent},[s("p",{class:u.txt},[t("在【选择证书】弹窗中点击"),s("span",null,[t("【确定】")]),t("按钮,证书安装完成,开始使用音乐数字课堂吧!")]),s("img",{src:Q,class:u.w7},null)])])])])]})]),s("div",{class:u.btnGroup},[n.step>1&&s("div",{class:[u.btn,u.btnUp],style:{cursor:n.step<=1?"not-allowed":"pointer"},onClick:()=>{n.step<=1||(n.step-=1,c.value.scrollTo({top:0,left:0}))}},null),s("div",{class:[u.btn,u.btnDown,n.step===n.maxStep&&u.btnDone],onClick:()=>{n.step>=n.maxStep?o("close"):n.step+=1,c.value.scrollTo({top:0,left:0})}},null)])])])}});export{os as T};