index-legacy.f1a377b1.js 3.4 KB

1
  1. !function(){function e(e,n,r,t,i,a,c){try{var s=e[a](c),o=s.value}catch(u){return void r(u)}s.done?n(o):Promise.resolve(o).then(t,i)}function n(n){return function(){var r=this,t=arguments;return new Promise((function(i,a){var c=n.apply(r,t);function s(n){e(c,i,a,s,o,"next",n)}function o(n){e(c,i,a,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.b903c881.js","./index-legacy.885c229f.js"],(function(e){"use strict";var r,t,i,a,c,s,o,u;return{setters:[function(e){r=e.d,t=e.j,i=e.z,a=e.g,c=e.B,s=e.p,o=e.T},function(e){u=e.C}],execute:function(){var _="_container_4ky14_1",d="_topWrap_4ky14_7",l="_title_4ky14_13",f="_img_4ky14_19",m="_centerWrap_4ky14_23",p="_item_4ky14_30",y="_name_4ky14_37",k="_btn_4ky14_42",g="_tips_4ky14_45";e("default",r({name:"contactus",setup:function(e,r){var v=[{name:"客服人员 1",src:"./assets/kefu1.4c7447fe.png"},{name:"客服人员 2",src:"./assets/kefu2.190464dd.png"}],h=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(u,null,null),t("div",{class:d},[t("div",{class:l},[i("如您在使用"),"TEACHER"===a.platformType?"酷乐秀学院":"酷乐秀",i("时有任何问题或意见,可添加以下企业微信账号与我们取得联系,我们将竭诚为您服务。")]),t("img",{class:f,src:"./assets/iconUs.edfc0047.png"},null)]),t("div",{class:m},[v.map((function(e){return t("div",{class:p},[t("div",{class:y},[e.name]),t("img",{src:e.src},null),t("div",{class:k},[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,h(r.result);case 2:case"end":return e.stop()}}),e)})))}catch(t){}}));var r}},{default:function(){return[i("保存二维码")]}})])])}))]),t("div",{class:g},[i("提示:点击保存二维码后会自动下载到相册,打开企业微信扫一扫即可添加企业微信联系客服喔~")])])}}}))}}}))}();