| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559 |
- !(function () {
- function e(e, t) {
- var o = Object.keys(e)
- if (Object.getOwnPropertySymbols) {
- var n = Object.getOwnPropertySymbols(e)
- t &&
- (n = n.filter(function (t) {
- return Object.getOwnPropertyDescriptor(e, t).enumerable
- })),
- o.push.apply(o, n)
- }
- return o
- }
- function t(t) {
- for (var n = 1; n < arguments.length; n++) {
- var r = null != arguments[n] ? arguments[n] : {}
- n % 2
- ? e(Object(r), !0).forEach(function (e) {
- o(t, e, r[e])
- })
- : Object.getOwnPropertyDescriptors
- ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r))
- : e(Object(r)).forEach(function (e) {
- Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e))
- })
- }
- return t
- }
- function o(e, t, o) {
- return (
- t in e
- ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 })
- : (e[t] = o),
- e
- )
- }
- function n(e, t, o, n, r, i, a) {
- try {
- var c = e[i](a),
- s = c.value
- } catch (l) {
- return void o(l)
- }
- c.done ? t(s) : Promise.resolve(s).then(n, r)
- }
- function r(e) {
- return function () {
- var t = this,
- o = arguments
- return new Promise(function (r, i) {
- var a = e.apply(t, o)
- function c(e) {
- n(a, r, i, c, s, 'next', e)
- }
- function s(e) {
- n(a, r, i, c, s, 'throw', e)
- }
- c(void 0)
- })
- }
- }
- function i(e, t) {
- return (
- (function (e) {
- if (Array.isArray(e)) return e
- })(e) ||
- (function (e, t) {
- var o =
- null == e ? null : ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
- if (null == o) return
- var n,
- r,
- i = [],
- a = !0,
- c = !1
- try {
- for (
- o = o.call(e);
- !(a = (n = o.next()).done) && (i.push(n.value), !t || i.length !== t);
- a = !0
- );
- } catch (s) {
- ;(c = !0), (r = s)
- } finally {
- try {
- a || null == o.return || o.return()
- } finally {
- if (c) throw r
- }
- }
- return i
- })(e, t) ||
- a(e, t) ||
- (function () {
- throw new TypeError(
- 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- })()
- )
- }
- function a(e, t) {
- if (e) {
- if ('string' == typeof e) return c(e, t)
- var o = Object.prototype.toString.call(e).slice(8, -1)
- return (
- 'Object' === o && e.constructor && (o = e.constructor.name),
- 'Map' === o || 'Set' === o
- ? Array.from(e)
- : 'Arguments' === o || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)
- ? c(e, t)
- : void 0
- )
- }
- }
- function c(e, t) {
- ;(null == t || t > e.length) && (t = e.length)
- for (var o = 0, n = new Array(t); o < t; o++) n[o] = e[o]
- return n
- }
- var s = document.createElement('style')
- ;(s.innerHTML =
- 'html,body,p,div,span{padding:0;margin:0;border:0}._van-field--error_1lnaq_10 ._van-field__control_1lnaq_10::-moz-placeholder{color:#c8c9cc;-webkit-text-fill-color:currentColor}._van-field--error_1lnaq_10 ._van-field__control_1lnaq_10,._van-field--error_1lnaq_10 ._van-field__control_1lnaq_10::placeholder{color:#c8c9cc;-webkit-text-fill-color:currentColor}._register_1lnaq_15{background:url(./assets/banner1.8945bb6c.png) no-repeat top center #f8f8f8;background-size:contain;max-width:20rem;margin:0 auto;min-height:100vh;overflow:hidden}._register_1lnaq_15 .van-cell{flex-direction:column;font-size:.42667rem;padding:.37333rem .34667rem}._register_1lnaq_15 .van-field__label{width:100%;margin-right:0;color:#333;font-size:.42667rem;font-weight:500}._register_1lnaq_15 .van-cell--required:before{left:.4rem}._register_1lnaq_15 .van-field__body{margin-top:.26667rem}._register_1lnaq_15 .van-form{margin-top:4.64rem;overflow:hidden}._register_1lnaq_15 .van-tag+.van-tag{margin-left:.21333rem}._banner_1lnaq_50,._banner_1lnaq_50 img{width:100%;font-size:0}._radioSection_1lnaq_55+._radioSection_1lnaq_55{margin-left:.32rem}._btn-submit_1lnaq_58{width:90%;margin:.53333rem auto}._system_1lnaq_62 h2{font-size:.48rem;font-weight:500;margin:.26667rem .64rem;color:#444}._system_1lnaq_62 ._van-cell--required_1lnaq_35:before{left:.66667rem}._cell-group_1lnaq_71{margin:0 .34667rem .37333rem;border-radius:.26667rem;padding-bottom:.26667rem}._top-tips_1lnaq_76{margin:.8rem .34667rem .53333rem;padding:.24rem .18667rem;background:#ffffff;border-radius:.26667rem;border:.13333rem solid #be93ff;font-size:.37333rem;font-weight:500;color:#724da9;line-height:.53333rem}._title_1lnaq_87{position:absolute;top:0;left:0;padding:3.06667rem .64rem 0;width:57%;font-size:.74667rem;font-weight:600;color:#fff;line-height:.90667rem;letter-spacing:.02667rem}._tips_1lnaq_101{font-size:.42667rem;font-weight:500;color:#fff;line-height:.58667rem;text-shadow:0 .02667rem .13333rem #ff5e20;display:flex;align-items:center}._tips_1lnaq_101 img{margin-right:.21333rem;width:.48rem;height:.48rem}._radioSection_1lnaq_55{position:relative}._radioItem_1lnaq_118{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._van-picker__confirm_1lnaq_126{color:#f67146!important}._stautsS_1lnaq_130{position:relative}._submit-container_1lnaq_133{padding:.53333rem .69333rem .69333rem;text-align:center}._icon-close_1lnaq_137{position:absolute;width:.69333rem;height:.69333rem;top:.32rem;right:.32rem}._submit-img_1lnaq_144{width:100%}._submit-title_1lnaq_147{font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem}._submit-o_1lnaq_153{padding-top:.26667rem;font-size:.4rem;font-weight:500;color:#333;line-height:.56rem}._submit-o_1lnaq_153 span{color:#f67146}._submit-tips_1lnaq_163{font-size:.37333rem;color:#777;line-height:.53333rem;padding-top:.13333rem;padding-bottom:.53333rem}._submit-container_1lnaq_133 ._van-button_1lnaq_170{font-size:.48rem;font-weight:500}._cell_title_1lnaq_174{margin:0 .34667rem .21333rem;display:inline-block;padding:.05333rem .16rem .08rem;background:#64a9ff;border-radius:.16rem;font-size:.4rem;font-weight:600;color:#fff}._protocol_1lnaq_184{display:flex;align-items:center;justify-content:center;font-size:.32rem;color:#aaa;line-height:.45333rem}._protocol_1lnaq_184 ._c_1lnaq_71{color:#f67146}._phoneTips_1lnaq_195{margin:.32rem .32rem .08rem;background:#ffebdd;border-radius:.16rem;font-size:.34667rem;color:#f67146;padding:.24rem .26667rem}._uploader-section_jyku5_1{margin:.26667rem 0;height:3.86667rem;border:.02667rem dashed #ccc;border-radius:.26667rem;box-sizing:border-box;position:relative}._uploader-section_jyku5_1 ._img-close_jyku5_9{position:absolute;top:.21333rem;right:.26667rem;z-index:99;font-size:.42667rem;background-color:#333;color:#fff;width:.58667rem;height:.58667rem;display:flex;justify-content:center;align-items:center;border-radius:50%}._uploader-section_jyku5_1 ._col-uploader_jyku5_24,._uploader-section_jyku5_1 .van-uploader{width:100%;height:100%;align-items:center;display:flex;justify-content:center}._uploader-section_jyku5_1 .van-uploader__wrapper,._uploader-section_jyku5_1 .van-uploader__input-wrapper{display:flex;align-items:center;justify-content:center;width:inherit;height:inherit}._uploader-section_jyku5_1 ._uploader_jyku5_1{display:flex;align-items:center;justify-content:center;flex-direction:column}._uploader-section_jyku5_1 ._uploader_jyku5_1 ._uploaderText_jyku5_52{font-size:.37333rem;color:#999;margin-top:.21333rem}._uploader-section_jyku5_1 ._uploadImg_jyku5_57{width:100%;height:100%;overflow:hidden}.vue-cropper[data-v-be5e5ddc]{position:relative;width:100%;height:100%;box-sizing:border-box;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;direction:ltr;touch-action:none;text-align:left;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-box[data-v-be5e5ddc],.cropper-box-canvas[data-v-be5e5ddc],.cropper-drag-box[data-v-be5e5ddc],.cropper-crop-box[data-v-be5e5ddc],.cropper-face[data-v-be5e5ddc]{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-box-canvas img[data-v-be5e5ddc]{position:relative;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:none;max-width:none;max-height:none}.cropper-box[data-v-be5e5ddc]{overflow:hidden}.cropper-move[data-v-be5e5ddc]{cursor:move}.cropper-crop[data-v-be5e5ddc]{cursor:crosshair}.cropper-modal[data-v-be5e5ddc]{background:rgba(0,0,0,.5)}.cropper-view-box[data-v-be5e5ddc]{display:block;overflow:hidden;width:100%;height:100%;outline:.02667rem solid #39f;outline-color:rgba(51,153,255,.75);-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-view-box img[data-v-be5e5ddc]{-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:left;max-width:none;max-height:none}.cropper-face[data-v-be5e5ddc]{top:0;left:0;background-color:#fff;opacity:.1}.crop-info[data-v-be5e5ddc]{position:absolute;left:0;min-width:1.73333rem;text-align:center;color:#fff;line-height:.53333rem;background-color:rgba(0,0,0,.8);font-size:.32rem}.crop-line[data-v-be5e5ddc]{position:absolute;display:block;width:100%;height:100%;opacity:.1}.line-w[data-v-be5e5ddc]{top:-.08rem;left:0;height:.13333rem;cursor:n-resize}.line-a[data-v-be5e5ddc]{top:0;left:-.08rem;width:.13333rem;cursor:w-resize}.line-s[data-v-be5e5ddc]{bottom:-.08rem;left:0;height:.13333rem;cursor:s-resize}.line-d[data-v-be5e5ddc]{top:0;right:-.08rem;width:.13333rem;cursor:e-resize}.crop-point[data-v-be5e5ddc]{position:absolute;width:.21333rem;height:.21333rem;opacity:.75;background-color:#39f;border-radius:100%}.point1[data-v-be5e5ddc]{top:-.10667rem;left:-.10667rem;cursor:nw-resize}.point2[data-v-be5e5ddc]{top:-.13333rem;left:50%;margin-left:-.08rem;cursor:n-resize}.point3[data-v-be5e5ddc]{top:-.10667rem;right:-.10667rem;cursor:ne-resize}.point4[data-v-be5e5ddc]{top:50%;left:-.10667rem;margin-top:-.08rem;cursor:w-resize}.point5[data-v-be5e5ddc]{top:50%;right:-.10667rem;margin-top:-.08rem;cursor:e-resize}.point6[data-v-be5e5ddc]{bottom:-.13333rem;left:-.10667rem;cursor:sw-resize}.point7[data-v-be5e5ddc]{bottom:-.13333rem;left:50%;margin-left:-.08rem;cursor:s-resize}.point8[data-v-be5e5ddc]{bottom:-.13333rem;right:-.10667rem;cursor:se-resize}@media screen and (max-width: 500px){.crop-point[data-v-be5e5ddc]{position:absolute;width:.53333rem;height:.53333rem;opacity:.45;background-color:#39f;border-radius:100%}.point1[data-v-be5e5ddc]{top:-.26667rem;left:-.26667rem}.point2[data-v-be5e5ddc],.point4[data-v-be5e5ddc],.point5[data-v-be5e5ddc],.point7[data-v-be5e5ddc]{display:none}.point3[data-v-be5e5ddc]{top:-.26667rem;right:-.26667rem}.point4[data-v-be5e5ddc]{top:0;left:0}.point6[data-v-be5e5ddc]{bottom:-.26667rem;left:-.26667rem}.point8[data-v-be5e5ddc]{bottom:-.26667rem;right:-.26667rem}}._upbtn_15vje_1{width:100%;height:100%}._uploadWarper_15vje_5{position:absolute;left:0;right:0;top:0;bottom:0}._bg_15vje_12{position:fixed;top:0;height:100vh;width:100%;background-color:#000;left:0;z-index:1000001}._btn_15vje_21{height:8vw;padding:0;line-height:8vw;font-size:4vw;padding:0 3.5vw;border-radius:1.333vw;text-align:center}._btn1_15vje_33{height:8vw;line-height:8vw;font-size:4vw;padding:0 4vw;border-radius:1.333vw;text-align:center;background-color:#5b6e96}._img_15vje_44{height:8vw;width:8vw;position:absolute;left:calc(50% - 4vw);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAZrElEQVR4Xu1dCbBtRXVdC4SAoggOcR6CCkbjbOKAE2iBqAE0kRLFGUVxiCZGVAzOChogDpiIEAaljEMciBGHoFFU1ERRSo0WGnHAKaJoYrRiuVLr/75Vl/f/e+/0cPoMt3fVrff+f717WLvX7dN9du9NNGkINATWRYANm4ZAQ2B9BBpB2uxoCGyAQCNImx4NgUaQNgcaAmkItBUkDbemtSIINIKsiKHbMNMQaARJw61prQgCjSArYug2zDQEGkHScGtaK4JAI8iKGLoNMw2BRpA03JrWiiDQCFLR0JJ+B8A1wmf3pd8X/+eflivW+5D035pUQqARpDDQkvYEcEsAt1j6ufjdfyshlwJY+/n24v9I/qpEI60OoBEkYxZI2gnAvQAcAOA+gRClSJDRM3wBwPkAPgbgMyR/nFPZKus2gkRaX9KdAewLYD8ABwLYObKKIYp/CsAnTZZAmO8O0YkpttkIsonVJHmv8CAA+wdi3GqKhl7T53MBbPmQ/MEMxtPbEBpBtgOtpF0CKUwMf67bmwWGrfjnC6IEsvxy2O6Mr/VGkGATSTsAOGiJGDcen7l67ZEfuxarygd6bWlCla88QSTdBMATABweTp4mZL7euvpRAGf7Q/I3vbUygYpXliCSfPT6xECOa0/AVkN08cuBKGeR/P4QHRi6zZUjiKTbBFKYHFcf2gATaf9HSyvKFyfS5yLdXBmCSLpTIIYfp/xGu0kaAicBOJHkShwVz54gkrxKPC980qZE01qLgMlhkpgss5ZZE0TSYYEYt5+1FYcb3KcBnETyHcN1od+WZ0kQSfsEYjy6X/g6126/qW+Ej3//GYCfhp/Lv/v/fGq065qP38v4/64JwC8qFx/7fN20cy/6K2iCmCgmzKxkdgSR9OxAjiFOpn4I4CMAPrtEiEv6PCoNHsImzF0BP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u6Ad3b92DOjylzVbwOwJ61jgZkQF5NcyduRuUC2TXopBLfd7JsgJsrCV8o/F7+XII/9tRYfxyH+t/D5Isnv9TSsla22rSAVTS/Jb/AdJM0f720Wvy//1BIBlsnwU5L+d5OKCDSCVAS7NTU9BBpBpmez1uOKCDSCVAS7NTU9BBpBpmez1uOKCDSCVAS7NTU9BBpBpmez1uOKCDSCVAS7NTU9BBpBpmez1uOKCDSCVAS7NTU9BBpBpmez1uOKCDSCVAS7NTU9BBpBpmez1uOKCPw/JjUpXx7VFvoAAAAASUVORK5CYII=);background-size:100% 100%}._btndiv_15vje_53{height:13.333vw;color:#fff;justify-content:space-between;display:flex;align-items:center;padding:0 4vw;line-height:13.333vw;font-size:4vw;position:relative}._wrapper_15vje_64{height:calc(100vh - 21.333vw);padding:4vw}._wrapper_15vje_64 .crop-point{opacity:0;z-index:523}._wrapper_15vje_64 .cropper-view-box{outline:.02667rem solid #fff;border:.02667rem solid #fff}._wrapper_15vje_64 .vue-cropper{background-color:#000;background-image:none}\n'),
- document.head.appendChild(s),
- System.register(
- [
- './area-legacy.ab68f48a.js',
- './index-legacy.2ae28dc5.js',
- './validate-legacy.1c2c1454.js',
- './index-legacy.47d88c54.js',
- './index-legacy.d61b8a1f.js',
- './function-call-legacy.5d08d5e0.js',
- './index-legacy.97665c37.js',
- './index-legacy.26638f55.js',
- './index-legacy.261ae52e.js',
- './index-legacy.79fdf090.js',
- './index-legacy.ef15ba2a.js',
- './index-legacy.eea1c236.js',
- './index-legacy.13f9f10f.js',
- './index-legacy.1fccc4ce.js',
- './use-tab-status-legacy.17f6d490.js',
- './index-legacy.f900000d.js',
- './index-legacy.51e5b886.js'
- ],
- function (e) {
- 'use strict'
- var o,
- n,
- c,
- s,
- l,
- u,
- h,
- d,
- p,
- f,
- g,
- m,
- v,
- b,
- w,
- y,
- C,
- A,
- x,
- k,
- S,
- I,
- O,
- _,
- B,
- E,
- j,
- T,
- M,
- R,
- Y,
- z,
- X,
- q,
- H,
- N,
- W,
- D,
- L,
- F,
- Q,
- U
- return {
- setters: [
- function (e) {
- ;(o = e.a), (n = e.F)
- },
- function (e) {
- ;(c = e.d),
- (s = e.o),
- (l = e.a_),
- (u = e.a8),
- (h = e.ax),
- (d = e.a$),
- (p = e.b0),
- (f = e.b1),
- (g = e.b2),
- (m = e.b3),
- (v = e.k),
- (b = e.p),
- (w = e.j),
- (y = e.b4),
- (C = e.s),
- (A = e.g),
- (x = e.b5),
- (k = e.b6),
- (S = e.b7),
- (I = e.aR),
- (O = e.a2),
- (_ = e.b8),
- (B = e.R),
- (E = e.X),
- (j = e.B),
- (T = e.l),
- (M = e.F),
- (R = e.P)
- },
- function (e) {
- ;(Y = e.I), (z = e.c)
- },
- function (e) {
- X = e.U
- },
- function (e) {
- q = e.I
- },
- function (e) {
- H = e.a
- },
- function (e) {
- N = e.P
- },
- function (e) {
- W = e.C
- },
- function (e) {
- D = e.F
- },
- function (e) {
- ;(L = e.R), (F = e.a)
- },
- function (e) {
- Q = e.T
- },
- function (e) {
- U = e.C
- },
- function () {},
- function () {},
- function () {},
- function () {},
- function () {}
- ],
- execute: function () {
- var J = {
- 'van-field--error': '_van-field--error_1lnaq_10',
- 'van-field__control': '_van-field__control_1lnaq_10',
- register: '_register_1lnaq_15',
- banner: '_banner_1lnaq_50',
- radioSection: '_radioSection_1lnaq_55',
- 'btn-submit': '_btn-submit_1lnaq_58',
- system: '_system_1lnaq_62',
- 'van-cell--required': '_van-cell--required_1lnaq_35',
- 'cell-group': '_cell-group_1lnaq_71',
- 'top-tips': '_top-tips_1lnaq_76',
- title: '_title_1lnaq_87',
- tips: '_tips_1lnaq_101',
- radioItem: '_radioItem_1lnaq_118',
- 'van-picker__confirm': '_van-picker__confirm_1lnaq_126',
- stautsS: '_stautsS_1lnaq_130',
- 'submit-container': '_submit-container_1lnaq_133',
- 'icon-close': '_icon-close_1lnaq_137',
- 'submit-img': '_submit-img_1lnaq_144',
- 'submit-title': '_submit-title_1lnaq_147',
- 'submit-o': '_submit-o_1lnaq_153',
- 'submit-tips': '_submit-tips_1lnaq_163',
- 'van-button': '_van-button_1lnaq_170',
- cell_title: '_cell_title_1lnaq_174',
- protocol: '_protocol_1lnaq_184',
- c: '_c_1lnaq_71',
- phoneTips: '_phoneTips_1lnaq_195'
- },
- V = '_uploader-section_jyku5_1',
- P = '_img-close_jyku5_9',
- K = '_col-uploader_jyku5_24',
- G = '_uploader_jyku5_1',
- Z = '_uploaderText_jyku5_52',
- $ = '_uploadImg_jyku5_57',
- ee = {}
- ee.getData = function (e) {
- return new Promise(function (t, o) {
- var n = {}
- ;(function (e) {
- var t = null
- return new Promise(function (o, n) {
- if (e.src)
- if (/^data\:/i.test(e.src))
- (t = (function (e) {
- e = e.replace(/^data\:([^\;]+)\;base64,/gim, '')
- for (
- var t = atob(e),
- o = t.length,
- n = new ArrayBuffer(o),
- r = new Uint8Array(n),
- i = 0;
- i < o;
- i++
- )
- r[i] = t.charCodeAt(i)
- return n
- })(e.src)),
- o(t)
- else if (/^blob\:/i.test(e.src)) {
- var r = new FileReader()
- ;(r.onload = function (e) {
- ;(t = e.target.result), o(t)
- }),
- (function (e, t) {
- var o = new XMLHttpRequest()
- o.open('GET', e, !0),
- (o.responseType = 'blob'),
- (o.onload = function (e) {
- ;(200 != this.status && 0 !== this.status) || t(this.response)
- }),
- o.send()
- })(e.src, function (e) {
- r.readAsArrayBuffer(e)
- })
- } else {
- var i = new XMLHttpRequest()
- ;(i.onload = function () {
- if (200 != this.status && 0 !== this.status) throw 'Could not load image'
- ;(t = i.response), o(t), (i = null)
- }),
- i.open('GET', e.src, !0),
- (i.responseType = 'arraybuffer'),
- i.send(null)
- }
- else n('img error')
- })
- })(e)
- .then(function (e) {
- ;(n.arrayBuffer = e),
- (n.orientation = (function (e) {
- var t,
- o,
- n,
- r,
- i,
- a,
- c,
- s,
- l,
- u = new DataView(e),
- h = u.byteLength
- if (255 === u.getUint8(0) && 216 === u.getUint8(1))
- for (s = 2; s < h; ) {
- if (255 === u.getUint8(s) && 225 === u.getUint8(s + 1)) {
- a = s
- break
- }
- s++
- }
- a &&
- ((o = a + 10),
- 'Exif' ===
- (function (e, t, o) {
- var n,
- r = ''
- for (n = t, o += t; n < o; n++)
- r += String.fromCharCode(e.getUint8(n))
- return r
- })(u, a + 4, 4) &&
- ((r = 18761 === (i = u.getUint16(o))) || 19789 === i) &&
- 42 === u.getUint16(o + 2, r) &&
- (n = u.getUint32(o + 4, r)) >= 8 &&
- (c = o + n))
- if (c)
- for (h = u.getUint16(c, r), l = 0; l < h; l++)
- if (((s = c + 12 * l + 2), 274 === u.getUint16(s, r))) {
- ;(s += 8), (t = u.getUint16(s, r))
- break
- }
- return t
- })(e)),
- t(n)
- })
- .catch(function (e) {
- o(e)
- })
- })
- }
- var te = function (e, t) {
- var o,
- n = e.__vccOpts || e,
- r = (function (e, t) {
- var o = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']
- if (!o) {
- if (
- Array.isArray(e) ||
- (o = a(e)) ||
- (t && e && 'number' == typeof e.length)
- ) {
- o && (e = o)
- var n = 0,
- r = function () {}
- return {
- s: r,
- n: function () {
- return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] }
- },
- e: function (e) {
- throw e
- },
- f: r
- }
- }
- throw new TypeError(
- 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'
- )
- }
- var i,
- c = !0,
- s = !1
- return {
- s: function () {
- o = o.call(e)
- },
- n: function () {
- var e = o.next()
- return (c = e.done), e
- },
- e: function (e) {
- ;(s = !0), (i = e)
- },
- f: function () {
- try {
- c || null == o.return || o.return()
- } finally {
- if (s) throw i
- }
- }
- }
- })(t)
- try {
- for (r.s(); !(o = r.n()).done; ) {
- var c = i(o.value, 2),
- s = c[0],
- l = c[1]
- n[s] = l
- }
- } catch (u) {
- r.e(u)
- } finally {
- r.f()
- }
- return n
- },
- oe = c({
- data: function () {
- return {
- w: 0,
- h: 0,
- scale: 1,
- x: 0,
- y: 0,
- loading: !0,
- trueWidth: 0,
- trueHeight: 0,
- move: !0,
- moveX: 0,
- moveY: 0,
- crop: !1,
- cropping: !1,
- cropW: 0,
- cropH: 0,
- cropOldW: 0,
- cropOldH: 0,
- canChangeX: !1,
- canChangeY: !1,
- changeCropTypeX: 1,
- changeCropTypeY: 1,
- cropX: 0,
- cropY: 0,
- cropChangeX: 0,
- cropChangeY: 0,
- cropOffsertX: 0,
- cropOffsertY: 0,
- support: '',
- touches: [],
- touchNow: !1,
- rotate: 0,
- isIos: !1,
- orientation: 0,
- imgs: '',
- coe: 0.2,
- scaling: !1,
- scalingSet: '',
- coeStatus: '',
- isCanShow: !0
- }
- },
- props: {
- img: { type: [String, Blob, null, File], default: '' },
- outputSize: { type: Number, default: 1 },
- outputType: { type: String, default: 'jpeg' },
- info: { type: Boolean, default: !0 },
- canScale: { type: Boolean, default: !0 },
- autoCrop: { type: Boolean, default: !1 },
- autoCropWidth: { type: [Number, String], default: 0 },
- autoCropHeight: { type: [Number, String], default: 0 },
- fixed: { type: Boolean, default: !1 },
- fixedNumber: {
- type: Array,
- default: function () {
- return [1, 1]
- }
- },
- fixedBox: { type: Boolean, default: !1 },
- full: { type: Boolean, default: !1 },
- canMove: { type: Boolean, default: !0 },
- canMoveBox: { type: Boolean, default: !0 },
- original: { type: Boolean, default: !1 },
- centerBox: { type: Boolean, default: !1 },
- high: { type: Boolean, default: !0 },
- infoTrue: { type: Boolean, default: !1 },
- maxImgSize: { type: [Number, String], default: 2e3 },
- enlarge: { type: [Number, String], default: 1 },
- preW: { type: [Number, String], default: 0 },
- mode: { type: String, default: 'contain' },
- limitMinSize: {
- type: [Number, Array, String],
- default: function () {
- return 10
- }
- }
- },
- computed: {
- cropInfo: function () {
- var e = {}
- if (
- ((e.top = this.cropOffsertY > 21 ? '-21px' : '0px'),
- (e.width = this.cropW > 0 ? this.cropW : 0),
- (e.height = this.cropH > 0 ? this.cropH : 0),
- this.infoTrue)
- ) {
- var t = 1
- this.high && !this.full && (t = window.devicePixelRatio),
- (1 !== this.enlarge) & !this.full && (t = Math.abs(Number(this.enlarge))),
- (e.width = e.width * t),
- (e.height = e.height * t),
- this.full &&
- ((e.width = e.width / this.scale), (e.height = e.height / this.scale))
- }
- return (e.width = e.width.toFixed(0)), (e.height = e.height.toFixed(0)), e
- },
- isIE: function () {
- var e = !!window.ActiveXObject || 'ActiveXObject' in window
- return e
- },
- passive: function () {
- return this.isIE ? null : { passive: !1 }
- }
- },
- watch: {
- img: function () {
- this.checkedImg()
- },
- imgs: function (e) {
- '' !== e && this.reload()
- },
- cropW: function () {
- this.showPreview()
- },
- cropH: function () {
- this.showPreview()
- },
- cropOffsertX: function () {
- this.showPreview()
- },
- cropOffsertY: function () {
- this.showPreview()
- },
- scale: function (e, t) {
- this.showPreview()
- },
- x: function () {
- this.showPreview()
- },
- y: function () {
- this.showPreview()
- },
- autoCrop: function (e) {
- e && this.goAutoCrop()
- },
- autoCropWidth: function () {
- this.autoCrop && this.goAutoCrop()
- },
- autoCropHeight: function () {
- this.autoCrop && this.goAutoCrop()
- },
- mode: function () {
- this.checkedImg()
- },
- rotate: function () {
- this.showPreview(),
- (this.autoCrop || this.cropW > 0 || this.cropH > 0) &&
- this.goAutoCrop(this.cropW, this.cropH)
- }
- },
- methods: {
- getVersion: function (e) {
- for (
- var t = navigator.userAgent.split(' '), o = '', n = new RegExp(e, 'i'), r = 0;
- r < t.length;
- r++
- )
- n.test(t[r]) && (o = t[r])
- return o ? o.split('/')[1].split('.') : ['0', '0', '0']
- },
- checkOrientationImage: function (e, t, o, n) {
- var r = this
- if (this.getVersion('chrome')[0] >= 81) t = -1
- else if (this.getVersion('safari')[0] >= 605) {
- var i = this.getVersion('version')
- i[0] > 13 && i[1] > 1 && (t = -1)
- } else {
- var a = navigator.userAgent
- .toLowerCase()
- .match(/cpu iphone os (.*?) like mac os/)
- if (a) {
- var c = a[1]
- ;((c = c.split('_'))[0] > 13 || (c[0] >= 13 && c[1] >= 4)) && (t = -1)
- }
- }
- var s = document.createElement('canvas'),
- l = s.getContext('2d')
- switch ((l.save(), t)) {
- case 2:
- ;(s.width = o), (s.height = n), l.translate(o, 0), l.scale(-1, 1)
- break
- case 3:
- ;(s.width = o),
- (s.height = n),
- l.translate(o / 2, n / 2),
- l.rotate((180 * Math.PI) / 180),
- l.translate(-o / 2, -n / 2)
- break
- case 4:
- ;(s.width = o), (s.height = n), l.translate(0, n), l.scale(1, -1)
- break
- case 5:
- ;(s.height = o), (s.width = n), l.rotate(0.5 * Math.PI), l.scale(1, -1)
- break
- case 6:
- ;(s.width = n),
- (s.height = o),
- l.translate(n / 2, o / 2),
- l.rotate((90 * Math.PI) / 180),
- l.translate(-o / 2, -n / 2)
- break
- case 7:
- ;(s.height = o),
- (s.width = n),
- l.rotate(0.5 * Math.PI),
- l.translate(o, -n),
- l.scale(-1, 1)
- break
- case 8:
- ;(s.height = o),
- (s.width = n),
- l.translate(n / 2, o / 2),
- l.rotate((-90 * Math.PI) / 180),
- l.translate(-o / 2, -n / 2)
- break
- default:
- ;(s.width = o), (s.height = n)
- }
- l.drawImage(e, 0, 0, o, n),
- l.restore(),
- s.toBlob(
- function (e) {
- var t = URL.createObjectURL(e)
- URL.revokeObjectURL(r.imgs), (r.imgs = t)
- },
- 'image/' + this.outputType,
- 1
- )
- },
- checkedImg: function () {
- var e = this
- if (null === this.img || '' === this.img)
- return (this.imgs = ''), void this.clearCrop()
- ;(this.loading = !0), (this.scale = 1), (this.rotate = 0), this.clearCrop()
- var t = new Image()
- if (
- ((t.onload = function () {
- if ('' === e.img) return e.$emit('img-load', 'error'), !1
- var o = t.width,
- n = t.height
- ee.getData(t).then(function (r) {
- e.orientation = r.orientation || 1
- var i = Number(e.maxImgSize)
- !e.orientation && (o < i) & (n < i)
- ? (e.imgs = e.img)
- : (o > i && ((n = (n / o) * i), (o = i)),
- n > i && ((o = (o / n) * i), (n = i)),
- e.checkOrientationImage(t, e.orientation, o, n))
- })
- }),
- (t.onerror = function () {
- e.$emit('img-load', 'error')
- }),
- 'data' !== this.img.substr(0, 4) && (t.crossOrigin = ''),
- this.isIE)
- ) {
- var o = new XMLHttpRequest()
- ;(o.onload = function () {
- var e = URL.createObjectURL(this.response)
- t.src = e
- }),
- o.open('GET', this.img, !0),
- (o.responseType = 'blob'),
- o.send()
- } else t.src = this.img
- },
- startMove: function (e) {
- if ((e.preventDefault(), this.move && !this.crop)) {
- if (!this.canMove) return !1
- ;(this.moveX = ('clientX' in e ? e.clientX : e.touches[0].clientX) - this.x),
- (this.moveY = ('clientY' in e ? e.clientY : e.touches[0].clientY) - this.y),
- e.touches
- ? (window.addEventListener('touchmove', this.moveImg),
- window.addEventListener('touchend', this.leaveImg),
- 2 == e.touches.length &&
- ((this.touches = e.touches),
- window.addEventListener('touchmove', this.touchScale),
- window.addEventListener('touchend', this.cancelTouchScale)))
- : (window.addEventListener('mousemove', this.moveImg),
- window.addEventListener('mouseup', this.leaveImg)),
- this.$emit('imgMoving', { moving: !0, axis: this.getImgAxis() }),
- this.$emit('img-moving', { moving: !0, axis: this.getImgAxis() })
- } else
- (this.cropping = !0),
- window.addEventListener('mousemove', this.createCrop),
- window.addEventListener('mouseup', this.endCrop),
- window.addEventListener('touchmove', this.createCrop),
- window.addEventListener('touchend', this.endCrop),
- (this.cropOffsertX = e.offsetX
- ? e.offsetX
- : e.touches[0].pageX - this.$refs.cropper.offsetLeft),
- (this.cropOffsertY = e.offsetY
- ? e.offsetY
- : e.touches[0].pageY - this.$refs.cropper.offsetTop),
- (this.cropX = 'clientX' in e ? e.clientX : e.touches[0].clientX),
- (this.cropY = 'clientY' in e ? e.clientY : e.touches[0].clientY),
- (this.cropChangeX = this.cropOffsertX),
- (this.cropChangeY = this.cropOffsertY),
- (this.cropW = 0),
- (this.cropH = 0)
- },
- touchScale: function (e) {
- var t = this
- e.preventDefault()
- var o = this.scale,
- n = this.touches[0].clientX,
- r = this.touches[0].clientY,
- i = e.touches[0].clientX,
- a = e.touches[0].clientY,
- c = this.touches[1].clientX,
- s = this.touches[1].clientY,
- l = e.touches[1].clientX,
- u = e.touches[1].clientY,
- h = Math.sqrt(Math.pow(n - c, 2) + Math.pow(r - s, 2)),
- d = Math.sqrt(Math.pow(i - l, 2) + Math.pow(a - u, 2)) - h,
- p = 1,
- f =
- (p =
- (p =
- p / this.trueWidth > p / this.trueHeight
- ? p / this.trueHeight
- : p / this.trueWidth) > 0.1
- ? 0.1
- : p) * d
- if (!this.touchNow) {
- if (
- ((this.touchNow = !0),
- d > 0 ? (o += Math.abs(f)) : d < 0 && o > Math.abs(f) && (o -= Math.abs(f)),
- (this.touches = e.touches),
- setTimeout(function () {
- t.touchNow = !1
- }, 8),
- !this.checkoutImgAxis(this.x, this.y, o))
- )
- return !1
- this.scale = o
- }
- },
- cancelTouchScale: function (e) {
- window.removeEventListener('touchmove', this.touchScale)
- },
- moveImg: function (e) {
- var t = this
- if ((e.preventDefault(), e.touches && 2 === e.touches.length))
- return (
- (this.touches = e.touches),
- window.addEventListener('touchmove', this.touchScale),
- window.addEventListener('touchend', this.cancelTouchScale),
- window.removeEventListener('touchmove', this.moveImg),
- !1
- )
- var o,
- n,
- r = 'clientX' in e ? e.clientX : e.touches[0].clientX,
- i = 'clientY' in e ? e.clientY : e.touches[0].clientY
- ;(o = r - this.moveX),
- (n = i - this.moveY),
- this.$nextTick(function () {
- if (t.centerBox) {
- var e,
- r,
- i,
- a,
- c = t.getImgAxis(o, n, t.scale),
- s = t.getCropAxis(),
- l = t.trueHeight * t.scale,
- u = t.trueWidth * t.scale
- switch (t.rotate) {
- case 1:
- case -1:
- case 3:
- case -3:
- ;(e =
- t.cropOffsertX - (t.trueWidth * (1 - t.scale)) / 2 + (l - u) / 2),
- (r =
- t.cropOffsertY -
- (t.trueHeight * (1 - t.scale)) / 2 +
- (u - l) / 2),
- (i = e - l + t.cropW),
- (a = r - u + t.cropH)
- break
- default:
- ;(e = t.cropOffsertX - (t.trueWidth * (1 - t.scale)) / 2),
- (r = t.cropOffsertY - (t.trueHeight * (1 - t.scale)) / 2),
- (i = e - u + t.cropW),
- (a = r - l + t.cropH)
- }
- c.x1 >= s.x1 && (o = e),
- c.y1 >= s.y1 && (n = r),
- c.x2 <= s.x2 && (o = i),
- c.y2 <= s.y2 && (n = a)
- }
- ;(t.x = o),
- (t.y = n),
- t.$emit('imgMoving', { moving: !0, axis: t.getImgAxis() }),
- t.$emit('img-moving', { moving: !0, axis: t.getImgAxis() })
- })
- },
- leaveImg: function (e) {
- window.removeEventListener('mousemove', this.moveImg),
- window.removeEventListener('touchmove', this.moveImg),
- window.removeEventListener('mouseup', this.leaveImg),
- window.removeEventListener('touchend', this.leaveImg),
- this.$emit('imgMoving', { moving: !1, axis: this.getImgAxis() }),
- this.$emit('img-moving', { moving: !1, axis: this.getImgAxis() })
- },
- scaleImg: function () {
- this.canScale &&
- window.addEventListener(this.support, this.changeSize, this.passive)
- },
- cancelScale: function () {
- this.canScale && window.removeEventListener(this.support, this.changeSize)
- },
- changeSize: function (e) {
- var t = this
- e.preventDefault()
- var o = this.scale,
- n = e.deltaY || e.wheelDelta
- ;(n = navigator.userAgent.indexOf('Firefox') > 0 ? 30 * n : n),
- this.isIE && (n = -n)
- var r = this.coe,
- i =
- (r =
- r / this.trueWidth > r / this.trueHeight
- ? r / this.trueHeight
- : r / this.trueWidth) * n
- i < 0 ? (o += Math.abs(i)) : o > Math.abs(i) && (o -= Math.abs(i))
- var a = i < 0 ? 'add' : 'reduce'
- if (
- (a !== this.coeStatus && ((this.coeStatus = a), (this.coe = 0.2)),
- this.scaling ||
- (this.scalingSet = setTimeout(function () {
- ;(t.scaling = !1), (t.coe = t.coe += 0.01)
- }, 50)),
- (this.scaling = !0),
- !this.checkoutImgAxis(this.x, this.y, o))
- )
- return !1
- this.scale = o
- },
- changeScale: function (e) {
- var t = this.scale
- e = e || 1
- var o = 20
- if (
- ((e *= o =
- o / this.trueWidth > o / this.trueHeight
- ? o / this.trueHeight
- : o / this.trueWidth) > 0
- ? (t += Math.abs(e))
- : t > Math.abs(e) && (t -= Math.abs(e)),
- !this.checkoutImgAxis(this.x, this.y, t))
- )
- return !1
- this.scale = t
- },
- createCrop: function (e) {
- var t = this
- e.preventDefault()
- var o = 'clientX' in e ? e.clientX : e.touches ? e.touches[0].clientX : 0,
- n = 'clientY' in e ? e.clientY : e.touches ? e.touches[0].clientY : 0
- this.$nextTick(function () {
- var e = o - t.cropX,
- r = n - t.cropY
- if (
- (e > 0
- ? ((t.cropW = e + t.cropChangeX > t.w ? t.w - t.cropChangeX : e),
- (t.cropOffsertX = t.cropChangeX))
- : ((t.cropW =
- t.w - t.cropChangeX + Math.abs(e) > t.w
- ? t.cropChangeX
- : Math.abs(e)),
- (t.cropOffsertX = t.cropChangeX + e > 0 ? t.cropChangeX + e : 0)),
- t.fixed)
- ) {
- var i = (t.cropW / t.fixedNumber[0]) * t.fixedNumber[1]
- i + t.cropOffsertY > t.h
- ? ((t.cropH = t.h - t.cropOffsertY),
- (t.cropW = (t.cropH / t.fixedNumber[1]) * t.fixedNumber[0]),
- (t.cropOffsertX = e > 0 ? t.cropChangeX : t.cropChangeX - t.cropW))
- : (t.cropH = i),
- (t.cropOffsertY = t.cropOffsertY)
- } else r > 0 ? ((t.cropH = r + t.cropChangeY > t.h ? t.h - t.cropChangeY : r), (t.cropOffsertY = t.cropChangeY)) : ((t.cropH = t.h - t.cropChangeY + Math.abs(r) > t.h ? t.cropChangeY : Math.abs(r)), (t.cropOffsertY = t.cropChangeY + r > 0 ? t.cropChangeY + r : 0))
- })
- },
- changeCropSize: function (e, t, o, n, r) {
- e.preventDefault(),
- window.addEventListener('mousemove', this.changeCropNow),
- window.addEventListener('mouseup', this.changeCropEnd),
- window.addEventListener('touchmove', this.changeCropNow),
- window.addEventListener('touchend', this.changeCropEnd),
- (this.canChangeX = t),
- (this.canChangeY = o),
- (this.changeCropTypeX = n),
- (this.changeCropTypeY = r),
- (this.cropX = 'clientX' in e ? e.clientX : e.touches[0].clientX),
- (this.cropY = 'clientY' in e ? e.clientY : e.touches[0].clientY),
- (this.cropOldW = this.cropW),
- (this.cropOldH = this.cropH),
- (this.cropChangeX = this.cropOffsertX),
- (this.cropChangeY = this.cropOffsertY),
- this.fixed && this.canChangeX && this.canChangeY && (this.canChangeY = 0),
- this.$emit('change-crop-size', { width: this.cropW, height: this.cropH })
- },
- changeCropNow: function (e) {
- var t = this
- e.preventDefault()
- var o = 'clientX' in e ? e.clientX : e.touches ? e.touches[0].clientX : 0,
- n = 'clientY' in e ? e.clientY : e.touches ? e.touches[0].clientY : 0,
- r = this.w,
- i = this.h,
- a = 0,
- c = 0
- if (this.centerBox) {
- var s = this.getImgAxis(),
- l = s.x2,
- u = s.y2
- ;(a = s.x1 > 0 ? s.x1 : 0),
- (c = s.y1 > 0 ? s.y1 : 0),
- r > l && (r = l),
- i > u && (i = u)
- }
- this.$nextTick(function () {
- var e = o - t.cropX,
- s = n - t.cropY
- if (
- (t.canChangeX &&
- (1 === t.changeCropTypeX
- ? t.cropOldW - e > 0
- ? ((t.cropW =
- r - t.cropChangeX - e <= r - a
- ? t.cropOldW - e
- : t.cropOldW + t.cropChangeX - a),
- (t.cropOffsertX =
- r - t.cropChangeX - e <= r - a ? t.cropChangeX + e : a))
- : ((t.cropW =
- Math.abs(e) + t.cropChangeX <= r
- ? Math.abs(e) - t.cropOldW
- : r - t.cropOldW - t.cropChangeX),
- (t.cropOffsertX = t.cropChangeX + t.cropOldW))
- : 2 === t.changeCropTypeX &&
- (t.cropOldW + e > 0
- ? ((t.cropW =
- t.cropOldW + e + t.cropOffsertX <= r
- ? t.cropOldW + e
- : r - t.cropOffsertX),
- (t.cropOffsertX = t.cropChangeX))
- : ((t.cropW =
- r - t.cropChangeX + Math.abs(e + t.cropOldW) <= r - a
- ? Math.abs(e + t.cropOldW)
- : t.cropChangeX - a),
- (t.cropOffsertX =
- r - t.cropChangeX + Math.abs(e + t.cropOldW) <= r - a
- ? t.cropChangeX - Math.abs(e + t.cropOldW)
- : a)))),
- t.canChangeY &&
- (1 === t.changeCropTypeY
- ? t.cropOldH - s > 0
- ? ((t.cropH =
- i - t.cropChangeY - s <= i - c
- ? t.cropOldH - s
- : t.cropOldH + t.cropChangeY - c),
- (t.cropOffsertY =
- i - t.cropChangeY - s <= i - c ? t.cropChangeY + s : c))
- : ((t.cropH =
- Math.abs(s) + t.cropChangeY <= i
- ? Math.abs(s) - t.cropOldH
- : i - t.cropOldH - t.cropChangeY),
- (t.cropOffsertY = t.cropChangeY + t.cropOldH))
- : 2 === t.changeCropTypeY &&
- (t.cropOldH + s > 0
- ? ((t.cropH =
- t.cropOldH + s + t.cropOffsertY <= i
- ? t.cropOldH + s
- : i - t.cropOffsertY),
- (t.cropOffsertY = t.cropChangeY))
- : ((t.cropH =
- i - t.cropChangeY + Math.abs(s + t.cropOldH) <= i - c
- ? Math.abs(s + t.cropOldH)
- : t.cropChangeY - c),
- (t.cropOffsertY =
- i - t.cropChangeY + Math.abs(s + t.cropOldH) <= i - c
- ? t.cropChangeY - Math.abs(s + t.cropOldH)
- : c)))),
- t.canChangeX && t.fixed)
- ) {
- var l = (t.cropW / t.fixedNumber[0]) * t.fixedNumber[1]
- l + t.cropOffsertY > i
- ? ((t.cropH = i - t.cropOffsertY),
- (t.cropW = (t.cropH / t.fixedNumber[1]) * t.fixedNumber[0]))
- : (t.cropH = l)
- }
- if (t.canChangeY && t.fixed) {
- var u = (t.cropH / t.fixedNumber[1]) * t.fixedNumber[0]
- u + t.cropOffsertX > r
- ? ((t.cropW = r - t.cropOffsertX),
- (t.cropH = (t.cropW / t.fixedNumber[0]) * t.fixedNumber[1]))
- : (t.cropW = u)
- }
- })
- },
- checkCropLimitSize: function () {
- this.cropW, this.cropH
- var e = this.limitMinSize,
- t = new Array()
- return (t = Array.isArray[e] ? e : [e, e]), [parseFloat(t[0]), parseFloat(t[1])]
- },
- changeCropEnd: function (e) {
- window.removeEventListener('mousemove', this.changeCropNow),
- window.removeEventListener('mouseup', this.changeCropEnd),
- window.removeEventListener('touchmove', this.changeCropNow),
- window.removeEventListener('touchend', this.changeCropEnd)
- },
- endCrop: function () {
- 0 === this.cropW && 0 === this.cropH && (this.cropping = !1),
- window.removeEventListener('mousemove', this.createCrop),
- window.removeEventListener('mouseup', this.endCrop),
- window.removeEventListener('touchmove', this.createCrop),
- window.removeEventListener('touchend', this.endCrop)
- },
- startCrop: function () {
- this.crop = !0
- },
- stopCrop: function () {
- this.crop = !1
- },
- clearCrop: function () {
- ;(this.cropping = !1), (this.cropW = 0), (this.cropH = 0)
- },
- cropMove: function (e) {
- if ((e.preventDefault(), !this.canMoveBox))
- return (this.crop = !1), this.startMove(e), !1
- if (e.touches && 2 === e.touches.length)
- return (this.crop = !1), this.startMove(e), this.leaveCrop(), !1
- window.addEventListener('mousemove', this.moveCrop),
- window.addEventListener('mouseup', this.leaveCrop),
- window.addEventListener('touchmove', this.moveCrop),
- window.addEventListener('touchend', this.leaveCrop)
- var t,
- o,
- n = 'clientX' in e ? e.clientX : e.touches[0].clientX,
- r = 'clientY' in e ? e.clientY : e.touches[0].clientY
- ;(t = n - this.cropOffsertX),
- (o = r - this.cropOffsertY),
- (this.cropX = t),
- (this.cropY = o),
- this.$emit('cropMoving', { moving: !0, axis: this.getCropAxis() }),
- this.$emit('crop-moving', { moving: !0, axis: this.getCropAxis() })
- },
- moveCrop: function (e, t) {
- var o = this,
- n = 0,
- r = 0
- e &&
- (e.preventDefault(),
- (n = 'clientX' in e ? e.clientX : e.touches[0].clientX),
- (r = 'clientY' in e ? e.clientY : e.touches[0].clientY)),
- this.$nextTick(function () {
- var e,
- i,
- a = n - o.cropX,
- c = r - o.cropY
- if (
- (t && ((a = o.cropOffsertX), (c = o.cropOffsertY)),
- (e = a <= 0 ? 0 : a + o.cropW > o.w ? o.w - o.cropW : a),
- (i = c <= 0 ? 0 : c + o.cropH > o.h ? o.h - o.cropH : c),
- o.centerBox)
- ) {
- var s = o.getImgAxis()
- e <= s.x1 && (e = s.x1),
- e + o.cropW > s.x2 && (e = s.x2 - o.cropW),
- i <= s.y1 && (i = s.y1),
- i + o.cropH > s.y2 && (i = s.y2 - o.cropH)
- }
- ;(o.cropOffsertX = e),
- (o.cropOffsertY = i),
- o.$emit('cropMoving', { moving: !0, axis: o.getCropAxis() }),
- o.$emit('crop-moving', { moving: !0, axis: o.getCropAxis() })
- })
- },
- getImgAxis: function (e, t, o) {
- ;(e = e || this.x), (t = t || this.y), (o = o || this.scale)
- var n = { x1: 0, x2: 0, y1: 0, y2: 0 },
- r = this.trueWidth * o,
- i = this.trueHeight * o
- switch (this.rotate) {
- case 0:
- ;(n.x1 = e + (this.trueWidth * (1 - o)) / 2),
- (n.x2 = n.x1 + this.trueWidth * o),
- (n.y1 = t + (this.trueHeight * (1 - o)) / 2),
- (n.y2 = n.y1 + this.trueHeight * o)
- break
- case 1:
- case -1:
- case 3:
- case -3:
- ;(n.x1 = e + (this.trueWidth * (1 - o)) / 2 + (r - i) / 2),
- (n.x2 = n.x1 + this.trueHeight * o),
- (n.y1 = t + (this.trueHeight * (1 - o)) / 2 + (i - r) / 2),
- (n.y2 = n.y1 + this.trueWidth * o)
- break
- default:
- ;(n.x1 = e + (this.trueWidth * (1 - o)) / 2),
- (n.x2 = n.x1 + this.trueWidth * o),
- (n.y1 = t + (this.trueHeight * (1 - o)) / 2),
- (n.y2 = n.y1 + this.trueHeight * o)
- }
- return n
- },
- getCropAxis: function () {
- var e = { x1: 0, x2: 0, y1: 0, y2: 0 }
- return (
- (e.x1 = this.cropOffsertX),
- (e.x2 = e.x1 + this.cropW),
- (e.y1 = this.cropOffsertY),
- (e.y2 = e.y1 + this.cropH),
- e
- )
- },
- leaveCrop: function (e) {
- window.removeEventListener('mousemove', this.moveCrop),
- window.removeEventListener('mouseup', this.leaveCrop),
- window.removeEventListener('touchmove', this.moveCrop),
- window.removeEventListener('touchend', this.leaveCrop),
- this.$emit('cropMoving', { moving: !1, axis: this.getCropAxis() }),
- this.$emit('crop-moving', { moving: !1, axis: this.getCropAxis() })
- },
- getCropChecked: function (e) {
- var t = this,
- o = document.createElement('canvas'),
- n = new Image(),
- r = this.rotate,
- i = this.trueWidth,
- a = this.trueHeight,
- c = this.cropOffsertX,
- s = this.cropOffsertY
- function l(e, t) {
- ;(o.width = Math.round(e)), (o.height = Math.round(t))
- }
- ;(n.onload = function () {
- if (0 !== t.cropW) {
- var u = o.getContext('2d'),
- h = 1
- t.high & !t.full && (h = window.devicePixelRatio),
- (1 !== t.enlarge) & !t.full && (h = Math.abs(Number(t.enlarge)))
- var d = t.cropW * h,
- p = t.cropH * h,
- f = i * t.scale * h,
- g = a * t.scale * h,
- m = (t.x - c + (t.trueWidth * (1 - t.scale)) / 2) * h,
- v = (t.y - s + (t.trueHeight * (1 - t.scale)) / 2) * h
- switch ((l(d, p), u.save(), r)) {
- case 0:
- t.full
- ? (l(d / t.scale, p / t.scale),
- u.drawImage(n, m / t.scale, v / t.scale, f / t.scale, g / t.scale))
- : u.drawImage(n, m, v, f, g)
- break
- case 1:
- case -3:
- t.full
- ? (l(d / t.scale, p / t.scale),
- (m = m / t.scale + (f / t.scale - g / t.scale) / 2),
- (v = v / t.scale + (g / t.scale - f / t.scale) / 2),
- u.rotate((90 * r * Math.PI) / 180),
- u.drawImage(n, v, -m - g / t.scale, f / t.scale, g / t.scale))
- : ((m += (f - g) / 2),
- (v += (g - f) / 2),
- u.rotate((90 * r * Math.PI) / 180),
- u.drawImage(n, v, -m - g, f, g))
- break
- case 2:
- case -2:
- t.full
- ? (l(d / t.scale, p / t.scale),
- u.rotate((90 * r * Math.PI) / 180),
- (m /= t.scale),
- (v /= t.scale),
- u.drawImage(
- n,
- -m - f / t.scale,
- -v - g / t.scale,
- f / t.scale,
- g / t.scale
- ))
- : (u.rotate((90 * r * Math.PI) / 180),
- u.drawImage(n, -m - f, -v - g, f, g))
- break
- case 3:
- case -1:
- t.full
- ? (l(d / t.scale, p / t.scale),
- (m = m / t.scale + (f / t.scale - g / t.scale) / 2),
- (v = v / t.scale + (g / t.scale - f / t.scale) / 2),
- u.rotate((90 * r * Math.PI) / 180),
- u.drawImage(n, -v - f / t.scale, m, f / t.scale, g / t.scale))
- : ((m += (f - g) / 2),
- (v += (g - f) / 2),
- u.rotate((90 * r * Math.PI) / 180),
- u.drawImage(n, -v - f, m, f, g))
- break
- default:
- t.full
- ? (l(d / t.scale, p / t.scale),
- u.drawImage(n, m / t.scale, v / t.scale, f / t.scale, g / t.scale))
- : u.drawImage(n, m, v, f, g)
- }
- u.restore()
- } else {
- var b = i * t.scale,
- w = a * t.scale,
- y = o.getContext('2d')
- switch ((y.save(), r)) {
- case 0:
- l(b, w), y.drawImage(n, 0, 0, b, w)
- break
- case 1:
- case -3:
- l(w, b), y.rotate((90 * r * Math.PI) / 180), y.drawImage(n, 0, -w, b, w)
- break
- case 2:
- case -2:
- l(b, w),
- y.rotate((90 * r * Math.PI) / 180),
- y.drawImage(n, -b, -w, b, w)
- break
- case 3:
- case -1:
- l(w, b), y.rotate((90 * r * Math.PI) / 180), y.drawImage(n, -b, 0, b, w)
- break
- default:
- l(b, w), y.drawImage(n, 0, 0, b, w)
- }
- y.restore()
- }
- e(o)
- }),
- 'data' !== this.img.substr(0, 4) && (n.crossOrigin = 'Anonymous'),
- (n.src = this.imgs)
- },
- getCropData: function (e) {
- var t = this
- this.getCropChecked(function (o) {
- e(o.toDataURL('image/' + t.outputType, t.outputSize))
- })
- },
- getCropBlob: function (e) {
- var t = this
- this.getCropChecked(function (o) {
- o.toBlob(
- function (t) {
- return e(t)
- },
- 'image/' + t.outputType,
- t.outputSize
- )
- })
- },
- showPreview: function () {
- var e = this
- if (!this.isCanShow) return !1
- ;(this.isCanShow = !1),
- setTimeout(function () {
- e.isCanShow = !0
- }, 16)
- var t = this.cropW,
- o = this.cropH,
- n = this.scale,
- r = {}
- r.div = { width: ''.concat(t, 'px'), height: ''.concat(o, 'px') }
- var i = (this.x - this.cropOffsertX) / n,
- a = (this.y - this.cropOffsertY) / n
- ;(r.w = t),
- (r.h = o),
- (r.url = this.imgs),
- (r.img = {
- width: ''.concat(this.trueWidth, 'px'),
- height: ''.concat(this.trueHeight, 'px'),
- transform: 'scale('
- .concat(n, ')translate3d(')
- .concat(i, 'px, ')
- .concat(a, 'px, ')
- .concat(0, 'px)rotateZ(')
- .concat(90 * this.rotate, 'deg)')
- }),
- (r.html = '\n <div class="show-preview" style="width: '
- .concat(r.w, 'px; height: ')
- .concat(r.h, 'px,; overflow: hidden">\n <div style="width: ')
- .concat(t, 'px; height: ')
- .concat(o, 'px">\n <img src=')
- .concat(r.url, ' style="width: ')
- .concat(this.trueWidth, 'px; height: ')
- .concat(this.trueHeight, 'px; transform:\n scale(')
- .concat(n, ')translate3d(')
- .concat(i, 'px, ')
- .concat(a, 'px, ')
- .concat(0, 'px)rotateZ(')
- .concat(90 * this.rotate, 'deg)">\n </div>\n </div>')),
- this.$emit('realTime', r),
- this.$emit('real-time', r)
- },
- reload: function () {
- var e = this,
- t = new Image()
- ;(t.onload = function () {
- ;(e.w = parseFloat(window.getComputedStyle(e.$refs.cropper).width)),
- (e.h = parseFloat(window.getComputedStyle(e.$refs.cropper).height)),
- (e.trueWidth = t.width),
- (e.trueHeight = t.height),
- e.original ? (e.scale = 1) : (e.scale = e.checkedMode()),
- e.$nextTick(function () {
- ;(e.x =
- -(e.trueWidth - e.trueWidth * e.scale) / 2 +
- (e.w - e.trueWidth * e.scale) / 2),
- (e.y =
- -(e.trueHeight - e.trueHeight * e.scale) / 2 +
- (e.h - e.trueHeight * e.scale) / 2),
- (e.loading = !1),
- e.autoCrop && e.goAutoCrop(),
- e.$emit('img-load', 'success'),
- e.$emit('imgLoad', 'success'),
- setTimeout(function () {
- e.showPreview()
- }, 20)
- })
- }),
- (t.onerror = function () {
- e.$emit('imgLoad', 'error'), e.$emit('img-load', 'error')
- }),
- (t.src = this.imgs)
- },
- checkedMode: function () {
- var e = 1,
- t = (this.trueWidth, this.trueHeight),
- o = this.mode.split(' ')
- switch (o[0]) {
- case 'contain':
- this.trueWidth > this.w && (e = this.w / this.trueWidth),
- this.trueHeight * e > this.h && (e = this.h / this.trueHeight)
- break
- case 'cover':
- ;(t *= e = this.w / this.trueWidth) < this.h &&
- (e = (t = this.h) / this.trueHeight)
- break
- default:
- try {
- var n = o[0]
- if (-1 !== n.search('px')) {
- n = n.replace('px', '')
- var r = parseFloat(n) / this.trueWidth,
- i = 1,
- a = o[1]
- ;-1 !== a.search('px') &&
- ((a = a.replace('px', '')),
- (i = (t = parseFloat(a)) / this.trueHeight)),
- (e = Math.min(r, i))
- }
- if (
- (-1 !== n.search('%') &&
- ((n = n.replace('%', '')),
- (e = ((parseFloat(n) / 100) * this.w) / this.trueWidth)),
- 2 === o.length && 'auto' === n)
- ) {
- var c = o[1]
- ;-1 !== c.search('px') &&
- ((c = c.replace('px', '')),
- (e = (t = parseFloat(c)) / this.trueHeight)),
- -1 !== c.search('%') &&
- ((c = c.replace('%', '')),
- (e = (t = (parseFloat(c) / 100) * this.h) / this.trueHeight))
- }
- } catch (s) {
- e = 1
- }
- }
- return e
- },
- goAutoCrop: function (e, t) {
- if ('' !== this.imgs && null !== this.imgs) {
- this.clearCrop(), (this.cropping = !0)
- var o = this.w,
- n = this.h
- if (this.centerBox) {
- var r = Math.abs(this.rotate) % 2 > 0,
- i = (r ? this.trueHeight : this.trueWidth) * this.scale,
- a = (r ? this.trueWidth : this.trueHeight) * this.scale
- ;(o = i < o ? i : o), (n = a < n ? a : n)
- }
- var c = e || parseFloat(this.autoCropWidth),
- s = t || parseFloat(this.autoCropHeight)
- ;(0 !== c && 0 !== s) || ((c = 0.8 * o), (s = 0.8 * n)),
- (c = c > o ? o : c),
- (s = s > n ? n : s),
- this.fixed && (s = (c / this.fixedNumber[0]) * this.fixedNumber[1]),
- s > this.h &&
- (c = ((s = this.h) / this.fixedNumber[1]) * this.fixedNumber[0]),
- this.changeCrop(c, s)
- }
- },
- changeCrop: function (e, t) {
- var o = this
- if (this.centerBox) {
- var n = this.getImgAxis()
- e > n.x2 - n.x1 &&
- (t = ((e = n.x2 - n.x1) / this.fixedNumber[0]) * this.fixedNumber[1]),
- t > n.y2 - n.y1 &&
- (e = ((t = n.y2 - n.y1) / this.fixedNumber[1]) * this.fixedNumber[0])
- }
- ;(this.cropW = e),
- (this.cropH = t),
- this.checkCropLimitSize(),
- this.$nextTick(function () {
- ;(o.cropOffsertX = (o.w - o.cropW) / 2),
- (o.cropOffsertY = (o.h - o.cropH) / 2),
- o.centerBox && o.moveCrop(null, !0)
- })
- },
- refresh: function () {
- var e = this
- this.img,
- (this.imgs = ''),
- (this.scale = 1),
- (this.crop = !1),
- (this.rotate = 0),
- (this.w = 0),
- (this.h = 0),
- (this.trueWidth = 0),
- (this.trueHeight = 0),
- this.clearCrop(),
- this.$nextTick(function () {
- e.checkedImg()
- })
- },
- rotateLeft: function () {
- this.rotate = this.rotate <= -3 ? 0 : this.rotate - 1
- },
- rotateRight: function () {
- this.rotate = this.rotate >= 3 ? 0 : this.rotate + 1
- },
- rotateClear: function () {
- this.rotate = 0
- },
- checkoutImgAxis: function (e, t, o) {
- ;(e = e || this.x), (t = t || this.y), (o = o || this.scale)
- var n = !0
- if (this.centerBox) {
- var r = this.getImgAxis(e, t, o),
- i = this.getCropAxis()
- r.x1 >= i.x1 && (n = !1),
- r.x2 <= i.x2 && (n = !1),
- r.y1 >= i.y1 && (n = !1),
- r.y2 <= i.y2 && (n = !1)
- }
- return n
- }
- },
- mounted: function () {
- this.support =
- 'onwheel' in document.createElement('div')
- ? 'wheel'
- : void 0 !== document.onmousewheel
- ? 'mousewheel'
- : 'DOMMouseScroll'
- var e = this,
- t = navigator.userAgent
- ;(this.isIOS = !!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)),
- HTMLCanvasElement.prototype.toBlob ||
- Object.defineProperty(HTMLCanvasElement.prototype, 'toBlob', {
- value: function (t, o, n) {
- for (
- var r = atob(this.toDataURL(o, n).split(',')[1]),
- i = r.length,
- a = new Uint8Array(i),
- c = 0;
- c < i;
- c++
- )
- a[c] = r.charCodeAt(c)
- t(new Blob([a], { type: e.type || 'image/png' }))
- }
- }),
- this.showPreview(),
- this.checkedImg()
- },
- destroyed: function () {
- window.removeEventListener('mousemove', this.moveCrop),
- window.removeEventListener('mouseup', this.leaveCrop),
- window.removeEventListener('touchmove', this.moveCrop),
- window.removeEventListener('touchend', this.leaveCrop),
- this.cancelScale()
- }
- }),
- ne = { key: 0, class: 'cropper-box' },
- re = ['src'],
- ie = { class: 'cropper-view-box' },
- ae = ['src'],
- ce = { key: 1 }
- var se = te(oe, [
- [
- 'render',
- function (e, t, o, n, r, i) {
- return (
- s(),
- l(
- 'div',
- {
- class: 'vue-cropper',
- ref: 'cropper',
- onMouseover:
- t[28] ||
- (t[28] = function () {
- return e.scaleImg && e.scaleImg.apply(e, arguments)
- }),
- onMouseout:
- t[29] ||
- (t[29] = function () {
- return e.cancelScale && e.cancelScale.apply(e, arguments)
- })
- },
- [
- e.imgs
- ? (s(),
- l('div', ne, [
- u(
- d(
- 'div',
- {
- class: 'cropper-box-canvas',
- style: p({
- width: e.trueWidth + 'px',
- height: e.trueHeight + 'px',
- transform:
- 'scale(' +
- e.scale +
- ',' +
- e.scale +
- ') translate3d(' +
- e.x / e.scale +
- 'px,' +
- e.y / e.scale +
- 'px,0)rotateZ(' +
- 90 * e.rotate +
- 'deg)'
- })
- },
- [
- d(
- 'img',
- { src: e.imgs, alt: 'cropper-img', ref: 'cropperImg' },
- null,
- 8,
- re
- )
- ],
- 4
- ),
- [[h, !e.loading]]
- )
- ]))
- : f('', !0),
- d(
- 'div',
- {
- class: g([
- 'cropper-drag-box',
- {
- 'cropper-move': e.move && !e.crop,
- 'cropper-crop': e.crop,
- 'cropper-modal': e.cropping
- }
- ]),
- onMousedown:
- t[0] ||
- (t[0] = function () {
- return e.startMove && e.startMove.apply(e, arguments)
- }),
- onTouchstart:
- t[1] ||
- (t[1] = function () {
- return e.startMove && e.startMove.apply(e, arguments)
- })
- },
- null,
- 34
- ),
- u(
- d(
- 'div',
- {
- class: 'cropper-crop-box',
- style: p({
- width: e.cropW + 'px',
- height: e.cropH + 'px',
- transform:
- 'translate3d(' + e.cropOffsertX + 'px,' + e.cropOffsertY + 'px,0)'
- })
- },
- [
- d('span', ie, [
- d(
- 'img',
- {
- style: p({
- width: e.trueWidth + 'px',
- height: e.trueHeight + 'px',
- transform:
- 'scale(' +
- e.scale +
- ',' +
- e.scale +
- ') translate3d(' +
- (e.x - e.cropOffsertX) / e.scale +
- 'px,' +
- (e.y - e.cropOffsertY) / e.scale +
- 'px,0)rotateZ(' +
- 90 * e.rotate +
- 'deg)'
- }),
- src: e.imgs,
- alt: 'cropper-img'
- },
- null,
- 12,
- ae
- )
- ]),
- d(
- 'span',
- {
- class: 'cropper-face cropper-move',
- onMousedown:
- t[2] ||
- (t[2] = function () {
- return e.cropMove && e.cropMove.apply(e, arguments)
- }),
- onTouchstart:
- t[3] ||
- (t[3] = function () {
- return e.cropMove && e.cropMove.apply(e, arguments)
- })
- },
- null,
- 32
- ),
- e.info
- ? (s(),
- l(
- 'span',
- {
- key: 0,
- class: 'crop-info',
- style: p({ top: e.cropInfo.top })
- },
- m(e.cropInfo.width) + ' × ' + m(e.cropInfo.height),
- 5
- ))
- : f('', !0),
- e.fixedBox
- ? f('', !0)
- : (s(),
- l('span', ce, [
- d(
- 'span',
- {
- class: 'crop-line line-w',
- onMousedown:
- t[4] ||
- (t[4] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 1)
- }),
- onTouchstart:
- t[5] ||
- (t[5] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 1)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-line line-a',
- onMousedown:
- t[6] ||
- (t[6] = function (t) {
- return e.changeCropSize(t, !0, !1, 1, 0)
- }),
- onTouchstart:
- t[7] ||
- (t[7] = function (t) {
- return e.changeCropSize(t, !0, !1, 1, 0)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-line line-s',
- onMousedown:
- t[8] ||
- (t[8] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 2)
- }),
- onTouchstart:
- t[9] ||
- (t[9] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 2)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-line line-d',
- onMousedown:
- t[10] ||
- (t[10] = function (t) {
- return e.changeCropSize(t, !0, !1, 2, 0)
- }),
- onTouchstart:
- t[11] ||
- (t[11] = function (t) {
- return e.changeCropSize(t, !0, !1, 2, 0)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point1',
- onMousedown:
- t[12] ||
- (t[12] = function (t) {
- return e.changeCropSize(t, !0, !0, 1, 1)
- }),
- onTouchstart:
- t[13] ||
- (t[13] = function (t) {
- return e.changeCropSize(t, !0, !0, 1, 1)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point2',
- onMousedown:
- t[14] ||
- (t[14] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 1)
- }),
- onTouchstart:
- t[15] ||
- (t[15] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 1)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point3',
- onMousedown:
- t[16] ||
- (t[16] = function (t) {
- return e.changeCropSize(t, !0, !0, 2, 1)
- }),
- onTouchstart:
- t[17] ||
- (t[17] = function (t) {
- return e.changeCropSize(t, !0, !0, 2, 1)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point4',
- onMousedown:
- t[18] ||
- (t[18] = function (t) {
- return e.changeCropSize(t, !0, !1, 1, 0)
- }),
- onTouchstart:
- t[19] ||
- (t[19] = function (t) {
- return e.changeCropSize(t, !0, !1, 1, 0)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point5',
- onMousedown:
- t[20] ||
- (t[20] = function (t) {
- return e.changeCropSize(t, !0, !1, 2, 0)
- }),
- onTouchstart:
- t[21] ||
- (t[21] = function (t) {
- return e.changeCropSize(t, !0, !1, 2, 0)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point6',
- onMousedown:
- t[22] ||
- (t[22] = function (t) {
- return e.changeCropSize(t, !0, !0, 1, 2)
- }),
- onTouchstart:
- t[23] ||
- (t[23] = function (t) {
- return e.changeCropSize(t, !0, !0, 1, 2)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point7',
- onMousedown:
- t[24] ||
- (t[24] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 2)
- }),
- onTouchstart:
- t[25] ||
- (t[25] = function (t) {
- return e.changeCropSize(t, !1, !0, 0, 2)
- })
- },
- null,
- 32
- ),
- d(
- 'span',
- {
- class: 'crop-point point8',
- onMousedown:
- t[26] ||
- (t[26] = function (t) {
- return e.changeCropSize(t, !0, !0, 2, 2)
- }),
- onTouchstart:
- t[27] ||
- (t[27] = function (t) {
- return e.changeCropSize(t, !0, !0, 2, 2)
- })
- },
- null,
- 32
- )
- ]))
- ],
- 4
- ),
- [[h, e.cropping]]
- )
- ],
- 544
- )
- )
- }
- ],
- ['__scopeId', 'data-v-be5e5ddc']
- ])
- 'undefined' != typeof window &&
- window.Vue &&
- window.Vue.createApp({}).component('VueCropper', se)
- var le = '_upbtn_15vje_1',
- ue = '_uploadWarper_15vje_5',
- he = '_bg_15vje_12',
- de = '_btn_15vje_21',
- pe = '_img_15vje_44',
- fe = '_btndiv_15vje_53',
- ge = '_wrapper_15vje_64',
- me = c({
- name: 'o-cropper',
- components: { VueCropper: se },
- props: {
- hideInput: { type: Boolean, default: !1 },
- option: { type: Object },
- onCancelTailor: { type: Function, default: function () {} },
- getBase64Data: { type: Function, default: function () {} },
- getBlob: { type: Function, default: function () {} },
- getFile: { type: Function, default: function () {} },
- imgOriginF: { type: Function, default: function () {} }
- },
- data: function () {
- return {
- img: '',
- config: {
- ceilbutton: !1,
- outputSize: 1,
- outputType: 'png',
- info: !1,
- canScale: !0,
- autoCrop: !1,
- autoCropWidth: 0,
- autoCropHeight: 0,
- fixed: !0,
- fixedNumber: [1, 1],
- full: !1,
- fixedBox: !0,
- canMove: !0,
- canMoveBox: !1,
- original: !1,
- centerBox: !0,
- high: !0,
- infoTrue: !1,
- maxImgSize: 2e3,
- enlarge: 1,
- mode: '100%',
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- cancelButtonBackgroundColor: '#606266',
- confirmButtonBackgroundColor: '#ed594c',
- cancelButtonTextColor: '#ffffff',
- confirmButtonTextColor: '#ffffff'
- }
- }
- },
- mounted: function () {
- this.config = Object.assign(this.config, this.option)
- },
- methods: {
- addSlide: function () {
- if (null == document.getElementById('vertical')) {
- var e = document.getElementsByClassName('cropper-crop-box')[0],
- t = document.createElement('div')
- ;(t.id = 'vertical'),
- (t.style.width = '1px'),
- (t.style.height = '100%'),
- (t.style.top = '0px'),
- (t.style.left = '33%'),
- (t.style.position = 'absolute'),
- (t.style.backgroundColor = '#fff'),
- (t.style.zIndex = '522'),
- (t.style.opacity = '0.5')
- var o = document.createElement('div')
- ;(o.style.width = '1px'),
- (o.style.height = '100%'),
- (o.style.top = '0px'),
- (o.style.right = '33%'),
- (o.style.position = 'absolute'),
- (o.style.backgroundColor = '#fff'),
- (o.style.zIndex = '522'),
- (o.style.opacity = '0.5')
- var n = document.createElement('div')
- ;(n.style.width = '100%'),
- (n.style.height = '1px'),
- (n.style.top = '33%'),
- (n.style.left = '0px'),
- (n.style.position = 'absolute'),
- (n.style.backgroundColor = '#fff'),
- (n.style.zIndex = '522'),
- (n.style.opacity = '0.5')
- var r = document.createElement('div')
- ;(r.style.width = '100%'),
- (r.style.height = '1px'),
- (r.style.bottom = '33%'),
- (r.style.left = '0px'),
- (r.style.position = 'absolute'),
- (r.style.backgroundColor = '#fff'),
- (r.style.zIndex = '522'),
- (r.style.opacity = '0.5')
- var i = document.createElement('div')
- ;(i.style.width = '30px'),
- (i.style.height = '4px'),
- (i.style.top = '-4px'),
- (i.style.left = '-4px'),
- (i.style.position = 'absolute'),
- (i.style.backgroundColor = '#fff'),
- (i.style.zIndex = '522'),
- (i.style.opacity = '1')
- var a = document.createElement('div')
- ;(a.style.width = '4px'),
- (a.style.height = '30px'),
- (a.style.top = '-4px'),
- (a.style.left = '-4px'),
- (a.style.position = 'absolute'),
- (a.style.backgroundColor = '#fff'),
- (a.style.zIndex = '522'),
- (a.style.opacity = '1')
- var c = document.createElement('div')
- ;(c.style.width = '30px'),
- (c.style.height = '4px'),
- (c.style.top = '-4px'),
- (c.style.right = '-4px'),
- (c.style.position = 'absolute'),
- (c.style.backgroundColor = '#fff'),
- (c.style.zIndex = '522'),
- (c.style.opacity = '1')
- var s = document.createElement('div')
- ;(s.style.width = '4px'),
- (s.style.height = '30px'),
- (s.style.top = '-4px'),
- (s.style.right = '-4px'),
- (s.style.position = 'absolute'),
- (s.style.backgroundColor = '#fff'),
- (s.style.zIndex = '522'),
- (s.style.opacity = '1')
- var l = document.createElement('div')
- ;(l.style.width = '30px'),
- (l.style.height = '4px'),
- (l.style.bottom = '-4px'),
- (l.style.left = '-4px'),
- (l.style.position = 'absolute'),
- (l.style.backgroundColor = '#fff'),
- (l.style.zIndex = '522'),
- (l.style.opacity = '1')
- var u = document.createElement('div')
- ;(u.style.width = '4px'),
- (u.style.height = '30px'),
- (u.style.bottom = '-4px'),
- (u.style.left = '-4px'),
- (u.style.position = 'absolute'),
- (u.style.backgroundColor = '#fff'),
- (u.style.zIndex = '522'),
- (u.style.opacity = '1')
- var h = document.createElement('div')
- ;(h.style.width = '30px'),
- (h.style.height = '4px'),
- (h.style.bottom = '-4px'),
- (h.style.right = '-4px'),
- (h.style.position = 'absolute'),
- (h.style.backgroundColor = '#fff'),
- (h.style.zIndex = '522'),
- (h.style.opacity = '1')
- var d = document.createElement('div')
- ;(d.style.width = '4px'),
- (d.style.height = '30px'),
- (d.style.bottom = '-4px'),
- (d.style.right = '-4px'),
- (d.style.position = 'absolute'),
- (d.style.backgroundColor = '#fff'),
- (d.style.zIndex = '522'),
- (d.style.opacity = '1'),
- e.appendChild(t),
- e.appendChild(o),
- e.appendChild(n),
- e.appendChild(r),
- e.appendChild(i),
- e.appendChild(a),
- e.appendChild(c),
- e.appendChild(s),
- e.appendChild(l),
- e.appendChild(u),
- e.appendChild(h),
- e.appendChild(d)
- }
- },
- onLoadImg: function (e) {
- return new Promise(function (t, o) {
- var n = new FileReader()
- n.readAsDataURL(e),
- (n.onload = function (e) {
- t(e.target.result)
- })
- })
- },
- loadFile: function (e) {
- var t = this
- if (!(e instanceof File)) throw new Error('Arguments file is not File')
- this.onLoadImg(e).then(function (e) {
- ;(t.img = e),
- setTimeout(function () {
- ;(t.config.autoCrop = !0), t.addSlide()
- }, 10)
- })
- },
- loadBase64: function (e) {
- var t = this
- if ('string' != typeof e) throw new Error('Arguments base64 is not string')
- var o = e.split(',')
- if (!/^data:image\/(.*?);base64$/.test(o[0]))
- throw new Error('Arguments base64 MIME is not image/*')
- if (!/^[\/]?([\da-zA-Z]+[\/+]+)*[\da-zA-Z]+([+=]{1,2}|[\/])?$/.test(o[1]))
- throw new Error('Not standard base64')
- ;(this.img = e),
- setTimeout(function () {
- ;(t.config.autoCrop = !0), t.addSlide()
- }, 10)
- },
- rotating: function (e) {
- this.$refs.cropper.rotateRight()
- },
- canceltailor: function () {
- ;(this.img = ''), this.onCancelTailor()
- },
- tailoring: function () {
- var e = this
- this.$refs.cropper.getCropData(function (t) {
- e.getBase64Data(t), e.getBlob(t), (e.img = ''), (e.config.autoCrop = !1)
- }),
- this.$refs.cropper.getCropBlob(function (t) {
- e.getBase64Data(t), e.getBlob(t)
- var o = { jpeg: 'jpg', png: 'png', webp: 'webp' }[e.config.outputType],
- n = new Date().getTime(),
- r = new File([t], ''.concat(n, '.').concat(o), {
- type: 'image/'.concat(e.config.outputType)
- })
- e.getFile(r), (e.img = ''), (e.config.autoCrop = !1)
- })
- },
- upPhoto: function (e) {
- var t = this
- return r(
- regeneratorRuntime.mark(function o() {
- var n
- return regeneratorRuntime.wrap(function (o) {
- for (;;)
- switch ((o.prev = o.next)) {
- case 0:
- if (
- ((n = e.target.files[0]),
- (t.$refs.headInput.value = null),
- null == n)
- ) {
- o.next = 9
- break
- }
- return t.imgOriginF(n), (o.next = 6), t.onLoadImg(n)
- case 6:
- ;(t.img = o.sent),
- (t.config.autoCrop = !0),
- setTimeout(function () {
- t.addSlide()
- }, 20)
- case 9:
- case 'end':
- return o.stop()
- }
- }, o)
- })
- )()
- },
- onCropMoving: function (e) {},
- onImgMoving: function (e) {}
- },
- render: function () {
- return v('div', { class: [le, ue] }, [
- this.hideInput,
- this.hideInput
- ? null
- : v(
- 'input',
- {
- style: 'opacity: 0;',
- class: le,
- type: 'file',
- accept: 'image/*',
- onChange: this.upPhoto,
- ref: 'headInput'
- },
- null
- ),
- '' != this.img
- ? v('div', { class: he }, [
- this.config.ceilbutton
- ? v('div', { class: fe }, [
- v(
- 'div',
- {
- class: de,
- onClick: this.canceltailor,
- style: {
- backgroundColor: this.config.cancelButtonBackgroundColor,
- color: this.config.cancelButtonTextColor
- }
- },
- [this.config.cancelButtonText]
- ),
- v('div', { class: pe, onClick: this.rotating }, null),
- v(
- 'div',
- {
- class: de,
- onClick: this.tailoring,
- style: {
- backgroundColor: this.config.confirmButtonBackgroundColor,
- color: this.config.confirmButtonTextColor
- }
- },
- [this.config.confirmButtonText]
- )
- ])
- : null,
- v('div', { class: ge }, [
- v(
- se,
- {
- ref: 'cropper',
- img: this.img,
- outputSize: this.config.outputSize,
- outputType: this.config.outputType,
- info: this.config.info,
- canScale: this.config.canScale,
- autoCrop: this.config.autoCrop,
- autoCropWidth: this.config.autoCropWidth,
- autoCropHeight: this.config.autoCropHeight,
- fixedBox: this.config.fixedBox,
- fixed: this.config.fixed,
- fixedNumber: this.config.fixedNumber,
- full: this.config.full,
- canMove: this.config.canMove,
- canMoveBox: this.config.canMoveBox,
- original: this.config.original,
- centerBox: this.config.centerBox,
- high: this.config.high,
- infoTrue: this.config.infoTrue,
- maxImgSize: this.config.maxImgSize,
- enlarge: this.config.enlarge,
- mode: this.config.mode,
- onCropMoving: this.onCropMoving,
- onImgMoving: this.onImgMoving
- },
- null
- )
- ]),
- this.config.ceilbutton
- ? null
- : v('div', { class: fe }, [
- v(
- 'div',
- {
- class: de,
- onClick: this.canceltailor,
- style: {
- backgroundColor: this.config.cancelButtonBackgroundColor,
- color: this.config.cancelButtonTextColor
- }
- },
- [this.config.cancelButtonText]
- ),
- v('div', { class: pe, onClick: this.rotating }, null),
- v(
- 'div',
- {
- class: de,
- onClick: this.tailoring,
- style: {
- backgroundColor: this.config.confirmButtonBackgroundColor,
- color: this.config.confirmButtonTextColor
- }
- },
- [this.config.confirmButtonText]
- )
- ])
- ])
- : null
- ])
- }
- }),
- ve =
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAA4CAMAAAB6xg5AAAAAAXNSR0IArs4c6QAAAotQTFRFAAAA////gICA////qqqq////v7+/////zMzM////1dXV29vb39/f4+PjzMzM5ubm6Ojo1dXV29vb39/f5ubm3t7e4ODg4uLi4+Pj5OTk5eXl3d3d3t7e39/f4ODg2tra4eHh29vb4+Pj3d3d4+Pj3d3d3t7e39/f4ODg4eHh4eHh3d3d3t7e3t7e5OTk39/f4ODg3d3d4uLi4eHh4uLi3t7e4uLi39/f3Nzc4ODg3d3d39/f4ODg3d3d4ODg3d3d4eHh3t7e39/f39/f3Nzc4ODg3d3d4ODg3t7e3t7e39/f39/f3d3d4ODg3t7e39/f4ODg4ODg3t7e4eHh3t7e39/f3t7e4ODg3t7e39/f3d3d39/f39/f3t7e3t7e39/f3d3d3t7e3t7e4ODg3t7e3d3d3t7e3t7e3t7e3t7e3t7e3t7e39/f3d3d39/f3t7e3t7e4ODg3t7e3t7e39/f3t7e4ODg3d3d39/f39/f4ODg3t7e4ODg39/f39/f3d3d3t7e3t7e3t7e3d3d39/f3d3d39/f39/f3t7e3t7e3t7e3t7e39/f3d3d3t7e3t7e39/f39/f3t7e3t7e3t7e3d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bVs/y1a2mW0/wEoc4KEQRANU90C5Z4aR3WOb2Bfr9givo0FnncnGeIANNMACdrmX8cKDgahMZ+fBOlGhMT4A/kYK4AnuLa97dlIFLlMoZ2dSj5eAKkIBrEUx07GrqKVy7yItzBCZbSI0wDhG6+s4nq39GXGUoFIc0IYDmiCoXcGILiYlgFrUdgoA+1B9rgTwFLV8AaAI1btKAG9RyxEADqFaoQRg6sJoqwSADKz8qQRA8L/HcIujOIYRfRV1gSxD8biDdhG1RcoAV1H0+24n/RqB2mllAEs4quPreOV3FCrB7coA5BorB97g7reDWcHp54u6D+K4xISs4vvXd0zmbrOJYoApXGQjhdQrB5BPY538Qe+JCgD5M1fgn2YkqgDEcizQzj4k9x9RCSDk7+Gp7C70jD7QIl4iDWAYz66cvFzZQs3LAuTCBmjR6Ld05wA1GgFfbd9xrkbAKb7HGgHz+Tbf1OQvc+EBvh80+L/42U3aoHLV/ocGh1F3S7jVrsJtvrO0q9Nzcx88Umn46R2c/wEA2LVBpTpQcQAAAABJRU5ErkJggg==',
- be = c({
- name: 'col-upload',
- props: {
- modelValue: String,
- tips: { type: String, default: '点击上传' },
- deletable: { type: Boolean, default: !0 },
- native: { type: Boolean, default: !1 },
- cropper: { type: Boolean, default: !1 },
- options: { type: Object, default: {} },
- uploadSize: { type: Number, default: 5 },
- onUploadChange: { type: Function, default: function (e) {} },
- bucket: { type: String, default: 'daya' }
- },
- methods: {
- nativeUpload: function () {
- var e = this
- b(
- { api: 'chooseFile', content: { type: 'img', max: 1, bucket: this.bucket } },
- function (t) {
- console.log(t, 'fileUrl'), e.$emit('update:modelValue', t.fileUrl)
- }
- )
- },
- beforeRead: function (e) {
- return (
- console.log(e, 'beforeRead'),
- !!(e.size / 1024 / 1024 < this.uploadSize) ||
- (w('上传文件大小不能超过 '.concat(this.uploadSize, 'MB')), !1)
- )
- },
- beforeDelete: function (e, t) {
- return !0
- },
- afterRead: function (e, t) {
- var o = this
- return r(
- regeneratorRuntime.mark(function t() {
- return regeneratorRuntime.wrap(
- function (t) {
- for (;;)
- switch ((t.prev = t.next)) {
- case 0:
- return (
- (t.prev = 0),
- (e.status = 'uploading'),
- (e.message = '上传中...'),
- (t.next = 5),
- o.uploadFile(e.file)
- )
- case 5:
- t.next = 11
- break
- case 7:
- ;(t.prev = 7), (t.t0 = t.catch(0)), console.log(t.t0, '2323'), y()
- case 11:
- case 'end':
- return t.stop()
- }
- },
- t,
- null,
- [[0, 7]]
- )
- })
- )()
- },
- onClose: function (e) {
- this.$emit('update:modelValue', null),
- this.onUploadChange(),
- e.stopPropagation()
- },
- getFile: function (e) {
- var t = this
- return r(
- regeneratorRuntime.mark(function o() {
- return regeneratorRuntime.wrap(
- function (o) {
- for (;;)
- switch ((o.prev = o.next)) {
- case 0:
- return (o.prev = 0), (o.next = 3), t.uploadFile(e)
- case 3:
- o.next = 7
- break
- case 5:
- ;(o.prev = 5), (o.t0 = o.catch(0))
- case 7:
- case 'end':
- return o.stop()
- }
- },
- o,
- null,
- [[0, 5]]
- )
- })
- )()
- },
- uploadFile: function (e) {
- var t = this
- return r(
- regeneratorRuntime.mark(function o() {
- var n, r, i, a, c, s, l, u, h
- return regeneratorRuntime.wrap(
- function (o) {
- for (;;)
- switch ((o.prev = o.next)) {
- case 0:
- return (
- (o.prev = 0),
- (n = C.platformApi + '/open/getUploadSign'),
- (r = e.name || ''),
- (i = r && r.replace(/ /gi, '_')),
- (a = new Date().getTime() + i),
- console.log(e),
- (o.next = 8),
- A.post(n, {
- data: {
- filename: i,
- bucketName: t.bucket,
- postData: {
- filename: i,
- acl: 'public-read',
- key: a,
- unknowValueField: []
- }
- }
- })
- )
- case 8:
- for (u in ((c = o.sent),
- x.loading({
- message: '加载中...',
- forbidClick: !0,
- loadingType: 'spinner',
- duration: 0
- }),
- (s = {
- policy: c.data.policy,
- signature: c.data.signature,
- key: a,
- KSSAccessKeyId: c.data.kssAccessKeyId,
- acl: 'public-read',
- name: i
- }),
- (l = new FormData()),
- s))
- l.append(u, s[u])
- return (
- l.append('file', e, i),
- (o.next = 16),
- k(S(t.bucket), { method: 'POST', data: l })
- )
- case 16:
- console.log(S(t.bucket) + a),
- (h = S(t.bucket) + a),
- x.clear(),
- t.$emit('update:modelValue', h),
- t.onUploadChange(h),
- (o.next = 26)
- break
- case 23:
- ;(o.prev = 23),
- (o.t0 = o.catch(0)),
- console.log(o.t0, 'uploadFile')
- case 26:
- case 'end':
- return o.stop()
- }
- },
- o,
- null,
- [[0, 23]]
- )
- })
- )()
- }
- },
- render: function () {
- var e = this
- return (
- I(function () {
- return e.modelValue
- }),
- v('div', { class: V }, [
- this.modelValue && this.deletable
- ? v(O, { name: 'cross', onClick: this.onClose, class: P }, null)
- : null,
- this.cropper && !this.native
- ? v('div', { class: K }, [
- this.modelValue
- ? v(
- q,
- {
- fit: 'cover',
- position: 'center',
- class: $,
- src: this.modelValue
- },
- null
- )
- : v('div', { class: G }, [
- v(O, { name: ve, size: '32' }, null),
- v('p', { class: Z }, [this.tips])
- ]),
- v(me, { option: this.options, getFile: this.getFile }, null)
- ])
- : this.native
- ? v(
- 'div',
- {
- style: {
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'center',
- height: '100%'
- },
- onClick: this.nativeUpload
- },
- [
- this.modelValue
- ? v(
- q,
- {
- fit: 'cover',
- position: 'center',
- class: $,
- src: this.modelValue
- },
- null
- )
- : v('div', { class: G }, [
- v(O, { name: ve, size: '32' }, null),
- v('p', { class: Z }, [this.tips])
- ])
- ]
- )
- : v(
- X,
- {
- afterRead: this.afterRead,
- beforeRead: this.beforeRead,
- beforeDelete: this.beforeDelete
- },
- {
- default: function () {
- return e.modelValue
- ? v(
- q,
- {
- fit: 'cover',
- position: 'center',
- class: $,
- src: e.modelValue
- },
- null
- )
- : v('div', { class: G }, [
- v(O, { name: ve, size: '32' }, null),
- v('p', { class: Z }, [e.tips])
- ])
- }
- }
- )
- ])
- )
- }
- })
- e(
- 'default',
- c({
- name: 'companion-teacher-register',
- setup: function () {
- var e = _(),
- i = B({
- showPicker: !1,
- showSubject: !1,
- submitStatus: !1,
- showEducation: !1,
- id: e.query.id,
- name: e.query.name,
- pattern: /^1(3|4|5|6|7|8|9)\d{9}$/,
- columns: [],
- pickerType: null,
- selectSubjects: [],
- forms: {
- realName: '',
- phone: null,
- gender: 1,
- idCardNo: null,
- cityCode: null,
- cityCodeName: '',
- provinceCode: null,
- subjectIds: [],
- smsValidCode: '',
- educationBackground: '',
- graduateSchool: null,
- idcardFrontImg: '',
- idcardBackImg: ''
- },
- btnLoading: !1,
- checkPhone: !1,
- checked: !0,
- columnSubject: [],
- countDownStatus: !0,
- countDownTime: 120,
- countDownRef: null,
- imgCodeStatus: !1
- }),
- a = (function () {
- var e = r(
- regeneratorRuntime.mark(function e() {
- var o
- return regeneratorRuntime.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- if (i.checked) {
- e.next = 3
- break
- }
- return w('请阅读并同意协议'), e.abrupt('return')
- case 3:
- return (
- (i.btnLoading = !0),
- (e.prev = 4),
- (o = i.forms),
- (e.next = 8),
- A.post(
- '/api-school/open/schoolTeacherStudent/registerTeacher',
- {
- data: t(
- t({}, o),
- {},
- { subjectIds: o.subjectIds.join(','), schoolId: i.id }
- )
- }
- )
- )
- case 8:
- ;(i.submitStatus = !0), (e.next = 13)
- break
- case 11:
- ;(e.prev = 11), (e.t0 = e.catch(4))
- case 13:
- i.btnLoading = !1
- case 14:
- case 'end':
- return e.stop()
- }
- },
- e,
- null,
- [[4, 11]]
- )
- })
- )
- return function () {
- return e.apply(this, arguments)
- }
- })(),
- c = function (e) {
- var t = e.selectedOptions[1]
- ;(i.forms.cityCode = t.code), (i.forms.cityCodeName = t.name)
- var o = e.selectedOptions[0]
- ;(i.forms.provinceCode = o.code), (i.showPicker = !1)
- },
- s = function (e) {
- var t = e.selectedOptions[0],
- o = !1
- if (
- (i.selectSubjects.forEach(function (e) {
- e.value === t.value && (o = !0)
- }),
- o)
- )
- i.showSubject = !1
- else {
- i.selectSubjects.push(e.selectedOptions[0])
- var n = []
- i.selectSubjects.forEach(function (e) {
- n.push(e.value)
- }),
- (i.forms.subjectIds = n),
- (i.showSubject = !1)
- }
- },
- l = function (e) {
- var t = e.selectedOptions[0]
- ;(i.forms.educationBackground = t.value), (i.showEducation = !1)
- },
- u = function () {
- if (!z(i.forms.phone)) return w('请输入正确的手机号码')
- i.imgCodeStatus = !0
- },
- h = function () {
- i.countDownStatus = !1
- var e = setInterval(function () {
- ;(i.countDownTime = i.countDownTime - 1),
- i.countDownTime <= 0 &&
- ((i.countDownTime = 120), (i.countDownStatus = !0), clearInterval(e))
- }, 1e3)
- }
- return (
- E(
- r(
- regeneratorRuntime.mark(function e() {
- var t, n, r, a, c
- return regeneratorRuntime.wrap(
- function (e) {
- for (;;)
- switch ((e.prev = e.next)) {
- case 0:
- return (
- i.id || w('信息获取失败,请联系老师'),
- (e.prev = 1),
- (t = []),
- o.forEach(function (e) {
- var o = { name: e.name, code: e.code, areas: [] }
- e.areas &&
- e.areas.length > 0 &&
- e.areas.forEach(function (e) {
- o.areas.push({ name: e.name, code: e.code })
- }),
- t.push(o)
- }),
- (i.columns = t || []),
- (e.next = 7),
- A.post('/api-school/open/subject/page', {
- data: { page: 1, rows: 50 }
- })
- )
- case 7:
- ;(n = e.sent),
- (r = n.data),
- (a = r.rows || []),
- (c = []),
- a.forEach(function (e) {
- c.push({ text: e.name, value: e.id })
- }),
- (i.columnSubject = c),
- (e.next = 18)
- break
- case 15:
- ;(e.prev = 15),
- (e.t0 = e.catch(1)),
- H({
- message: '信息获取失败,请联系老师',
- theme: 'round-button',
- confirmButtonColor: '#64A9FF'
- })
- case 18:
- case 'end':
- return e.stop()
- }
- },
- e,
- null,
- [[1, 15]]
- )
- })
- )
- ),
- function () {
- return v('div', { class: J.register }, [
- v('div', { class: J.title }, [
- v('p', { class: J.tips }, [
- v(
- 'img',
- {
- src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAApVJREFUWEftl82rjVEUxn9PknC7mCEuKUJKSRkoIyUpwztBGbi+RtQt/gRRBkou7ogSZSIxMVEY+EgKRVKui5gQIhKP1m2/2k7nnPd8Stw1Ou8++13796691rPXFn+ZqRM8tmcDPyS9btdf20C2twKHAQN7JZ1qB6plINtzgePA+gqAy8AOSS9aAWsJyPZ24BDQW2PR98CgpOFmoZoCsj0fOAmsrVjoChC+qo0PSBppFKwhINsxbzdwAOjJnP8WCdsDKXLTsjkfgf3AMUmRZ3WtFMh2H3AaWFPh6RKwszJXbM8BTlTJravAJkmv6hE1AnQbWJk5edtINWXVNyN795akVS0D2Y7t+ZDyI/xcSFFpSG9szwKGgI0ZRI+kT7Wg6kbI9nTgXfZyn6TRsjzI/7c9D3iWjfVKiryqauNAoV2lEbI9OalunrwR0gnAog5v2eM49zKfIQV3krp/Gdsy25tTaZelRydyqNYaIQlnCqAQvaNlNEA3gXZJGqoG9BDYl+CmAuc6vGX9wOfk8yCwNP2uCXRN0pgqd7vsbV8HVv+7QLYXA9uA5ekr7wHDkqKSxqyeMHY0Qrb3AJEDEyuK4VvqhY78MSDbkZhnszOuskBDW/olne96hICXwBNgQaKIs63oqQeBaD/CngILQypqnWUd2TIgmq/7RYpE2Up6lLZnCRCyUZyRUdJR4lUP104BLQOikQ8blRQR+GW2owGLtiNsHRAJ3lWgqKiLacERSdFn50DPgbiRhG1IERsHGo9QEYFI4P8sh2zfAGZmQhe3jAcpJNEx5teWu8AUIM6wsK9AjOW2ApiUBkKfQodirLCbwPf0EBJSXMdDSN/IdultsmLBrj7+lUBbuvrJTTovvUo36a/t6T8B6vz6SJbFLFUAAAAASUVORK5CYII='
- },
- null
- ),
- v('span', null, [i.name])
- ])
- ]),
- v(
- n,
- {
- validateFirst: !0,
- scrollToError: !0,
- onSubmit: a,
- ref: 'form',
- class: J.form
- },
- {
- default: function () {
- return [
- v(
- W,
- { inset: !0, class: J['cell-group'] },
- {
- default: function () {
- return [
- v(
- D,
- {
- required: !0,
- label: '真实姓名',
- modelValue: i.forms.realName,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.realName = e)
- },
- rules: [{ required: !0, message: '请填写真实姓名' }],
- name: 'realName',
- placeholder: '请填写真实姓名',
- maxlength: '50'
- },
- null
- ),
- v(
- D,
- {
- required: !0,
- label: '手机号码',
- modelValue: i.forms.phone,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.phone = e)
- },
- rules: [{ required: !0, message: '请输入手机号码' }],
- name: 'phone',
- placeholder: '请输入手机号码'
- },
- null
- ),
- v(
- D,
- {
- required: !0,
- label: '验证码',
- modelValue: i.forms.smsValidCode,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.smsValidCode = e)
- },
- name: 'smsValidCode',
- rules: [
- {
- required: !0,
- message: '请选择声部',
- trigger: 'onChange'
- }
- ],
- placeholder: '请输入验证码'
- },
- {
- button: function () {
- return i.countDownStatus
- ? v(
- j,
- {
- type: 'primary',
- round: !0,
- size: 'small',
- color: '#ff8057',
- onClick: u
- },
- {
- default: function () {
- return [T('发送验证码')]
- }
- }
- )
- : v(
- j,
- {
- type: 'default',
- round: !0,
- size: 'small',
- disabled: !0,
- style: { minWidth: '60px' },
- onClick: u
- },
- {
- default: function () {
- return [i.countDownTime + 's']
- }
- }
- )
- }
- }
- ),
- v('div', { class: J.phoneTips }, [
- v(O, { name: 'warning', size: '16' }, null),
- T('提示:手机号码将成为您管乐团管理端登录账号')
- ]),
- v(
- D,
- {
- required: !0,
- label: '身份证号码',
- modelValue: i.forms.idCardNo,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.idCardNo = e)
- },
- rules: [
- { required: !0, message: '请输入身份证号' },
- {
- pattern:
- /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
- message: '请输入正确的身份证号'
- }
- ],
- name: 'idCardNo',
- placeholder: '请输入身份证号码'
- },
- null
- ),
- v(
- D,
- {
- required: !0,
- label: '性别',
- name: 'gender',
- rules: [{ required: !0, message: '请选择性别' }]
- },
- {
- input: function () {
- return v(
- L,
- {
- 'checked-color': '#FF8057',
- modelValue: i.forms.gender,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.gender = e)
- },
- direction: 'horizontal'
- },
- {
- default: function () {
- return [
- v(
- Q,
- {
- size: 'large',
- type: 'primary',
- plain: !(1 === i.forms.gender),
- color: '#FF8057',
- class: J.radioSection
- },
- {
- default: function () {
- return [
- v(
- F,
- { class: J.radioItem, name: 1 },
- null
- ),
- T('男')
- ]
- }
- }
- ),
- v(
- Q,
- {
- size: 'large',
- type: 'primary',
- plain: !(0 === i.forms.gender),
- color: '#FF8057',
- class: J.radioSection
- },
- {
- default: function () {
- return [
- v(
- F,
- { class: J.radioItem, name: 0 },
- null
- ),
- T('女')
- ]
- }
- }
- )
- ]
- }
- }
- )
- }
- }
- ),
- v(
- D,
- {
- required: !0,
- label: '身份证照片正面',
- modelValue: i.forms.idcardFrontImg,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.idcardFrontImg = e)
- },
- readonly: !0,
- name: 'idcardFrontImg',
- onClick: function () {
- return (i.showPicker = !0)
- },
- rules: [
- {
- required: !0,
- message: '请选择身份证照片正面',
- trigger: 'onChange'
- }
- ],
- placeholder: '请选择身份证照片正面'
- },
- {
- input: function () {
- return v(
- be,
- {
- style: { width: '100%' },
- tips: '上传身份证正面',
- modelValue: i.forms.idcardFrontImg,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.idcardFrontImg = e)
- }
- },
- null
- )
- }
- }
- ),
- v(
- D,
- {
- required: !0,
- label: '身份证照片反面',
- modelValue: i.forms.idcardFrontImg,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.idcardFrontImg = e)
- },
- readonly: !0,
- name: 'idcardFrontImg',
- onClick: function () {
- return (i.showPicker = !0)
- },
- rules: [
- {
- required: !0,
- message: '请选择身份证照片反面',
- trigger: 'onChange'
- }
- ],
- placeholder: '请选择身份证照片反面'
- },
- {
- input: function () {
- return v(
- be,
- {
- style: { width: '100%' },
- tips: '上传身份证正面',
- modelValue: i.forms.idcardFrontImg,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.idcardFrontImg = e)
- }
- },
- null
- )
- }
- }
- ),
- v(
- D,
- {
- required: !0,
- label: '学历',
- modelValue: i.forms.educationBackground,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.educationBackground = e)
- },
- readonly: !0,
- name: 'educationBackground',
- onClick: function () {
- return (i.showEducation = !0)
- },
- rules: [
- {
- required: !0,
- message: '请选择学历',
- trigger: 'onChange'
- }
- ],
- placeholder: '请选择学历'
- },
- {
- 'right-icon': function () {
- return v(
- O,
- {
- name: 'arrow',
- color: i.checkPhone ? '#aaa' : '#323233',
- size: '16'
- },
- null
- )
- }
- }
- ),
- v(
- D,
- {
- required: !0,
- label: '毕业学校',
- modelValue: i.forms.graduateSchool,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.graduateSchool = e)
- },
- rules: [{ required: !0, message: '请输入毕业学校' }],
- name: 'graduateSchool',
- placeholder: '请输入毕业学校'
- },
- null
- ),
- v(
- D,
- {
- required: !0,
- label: '所在城市',
- modelValue: i.forms.cityCodeName,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.cityCodeName = e)
- },
- readonly: !0,
- name: 'cityCodeName',
- onClick: function () {
- return (i.showPicker = !0)
- },
- rules: [
- {
- required: !0,
- message: '请选择所在城市',
- trigger: 'onChange'
- }
- ],
- placeholder: '请选择所在城市'
- },
- {
- 'right-icon': function () {
- return v(
- O,
- {
- name: 'arrow',
- color: i.checkPhone ? '#aaa' : '#323233',
- size: '16'
- },
- null
- )
- }
- }
- ),
- v(
- D,
- {
- required: !0,
- label: '声部(可多选)',
- modelValue: i.forms.cityCodeName,
- 'onUpdate:modelValue': function (e) {
- return (i.forms.cityCodeName = e)
- },
- readonly: !0,
- name: 'cityCodeName',
- onClick: function () {
- return (i.showSubject = !0)
- },
- rules: [
- {
- required: !0,
- message: '请选择声部',
- trigger: 'onChange'
- }
- ],
- placeholder: '请选择声部'
- },
- {
- 'right-icon': function () {
- return v(
- O,
- {
- name: 'arrow',
- color: i.checkPhone ? '#aaa' : '#323233',
- size: '16'
- },
- null
- )
- },
- input: function () {
- return v(M, null, [
- i.forms.subjectIds.length <= 0
- ? v(
- 'div',
- {
- class: J.subjectPlaceholder,
- style: 'color:#c8c9cc'
- },
- [T('请选择声部')]
- )
- : '',
- i.forms.subjectIds.length > 0
- ? v('div', null, [
- i.selectSubjects.map(function (e, t) {
- return v(
- Q,
- {
- closeable: !0,
- size: 'medium',
- color: '#FF8057',
- onClose: function () {
- return (function (e, t) {
- H({
- title: '提示',
- message: '您是否删除选中的声部',
- confirmButtonColor: '#ff8057',
- showCancelButton: !0
- }).then(function () {
- i.selectSubjects.splice(t, 1)
- var e = []
- i.selectSubjects.forEach(
- function (t) {
- e.push(t.value)
- }
- ),
- (i.forms.subjectIds = e)
- })
- })(0, t)
- }
- },
- {
- default: function () {
- return [e.text]
- }
- }
- )
- })
- ])
- : ''
- ])
- }
- }
- )
- ]
- }
- }
- ),
- v('div', { class: J.protocol }, [
- v(
- U,
- {
- modelValue: i.checked,
- 'onUpdate:modelValue': function (e) {
- return (i.checked = e)
- },
- 'icon-size': '16',
- style: 'margin-right: 6px',
- 'checked-color': '#FF8057'
- },
- null
- ),
- v(
- 'span',
- {
- onClick: function () {
- i.checked = !i.checked
- }
- },
- [T('请认真阅读并勾选')]
- ),
- v('span', { class: J.c }, [T('《乐团伴学指导注册协议》')])
- ]),
- v(
- j,
- {
- size: 'large',
- block: !0,
- round: !0,
- class: J['btn-submit'],
- color: '#FF8057',
- loading: i.btnLoading,
- 'native-type': 'submit'
- },
- {
- default: function () {
- return [T('完成')]
- }
- }
- )
- ]
- }
- }
- ),
- v(
- R,
- {
- show: i.showPicker,
- 'onUpdate:show': function (e) {
- return (i.showPicker = e)
- },
- position: 'bottom',
- round: !0
- },
- {
- default: function () {
- return [
- v(
- N,
- {
- showToolbar: !0,
- columns: i.columns,
- onCancel: function () {
- return (i.showPicker = !1)
- },
- onConfirm: c,
- columnsFieldNames: {
- text: 'name',
- value: 'code',
- children: 'areas'
- }
- },
- null
- )
- ]
- }
- }
- ),
- v(
- R,
- {
- show: i.showSubject,
- 'onUpdate:show': function (e) {
- return (i.showSubject = e)
- },
- position: 'bottom',
- round: !0
- },
- {
- default: function () {
- return [
- v(
- N,
- {
- showToolbar: !0,
- columns: i.columnSubject,
- onCancel: function () {
- return (i.showSubject = !1)
- },
- onConfirm: s
- },
- null
- )
- ]
- }
- }
- ),
- v(
- R,
- {
- show: i.showSubject,
- 'onUpdate:show': function (e) {
- return (i.showSubject = e)
- },
- position: 'bottom',
- round: !0
- },
- {
- default: function () {
- return [
- v(
- N,
- {
- showToolbar: !0,
- columns: i.columnSubject,
- onCancel: function () {
- return (i.showSubject = !1)
- },
- onConfirm: s
- },
- null
- )
- ]
- }
- }
- ),
- v(
- R,
- {
- show: i.showEducation,
- 'onUpdate:show': function (e) {
- return (i.showEducation = e)
- },
- position: 'bottom',
- round: !0
- },
- {
- default: function () {
- return [
- v(
- N,
- {
- showToolbar: !0,
- columns: [
- { text: '专科', value: '专科' },
- { text: '本科', value: '本科' },
- { text: '硕士', value: '硕士' },
- { text: '博士', value: '博士' },
- { text: '其他', value: '其他' }
- ],
- onCancel: function () {
- return (i.showEducation = !1)
- },
- onConfirm: l
- },
- null
- )
- ]
- }
- }
- ),
- v(
- R,
- {
- show: i.submitStatus,
- 'onUpdate:show': function (e) {
- return (i.submitStatus = e)
- },
- round: !0,
- style: 'width: 75%',
- closeOnClickOverlay: !0
- },
- {
- default: function () {
- return [
- v('div', { class: J.stautsS }, [
- v(
- 'img',
- {
- class: J['icon-close'],
- src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA7dJREFUaEPdmk1oE0EUgN/bpUkxm20rHqvU4E9OLSI0/pxERFG8eO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k6UFxzs/Ytv2kW85ZYx0a+yOlzLG+B6XUxQsPSqmrMf6iVZnLS82VuDLXy5rB3NO/i0lcALRt+/HAwIB0G9Oq3Qm8vCTbIwk5/xVNx3HyiLi31RVNIvqhaVqpE1c0/wHHpUliZEbjnQAAAABJRU5ErkJggg==',
- onClick: function () {
- return (i.submitStatus = !1)
- }
- },
- null
- ),
- v(
- 'img',
- {
- src: './assets/top-banner1.af55128a.png',
- class: J['submit-img']
- },
- null
- ),
- v('div', { class: J['submit-container'] }, [
- v('p', { class: J['submit-title'] }, [T('恭喜您已成功登记为')]),
- v('p', { class: J['submit-o'] }, [
- i.name,
- T(' '),
- v('span', null, [T('【伴学指导】')])
- ]),
- v('p', { class: J['submit-tips'] }, [
- T('请下载管乐团管理端APP进行授课')
- ]),
- v(
- j,
- {
- type: 'primary',
- color: '#FF8057',
- block: !0,
- round: !0,
- onClick: function () {
- return (i.submitStatus = !1)
- }
- },
- {
- default: function () {
- return [T('立即下载')]
- }
- }
- )
- ])
- ])
- ]
- }
- }
- ),
- i.imgCodeStatus
- ? v(
- Y,
- {
- value: i.imgCodeStatus,
- 'onUpdate:value': function (e) {
- return (i.imgCodeStatus = e)
- },
- phone: i.forms.phone,
- onClose: function () {
- i.imgCodeStatus = !1
- },
- onSendCode: h
- },
- null
- )
- : null
- ])
- }
- )
- }
- })
- )
- }
- }
- }
- )
- })()
|