1 |
- import{d as F,j as u,A as n,g as l,B as E,p,T as c}from"./ResizeObserver.es.f28023e0.js";import{C as m}from"./index.bd375ca9.js";const _="_container_4ky14_1",d="_topWrap_4ky14_7",A="_title_4ky14_13",f="_img_4ky14_19",y="_centerWrap_4ky14_23",B="_item_4ky14_30",C="_name_4ky14_37",k="_btn_4ky14_42",v="_tips_4ky14_45";var s={container:_,topWrap:d,title:A,img:f,centerWrap:y,item:B,name:C,btn:k,tips:v},D="./assets/iconUs.edfc0047.png",g="./assets/kefu1.4c7447fe.png",W="./assets/kefu2.190464dd.png",x=F({name:"contactus",setup(b,T){const r=[{name:"\u5BA2\u670D\u4EBA\u5458 1",src:g},{name:"\u5BA2\u670D\u4EBA\u5458 2",src:W}],o=t=>{fetch(t).then(e=>e.blob()).then(e=>{try{const a=new FileReader;a.readAsDataURL(e),a.onload=async()=>{await i(a.result)}}catch{}})},i=async t=>{var a;const e=await p({api:"savePicture",content:{base64:t}});((a=e==null?void 0:e.content)==null?void 0:a.status)==="success"?c.success("\u5DF2\u4FDD\u5B58\u5230\u76F8\u518C"):c.fail("\u4FDD\u5B58\u5931\u8D25")};return()=>u("div",{class:s.container},[u(m,null,null),u("div",{class:s.topWrap},[u("div",{class:s.title},[n("\u5982\u60A8\u5728\u4F7F\u7528"),l.platformType==="TEACHER"?"\u9177\u4E50\u79C0\u5B66\u9662":"\u9177\u4E50\u79C0",n("\u65F6\u6709\u4EFB\u4F55\u95EE\u9898\u6216\u610F\u89C1\uFF0C\u53EF\u6DFB\u52A0\u4EE5\u4E0B\u4F01\u4E1A\u5FAE\u4FE1\u8D26\u53F7\u4E0E\u6211\u4EEC\u53D6\u5F97\u8054\u7CFB\uFF0C\u6211\u4EEC\u5C06\u7AED\u8BDA\u4E3A\u60A8\u670D\u52A1\u3002")]),u("img",{class:s.img,src:D},null)]),u("div",{class:s.centerWrap},[r.map(t=>u("div",{class:s.item},[u("div",{class:s.name},[t.name]),u("img",{src:t.src},null),u("div",{class:s.btn},[u(E,{block:!0,round:!0,type:"primary",size:"small",onClick:()=>o(t.src)},{default:()=>[n("\u4FDD\u5B58\u4E8C\u7EF4\u7801")]})])]))]),u("div",{class:s.tips},[n("\u63D0\u793A\uFF1A\u70B9\u51FB\u4FDD\u5B58\u4E8C\u7EF4\u7801\u540E\u4F1A\u81EA\u52A8\u4E0B\u8F7D\u5230\u76F8\u518C\uFF0C\u6253\u5F00\u4F01\u4E1A\u5FAE\u4FE1\u626B\u4E00\u626B\u5373\u53EF\u6DFB\u52A0\u4F01\u4E1A\u5FAE\u4FE1\u8054\u7CFB\u5BA2\u670D\u5594\uFF5E")])])}});export{x as default};
|