Files
youguang_dist/assets/accept-Cm2jN3al.js
zhutao 69b0dca739 1
2025-10-27 17:46:35 +08:00

2 lines
14 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{z as i,h as w,r as f,l as r,G as j,s as e,L as y,v as c,x as L,y as o,F as d,A as x,O as b,t as _,K as M,M as V,n as a,_ as W}from"./index-B8OdjfL2.js";import{a as z,b as H}from"./invite-BKFwwOuS.js";import{I as u}from"./index-DDdLkfGc.js";import{T as B}from"./Time-B67FoyEh.js";import{S as m}from"./Star-DMjnhR3V.js";const A=u("avatar",!0,function(t){return i("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M5.00372 42.2311C5.00372 42.6557 5.35807 42.9999 5.79521 42.9999L42.2023 43C42.6394 43 42.9938 42.6558 42.9938 42.2313V41.3131C43.012 41.0364 43.049 39.6555 42.1388 38.1289C41.5648 37.1663 40.7318 36.3347 39.6628 35.6573C38.3696 34.8378 36.7245 34.244 34.7347 33.8865C34.72 33.8846 33.2446 33.689 31.7331 33.303C29.101 32.6307 28.8709 32.0357 28.8694 32.0299C28.8539 31.9711 28.8315 31.9146 28.8028 31.8615C28.7813 31.7505 28.7281 31.3328 28.8298 30.2136C29.088 27.371 30.6128 25.691 31.838 24.3412C32.2244 23.9155 32.5893 23.5134 32.8704 23.1191C34.0827 21.4181 34.1952 19.4839 34.2003 19.364C34.2003 19.1211 34.1724 18.9214 34.1127 18.7363C33.9937 18.3659 33.7698 18.1351 33.6063 17.9666L33.6052 17.9654C33.564 17.923 33.5251 17.8828 33.4933 17.8459C33.4812 17.8318 33.449 17.7945 33.4783 17.603C33.5859 16.8981 33.6505 16.3079 33.6815 15.7456C33.7367 14.7438 33.7798 13.2456 33.5214 11.7875C33.4895 11.5385 33.4347 11.2755 33.3494 10.9622C33.0764 9.95814 32.6378 9.09971 32.0284 8.39124C31.9236 8.27722 29.3756 5.5928 21.9788 5.04201C20.956 4.96586 19.9449 5.00688 18.9496 5.05775C18.7097 5.06961 18.3812 5.08589 18.0738 5.16554C17.3101 5.36337 17.1063 5.84743 17.0528 6.11834C16.9641 6.56708 17.12 6.91615 17.2231 7.14718L17.2231 7.1472L17.2231 7.14723C17.2381 7.18072 17.2566 7.22213 17.2243 7.32997C17.0526 7.59588 16.7825 7.83561 16.5071 8.06273C16.4275 8.13038 14.5727 9.72968 14.4707 11.8189C14.1957 13.4078 14.2165 15.8834 14.5417 17.5944C14.5606 17.6889 14.5885 17.8288 14.5432 17.9233L14.5432 17.9233C14.1935 18.2367 13.7971 18.5919 13.7981 19.4024C13.8023 19.4839 13.9148 21.4181 15.1272 23.1191C15.408 23.5131 15.7726 23.9149 16.1587 24.3403L16.1596 24.3412L16.1596 24.3413C17.3848 25.6911 18.9095 27.371 19.1678 30.2135C19.2694 31.3327 19.2162 31.7505 19.1947 31.8614C19.166 31.9145 19.1436 31.971 19.1282 32.0298C19.1266 32.0356 18.8974 32.6287 16.2772 33.2996C14.7656 33.6867 13.2775 33.8845 13.2331 33.8909C11.2994 34.2173 9.66438 34.7963 8.37351 35.6115C7.30813 36.2844 6.47354 37.1175 5.89289 38.0877C4.96517 39.6379 4.99025 41.0497 5.00372 41.3074V42.2311Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null)])}),I=u("calendar",!1,function(t){return i("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M16 4V12",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M32 4V12",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M28 34H34",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M14 34H20",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M28 26H34",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M14 26H20",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),Z=u("chart-line",!0,function(t){return i("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M6 6V42H42",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M14 34L22 18L32 27L42 6",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),D=u("peoples",!0,function(t){return i("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M19 20C22.866 20 26 16.866 26 13C26 9.13401 22.866 6 19 6C15.134 6 12 9.13401 12 13C12 16.866 15.134 20 19 20Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M32.6077 7C34.6405 8.2249 36.0001 10.4537 36.0001 13C36.0001 15.5463 34.6405 17.7751 32.6077 19",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M4 40.8V42H34V40.8C34 36.3196 34 34.0794 33.1281 32.3681C32.3611 30.8628 31.1372 29.6389 29.6319 28.8719C27.9206 28 25.6804 28 21.2 28H16.8C12.3196 28 10.0794 28 8.36808 28.8719C6.86278 29.6389 5.63893 30.8628 4.87195 32.3681C4 34.0794 4 36.3196 4 40.8Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M43.9999 42.0001V40.8001C43.9999 36.3197 43.9999 34.0795 43.128 32.3682C42.361 30.8629 41.1371 29.6391 39.6318 28.8721",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),E=u("tips",!1,function(t){return i("svg",{width:t.size,height:t.size,viewBox:"0 0 48 48",fill:"none"},[i("path",{d:"M40 20C40 26.8077 35.7484 32.6224 29.7555 34.9336H24H18.2445C12.2516 32.6224 8 26.8077 8 20C8 11.1634 15.1634 4 24 4C32.8366 4 40 11.1634 40 20Z",fill:t.colors[1],stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M29.7557 34.9336L29.0766 43.0831C29.0334 43.6014 28.6001 44 28.08 44H19.9203C19.4002 44 18.9669 43.6014 18.9238 43.0831L18.2446 34.9336",stroke:t.colors[0],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null),i("path",{d:"M18 17V23L24 20L30 23V17",stroke:t.colors[2],"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin},null)])}),N={key:0,class:"relative bg-white"},S={class:"pt-16 pb-24 px-4"},T={class:"text-center mb-6"},R={class:"text-gray-600 text-sm"},F={class:"font-medium text-gray-900"},q={class:"mb-6"},G={class:"grid grid-cols-2 gap-3"},K={class:"feature-icon p-3 rounded-xl flex flex-col items-center"},O={class:"feature-icon p-3 rounded-xl flex flex-col items-center"},P={class:"feature-icon p-3 rounded-xl flex flex-col items-center"},U={class:"feature-icon p-3 rounded-xl flex flex-col items-center"},J={class:"course-card rounded-2xl p-4 mb-6"},Q={class:"flex items-start mb-3"},X={class:"flex items-start"},Y={class:"mb-6"},$={class:"grid grid-cols-1 gap-4"},p={class:"feedback-card bg-white rounded-2xl p-4"},tt={class:"flex items-center mb-2"},et={class:"flex text-yellow-400"},st={class:"feedback-card bg-white rounded-2xl p-4"},it={class:"flex items-center mb-2"},lt={class:"flex text-yellow-400"},ot={class:"feedback-card bg-white rounded-2xl p-4"},nt={class:"flex items-center mb-2"},rt={class:"flex text-yellow-400"},at={class:"feedback-card bg-white rounded-2xl p-4"},dt={class:"flex items-center mb-2"},ct={class:"flex text-yellow-400"},xt={class:"feedback-card bg-white rounded-2xl p-4"},mt={class:"flex items-center mb-2"},ut={class:"flex text-yellow-400"},kt=w({__name:"accept",setup(t){const v=M(),g=f(!1);let h=f({}),n=f(!1);return(()=>{let k=v.query.code||"";z(k).then(s=>{h.value=s,H(k).then()}).catch(()=>{g.value=!0})})(),(k,s)=>{const C=V("van-popup");return a(),r(d,null,[g.value?j("",!0):(a(),r("div",N,[e("main",S,[e("div",T,[s[4]||(s[4]=e("h1",{class:"text-2xl font-bold text-gray-900 mb-2"},[c("有光自习室 "),e("span",{class:"text-primary"},"免费体验课")],-1)),e("p",R,[s[2]||(s[2]=c("好友 ",-1)),e("span",F,L(o(h).user_name),1),s[3]||(s[3]=c(" 邀请您免费体验 1 次",-1))])]),e("div",q,[s[9]||(s[9]=e("h2",{class:"text-lg font-semibold text-gray-900 mb-3"},"课程亮点",-1)),e("div",G,[e("div",K,[i(o(A),{theme:"filled",class:"text-xl mb-2 text-blue-600"}),s[5]||(s[5]=e("span",{class:"text-xs text-gray-700 text-center"},"专业讲师陪伴",-1))]),e("div",O,[i(o(E),{theme:"filled",class:"text-xl mb-2 text-blue-600"}),s[6]||(s[6]=e("span",{class:"text-xs text-gray-700 text-center"},"高效学习氛围",-1))]),e("div",P,[i(o(Z),{theme:"filled",class:"text-xl mb-2 text-blue-600"}),s[7]||(s[7]=e("span",{class:"text-xs text-gray-700 text-center"},"专注力提升",-1))]),e("div",U,[i(o(D),{theme:"filled",class:"text-xl mb-2 text-blue-600"}),s[8]||(s[8]=e("span",{class:"text-xs text-gray-700 text-center"},"同伴互助学习",-1))])])]),e("div",J,[s[12]||(s[12]=e("h2",{class:"text-lg font-semibold text-gray-900 mb-3"},"课程时间安排",-1)),e("div",Q,[i(o(I),{theme:"filled",class:"mt-1 mr-2 text-blue-600"}),s[10]||(s[10]=e("div",null,[e("p",{class:"text-gray-900 font-medium"},"周一 到 周五"),e("p",{class:"text-gray-600 text-sm"},"晚上 18:30 - 20:30")],-1))]),e("div",X,[i(o(B),{theme:"filled",class:"mt-1 mr-2 text-blue-600"}),s[11]||(s[11]=e("p",{class:"text-gray-600 text-sm"},"课程时长60 分钟",-1))])]),s[29]||(s[29]=y('<div class="instructor-card rounded-2xl p-4 mb-6" data-v-e569b445><h2 class="text-lg font-semibold text-gray-900 mb-3" data-v-e569b445>讲师介绍</h2><div class="flex items-center" data-v-e569b445><img src="https://ai-public.mastergo.com/ai/img_res/4cd9b75536d72a09e7781386096f3207.jpg" alt="讲师头像" class="w-16 h-16 rounded-full object-cover mr-3" data-v-e569b445><div data-v-e569b445><h3 class="font-medium text-gray-900" data-v-e569b445>小邱老师</h3><p class="text-sm text-gray-600" data-v-e569b445>5 年青少年学习指导经验</p><p class="text-xs text-gray-500 mt-1" data-v-e569b445>擅长专注力训练与学习习惯培养</p></div></div></div>',1)),e("div",Y,[s[28]||(s[28]=e("h2",{class:"text-lg font-semibold text-gray-900 mb-3"},"家长评价",-1)),e("div",$,[e("div",p,[e("div",tt,[s[14]||(s[14]=e("img",{src:"https://ai-public.mastergo.com/ai/img_res/ae00aa53ed5b0b1ea3615a216625bd8d.jpg",alt:"用户头像",class:"w-8 h-8 rounded-full object-cover mr-2"},null,-1)),e("div",null,[s[13]||(s[13]=e("h4",{class:"text-sm font-medium text-gray-900"},"张妈妈",-1)),e("div",et,[(a(),r(d,null,x(5,l=>i(o(m),{theme:"filled",key:l,size:"14"})),64))])])]),s[15]||(s[15]=e("p",{class:"text-xs text-gray-600"},"孩子参与后专注力明显提升,老师很有耐心,推荐!",-1))]),e("div",st,[e("div",it,[s[17]||(s[17]=e("img",{src:"https://ai-public.mastergo.com/ai/img_res/d29ee3e4da89879b6e075b5518fff479.jpg",alt:"用户头像",class:"w-8 h-8 rounded-full object-cover mr-2"},null,-1)),e("div",null,[s[16]||(s[16]=e("h4",{class:"text-sm font-medium text-gray-900"},"刘爸爸",-1)),e("div",lt,[(a(),r(d,null,x(5,l=>i(o(m),{theme:"filled",key:l,size:"14"})),64))])])]),s[18]||(s[18]=e("p",{class:"text-xs text-gray-600"},"环境很好,孩子很喜欢,希望能长期参加。",-1))]),e("div",ot,[e("div",nt,[s[20]||(s[20]=e("img",{src:"https://ai-public.mastergo.com/ai/img_res/6c561f1786ee16855d4e72c6772e22bb.jpg",alt:"用户头像",class:"w-8 h-8 rounded-full object-cover mr-2"},null,-1)),e("div",null,[s[19]||(s[19]=e("h4",{class:"text-sm font-medium text-gray-900"},"陈妈妈",-1)),e("div",rt,[(a(),r(d,null,x(5,l=>i(o(m),{theme:"filled",key:l,size:"14"})),64))])])]),s[21]||(s[21]=e("p",{class:"text-xs text-gray-600"},"自习室氛围很棒,孩子在这里学习效率很高。",-1))]),e("div",at,[e("div",dt,[s[23]||(s[23]=e("img",{src:"https://ai-public.mastergo.com/ai/img_res/490f9d9225d4c3afa0e0d7e20bfb27ab.jpg",alt:"用户头像",class:"w-8 h-8 rounded-full object-cover mr-2"},null,-1)),e("div",null,[s[22]||(s[22]=e("h4",{class:"text-sm font-medium text-gray-900"},"赵爸爸",-1)),e("div",ct,[(a(),r(d,null,x(5,l=>i(o(m),{theme:"filled",key:l,size:"14"})),64))])])]),s[24]||(s[24]=e("p",{class:"text-xs text-gray-600"},"老师很专业,孩子在这里养成了良好的学习习惯。",-1))]),e("div",xt,[e("div",mt,[s[26]||(s[26]=e("img",{src:"https://ai-public.mastergo.com/ai/img_res/63f58a356804b5e28a92adad9fb9c316.jpg",alt:"用户头像",class:"w-8 h-8 rounded-full object-cover mr-2"},null,-1)),e("div",null,[s[25]||(s[25]=e("h4",{class:"text-sm font-medium text-gray-900"},"周妈妈",-1)),e("div",ut,[(a(),r(d,null,x(5,l=>i(o(m),{theme:"filled",key:l,size:"14"})),64))])])]),s[27]||(s[27]=e("p",{class:"text-xs text-gray-600"},"非常感谢老师的用心陪伴,孩子的学习积极性提高了很多。",-1))])])])]),e("div",{class:"fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 shadow-2xl z-50 px-4 py-3 safe-area-bottom",onClick:s[0]||(s[0]=l=>b(n)?n.value=!0:n=!0)},[...s[30]||(s[30]=[e("div",{class:"flex-1 flex items-center justify-center gap-2 bg-gradient-to-r from-orange-500 to-orange-600 text-white px-8 py-4 rounded-full hover:from-orange-600 hover:to-orange-700 transition-all shadow-lg"},[e("span",{class:"text-lg"},"免费体验 立即预约")],-1)])])])),i(C,{show:o(n),"onUpdate:show":s[1]||(s[1]=l=>b(n)?n.value=l:n=l)},{default:_(()=>[...s[31]||(s[31]=[e("div",{class:"bg-white rounded-2xl w-full max-w-sm p-6 relative"},[e("h3",{class:"text-lg font-semibold text-gray-900 mb-2 text-center"},"预约免费体验课"),e("p",{class:"text-gray-600 text-sm mb-4 text-center"},[c("长按识别二维码添加客服老师"),e("br"),c("预约专业老师,免费体验")]),e("div",{class:"flex justify-center mb-4"},[e("img",{src:"https://keyang2.tuzuu.com/lingting/youguang/%E5%AE%A2%E6%9C%8D.jpg",alt:"客服微信二维码",class:"w-40 h-40 object-cover rounded-lg"})]),e("p",{class:"text-xs text-gray-500 text-center"},"添加时请备注:免费体验课预约")],-1)])]),_:1},8,["show"])],64)}}}),wt=W(kt,[["__scopeId","data-v-e569b445"]]);export{wt as default};