index-legacy.cac1a50d.js 3.4 KB

1
  1. !function(){function e(e,n,r,t,a,i,c){try{var s=e[i](c),o=s.value}catch(_){return void r(_)}s.done?n(o):Promise.resolve(o).then(t,a)}function n(n){return function(){var r=this,t=arguments;return new Promise((function(a,i){var c=n.apply(r,t);function s(n){e(c,a,i,s,o,"next",n)}function o(n){e(c,a,i,s,o,"throw",n)}s(void 0)}))}}var r=document.createElement("style");r.innerHTML="._container_4ky14_1{padding:.42667rem;min-height:100vh;background-color:#fff;box-sizing:border-box}._topWrap_4ky14_7{display:flex;background:linear-gradient(180deg,#ffbd8d 0%,#ff835d 100%);border-radius:.21333rem;margin-bottom:.42667rem}._topWrap_4ky14_7 ._title_4ky14_13{font-size:.37333rem;color:#fff;line-height:.48rem;padding:.4rem 0 .4rem .4rem}._topWrap_4ky14_7 ._img_4ky14_19{max-width:2.34667rem;align-self:flex-end}._centerWrap_4ky14_23{display:flex;justify-content:space-between;padding:.37333rem .66667rem 0;border-radius:.21333rem;background-color:#f6f8f9}._centerWrap_4ky14_23 ._item_4ky14_30{flex-shrink:0}._centerWrap_4ky14_23 ._item_4ky14_30 img{display:block;width:3.52rem}._centerWrap_4ky14_23 ._name_4ky14_37{margin-bottom:.26667rem;font-size:14Px;color:#666}._centerWrap_4ky14_23 ._btn_4ky14_42{padding:.37333rem .53333rem}._tips_4ky14_45{padding:.53333rem .48rem;color:#999;line-height:18Px;font-size:13Px}\n",document.head.appendChild(r),System.register(["./index-legacy.fba2875c.js"],(function(e){"use strict";var r,t,a,i,c,s,o;return{setters:[function(e){r=e.d,t=e.j,a=e.z,i=e.g,c=e.B,s=e.p,o=e.T}],execute:function(){var _="_container_4ky14_1",u="_topWrap_4ky14_7",d="_title_4ky14_13",f="_img_4ky14_19",l="_centerWrap_4ky14_23",m="_item_4ky14_30",p="_name_4ky14_37",y="_btn_4ky14_42",k="_tips_4ky14_45";e("default",r({name:"contactus",setup:function(e,r){var g=[{name:"客服人员 1",src:"./assets/kefu1.4c7447fe.png"},{name:"客服人员 2",src:"./assets/kefu2.190464dd.png"}],v=function(){var e=n(regeneratorRuntime.mark((function e(n){var r,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({api:"savePicture",content:{base64:n}});case 2:"success"===(null==(t=e.sent)||null===(r=t.content)||void 0===r?void 0:r.status)?o.success("保存成功"):o.fail("保存失败");case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return function(){return t("div",{class:_},[t("div",{class:u},[t("div",{class:d},[a("如您在使用"),"TEACHER"===i.platformType?"酷乐秀学院":"酷乐秀",a("时有任何问题或意见,可添加以下企业微信账号与我们取得联系,我们将竭诚为您服务。")]),t("img",{class:f,src:"./assets/iconUs.edfc0047.png"},null)]),t("div",{class:l},[g.map((function(e){return t("div",{class:m},[t("div",{class:p},[e.name]),t("img",{src:e.src},null),t("div",{class:y},[t(c,{block:!0,round:!0,type:"primary",size:"small",onClick:function(){return r=e.src,void fetch(r).then((function(e){return e.blob()})).then((function(e){try{var r=new FileReader;r.readAsDataURL(e),r.onload=n(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(r.result);case 2:case"end":return e.stop()}}),e)})))}catch(t){}}));var r}},{default:function(){return[a("保存二维码")]}})])])}))]),t("div",{class:k},[a("提示:点击保存二维码后会自动下载到相册,打开企业微信扫一扫即可添加企业微信联系客服喔~")])])}}}))}}}))}();