vendor.js 647 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],{
  2. /***/ 1:
  3. /*!*********************************************************!*\
  4. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  5. \*********************************************************/
  6. /*! no static exports found */
  7. /***/ (function(module, exports, __webpack_require__) {
  8. "use strict";
  9. Object.defineProperty(exports, "__esModule", {
  10. value: true
  11. });
  12. exports.default = void 0;
  13. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet'];
  14. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  15. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  16. return this;
  17. }();
  18. var key = ['w', 'x'].join('');
  19. var oldWx = target[key];
  20. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  21. function isWxKey(key) {
  22. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  23. return false;
  24. }
  25. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  26. }
  27. function initWx() {
  28. var newWx = {};
  29. for (var _key in oldWx) {
  30. if (isWxKey(_key)) {
  31. // TODO wrapper function
  32. newWx[_key] = oldWx[_key];
  33. }
  34. }
  35. return newWx;
  36. }
  37. target[key] = initWx();
  38. var _default = target[key];
  39. exports.default = _default;
  40. /***/ }),
  41. /***/ 10:
  42. /*!****************************************************************!*\
  43. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  44. \****************************************************************/
  45. /*! no static exports found */
  46. /***/ (function(module, exports) {
  47. function _nonIterableRest() {
  48. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  49. }
  50. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  51. /***/ }),
  52. /***/ 101:
  53. /*!****************************************!*\
  54. !*** D:/工作/项目2/华景美业/hjmy/api/login.js ***!
  55. \****************************************/
  56. /*! no static exports found */
  57. /***/ (function(module, exports, __webpack_require__) {
  58. "use strict";
  59. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  60. Object.defineProperty(exports, "__esModule", {
  61. value: true
  62. });
  63. exports.bangding = bangding;
  64. exports.getUserInfo = getUserInfo;
  65. exports.login = login;
  66. exports.loginMobile = loginMobile;
  67. exports.register = register;
  68. exports.verify = verify;
  69. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  70. // 登录
  71. function login(data) {
  72. return (0, _request.default)({
  73. url: '/api/login',
  74. method: 'post',
  75. data: data
  76. });
  77. }
  78. // 注册
  79. function register(data) {
  80. return (0, _request.default)({
  81. url: '/api/register',
  82. method: 'post',
  83. data: data
  84. });
  85. }
  86. // 验证码
  87. function verify(data) {
  88. // type=register为注册
  89. // type=login为登录
  90. return (0, _request.default)({
  91. url: '/api/register/verify',
  92. method: 'post',
  93. data: data
  94. });
  95. }
  96. // 获取用户信息
  97. function getUserInfo(data) {
  98. return (0, _request.default)({
  99. url: '/api/userinfo',
  100. method: 'get',
  101. data: data
  102. });
  103. }
  104. // 短信登录
  105. function loginMobile(data) {
  106. return (0, _request.default)({
  107. url: '/api/login/mobile',
  108. method: 'post',
  109. data: data
  110. });
  111. }
  112. //绑定手机号
  113. function bangding(data) {
  114. return (0, _request.default)({
  115. url: '/api/binding',
  116. method: 'POST',
  117. data: data
  118. });
  119. }
  120. /***/ }),
  121. /***/ 11:
  122. /*!***************************************************************!*\
  123. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  124. \***************************************************************/
  125. /*! no static exports found */
  126. /***/ (function(module, exports, __webpack_require__) {
  127. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  128. function _defineProperty(obj, key, value) {
  129. key = toPropertyKey(key);
  130. if (key in obj) {
  131. Object.defineProperty(obj, key, {
  132. value: value,
  133. enumerable: true,
  134. configurable: true,
  135. writable: true
  136. });
  137. } else {
  138. obj[key] = value;
  139. }
  140. return obj;
  141. }
  142. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  143. /***/ }),
  144. /***/ 118:
  145. /*!*************************************************!*\
  146. !*** D:/工作/项目2/华景美业/hjmy/utils/wxMinProgram.js ***!
  147. \*************************************************/
  148. /*! no static exports found */
  149. /***/ (function(module, exports, __webpack_require__) {
  150. "use strict";
  151. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  152. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  153. Object.defineProperty(exports, "__esModule", {
  154. value: true
  155. });
  156. exports.loginWinxinMp = loginWinxinMp;
  157. var _store = _interopRequireDefault(__webpack_require__(/*! ../store */ 27));
  158. //微信登录
  159. /**
  160. * @param {string} 当前页面地址信息
  161. */
  162. function loginWinxinMp() {
  163. var pages = getCurrentPages();
  164. // 获取跳转前页面
  165. var page = pages[pages.length - 2];
  166. var queryUrl = '';
  167. for (var key in page.options) {
  168. queryUrl += key + '=' + page.options[key] + "&";
  169. }
  170. // 获取当页面路由地址
  171. var path = '/' + page.route + '?' + queryUrl;
  172. // 保存跳转前页面
  173. uni.setStorageSync('present', path);
  174. return new Promise(function (resolve, reject) {
  175. wx.login({
  176. success: function success(e) {
  177. // uni.showModal({
  178. // title:'zhi1',
  179. // content:JSON.stringify(e)
  180. // })
  181. console.log(e);
  182. resolve(e);
  183. },
  184. fill: function fill(e) {
  185. reject(e);
  186. }
  187. });
  188. });
  189. }
  190. ;
  191. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  192. /***/ }),
  193. /***/ 119:
  194. /*!*************************************!*\
  195. !*** D:/工作/项目2/华景美业/hjmy/api/wx.js ***!
  196. \*************************************/
  197. /*! no static exports found */
  198. /***/ (function(module, exports, __webpack_require__) {
  199. "use strict";
  200. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  201. Object.defineProperty(exports, "__esModule", {
  202. value: true
  203. });
  204. exports.wechatMpAuth = wechatMpAuth;
  205. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  206. // 微信code地址
  207. function wechatMpAuth(data) {
  208. return (0, _request.default)({
  209. url: '/api/wechat/mp_auth',
  210. method: 'post',
  211. data: data
  212. });
  213. }
  214. /***/ }),
  215. /***/ 12:
  216. /*!**************************************************************!*\
  217. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  218. \**************************************************************/
  219. /*! no static exports found */
  220. /***/ (function(module, exports, __webpack_require__) {
  221. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  222. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  223. function _toPropertyKey(arg) {
  224. var key = toPrimitive(arg, "string");
  225. return _typeof(key) === "symbol" ? key : String(key);
  226. }
  227. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  228. /***/ }),
  229. /***/ 13:
  230. /*!*******************************************************!*\
  231. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  232. \*******************************************************/
  233. /*! no static exports found */
  234. /***/ (function(module, exports) {
  235. function _typeof(obj) {
  236. "@babel/helpers - typeof";
  237. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  238. return typeof obj;
  239. } : function (obj) {
  240. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  241. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  242. }
  243. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  244. /***/ }),
  245. /***/ 14:
  246. /*!************************************************************!*\
  247. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  248. \************************************************************/
  249. /*! no static exports found */
  250. /***/ (function(module, exports, __webpack_require__) {
  251. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  252. function _toPrimitive(input, hint) {
  253. if (_typeof(input) !== "object" || input === null) return input;
  254. var prim = input[Symbol.toPrimitive];
  255. if (prim !== undefined) {
  256. var res = prim.call(input, hint || "default");
  257. if (_typeof(res) !== "object") return res;
  258. throw new TypeError("@@toPrimitive must return a primitive value.");
  259. }
  260. return (hint === "string" ? String : Number)(input);
  261. }
  262. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  263. /***/ }),
  264. /***/ 15:
  265. /*!**********************************************************!*\
  266. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  267. \**********************************************************/
  268. /*! no static exports found */
  269. /***/ (function(module, exports, __webpack_require__) {
  270. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  271. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  272. function _construct(Parent, args, Class) {
  273. if (isNativeReflectConstruct()) {
  274. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  275. } else {
  276. module.exports = _construct = function _construct(Parent, args, Class) {
  277. var a = [null];
  278. a.push.apply(a, args);
  279. var Constructor = Function.bind.apply(Parent, a);
  280. var instance = new Constructor();
  281. if (Class) setPrototypeOf(instance, Class.prototype);
  282. return instance;
  283. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  284. }
  285. return _construct.apply(null, arguments);
  286. }
  287. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  288. /***/ }),
  289. /***/ 16:
  290. /*!***************************************************************!*\
  291. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  292. \***************************************************************/
  293. /*! no static exports found */
  294. /***/ (function(module, exports) {
  295. function _setPrototypeOf(o, p) {
  296. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  297. o.__proto__ = p;
  298. return o;
  299. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  300. return _setPrototypeOf(o, p);
  301. }
  302. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  303. /***/ }),
  304. /***/ 17:
  305. /*!*************************************************************************!*\
  306. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  307. \*************************************************************************/
  308. /*! no static exports found */
  309. /***/ (function(module, exports) {
  310. function _isNativeReflectConstruct() {
  311. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  312. if (Reflect.construct.sham) return false;
  313. if (typeof Proxy === "function") return true;
  314. try {
  315. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  316. return true;
  317. } catch (e) {
  318. return false;
  319. }
  320. }
  321. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  322. /***/ }),
  323. /***/ 18:
  324. /*!******************************************************************!*\
  325. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  326. \******************************************************************/
  327. /*! no static exports found */
  328. /***/ (function(module, exports, __webpack_require__) {
  329. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  330. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  331. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  332. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  333. function _toConsumableArray(arr) {
  334. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  335. }
  336. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  337. /***/ }),
  338. /***/ 184:
  339. /*!****************************************!*\
  340. !*** D:/工作/项目2/华景美业/hjmy/api/order.js ***!
  341. \****************************************/
  342. /*! no static exports found */
  343. /***/ (function(module, exports, __webpack_require__) {
  344. "use strict";
  345. var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  346. Object.defineProperty(exports, "__esModule", {
  347. value: true
  348. });
  349. exports.computedOrderkey = computedOrderkey;
  350. exports.confirm = confirm;
  351. exports.couponsOrder = couponsOrder;
  352. exports.createOrderkey = createOrderkey;
  353. exports.express_query = express_query;
  354. exports.getCouponsList = getCouponsList;
  355. exports.orderCancel = orderCancel;
  356. exports.orderDel = orderDel;
  357. exports.orderDetail = orderDetail;
  358. exports.orderList = orderList;
  359. exports.orderPay = orderPay;
  360. exports.orderTake = orderTake;
  361. exports.order_comment = order_comment;
  362. exports.product = product;
  363. exports.refund = refund;
  364. exports.refundReason = refundReason;
  365. exports.upload = upload;
  366. var _request = _interopRequireWildcard(__webpack_require__(/*! @/utils/request */ 72));
  367. function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  368. function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  369. // 订单确认
  370. function confirm(data) {
  371. return (0, _request.default)({
  372. url: '/api/order/confirm',
  373. method: 'post',
  374. data: data
  375. });
  376. }
  377. //获取可使用优惠券
  378. function couponsOrder(data, price) {
  379. return (0, _request.default)({
  380. url: '/api/coupons/order/' + price,
  381. method: 'get',
  382. data: data
  383. });
  384. }
  385. //获取优惠券列表
  386. function getCouponsList(data, types) {
  387. //优惠券状态 0全部 1未使用 2已使用
  388. return (0, _request.default)({
  389. url: '/api/coupons/user/' + types,
  390. method: 'get',
  391. data: data
  392. });
  393. }
  394. //提交评论
  395. function order_comment(data) {
  396. return (0, _request.default)({
  397. url: '/api/order/comment',
  398. method: 'post',
  399. data: data
  400. });
  401. }
  402. //订单产品信息
  403. function product(data) {
  404. return (0, _request.default)({
  405. url: '/api/order/product',
  406. method: 'post',
  407. data: data
  408. });
  409. }
  410. // 快递查询
  411. function express_query(data) {
  412. return (0, _request.default)({
  413. url: '/api/order/express_query',
  414. method: 'get',
  415. data: data
  416. });
  417. }
  418. //上传图片
  419. function upload(data) {
  420. return (0, _request.upFilse)({
  421. url: '/api/upload/image',
  422. method: 'post',
  423. data: data
  424. });
  425. }
  426. // 订单列表
  427. function orderList(data) {
  428. return (0, _request.default)({
  429. url: '/api/order/list',
  430. method: 'get',
  431. data: data
  432. });
  433. }
  434. // 订单详细
  435. function orderDetail(data, orderid) {
  436. return (0, _request.default)({
  437. url: '/api/order/detail/' + orderid,
  438. method: 'get',
  439. data: data
  440. });
  441. }
  442. // 取消订单
  443. function orderCancel(data) {
  444. return (0, _request.default)({
  445. url: '/api/order/cancel',
  446. method: 'post',
  447. data: data
  448. });
  449. }
  450. // 删除订单
  451. function orderDel(data) {
  452. return (0, _request.default)({
  453. url: '/api/order/del',
  454. method: 'get',
  455. data: data
  456. });
  457. }
  458. // 申请退款
  459. function refund(data) {
  460. return (0, _request.default)({
  461. url: '/api/order/refund/verify',
  462. method: 'post',
  463. data: data
  464. });
  465. }
  466. // 退款理由列表
  467. function refundReason(data) {
  468. return (0, _request.default)({
  469. url: '/api/order/refund/reason',
  470. method: 'get',
  471. data: data
  472. });
  473. }
  474. // 确认收货
  475. function orderTake(data) {
  476. return (0, _request.default)({
  477. url: '/api/order/take',
  478. method: 'post',
  479. data: data
  480. });
  481. }
  482. // 订单支付
  483. function orderPay(data) {
  484. return (0, _request.default)({
  485. url: '/api/order/pay',
  486. method: 'post',
  487. data: data
  488. });
  489. }
  490. // 创建订单
  491. function createOrderkey(data, key) {
  492. return (0, _request.default)({
  493. url: '/api/order/create/' + key,
  494. method: 'post',
  495. data: data
  496. });
  497. }
  498. // 统计订单金额
  499. function computedOrderkey(data) {
  500. return (0, _request.default)({
  501. url: '/api/order/computed/' + data.orderkey,
  502. method: 'post',
  503. data: data
  504. });
  505. }
  506. /***/ }),
  507. /***/ 185:
  508. /*!**************************************!*\
  509. !*** D:/工作/项目2/华景美业/hjmy/api/set.js ***!
  510. \**************************************/
  511. /*! no static exports found */
  512. /***/ (function(module, exports, __webpack_require__) {
  513. "use strict";
  514. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  515. Object.defineProperty(exports, "__esModule", {
  516. value: true
  517. });
  518. exports.binding = binding;
  519. exports.logout = logout;
  520. exports.registerReset = registerReset;
  521. exports.userEdit = userEdit;
  522. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  523. // 修改用户信息
  524. function userEdit(data) {
  525. return (0, _request.default)({
  526. url: '/api/user/edit',
  527. method: 'post',
  528. data: data
  529. });
  530. }
  531. //退出登录
  532. function logout(data) {
  533. return (0, _request.default)({
  534. url: '/api/logout',
  535. method: 'get',
  536. data: data
  537. });
  538. }
  539. //修改密码
  540. function registerReset(data) {
  541. return (0, _request.default)({
  542. url: '/api/register/reset',
  543. method: 'post',
  544. data: data
  545. });
  546. }
  547. //绑定手机
  548. function binding(data) {
  549. return (0, _request.default)({
  550. url: '/api/binding',
  551. method: 'post',
  552. data: data
  553. });
  554. }
  555. /***/ }),
  556. /***/ 19:
  557. /*!******************************************************************!*\
  558. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  559. \******************************************************************/
  560. /*! no static exports found */
  561. /***/ (function(module, exports, __webpack_require__) {
  562. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  563. function _arrayWithoutHoles(arr) {
  564. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  565. }
  566. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  567. /***/ }),
  568. /***/ 2:
  569. /*!************************************************************!*\
  570. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  571. \************************************************************/
  572. /*! no static exports found */
  573. /***/ (function(module, exports, __webpack_require__) {
  574. "use strict";
  575. /* WEBPACK VAR INJECTION */(function(wx, global) {
  576. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  577. Object.defineProperty(exports, "__esModule", {
  578. value: true
  579. });
  580. exports.createApp = createApp;
  581. exports.createComponent = createComponent;
  582. exports.createPage = createPage;
  583. exports.createPlugin = createPlugin;
  584. exports.createSubpackageApp = createSubpackageApp;
  585. exports.default = void 0;
  586. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  587. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  588. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  589. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  590. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  591. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  592. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  593. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  594. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  595. var realAtob;
  596. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  597. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  598. if (typeof atob !== 'function') {
  599. realAtob = function realAtob(str) {
  600. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  601. if (!b64re.test(str)) {
  602. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  603. }
  604. // Adding the padding if missing, for semplicity
  605. str += '=='.slice(2 - (str.length & 3));
  606. var bitmap;
  607. var result = '';
  608. var r1;
  609. var r2;
  610. var i = 0;
  611. for (; i < str.length;) {
  612. bitmap = b64.indexOf(str.charAt(i++)) << 18 | b64.indexOf(str.charAt(i++)) << 12 | (r1 = b64.indexOf(str.charAt(i++))) << 6 | (r2 = b64.indexOf(str.charAt(i++)));
  613. result += r1 === 64 ? String.fromCharCode(bitmap >> 16 & 255) : r2 === 64 ? String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255) : String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255, bitmap & 255);
  614. }
  615. return result;
  616. };
  617. } else {
  618. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  619. realAtob = atob;
  620. }
  621. function b64DecodeUnicode(str) {
  622. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  623. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  624. }).join(''));
  625. }
  626. function getCurrentUserInfo() {
  627. var token = wx.getStorageSync('uni_id_token') || '';
  628. var tokenArr = token.split('.');
  629. if (!token || tokenArr.length !== 3) {
  630. return {
  631. uid: null,
  632. role: [],
  633. permission: [],
  634. tokenExpired: 0
  635. };
  636. }
  637. var userInfo;
  638. try {
  639. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  640. } catch (error) {
  641. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  642. }
  643. userInfo.tokenExpired = userInfo.exp * 1000;
  644. delete userInfo.exp;
  645. delete userInfo.iat;
  646. return userInfo;
  647. }
  648. function uniIdMixin(Vue) {
  649. Vue.prototype.uniIDHasRole = function (roleId) {
  650. var _getCurrentUserInfo = getCurrentUserInfo(),
  651. role = _getCurrentUserInfo.role;
  652. return role.indexOf(roleId) > -1;
  653. };
  654. Vue.prototype.uniIDHasPermission = function (permissionId) {
  655. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  656. permission = _getCurrentUserInfo2.permission;
  657. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  658. };
  659. Vue.prototype.uniIDTokenValid = function () {
  660. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  661. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  662. return tokenExpired > Date.now();
  663. };
  664. }
  665. var _toString = Object.prototype.toString;
  666. var hasOwnProperty = Object.prototype.hasOwnProperty;
  667. function isFn(fn) {
  668. return typeof fn === 'function';
  669. }
  670. function isStr(str) {
  671. return typeof str === 'string';
  672. }
  673. function isObject(obj) {
  674. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  675. }
  676. function isPlainObject(obj) {
  677. return _toString.call(obj) === '[object Object]';
  678. }
  679. function hasOwn(obj, key) {
  680. return hasOwnProperty.call(obj, key);
  681. }
  682. function noop() {}
  683. /**
  684. * Create a cached version of a pure function.
  685. */
  686. function cached(fn) {
  687. var cache = Object.create(null);
  688. return function cachedFn(str) {
  689. var hit = cache[str];
  690. return hit || (cache[str] = fn(str));
  691. };
  692. }
  693. /**
  694. * Camelize a hyphen-delimited string.
  695. */
  696. var camelizeRE = /-(\w)/g;
  697. var camelize = cached(function (str) {
  698. return str.replace(camelizeRE, function (_, c) {
  699. return c ? c.toUpperCase() : '';
  700. });
  701. });
  702. function sortObject(obj) {
  703. var sortObj = {};
  704. if (isPlainObject(obj)) {
  705. Object.keys(obj).sort().forEach(function (key) {
  706. sortObj[key] = obj[key];
  707. });
  708. }
  709. return !Object.keys(sortObj) ? obj : sortObj;
  710. }
  711. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  712. var globalInterceptors = {};
  713. var scopedInterceptors = {};
  714. function mergeHook(parentVal, childVal) {
  715. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  716. return res ? dedupeHooks(res) : res;
  717. }
  718. function dedupeHooks(hooks) {
  719. var res = [];
  720. for (var i = 0; i < hooks.length; i++) {
  721. if (res.indexOf(hooks[i]) === -1) {
  722. res.push(hooks[i]);
  723. }
  724. }
  725. return res;
  726. }
  727. function removeHook(hooks, hook) {
  728. var index = hooks.indexOf(hook);
  729. if (index !== -1) {
  730. hooks.splice(index, 1);
  731. }
  732. }
  733. function mergeInterceptorHook(interceptor, option) {
  734. Object.keys(option).forEach(function (hook) {
  735. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  736. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  737. }
  738. });
  739. }
  740. function removeInterceptorHook(interceptor, option) {
  741. if (!interceptor || !option) {
  742. return;
  743. }
  744. Object.keys(option).forEach(function (hook) {
  745. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  746. removeHook(interceptor[hook], option[hook]);
  747. }
  748. });
  749. }
  750. function addInterceptor(method, option) {
  751. if (typeof method === 'string' && isPlainObject(option)) {
  752. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  753. } else if (isPlainObject(method)) {
  754. mergeInterceptorHook(globalInterceptors, method);
  755. }
  756. }
  757. function removeInterceptor(method, option) {
  758. if (typeof method === 'string') {
  759. if (isPlainObject(option)) {
  760. removeInterceptorHook(scopedInterceptors[method], option);
  761. } else {
  762. delete scopedInterceptors[method];
  763. }
  764. } else if (isPlainObject(method)) {
  765. removeInterceptorHook(globalInterceptors, method);
  766. }
  767. }
  768. function wrapperHook(hook) {
  769. return function (data) {
  770. return hook(data) || data;
  771. };
  772. }
  773. function isPromise(obj) {
  774. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  775. }
  776. function queue(hooks, data) {
  777. var promise = false;
  778. for (var i = 0; i < hooks.length; i++) {
  779. var hook = hooks[i];
  780. if (promise) {
  781. promise = Promise.resolve(wrapperHook(hook));
  782. } else {
  783. var res = hook(data);
  784. if (isPromise(res)) {
  785. promise = Promise.resolve(res);
  786. }
  787. if (res === false) {
  788. return {
  789. then: function then() {}
  790. };
  791. }
  792. }
  793. }
  794. return promise || {
  795. then: function then(callback) {
  796. return callback(data);
  797. }
  798. };
  799. }
  800. function wrapperOptions(interceptor) {
  801. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  802. ['success', 'fail', 'complete'].forEach(function (name) {
  803. if (Array.isArray(interceptor[name])) {
  804. var oldCallback = options[name];
  805. options[name] = function callbackInterceptor(res) {
  806. queue(interceptor[name], res).then(function (res) {
  807. /* eslint-disable no-mixed-operators */
  808. return isFn(oldCallback) && oldCallback(res) || res;
  809. });
  810. };
  811. }
  812. });
  813. return options;
  814. }
  815. function wrapperReturnValue(method, returnValue) {
  816. var returnValueHooks = [];
  817. if (Array.isArray(globalInterceptors.returnValue)) {
  818. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  819. }
  820. var interceptor = scopedInterceptors[method];
  821. if (interceptor && Array.isArray(interceptor.returnValue)) {
  822. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  823. }
  824. returnValueHooks.forEach(function (hook) {
  825. returnValue = hook(returnValue) || returnValue;
  826. });
  827. return returnValue;
  828. }
  829. function getApiInterceptorHooks(method) {
  830. var interceptor = Object.create(null);
  831. Object.keys(globalInterceptors).forEach(function (hook) {
  832. if (hook !== 'returnValue') {
  833. interceptor[hook] = globalInterceptors[hook].slice();
  834. }
  835. });
  836. var scopedInterceptor = scopedInterceptors[method];
  837. if (scopedInterceptor) {
  838. Object.keys(scopedInterceptor).forEach(function (hook) {
  839. if (hook !== 'returnValue') {
  840. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  841. }
  842. });
  843. }
  844. return interceptor;
  845. }
  846. function invokeApi(method, api, options) {
  847. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  848. params[_key - 3] = arguments[_key];
  849. }
  850. var interceptor = getApiInterceptorHooks(method);
  851. if (interceptor && Object.keys(interceptor).length) {
  852. if (Array.isArray(interceptor.invoke)) {
  853. var res = queue(interceptor.invoke, options);
  854. return res.then(function (options) {
  855. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  856. });
  857. } else {
  858. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  859. }
  860. }
  861. return api.apply(void 0, [options].concat(params));
  862. }
  863. var promiseInterceptor = {
  864. returnValue: function returnValue(res) {
  865. if (!isPromise(res)) {
  866. return res;
  867. }
  868. return new Promise(function (resolve, reject) {
  869. res.then(function (res) {
  870. if (res[0]) {
  871. reject(res[0]);
  872. } else {
  873. resolve(res[1]);
  874. }
  875. });
  876. });
  877. }
  878. };
  879. var SYNC_API_RE = /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/;
  880. var CONTEXT_API_RE = /^create|Manager$/;
  881. // Context例外情况
  882. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  883. // 同步例外情况
  884. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  885. var CALLBACK_API_RE = /^on|^off/;
  886. function isContextApi(name) {
  887. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  888. }
  889. function isSyncApi(name) {
  890. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  891. }
  892. function isCallbackApi(name) {
  893. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  894. }
  895. function handlePromise(promise) {
  896. return promise.then(function (data) {
  897. return [null, data];
  898. }).catch(function (err) {
  899. return [err];
  900. });
  901. }
  902. function shouldPromise(name) {
  903. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  904. return false;
  905. }
  906. return true;
  907. }
  908. /* eslint-disable no-extend-native */
  909. if (!Promise.prototype.finally) {
  910. Promise.prototype.finally = function (callback) {
  911. var promise = this.constructor;
  912. return this.then(function (value) {
  913. return promise.resolve(callback()).then(function () {
  914. return value;
  915. });
  916. }, function (reason) {
  917. return promise.resolve(callback()).then(function () {
  918. throw reason;
  919. });
  920. });
  921. };
  922. }
  923. function promisify(name, api) {
  924. if (!shouldPromise(name) || !isFn(api)) {
  925. return api;
  926. }
  927. return function promiseApi() {
  928. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  929. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  930. params[_key2 - 1] = arguments[_key2];
  931. }
  932. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  933. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  934. }
  935. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  936. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  937. success: resolve,
  938. fail: reject
  939. })].concat(params));
  940. })));
  941. };
  942. }
  943. var EPS = 1e-4;
  944. var BASE_DEVICE_WIDTH = 750;
  945. var isIOS = false;
  946. var deviceWidth = 0;
  947. var deviceDPR = 0;
  948. function checkDeviceWidth() {
  949. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  950. platform = _wx$getSystemInfoSync.platform,
  951. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  952. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  953. deviceWidth = windowWidth;
  954. deviceDPR = pixelRatio;
  955. isIOS = platform === 'ios';
  956. }
  957. function upx2px(number, newDeviceWidth) {
  958. if (deviceWidth === 0) {
  959. checkDeviceWidth();
  960. }
  961. number = Number(number);
  962. if (number === 0) {
  963. return 0;
  964. }
  965. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  966. if (result < 0) {
  967. result = -result;
  968. }
  969. result = Math.floor(result + EPS);
  970. if (result === 0) {
  971. if (deviceDPR === 1 || !isIOS) {
  972. result = 1;
  973. } else {
  974. result = 0.5;
  975. }
  976. }
  977. return number < 0 ? -result : result;
  978. }
  979. var LOCALE_ZH_HANS = 'zh-Hans';
  980. var LOCALE_ZH_HANT = 'zh-Hant';
  981. var LOCALE_EN = 'en';
  982. var LOCALE_FR = 'fr';
  983. var LOCALE_ES = 'es';
  984. var messages = {};
  985. var locale;
  986. {
  987. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  988. }
  989. function initI18nMessages() {
  990. if (!isEnableLocale()) {
  991. return;
  992. }
  993. var localeKeys = Object.keys(__uniConfig.locales);
  994. if (localeKeys.length) {
  995. localeKeys.forEach(function (locale) {
  996. var curMessages = messages[locale];
  997. var userMessages = __uniConfig.locales[locale];
  998. if (curMessages) {
  999. Object.assign(curMessages, userMessages);
  1000. } else {
  1001. messages[locale] = userMessages;
  1002. }
  1003. });
  1004. }
  1005. }
  1006. initI18nMessages();
  1007. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  1008. var t = i18n.t;
  1009. var i18nMixin = i18n.mixin = {
  1010. beforeCreate: function beforeCreate() {
  1011. var _this = this;
  1012. var unwatch = i18n.i18n.watchLocale(function () {
  1013. _this.$forceUpdate();
  1014. });
  1015. this.$once('hook:beforeDestroy', function () {
  1016. unwatch();
  1017. });
  1018. },
  1019. methods: {
  1020. $$t: function $$t(key, values) {
  1021. return t(key, values);
  1022. }
  1023. }
  1024. };
  1025. var setLocale = i18n.setLocale;
  1026. var getLocale = i18n.getLocale;
  1027. function initAppLocale(Vue, appVm, locale) {
  1028. var state = Vue.observable({
  1029. locale: locale || i18n.getLocale()
  1030. });
  1031. var localeWatchers = [];
  1032. appVm.$watchLocale = function (fn) {
  1033. localeWatchers.push(fn);
  1034. };
  1035. Object.defineProperty(appVm, '$locale', {
  1036. get: function get() {
  1037. return state.locale;
  1038. },
  1039. set: function set(v) {
  1040. state.locale = v;
  1041. localeWatchers.forEach(function (watch) {
  1042. return watch(v);
  1043. });
  1044. }
  1045. });
  1046. }
  1047. function isEnableLocale() {
  1048. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  1049. }
  1050. function include(str, parts) {
  1051. return !!parts.find(function (part) {
  1052. return str.indexOf(part) !== -1;
  1053. });
  1054. }
  1055. function startsWith(str, parts) {
  1056. return parts.find(function (part) {
  1057. return str.indexOf(part) === 0;
  1058. });
  1059. }
  1060. function normalizeLocale(locale, messages) {
  1061. if (!locale) {
  1062. return;
  1063. }
  1064. locale = locale.trim().replace(/_/g, '-');
  1065. if (messages && messages[locale]) {
  1066. return locale;
  1067. }
  1068. locale = locale.toLowerCase();
  1069. if (locale === 'chinese') {
  1070. // 支付宝
  1071. return LOCALE_ZH_HANS;
  1072. }
  1073. if (locale.indexOf('zh') === 0) {
  1074. if (locale.indexOf('-hans') > -1) {
  1075. return LOCALE_ZH_HANS;
  1076. }
  1077. if (locale.indexOf('-hant') > -1) {
  1078. return LOCALE_ZH_HANT;
  1079. }
  1080. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  1081. return LOCALE_ZH_HANT;
  1082. }
  1083. return LOCALE_ZH_HANS;
  1084. }
  1085. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  1086. if (lang) {
  1087. return lang;
  1088. }
  1089. }
  1090. // export function initI18n() {
  1091. // const localeKeys = Object.keys(__uniConfig.locales || {})
  1092. // if (localeKeys.length) {
  1093. // localeKeys.forEach((locale) =>
  1094. // i18n.add(locale, __uniConfig.locales[locale])
  1095. // )
  1096. // }
  1097. // }
  1098. function getLocale$1() {
  1099. // 优先使用 $locale
  1100. if (isFn(getApp)) {
  1101. var app = getApp({
  1102. allowDefault: true
  1103. });
  1104. if (app && app.$vm) {
  1105. return app.$vm.$locale;
  1106. }
  1107. }
  1108. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  1109. }
  1110. function setLocale$1(locale) {
  1111. var app = isFn(getApp) ? getApp() : false;
  1112. if (!app) {
  1113. return false;
  1114. }
  1115. var oldLocale = app.$vm.$locale;
  1116. if (oldLocale !== locale) {
  1117. app.$vm.$locale = locale;
  1118. onLocaleChangeCallbacks.forEach(function (fn) {
  1119. return fn({
  1120. locale: locale
  1121. });
  1122. });
  1123. return true;
  1124. }
  1125. return false;
  1126. }
  1127. var onLocaleChangeCallbacks = [];
  1128. function onLocaleChange(fn) {
  1129. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  1130. onLocaleChangeCallbacks.push(fn);
  1131. }
  1132. }
  1133. if (typeof global !== 'undefined') {
  1134. global.getLocale = getLocale$1;
  1135. }
  1136. var interceptors = {
  1137. promiseInterceptor: promiseInterceptor
  1138. };
  1139. var baseApi = /*#__PURE__*/Object.freeze({
  1140. __proto__: null,
  1141. upx2px: upx2px,
  1142. getLocale: getLocale$1,
  1143. setLocale: setLocale$1,
  1144. onLocaleChange: onLocaleChange,
  1145. addInterceptor: addInterceptor,
  1146. removeInterceptor: removeInterceptor,
  1147. interceptors: interceptors
  1148. });
  1149. function findExistsPageIndex(url) {
  1150. var pages = getCurrentPages();
  1151. var len = pages.length;
  1152. while (len--) {
  1153. var page = pages[len];
  1154. if (page.$page && page.$page.fullPath === url) {
  1155. return len;
  1156. }
  1157. }
  1158. return -1;
  1159. }
  1160. var redirectTo = {
  1161. name: function name(fromArgs) {
  1162. if (fromArgs.exists === 'back' && fromArgs.delta) {
  1163. return 'navigateBack';
  1164. }
  1165. return 'redirectTo';
  1166. },
  1167. args: function args(fromArgs) {
  1168. if (fromArgs.exists === 'back' && fromArgs.url) {
  1169. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  1170. if (existsPageIndex !== -1) {
  1171. var delta = getCurrentPages().length - 1 - existsPageIndex;
  1172. if (delta > 0) {
  1173. fromArgs.delta = delta;
  1174. }
  1175. }
  1176. }
  1177. }
  1178. };
  1179. var previewImage = {
  1180. args: function args(fromArgs) {
  1181. var currentIndex = parseInt(fromArgs.current);
  1182. if (isNaN(currentIndex)) {
  1183. return;
  1184. }
  1185. var urls = fromArgs.urls;
  1186. if (!Array.isArray(urls)) {
  1187. return;
  1188. }
  1189. var len = urls.length;
  1190. if (!len) {
  1191. return;
  1192. }
  1193. if (currentIndex < 0) {
  1194. currentIndex = 0;
  1195. } else if (currentIndex >= len) {
  1196. currentIndex = len - 1;
  1197. }
  1198. if (currentIndex > 0) {
  1199. fromArgs.current = urls[currentIndex];
  1200. fromArgs.urls = urls.filter(function (item, index) {
  1201. return index < currentIndex ? item !== urls[currentIndex] : true;
  1202. });
  1203. } else {
  1204. fromArgs.current = urls[0];
  1205. }
  1206. return {
  1207. indicator: false,
  1208. loop: false
  1209. };
  1210. }
  1211. };
  1212. var UUID_KEY = '__DC_STAT_UUID';
  1213. var deviceId;
  1214. function useDeviceId(result) {
  1215. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  1216. if (!deviceId) {
  1217. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  1218. wx.setStorage({
  1219. key: UUID_KEY,
  1220. data: deviceId
  1221. });
  1222. }
  1223. result.deviceId = deviceId;
  1224. }
  1225. function addSafeAreaInsets(result) {
  1226. if (result.safeArea) {
  1227. var safeArea = result.safeArea;
  1228. result.safeAreaInsets = {
  1229. top: safeArea.top,
  1230. left: safeArea.left,
  1231. right: result.windowWidth - safeArea.right,
  1232. bottom: result.screenHeight - safeArea.bottom
  1233. };
  1234. }
  1235. }
  1236. function populateParameters(result) {
  1237. var _result$brand = result.brand,
  1238. brand = _result$brand === void 0 ? '' : _result$brand,
  1239. _result$model = result.model,
  1240. model = _result$model === void 0 ? '' : _result$model,
  1241. _result$system = result.system,
  1242. system = _result$system === void 0 ? '' : _result$system,
  1243. _result$language = result.language,
  1244. language = _result$language === void 0 ? '' : _result$language,
  1245. theme = result.theme,
  1246. version = result.version,
  1247. platform = result.platform,
  1248. fontSizeSetting = result.fontSizeSetting,
  1249. SDKVersion = result.SDKVersion,
  1250. pixelRatio = result.pixelRatio,
  1251. deviceOrientation = result.deviceOrientation;
  1252. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  1253. var extraParam = {};
  1254. // osName osVersion
  1255. var osName = '';
  1256. var osVersion = '';
  1257. {
  1258. osName = system.split(' ')[0] || '';
  1259. osVersion = system.split(' ')[1] || '';
  1260. }
  1261. var hostVersion = version;
  1262. // deviceType
  1263. var deviceType = getGetDeviceType(result, model);
  1264. // deviceModel
  1265. var deviceBrand = getDeviceBrand(brand);
  1266. // hostName
  1267. var _hostName = getHostName(result);
  1268. // deviceOrientation
  1269. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  1270. // devicePixelRatio
  1271. var _devicePixelRatio = pixelRatio;
  1272. // SDKVersion
  1273. var _SDKVersion = SDKVersion;
  1274. // hostLanguage
  1275. var hostLanguage = language.replace(/_/g, '-');
  1276. // wx.getAccountInfoSync
  1277. var parameters = {
  1278. appId: "__UNI__ACC26FC",
  1279. appName: "华景美业",
  1280. appVersion: "1.0.0",
  1281. appVersionCode: "100",
  1282. appLanguage: getAppLanguage(hostLanguage),
  1283. uniCompileVersion: "3.7.9",
  1284. uniRuntimeVersion: "3.7.9",
  1285. uniPlatform: undefined || "mp-weixin",
  1286. deviceBrand: deviceBrand,
  1287. deviceModel: model,
  1288. deviceType: deviceType,
  1289. devicePixelRatio: _devicePixelRatio,
  1290. deviceOrientation: _deviceOrientation,
  1291. osName: osName.toLocaleLowerCase(),
  1292. osVersion: osVersion,
  1293. hostTheme: theme,
  1294. hostVersion: hostVersion,
  1295. hostLanguage: hostLanguage,
  1296. hostName: _hostName,
  1297. hostSDKVersion: _SDKVersion,
  1298. hostFontSizeSetting: fontSizeSetting,
  1299. windowTop: 0,
  1300. windowBottom: 0,
  1301. // TODO
  1302. osLanguage: undefined,
  1303. osTheme: undefined,
  1304. ua: undefined,
  1305. hostPackageName: undefined,
  1306. browserName: undefined,
  1307. browserVersion: undefined
  1308. };
  1309. Object.assign(result, parameters, extraParam);
  1310. }
  1311. function getGetDeviceType(result, model) {
  1312. var deviceType = result.deviceType || 'phone';
  1313. {
  1314. var deviceTypeMaps = {
  1315. ipad: 'pad',
  1316. windows: 'pc',
  1317. mac: 'pc'
  1318. };
  1319. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  1320. var _model = model.toLocaleLowerCase();
  1321. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  1322. var _m = deviceTypeMapsKeys[index];
  1323. if (_model.indexOf(_m) !== -1) {
  1324. deviceType = deviceTypeMaps[_m];
  1325. break;
  1326. }
  1327. }
  1328. }
  1329. return deviceType;
  1330. }
  1331. function getDeviceBrand(brand) {
  1332. var deviceBrand = brand;
  1333. if (deviceBrand) {
  1334. deviceBrand = brand.toLocaleLowerCase();
  1335. }
  1336. return deviceBrand;
  1337. }
  1338. function getAppLanguage(defaultLanguage) {
  1339. return getLocale$1 ? getLocale$1() : defaultLanguage;
  1340. }
  1341. function getHostName(result) {
  1342. var _platform = 'WeChat';
  1343. var _hostName = result.hostName || _platform; // mp-jd
  1344. {
  1345. if (result.environment) {
  1346. _hostName = result.environment;
  1347. } else if (result.host && result.host.env) {
  1348. _hostName = result.host.env;
  1349. }
  1350. }
  1351. return _hostName;
  1352. }
  1353. var getSystemInfo = {
  1354. returnValue: function returnValue(result) {
  1355. useDeviceId(result);
  1356. addSafeAreaInsets(result);
  1357. populateParameters(result);
  1358. }
  1359. };
  1360. var showActionSheet = {
  1361. args: function args(fromArgs) {
  1362. if ((0, _typeof2.default)(fromArgs) === 'object') {
  1363. fromArgs.alertText = fromArgs.title;
  1364. }
  1365. }
  1366. };
  1367. var getAppBaseInfo = {
  1368. returnValue: function returnValue(result) {
  1369. var _result = result,
  1370. version = _result.version,
  1371. language = _result.language,
  1372. SDKVersion = _result.SDKVersion,
  1373. theme = _result.theme;
  1374. var _hostName = getHostName(result);
  1375. var hostLanguage = language.replace('_', '-');
  1376. result = sortObject(Object.assign(result, {
  1377. appId: "__UNI__ACC26FC",
  1378. appName: "华景美业",
  1379. appVersion: "1.0.0",
  1380. appVersionCode: "100",
  1381. appLanguage: getAppLanguage(hostLanguage),
  1382. hostVersion: version,
  1383. hostLanguage: hostLanguage,
  1384. hostName: _hostName,
  1385. hostSDKVersion: SDKVersion,
  1386. hostTheme: theme
  1387. }));
  1388. }
  1389. };
  1390. var getDeviceInfo = {
  1391. returnValue: function returnValue(result) {
  1392. var _result2 = result,
  1393. brand = _result2.brand,
  1394. model = _result2.model;
  1395. var deviceType = getGetDeviceType(result, model);
  1396. var deviceBrand = getDeviceBrand(brand);
  1397. useDeviceId(result);
  1398. result = sortObject(Object.assign(result, {
  1399. deviceType: deviceType,
  1400. deviceBrand: deviceBrand,
  1401. deviceModel: model
  1402. }));
  1403. }
  1404. };
  1405. var getWindowInfo = {
  1406. returnValue: function returnValue(result) {
  1407. addSafeAreaInsets(result);
  1408. result = sortObject(Object.assign(result, {
  1409. windowTop: 0,
  1410. windowBottom: 0
  1411. }));
  1412. }
  1413. };
  1414. var getAppAuthorizeSetting = {
  1415. returnValue: function returnValue(result) {
  1416. var locationReducedAccuracy = result.locationReducedAccuracy;
  1417. result.locationAccuracy = 'unsupported';
  1418. if (locationReducedAccuracy === true) {
  1419. result.locationAccuracy = 'reduced';
  1420. } else if (locationReducedAccuracy === false) {
  1421. result.locationAccuracy = 'full';
  1422. }
  1423. }
  1424. };
  1425. // import navigateTo from 'uni-helpers/navigate-to'
  1426. var compressImage = {
  1427. args: function args(fromArgs) {
  1428. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  1429. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  1430. fromArgs.compressHeight = fromArgs.compressedHeight;
  1431. }
  1432. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  1433. fromArgs.compressWidth = fromArgs.compressedWidth;
  1434. }
  1435. }
  1436. };
  1437. var protocols = {
  1438. redirectTo: redirectTo,
  1439. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  1440. previewImage: previewImage,
  1441. getSystemInfo: getSystemInfo,
  1442. getSystemInfoSync: getSystemInfo,
  1443. showActionSheet: showActionSheet,
  1444. getAppBaseInfo: getAppBaseInfo,
  1445. getDeviceInfo: getDeviceInfo,
  1446. getWindowInfo: getWindowInfo,
  1447. getAppAuthorizeSetting: getAppAuthorizeSetting,
  1448. compressImage: compressImage
  1449. };
  1450. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  1451. var canIUses = [];
  1452. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  1453. function processCallback(methodName, method, returnValue) {
  1454. return function (res) {
  1455. return method(processReturnValue(methodName, res, returnValue));
  1456. };
  1457. }
  1458. function processArgs(methodName, fromArgs) {
  1459. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  1460. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  1461. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  1462. if (isPlainObject(fromArgs)) {
  1463. // 一般 api 的参数解析
  1464. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  1465. if (isFn(argsOption)) {
  1466. argsOption = argsOption(fromArgs, toArgs) || {};
  1467. }
  1468. for (var key in fromArgs) {
  1469. if (hasOwn(argsOption, key)) {
  1470. var keyOption = argsOption[key];
  1471. if (isFn(keyOption)) {
  1472. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  1473. }
  1474. if (!keyOption) {
  1475. // 不支持的参数
  1476. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  1477. } else if (isStr(keyOption)) {
  1478. // 重写参数 key
  1479. toArgs[keyOption] = fromArgs[key];
  1480. } else if (isPlainObject(keyOption)) {
  1481. // {name:newName,value:value}可重新指定参数 key:value
  1482. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  1483. }
  1484. } else if (CALLBACKS.indexOf(key) !== -1) {
  1485. if (isFn(fromArgs[key])) {
  1486. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  1487. }
  1488. } else {
  1489. if (!keepFromArgs) {
  1490. toArgs[key] = fromArgs[key];
  1491. }
  1492. }
  1493. }
  1494. return toArgs;
  1495. } else if (isFn(fromArgs)) {
  1496. fromArgs = processCallback(methodName, fromArgs, returnValue);
  1497. }
  1498. return fromArgs;
  1499. }
  1500. function processReturnValue(methodName, res, returnValue) {
  1501. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  1502. if (isFn(protocols.returnValue)) {
  1503. // 处理通用 returnValue
  1504. res = protocols.returnValue(methodName, res);
  1505. }
  1506. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  1507. }
  1508. function wrapper(methodName, method) {
  1509. if (hasOwn(protocols, methodName)) {
  1510. var protocol = protocols[methodName];
  1511. if (!protocol) {
  1512. // 暂不支持的 api
  1513. return function () {
  1514. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  1515. };
  1516. }
  1517. return function (arg1, arg2) {
  1518. // 目前 api 最多两个参数
  1519. var options = protocol;
  1520. if (isFn(protocol)) {
  1521. options = protocol(arg1);
  1522. }
  1523. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  1524. var args = [arg1];
  1525. if (typeof arg2 !== 'undefined') {
  1526. args.push(arg2);
  1527. }
  1528. if (isFn(options.name)) {
  1529. methodName = options.name(arg1);
  1530. } else if (isStr(options.name)) {
  1531. methodName = options.name;
  1532. }
  1533. var returnValue = wx[methodName].apply(wx, args);
  1534. if (isSyncApi(methodName)) {
  1535. // 同步 api
  1536. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1537. }
  1538. return returnValue;
  1539. };
  1540. }
  1541. return method;
  1542. }
  1543. var todoApis = Object.create(null);
  1544. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1545. function createTodoApi(name) {
  1546. return function todoApi(_ref) {
  1547. var fail = _ref.fail,
  1548. complete = _ref.complete;
  1549. var res = {
  1550. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1551. };
  1552. isFn(fail) && fail(res);
  1553. isFn(complete) && complete(res);
  1554. };
  1555. }
  1556. TODOS.forEach(function (name) {
  1557. todoApis[name] = createTodoApi(name);
  1558. });
  1559. var providers = {
  1560. oauth: ['weixin'],
  1561. share: ['weixin'],
  1562. payment: ['wxpay'],
  1563. push: ['weixin']
  1564. };
  1565. function getProvider(_ref2) {
  1566. var service = _ref2.service,
  1567. success = _ref2.success,
  1568. fail = _ref2.fail,
  1569. complete = _ref2.complete;
  1570. var res = false;
  1571. if (providers[service]) {
  1572. res = {
  1573. errMsg: 'getProvider:ok',
  1574. service: service,
  1575. provider: providers[service]
  1576. };
  1577. isFn(success) && success(res);
  1578. } else {
  1579. res = {
  1580. errMsg: 'getProvider:fail service not found'
  1581. };
  1582. isFn(fail) && fail(res);
  1583. }
  1584. isFn(complete) && complete(res);
  1585. }
  1586. var extraApi = /*#__PURE__*/Object.freeze({
  1587. __proto__: null,
  1588. getProvider: getProvider
  1589. });
  1590. var getEmitter = function () {
  1591. var Emitter;
  1592. return function getUniEmitter() {
  1593. if (!Emitter) {
  1594. Emitter = new _vue.default();
  1595. }
  1596. return Emitter;
  1597. };
  1598. }();
  1599. function apply(ctx, method, args) {
  1600. return ctx[method].apply(ctx, args);
  1601. }
  1602. function $on() {
  1603. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1604. }
  1605. function $off() {
  1606. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1607. }
  1608. function $once() {
  1609. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1610. }
  1611. function $emit() {
  1612. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1613. }
  1614. var eventApi = /*#__PURE__*/Object.freeze({
  1615. __proto__: null,
  1616. $on: $on,
  1617. $off: $off,
  1618. $once: $once,
  1619. $emit: $emit
  1620. });
  1621. /**
  1622. * 框架内 try-catch
  1623. */
  1624. /**
  1625. * 开发者 try-catch
  1626. */
  1627. function tryCatch(fn) {
  1628. return function () {
  1629. try {
  1630. return fn.apply(fn, arguments);
  1631. } catch (e) {
  1632. // TODO
  1633. console.error(e);
  1634. }
  1635. };
  1636. }
  1637. function getApiCallbacks(params) {
  1638. var apiCallbacks = {};
  1639. for (var name in params) {
  1640. var param = params[name];
  1641. if (isFn(param)) {
  1642. apiCallbacks[name] = tryCatch(param);
  1643. delete params[name];
  1644. }
  1645. }
  1646. return apiCallbacks;
  1647. }
  1648. var cid;
  1649. var cidErrMsg;
  1650. var enabled;
  1651. function normalizePushMessage(message) {
  1652. try {
  1653. return JSON.parse(message);
  1654. } catch (e) {}
  1655. return message;
  1656. }
  1657. function invokePushCallback(args) {
  1658. if (args.type === 'enabled') {
  1659. enabled = true;
  1660. } else if (args.type === 'clientId') {
  1661. cid = args.cid;
  1662. cidErrMsg = args.errMsg;
  1663. invokeGetPushCidCallbacks(cid, args.errMsg);
  1664. } else if (args.type === 'pushMsg') {
  1665. var message = {
  1666. type: 'receive',
  1667. data: normalizePushMessage(args.message)
  1668. };
  1669. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1670. var callback = onPushMessageCallbacks[i];
  1671. callback(message);
  1672. // 该消息已被阻止
  1673. if (message.stopped) {
  1674. break;
  1675. }
  1676. }
  1677. } else if (args.type === 'click') {
  1678. onPushMessageCallbacks.forEach(function (callback) {
  1679. callback({
  1680. type: 'click',
  1681. data: normalizePushMessage(args.message)
  1682. });
  1683. });
  1684. }
  1685. }
  1686. var getPushCidCallbacks = [];
  1687. function invokeGetPushCidCallbacks(cid, errMsg) {
  1688. getPushCidCallbacks.forEach(function (callback) {
  1689. callback(cid, errMsg);
  1690. });
  1691. getPushCidCallbacks.length = 0;
  1692. }
  1693. function getPushClientId(args) {
  1694. if (!isPlainObject(args)) {
  1695. args = {};
  1696. }
  1697. var _getApiCallbacks = getApiCallbacks(args),
  1698. success = _getApiCallbacks.success,
  1699. fail = _getApiCallbacks.fail,
  1700. complete = _getApiCallbacks.complete;
  1701. var hasSuccess = isFn(success);
  1702. var hasFail = isFn(fail);
  1703. var hasComplete = isFn(complete);
  1704. Promise.resolve().then(function () {
  1705. if (typeof enabled === 'undefined') {
  1706. enabled = false;
  1707. cid = '';
  1708. cidErrMsg = 'uniPush is not enabled';
  1709. }
  1710. getPushCidCallbacks.push(function (cid, errMsg) {
  1711. var res;
  1712. if (cid) {
  1713. res = {
  1714. errMsg: 'getPushClientId:ok',
  1715. cid: cid
  1716. };
  1717. hasSuccess && success(res);
  1718. } else {
  1719. res = {
  1720. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1721. };
  1722. hasFail && fail(res);
  1723. }
  1724. hasComplete && complete(res);
  1725. });
  1726. if (typeof cid !== 'undefined') {
  1727. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1728. }
  1729. });
  1730. }
  1731. var onPushMessageCallbacks = [];
  1732. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1733. var onPushMessage = function onPushMessage(fn) {
  1734. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1735. onPushMessageCallbacks.push(fn);
  1736. }
  1737. };
  1738. var offPushMessage = function offPushMessage(fn) {
  1739. if (!fn) {
  1740. onPushMessageCallbacks.length = 0;
  1741. } else {
  1742. var index = onPushMessageCallbacks.indexOf(fn);
  1743. if (index > -1) {
  1744. onPushMessageCallbacks.splice(index, 1);
  1745. }
  1746. }
  1747. };
  1748. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1749. if (!baseInfo) {
  1750. baseInfo = wx.getSystemInfoSync();
  1751. }
  1752. var host = baseInfo ? baseInfo.host : null;
  1753. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1754. var api = /*#__PURE__*/Object.freeze({
  1755. __proto__: null,
  1756. shareVideoMessage: shareVideoMessage,
  1757. getPushClientId: getPushClientId,
  1758. onPushMessage: onPushMessage,
  1759. offPushMessage: offPushMessage,
  1760. invokePushCallback: invokePushCallback
  1761. });
  1762. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1763. function findVmByVueId(vm, vuePid) {
  1764. var $children = vm.$children;
  1765. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1766. for (var i = $children.length - 1; i >= 0; i--) {
  1767. var childVm = $children[i];
  1768. if (childVm.$scope._$vueId === vuePid) {
  1769. return childVm;
  1770. }
  1771. }
  1772. // 反向递归查找
  1773. var parentVm;
  1774. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1775. parentVm = findVmByVueId($children[_i], vuePid);
  1776. if (parentVm) {
  1777. return parentVm;
  1778. }
  1779. }
  1780. }
  1781. function initBehavior(options) {
  1782. return Behavior(options);
  1783. }
  1784. function isPage() {
  1785. return !!this.route;
  1786. }
  1787. function initRelation(detail) {
  1788. this.triggerEvent('__l', detail);
  1789. }
  1790. function selectAllComponents(mpInstance, selector, $refs) {
  1791. var components = mpInstance.selectAllComponents(selector) || [];
  1792. components.forEach(function (component) {
  1793. var ref = component.dataset.ref;
  1794. $refs[ref] = component.$vm || toSkip(component);
  1795. {
  1796. if (component.dataset.vueGeneric === 'scoped') {
  1797. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1798. selectAllComponents(scopedComponent, selector, $refs);
  1799. });
  1800. }
  1801. }
  1802. });
  1803. }
  1804. function syncRefs(refs, newRefs) {
  1805. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1806. var newKeys = Object.keys(newRefs);
  1807. newKeys.forEach(function (key) {
  1808. var oldValue = refs[key];
  1809. var newValue = newRefs[key];
  1810. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1811. return oldValue.includes(value);
  1812. })) {
  1813. return;
  1814. }
  1815. refs[key] = newValue;
  1816. oldKeys.delete(key);
  1817. });
  1818. oldKeys.forEach(function (key) {
  1819. delete refs[key];
  1820. });
  1821. return refs;
  1822. }
  1823. function initRefs(vm) {
  1824. var mpInstance = vm.$scope;
  1825. var refs = {};
  1826. Object.defineProperty(vm, '$refs', {
  1827. get: function get() {
  1828. var $refs = {};
  1829. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1830. // TODO 暂不考虑 for 中的 scoped
  1831. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1832. forComponents.forEach(function (component) {
  1833. var ref = component.dataset.ref;
  1834. if (!$refs[ref]) {
  1835. $refs[ref] = [];
  1836. }
  1837. $refs[ref].push(component.$vm || toSkip(component));
  1838. });
  1839. return syncRefs(refs, $refs);
  1840. }
  1841. });
  1842. }
  1843. function handleLink(event) {
  1844. var _ref3 = event.detail || event.value,
  1845. vuePid = _ref3.vuePid,
  1846. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1847. var parentVm;
  1848. if (vuePid) {
  1849. parentVm = findVmByVueId(this.$vm, vuePid);
  1850. }
  1851. if (!parentVm) {
  1852. parentVm = this.$vm;
  1853. }
  1854. vueOptions.parent = parentVm;
  1855. }
  1856. function markMPComponent(component) {
  1857. // 在 Vue 中标记为小程序组件
  1858. var IS_MP = '__v_isMPComponent';
  1859. Object.defineProperty(component, IS_MP, {
  1860. configurable: true,
  1861. enumerable: false,
  1862. value: true
  1863. });
  1864. return component;
  1865. }
  1866. function toSkip(obj) {
  1867. var OB = '__ob__';
  1868. var SKIP = '__v_skip';
  1869. if (isObject(obj) && Object.isExtensible(obj)) {
  1870. // 避免被 @vue/composition-api 观测
  1871. Object.defineProperty(obj, OB, {
  1872. configurable: true,
  1873. enumerable: false,
  1874. value: (0, _defineProperty2.default)({}, SKIP, true)
  1875. });
  1876. }
  1877. return obj;
  1878. }
  1879. var WORKLET_RE = /_(.*)_worklet_factory_/;
  1880. function initWorkletMethods(mpMethods, vueMethods) {
  1881. if (vueMethods) {
  1882. Object.keys(vueMethods).forEach(function (name) {
  1883. var matches = name.match(WORKLET_RE);
  1884. if (matches) {
  1885. var workletName = matches[1];
  1886. mpMethods[name] = vueMethods[name];
  1887. mpMethods[workletName] = vueMethods[workletName];
  1888. }
  1889. });
  1890. }
  1891. }
  1892. var MPPage = Page;
  1893. var MPComponent = Component;
  1894. var customizeRE = /:/g;
  1895. var customize = cached(function (str) {
  1896. return camelize(str.replace(customizeRE, '-'));
  1897. });
  1898. function initTriggerEvent(mpInstance) {
  1899. var oldTriggerEvent = mpInstance.triggerEvent;
  1900. var newTriggerEvent = function newTriggerEvent(event) {
  1901. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1902. args[_key3 - 1] = arguments[_key3];
  1903. }
  1904. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1905. if (this.$vm || this.dataset && this.dataset.comType) {
  1906. event = customize(event);
  1907. } else {
  1908. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1909. var newEvent = customize(event);
  1910. if (newEvent !== event) {
  1911. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1912. }
  1913. }
  1914. return oldTriggerEvent.apply(this, [event].concat(args));
  1915. };
  1916. try {
  1917. // 京东小程序 triggerEvent 为只读
  1918. mpInstance.triggerEvent = newTriggerEvent;
  1919. } catch (error) {
  1920. mpInstance._triggerEvent = newTriggerEvent;
  1921. }
  1922. }
  1923. function initHook(name, options, isComponent) {
  1924. var oldHook = options[name];
  1925. options[name] = function () {
  1926. markMPComponent(this);
  1927. initTriggerEvent(this);
  1928. if (oldHook) {
  1929. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1930. args[_key4] = arguments[_key4];
  1931. }
  1932. return oldHook.apply(this, args);
  1933. }
  1934. };
  1935. }
  1936. if (!MPPage.__$wrappered) {
  1937. MPPage.__$wrappered = true;
  1938. Page = function Page() {
  1939. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1940. initHook('onLoad', options);
  1941. return MPPage(options);
  1942. };
  1943. Page.after = MPPage.after;
  1944. Component = function Component() {
  1945. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1946. initHook('created', options);
  1947. return MPComponent(options);
  1948. };
  1949. }
  1950. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1951. function initMocks(vm, mocks) {
  1952. var mpInstance = vm.$mp[vm.mpType];
  1953. mocks.forEach(function (mock) {
  1954. if (hasOwn(mpInstance, mock)) {
  1955. vm[mock] = mpInstance[mock];
  1956. }
  1957. });
  1958. }
  1959. function hasHook(hook, vueOptions) {
  1960. if (!vueOptions) {
  1961. return true;
  1962. }
  1963. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1964. return true;
  1965. }
  1966. vueOptions = vueOptions.default || vueOptions;
  1967. if (isFn(vueOptions)) {
  1968. if (isFn(vueOptions.extendOptions[hook])) {
  1969. return true;
  1970. }
  1971. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1972. return true;
  1973. }
  1974. return false;
  1975. }
  1976. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1977. return true;
  1978. }
  1979. var mixins = vueOptions.mixins;
  1980. if (Array.isArray(mixins)) {
  1981. return !!mixins.find(function (mixin) {
  1982. return hasHook(hook, mixin);
  1983. });
  1984. }
  1985. }
  1986. function initHooks(mpOptions, hooks, vueOptions) {
  1987. hooks.forEach(function (hook) {
  1988. if (hasHook(hook, vueOptions)) {
  1989. mpOptions[hook] = function (args) {
  1990. return this.$vm && this.$vm.__call_hook(hook, args);
  1991. };
  1992. }
  1993. });
  1994. }
  1995. function initUnknownHooks(mpOptions, vueOptions) {
  1996. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1997. findHooks(vueOptions).forEach(function (hook) {
  1998. return initHook$1(mpOptions, hook, excludes);
  1999. });
  2000. }
  2001. function findHooks(vueOptions) {
  2002. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  2003. if (vueOptions) {
  2004. Object.keys(vueOptions).forEach(function (name) {
  2005. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  2006. hooks.push(name);
  2007. }
  2008. });
  2009. }
  2010. return hooks;
  2011. }
  2012. function initHook$1(mpOptions, hook, excludes) {
  2013. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  2014. mpOptions[hook] = function (args) {
  2015. return this.$vm && this.$vm.__call_hook(hook, args);
  2016. };
  2017. }
  2018. }
  2019. function initVueComponent(Vue, vueOptions) {
  2020. vueOptions = vueOptions.default || vueOptions;
  2021. var VueComponent;
  2022. if (isFn(vueOptions)) {
  2023. VueComponent = vueOptions;
  2024. } else {
  2025. VueComponent = Vue.extend(vueOptions);
  2026. }
  2027. vueOptions = VueComponent.options;
  2028. return [VueComponent, vueOptions];
  2029. }
  2030. function initSlots(vm, vueSlots) {
  2031. if (Array.isArray(vueSlots) && vueSlots.length) {
  2032. var $slots = Object.create(null);
  2033. vueSlots.forEach(function (slotName) {
  2034. $slots[slotName] = true;
  2035. });
  2036. vm.$scopedSlots = vm.$slots = $slots;
  2037. }
  2038. }
  2039. function initVueIds(vueIds, mpInstance) {
  2040. vueIds = (vueIds || '').split(',');
  2041. var len = vueIds.length;
  2042. if (len === 1) {
  2043. mpInstance._$vueId = vueIds[0];
  2044. } else if (len === 2) {
  2045. mpInstance._$vueId = vueIds[0];
  2046. mpInstance._$vuePid = vueIds[1];
  2047. }
  2048. }
  2049. function initData(vueOptions, context) {
  2050. var data = vueOptions.data || {};
  2051. var methods = vueOptions.methods || {};
  2052. if (typeof data === 'function') {
  2053. try {
  2054. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  2055. } catch (e) {
  2056. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"华景美业","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  2057. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  2058. }
  2059. }
  2060. } else {
  2061. try {
  2062. // 对 data 格式化
  2063. data = JSON.parse(JSON.stringify(data));
  2064. } catch (e) {}
  2065. }
  2066. if (!isPlainObject(data)) {
  2067. data = {};
  2068. }
  2069. Object.keys(methods).forEach(function (methodName) {
  2070. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  2071. data[methodName] = methods[methodName];
  2072. }
  2073. });
  2074. return data;
  2075. }
  2076. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  2077. function createObserver(name) {
  2078. return function observer(newVal, oldVal) {
  2079. if (this.$vm) {
  2080. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  2081. }
  2082. };
  2083. }
  2084. function initBehaviors(vueOptions, initBehavior) {
  2085. var vueBehaviors = vueOptions.behaviors;
  2086. var vueExtends = vueOptions.extends;
  2087. var vueMixins = vueOptions.mixins;
  2088. var vueProps = vueOptions.props;
  2089. if (!vueProps) {
  2090. vueOptions.props = vueProps = [];
  2091. }
  2092. var behaviors = [];
  2093. if (Array.isArray(vueBehaviors)) {
  2094. vueBehaviors.forEach(function (behavior) {
  2095. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  2096. if (behavior === 'uni://form-field') {
  2097. if (Array.isArray(vueProps)) {
  2098. vueProps.push('name');
  2099. vueProps.push('value');
  2100. } else {
  2101. vueProps.name = {
  2102. type: String,
  2103. default: ''
  2104. };
  2105. vueProps.value = {
  2106. type: [String, Number, Boolean, Array, Object, Date],
  2107. default: ''
  2108. };
  2109. }
  2110. }
  2111. });
  2112. }
  2113. if (isPlainObject(vueExtends) && vueExtends.props) {
  2114. behaviors.push(initBehavior({
  2115. properties: initProperties(vueExtends.props, true)
  2116. }));
  2117. }
  2118. if (Array.isArray(vueMixins)) {
  2119. vueMixins.forEach(function (vueMixin) {
  2120. if (isPlainObject(vueMixin) && vueMixin.props) {
  2121. behaviors.push(initBehavior({
  2122. properties: initProperties(vueMixin.props, true)
  2123. }));
  2124. }
  2125. });
  2126. }
  2127. return behaviors;
  2128. }
  2129. function parsePropType(key, type, defaultValue, file) {
  2130. // [String]=>String
  2131. if (Array.isArray(type) && type.length === 1) {
  2132. return type[0];
  2133. }
  2134. return type;
  2135. }
  2136. function initProperties(props) {
  2137. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  2138. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  2139. var options = arguments.length > 3 ? arguments[3] : undefined;
  2140. var properties = {};
  2141. if (!isBehavior) {
  2142. properties.vueId = {
  2143. type: String,
  2144. value: ''
  2145. };
  2146. {
  2147. if (options.virtualHost) {
  2148. properties.virtualHostStyle = {
  2149. type: null,
  2150. value: ''
  2151. };
  2152. properties.virtualHostClass = {
  2153. type: null,
  2154. value: ''
  2155. };
  2156. }
  2157. }
  2158. // scopedSlotsCompiler auto
  2159. properties.scopedSlotsCompiler = {
  2160. type: String,
  2161. value: ''
  2162. };
  2163. properties.vueSlots = {
  2164. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  2165. type: null,
  2166. value: [],
  2167. observer: function observer(newVal, oldVal) {
  2168. var $slots = Object.create(null);
  2169. newVal.forEach(function (slotName) {
  2170. $slots[slotName] = true;
  2171. });
  2172. this.setData({
  2173. $slots: $slots
  2174. });
  2175. }
  2176. };
  2177. }
  2178. if (Array.isArray(props)) {
  2179. // ['title']
  2180. props.forEach(function (key) {
  2181. properties[key] = {
  2182. type: null,
  2183. observer: createObserver(key)
  2184. };
  2185. });
  2186. } else if (isPlainObject(props)) {
  2187. // {title:{type:String,default:''},content:String}
  2188. Object.keys(props).forEach(function (key) {
  2189. var opts = props[key];
  2190. if (isPlainObject(opts)) {
  2191. // title:{type:String,default:''}
  2192. var value = opts.default;
  2193. if (isFn(value)) {
  2194. value = value();
  2195. }
  2196. opts.type = parsePropType(key, opts.type);
  2197. properties[key] = {
  2198. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  2199. value: value,
  2200. observer: createObserver(key)
  2201. };
  2202. } else {
  2203. // content:String
  2204. var type = parsePropType(key, opts);
  2205. properties[key] = {
  2206. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  2207. observer: createObserver(key)
  2208. };
  2209. }
  2210. });
  2211. }
  2212. return properties;
  2213. }
  2214. function wrapper$1(event) {
  2215. // TODO 又得兼容 mpvue 的 mp 对象
  2216. try {
  2217. event.mp = JSON.parse(JSON.stringify(event));
  2218. } catch (e) {}
  2219. event.stopPropagation = noop;
  2220. event.preventDefault = noop;
  2221. event.target = event.target || {};
  2222. if (!hasOwn(event, 'detail')) {
  2223. event.detail = {};
  2224. }
  2225. if (hasOwn(event, 'markerId')) {
  2226. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  2227. event.detail.markerId = event.markerId;
  2228. }
  2229. if (isPlainObject(event.detail)) {
  2230. event.target = Object.assign({}, event.target, event.detail);
  2231. }
  2232. return event;
  2233. }
  2234. function getExtraValue(vm, dataPathsArray) {
  2235. var context = vm;
  2236. dataPathsArray.forEach(function (dataPathArray) {
  2237. var dataPath = dataPathArray[0];
  2238. var value = dataPathArray[2];
  2239. if (dataPath || typeof value !== 'undefined') {
  2240. // ['','',index,'disable']
  2241. var propPath = dataPathArray[1];
  2242. var valuePath = dataPathArray[3];
  2243. var vFor;
  2244. if (Number.isInteger(dataPath)) {
  2245. vFor = dataPath;
  2246. } else if (!dataPath) {
  2247. vFor = context;
  2248. } else if (typeof dataPath === 'string' && dataPath) {
  2249. if (dataPath.indexOf('#s#') === 0) {
  2250. vFor = dataPath.substr(3);
  2251. } else {
  2252. vFor = vm.__get_value(dataPath, context);
  2253. }
  2254. }
  2255. if (Number.isInteger(vFor)) {
  2256. context = value;
  2257. } else if (!propPath) {
  2258. context = vFor[value];
  2259. } else {
  2260. if (Array.isArray(vFor)) {
  2261. context = vFor.find(function (vForItem) {
  2262. return vm.__get_value(propPath, vForItem) === value;
  2263. });
  2264. } else if (isPlainObject(vFor)) {
  2265. context = Object.keys(vFor).find(function (vForKey) {
  2266. return vm.__get_value(propPath, vFor[vForKey]) === value;
  2267. });
  2268. } else {
  2269. console.error('v-for 暂不支持循环数据:', vFor);
  2270. }
  2271. }
  2272. if (valuePath) {
  2273. context = vm.__get_value(valuePath, context);
  2274. }
  2275. }
  2276. });
  2277. return context;
  2278. }
  2279. function processEventExtra(vm, extra, event, __args__) {
  2280. var extraObj = {};
  2281. if (Array.isArray(extra) && extra.length) {
  2282. /**
  2283. *[
  2284. * ['data.items', 'data.id', item.data.id],
  2285. * ['metas', 'id', meta.id]
  2286. *],
  2287. *[
  2288. * ['data.items', 'data.id', item.data.id],
  2289. * ['metas', 'id', meta.id]
  2290. *],
  2291. *'test'
  2292. */
  2293. extra.forEach(function (dataPath, index) {
  2294. if (typeof dataPath === 'string') {
  2295. if (!dataPath) {
  2296. // model,prop.sync
  2297. extraObj['$' + index] = vm;
  2298. } else {
  2299. if (dataPath === '$event') {
  2300. // $event
  2301. extraObj['$' + index] = event;
  2302. } else if (dataPath === 'arguments') {
  2303. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  2304. } else if (dataPath.indexOf('$event.') === 0) {
  2305. // $event.target.value
  2306. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  2307. } else {
  2308. extraObj['$' + index] = vm.__get_value(dataPath);
  2309. }
  2310. }
  2311. } else {
  2312. extraObj['$' + index] = getExtraValue(vm, dataPath);
  2313. }
  2314. });
  2315. }
  2316. return extraObj;
  2317. }
  2318. function getObjByArray(arr) {
  2319. var obj = {};
  2320. for (var i = 1; i < arr.length; i++) {
  2321. var element = arr[i];
  2322. obj[element[0]] = element[1];
  2323. }
  2324. return obj;
  2325. }
  2326. function processEventArgs(vm, event) {
  2327. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  2328. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  2329. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  2330. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  2331. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  2332. // fixed 用户直接触发 mpInstance.triggerEvent
  2333. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  2334. if (isCustom) {
  2335. // 自定义事件
  2336. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  2337. if (!args.length) {
  2338. // 无参数,直接传入 event 或 detail 数组
  2339. if (isCustomMPEvent) {
  2340. return [event];
  2341. }
  2342. return __args__;
  2343. }
  2344. }
  2345. var extraObj = processEventExtra(vm, extra, event, __args__);
  2346. var ret = [];
  2347. args.forEach(function (arg) {
  2348. if (arg === '$event') {
  2349. if (methodName === '__set_model' && !isCustom) {
  2350. // input v-model value
  2351. ret.push(event.target.value);
  2352. } else {
  2353. if (isCustom && !isCustomMPEvent) {
  2354. ret.push(__args__[0]);
  2355. } else {
  2356. // wxcomponent 组件或内置组件
  2357. ret.push(event);
  2358. }
  2359. }
  2360. } else {
  2361. if (Array.isArray(arg) && arg[0] === 'o') {
  2362. ret.push(getObjByArray(arg));
  2363. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  2364. ret.push(extraObj[arg]);
  2365. } else {
  2366. ret.push(arg);
  2367. }
  2368. }
  2369. });
  2370. return ret;
  2371. }
  2372. var ONCE = '~';
  2373. var CUSTOM = '^';
  2374. function isMatchEventType(eventType, optType) {
  2375. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  2376. }
  2377. function getContextVm(vm) {
  2378. var $parent = vm.$parent;
  2379. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  2380. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  2381. $parent = $parent.$parent;
  2382. }
  2383. return $parent && $parent.$parent;
  2384. }
  2385. function handleEvent(event) {
  2386. var _this2 = this;
  2387. event = wrapper$1(event);
  2388. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  2389. var dataset = (event.currentTarget || event.target).dataset;
  2390. if (!dataset) {
  2391. return console.warn('事件信息不存在');
  2392. }
  2393. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  2394. if (!eventOpts) {
  2395. return console.warn('事件信息不存在');
  2396. }
  2397. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  2398. var eventType = event.type;
  2399. var ret = [];
  2400. eventOpts.forEach(function (eventOpt) {
  2401. var type = eventOpt[0];
  2402. var eventsArray = eventOpt[1];
  2403. var isCustom = type.charAt(0) === CUSTOM;
  2404. type = isCustom ? type.slice(1) : type;
  2405. var isOnce = type.charAt(0) === ONCE;
  2406. type = isOnce ? type.slice(1) : type;
  2407. if (eventsArray && isMatchEventType(eventType, type)) {
  2408. eventsArray.forEach(function (eventArray) {
  2409. var methodName = eventArray[0];
  2410. if (methodName) {
  2411. var handlerCtx = _this2.$vm;
  2412. if (handlerCtx.$options.generic) {
  2413. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  2414. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  2415. }
  2416. if (methodName === '$emit') {
  2417. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  2418. return;
  2419. }
  2420. var handler = handlerCtx[methodName];
  2421. if (!isFn(handler)) {
  2422. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  2423. var path = _this2.route || _this2.is;
  2424. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  2425. }
  2426. if (isOnce) {
  2427. if (handler.once) {
  2428. return;
  2429. }
  2430. handler.once = true;
  2431. }
  2432. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  2433. params = Array.isArray(params) ? params : [];
  2434. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  2435. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  2436. // eslint-disable-next-line no-sparse-arrays
  2437. params = params.concat([,,,,,,,,,, event]);
  2438. }
  2439. ret.push(handler.apply(handlerCtx, params));
  2440. }
  2441. });
  2442. }
  2443. });
  2444. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  2445. return ret[0];
  2446. }
  2447. }
  2448. var eventChannels = {};
  2449. var eventChannelStack = [];
  2450. function getEventChannel(id) {
  2451. if (id) {
  2452. var eventChannel = eventChannels[id];
  2453. delete eventChannels[id];
  2454. return eventChannel;
  2455. }
  2456. return eventChannelStack.shift();
  2457. }
  2458. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  2459. function initEventChannel() {
  2460. _vue.default.prototype.getOpenerEventChannel = function () {
  2461. // 微信小程序使用自身getOpenerEventChannel
  2462. {
  2463. return this.$scope.getOpenerEventChannel();
  2464. }
  2465. };
  2466. var callHook = _vue.default.prototype.__call_hook;
  2467. _vue.default.prototype.__call_hook = function (hook, args) {
  2468. if (hook === 'onLoad' && args && args.__id__) {
  2469. this.__eventChannel__ = getEventChannel(args.__id__);
  2470. delete args.__id__;
  2471. }
  2472. return callHook.call(this, hook, args);
  2473. };
  2474. }
  2475. function initScopedSlotsParams() {
  2476. var center = {};
  2477. var parents = {};
  2478. _vue.default.prototype.$hasScopedSlotsParams = function (vueId) {
  2479. var has = center[vueId];
  2480. if (!has) {
  2481. parents[vueId] = this;
  2482. this.$on('hook:destroyed', function () {
  2483. delete parents[vueId];
  2484. });
  2485. }
  2486. return has;
  2487. };
  2488. _vue.default.prototype.$getScopedSlotsParams = function (vueId, name, key) {
  2489. var data = center[vueId];
  2490. if (data) {
  2491. var object = data[name] || {};
  2492. return key ? object[key] : object;
  2493. } else {
  2494. parents[vueId] = this;
  2495. this.$on('hook:destroyed', function () {
  2496. delete parents[vueId];
  2497. });
  2498. }
  2499. };
  2500. _vue.default.prototype.$setScopedSlotsParams = function (name, value) {
  2501. var vueIds = this.$options.propsData.vueId;
  2502. if (vueIds) {
  2503. var vueId = vueIds.split(',')[0];
  2504. var object = center[vueId] = center[vueId] || {};
  2505. object[name] = value;
  2506. if (parents[vueId]) {
  2507. parents[vueId].$forceUpdate();
  2508. }
  2509. }
  2510. };
  2511. _vue.default.mixin({
  2512. destroyed: function destroyed() {
  2513. var propsData = this.$options.propsData;
  2514. var vueId = propsData && propsData.vueId;
  2515. if (vueId) {
  2516. delete center[vueId];
  2517. delete parents[vueId];
  2518. }
  2519. }
  2520. });
  2521. }
  2522. function parseBaseApp(vm, _ref4) {
  2523. var mocks = _ref4.mocks,
  2524. initRefs = _ref4.initRefs;
  2525. initEventChannel();
  2526. {
  2527. initScopedSlotsParams();
  2528. }
  2529. if (vm.$options.store) {
  2530. _vue.default.prototype.$store = vm.$options.store;
  2531. }
  2532. uniIdMixin(_vue.default);
  2533. _vue.default.prototype.mpHost = "mp-weixin";
  2534. _vue.default.mixin({
  2535. beforeCreate: function beforeCreate() {
  2536. if (!this.$options.mpType) {
  2537. return;
  2538. }
  2539. this.mpType = this.$options.mpType;
  2540. this.$mp = (0, _defineProperty2.default)({
  2541. data: {}
  2542. }, this.mpType, this.$options.mpInstance);
  2543. this.$scope = this.$options.mpInstance;
  2544. delete this.$options.mpType;
  2545. delete this.$options.mpInstance;
  2546. if (this.mpType === 'page' && typeof getApp === 'function') {
  2547. // hack vue-i18n
  2548. var app = getApp();
  2549. if (app.$vm && app.$vm.$i18n) {
  2550. this._i18n = app.$vm.$i18n;
  2551. }
  2552. }
  2553. if (this.mpType !== 'app') {
  2554. initRefs(this);
  2555. initMocks(this, mocks);
  2556. }
  2557. }
  2558. });
  2559. var appOptions = {
  2560. onLaunch: function onLaunch(args) {
  2561. if (this.$vm) {
  2562. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2563. return;
  2564. }
  2565. {
  2566. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2567. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2568. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2569. }
  2570. }
  2571. this.$vm = vm;
  2572. this.$vm.$mp = {
  2573. app: this
  2574. };
  2575. this.$vm.$scope = this;
  2576. // vm 上也挂载 globalData
  2577. this.$vm.globalData = this.globalData;
  2578. this.$vm._isMounted = true;
  2579. this.$vm.__call_hook('mounted', args);
  2580. this.$vm.__call_hook('onLaunch', args);
  2581. }
  2582. };
  2583. // 兼容旧版本 globalData
  2584. appOptions.globalData = vm.$options.globalData || {};
  2585. // 将 methods 中的方法挂在 getApp() 中
  2586. var methods = vm.$options.methods;
  2587. if (methods) {
  2588. Object.keys(methods).forEach(function (name) {
  2589. appOptions[name] = methods[name];
  2590. });
  2591. }
  2592. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2593. initHooks(appOptions, hooks);
  2594. initUnknownHooks(appOptions, vm.$options);
  2595. return appOptions;
  2596. }
  2597. function parseApp(vm) {
  2598. return parseBaseApp(vm, {
  2599. mocks: mocks,
  2600. initRefs: initRefs
  2601. });
  2602. }
  2603. function createApp(vm) {
  2604. App(parseApp(vm));
  2605. return vm;
  2606. }
  2607. var encodeReserveRE = /[!'()*]/g;
  2608. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2609. return '%' + c.charCodeAt(0).toString(16);
  2610. };
  2611. var commaRE = /%2C/g;
  2612. // fixed encodeURIComponent which is more conformant to RFC3986:
  2613. // - escapes [!'()*]
  2614. // - preserve commas
  2615. var encode = function encode(str) {
  2616. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2617. };
  2618. function stringifyQuery(obj) {
  2619. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2620. var res = obj ? Object.keys(obj).map(function (key) {
  2621. var val = obj[key];
  2622. if (val === undefined) {
  2623. return '';
  2624. }
  2625. if (val === null) {
  2626. return encodeStr(key);
  2627. }
  2628. if (Array.isArray(val)) {
  2629. var result = [];
  2630. val.forEach(function (val2) {
  2631. if (val2 === undefined) {
  2632. return;
  2633. }
  2634. if (val2 === null) {
  2635. result.push(encodeStr(key));
  2636. } else {
  2637. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2638. }
  2639. });
  2640. return result.join('&');
  2641. }
  2642. return encodeStr(key) + '=' + encodeStr(val);
  2643. }).filter(function (x) {
  2644. return x.length > 0;
  2645. }).join('&') : null;
  2646. return res ? "?".concat(res) : '';
  2647. }
  2648. function parseBaseComponent(vueComponentOptions) {
  2649. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2650. isPage = _ref5.isPage,
  2651. initRelation = _ref5.initRelation;
  2652. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2653. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2654. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2655. VueComponent = _initVueComponent2[0],
  2656. vueOptions = _initVueComponent2[1];
  2657. var options = _objectSpread({
  2658. multipleSlots: true,
  2659. addGlobalClass: true
  2660. }, vueOptions.options || {});
  2661. {
  2662. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2663. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2664. Object.assign(options, vueOptions['mp-weixin'].options);
  2665. }
  2666. }
  2667. var componentOptions = {
  2668. options: options,
  2669. data: initData(vueOptions, _vue.default.prototype),
  2670. behaviors: initBehaviors(vueOptions, initBehavior),
  2671. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2672. lifetimes: {
  2673. attached: function attached() {
  2674. var properties = this.properties;
  2675. var options = {
  2676. mpType: isPage.call(this) ? 'page' : 'component',
  2677. mpInstance: this,
  2678. propsData: properties
  2679. };
  2680. initVueIds(properties.vueId, this);
  2681. // 处理父子关系
  2682. initRelation.call(this, {
  2683. vuePid: this._$vuePid,
  2684. vueOptions: options
  2685. });
  2686. // 初始化 vue 实例
  2687. this.$vm = new VueComponent(options);
  2688. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2689. initSlots(this.$vm, properties.vueSlots);
  2690. // 触发首次 setData
  2691. this.$vm.$mount();
  2692. },
  2693. ready: function ready() {
  2694. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2695. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2696. if (this.$vm) {
  2697. this.$vm._isMounted = true;
  2698. this.$vm.__call_hook('mounted');
  2699. this.$vm.__call_hook('onReady');
  2700. }
  2701. },
  2702. detached: function detached() {
  2703. this.$vm && this.$vm.$destroy();
  2704. }
  2705. },
  2706. pageLifetimes: {
  2707. show: function show(args) {
  2708. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2709. },
  2710. hide: function hide() {
  2711. this.$vm && this.$vm.__call_hook('onPageHide');
  2712. },
  2713. resize: function resize(size) {
  2714. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2715. }
  2716. },
  2717. methods: {
  2718. __l: handleLink,
  2719. __e: handleEvent
  2720. }
  2721. };
  2722. // externalClasses
  2723. if (vueOptions.externalClasses) {
  2724. componentOptions.externalClasses = vueOptions.externalClasses;
  2725. }
  2726. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2727. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2728. componentOptions.methods[callMethod] = function (args) {
  2729. return this.$vm[callMethod](args);
  2730. };
  2731. });
  2732. }
  2733. if (needVueOptions) {
  2734. return [componentOptions, vueOptions, VueComponent];
  2735. }
  2736. if (isPage) {
  2737. return componentOptions;
  2738. }
  2739. return [componentOptions, VueComponent];
  2740. }
  2741. function parseComponent(vueComponentOptions, needVueOptions) {
  2742. return parseBaseComponent(vueComponentOptions, {
  2743. isPage: isPage,
  2744. initRelation: initRelation
  2745. }, needVueOptions);
  2746. }
  2747. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2748. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2749. function parseBasePage(vuePageOptions) {
  2750. var _parseComponent = parseComponent(vuePageOptions, true),
  2751. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2752. pageOptions = _parseComponent2[0],
  2753. vueOptions = _parseComponent2[1];
  2754. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2755. pageOptions.methods.onLoad = function (query) {
  2756. this.options = query;
  2757. var copyQuery = Object.assign({}, query);
  2758. delete copyQuery.__id__;
  2759. this.$page = {
  2760. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2761. };
  2762. this.$vm.$mp.query = query; // 兼容 mpvue
  2763. this.$vm.__call_hook('onLoad', query);
  2764. };
  2765. {
  2766. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2767. }
  2768. {
  2769. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  2770. }
  2771. return pageOptions;
  2772. }
  2773. function parsePage(vuePageOptions) {
  2774. return parseBasePage(vuePageOptions);
  2775. }
  2776. function createPage(vuePageOptions) {
  2777. {
  2778. return Component(parsePage(vuePageOptions));
  2779. }
  2780. }
  2781. function createComponent(vueOptions) {
  2782. {
  2783. return Component(parseComponent(vueOptions));
  2784. }
  2785. }
  2786. function createSubpackageApp(vm) {
  2787. var appOptions = parseApp(vm);
  2788. var app = getApp({
  2789. allowDefault: true
  2790. });
  2791. vm.$scope = app;
  2792. var globalData = app.globalData;
  2793. if (globalData) {
  2794. Object.keys(appOptions.globalData).forEach(function (name) {
  2795. if (!hasOwn(globalData, name)) {
  2796. globalData[name] = appOptions.globalData[name];
  2797. }
  2798. });
  2799. }
  2800. Object.keys(appOptions).forEach(function (name) {
  2801. if (!hasOwn(app, name)) {
  2802. app[name] = appOptions[name];
  2803. }
  2804. });
  2805. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2806. wx.onAppShow(function () {
  2807. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2808. args[_key5] = arguments[_key5];
  2809. }
  2810. vm.__call_hook('onShow', args);
  2811. });
  2812. }
  2813. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2814. wx.onAppHide(function () {
  2815. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2816. args[_key6] = arguments[_key6];
  2817. }
  2818. vm.__call_hook('onHide', args);
  2819. });
  2820. }
  2821. if (isFn(appOptions.onLaunch)) {
  2822. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2823. vm.__call_hook('onLaunch', args);
  2824. }
  2825. return vm;
  2826. }
  2827. function createPlugin(vm) {
  2828. var appOptions = parseApp(vm);
  2829. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2830. wx.onAppShow(function () {
  2831. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2832. args[_key7] = arguments[_key7];
  2833. }
  2834. vm.__call_hook('onShow', args);
  2835. });
  2836. }
  2837. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2838. wx.onAppHide(function () {
  2839. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2840. args[_key8] = arguments[_key8];
  2841. }
  2842. vm.__call_hook('onHide', args);
  2843. });
  2844. }
  2845. if (isFn(appOptions.onLaunch)) {
  2846. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2847. vm.__call_hook('onLaunch', args);
  2848. }
  2849. return vm;
  2850. }
  2851. todos.forEach(function (todoApi) {
  2852. protocols[todoApi] = false;
  2853. });
  2854. canIUses.forEach(function (canIUseApi) {
  2855. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2856. if (!wx.canIUse(apiName)) {
  2857. protocols[canIUseApi] = false;
  2858. }
  2859. });
  2860. var uni = {};
  2861. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2862. uni = new Proxy({}, {
  2863. get: function get(target, name) {
  2864. if (hasOwn(target, name)) {
  2865. return target[name];
  2866. }
  2867. if (baseApi[name]) {
  2868. return baseApi[name];
  2869. }
  2870. if (api[name]) {
  2871. return promisify(name, api[name]);
  2872. }
  2873. {
  2874. if (extraApi[name]) {
  2875. return promisify(name, extraApi[name]);
  2876. }
  2877. if (todoApis[name]) {
  2878. return promisify(name, todoApis[name]);
  2879. }
  2880. }
  2881. if (eventApi[name]) {
  2882. return eventApi[name];
  2883. }
  2884. return promisify(name, wrapper(name, wx[name]));
  2885. },
  2886. set: function set(target, name, value) {
  2887. target[name] = value;
  2888. return true;
  2889. }
  2890. });
  2891. } else {
  2892. Object.keys(baseApi).forEach(function (name) {
  2893. uni[name] = baseApi[name];
  2894. });
  2895. {
  2896. Object.keys(todoApis).forEach(function (name) {
  2897. uni[name] = promisify(name, todoApis[name]);
  2898. });
  2899. Object.keys(extraApi).forEach(function (name) {
  2900. uni[name] = promisify(name, todoApis[name]);
  2901. });
  2902. }
  2903. Object.keys(eventApi).forEach(function (name) {
  2904. uni[name] = eventApi[name];
  2905. });
  2906. Object.keys(api).forEach(function (name) {
  2907. uni[name] = promisify(name, api[name]);
  2908. });
  2909. Object.keys(wx).forEach(function (name) {
  2910. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2911. uni[name] = promisify(name, wrapper(name, wx[name]));
  2912. }
  2913. });
  2914. }
  2915. wx.createApp = createApp;
  2916. wx.createPage = createPage;
  2917. wx.createComponent = createComponent;
  2918. wx.createSubpackageApp = createSubpackageApp;
  2919. wx.createPlugin = createPlugin;
  2920. var uni$1 = uni;
  2921. var _default = uni$1;
  2922. exports.default = _default;
  2923. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  2924. /***/ }),
  2925. /***/ 20:
  2926. /*!****************************************************************!*\
  2927. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2928. \****************************************************************/
  2929. /*! no static exports found */
  2930. /***/ (function(module, exports) {
  2931. function _iterableToArray(iter) {
  2932. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2933. }
  2934. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2935. /***/ }),
  2936. /***/ 21:
  2937. /*!******************************************************************!*\
  2938. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2939. \******************************************************************/
  2940. /*! no static exports found */
  2941. /***/ (function(module, exports) {
  2942. function _nonIterableSpread() {
  2943. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2944. }
  2945. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2946. /***/ }),
  2947. /***/ 210:
  2948. /*!*********************************************!*\
  2949. !*** D:/工作/项目2/华景美业/hjmy/utils/rocessor.js ***!
  2950. \*********************************************/
  2951. /*! no static exports found */
  2952. /***/ (function(module, exports, __webpack_require__) {
  2953. "use strict";
  2954. /* WEBPACK VAR INJECTION */(function(wx) {
  2955. Object.defineProperty(exports, "__esModule", {
  2956. value: true
  2957. });
  2958. exports.getMoneyStyle = getMoneyStyle;
  2959. exports.getTime = getTime;
  2960. exports.isCardNo = isCardNo;
  2961. exports.openMap = openMap;
  2962. exports.timeComputed = timeComputed;
  2963. //身份证验证
  2964. function isCardNo(card) {
  2965. // 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
  2966. var reg = /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/;
  2967. if (reg.test(card) === false) {
  2968. console.log(card);
  2969. return false;
  2970. }
  2971. return true;
  2972. }
  2973. // 金额显示变化
  2974. function getMoneyStyle() {
  2975. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  2976. if (typeof value == 'string') {
  2977. value = (+value).toFixed(2);
  2978. }
  2979. if (typeof value == 'number') {
  2980. value = value.toFixed(2);
  2981. }
  2982. // 将字符串转为数组
  2983. var n = value.split("");
  2984. // 反转数组并复制循环处理
  2985. var arr = n.reverse().map(function (e, ind, ar) {
  2986. // 判断当前下标是否为3的整数倍数且不为最后一个下标
  2987. if (ind % 3 == 0 && ind / 3 > 1 && ind != ar.length) {
  2988. return e + ',';
  2989. } else {
  2990. return e;
  2991. }
  2992. });
  2993. // 反转数组回复原来排序并合并回字符串
  2994. arr = arr.reverse().join('');
  2995. return arr;
  2996. }
  2997. // 倒计时计算
  2998. // 计算倒计时时间
  2999. function timeComputed(time) {
  3000. // 获取当前时间
  3001. var actTime = new Date().getTime();
  3002. // 获取到期时间
  3003. var stopTime = time - actTime;
  3004. // 判断是否小于0
  3005. if (stopTime < 0) {
  3006. stopTime = stopTime * -1;
  3007. }
  3008. var day = Math.floor(stopTime / 1000 / 60 / 60 / 24); //获取剩余天数
  3009. var hours = Math.floor(stopTime / 1000 / 60 / 60 % 24); //获取剩余小时数
  3010. var minutes = Math.floor(stopTime / 1000 / 60 % 60); //获取分钟
  3011. var seconds = Math.floor(stopTime / 1000 % 60); //获取秒数
  3012. return {
  3013. hours: hours,
  3014. //倒计时小时数
  3015. minutes: minutes,
  3016. //倒计时分钟数
  3017. seconds: seconds,
  3018. //倒计时秒数
  3019. day: day //倒计时天数
  3020. };
  3021. }
  3022. // 调用打开地图方法
  3023. function openMap(e) {
  3024. var that = this;
  3025. return new Promise(function (resolve, reject) {
  3026. wx.getSetting({
  3027. success: function success(res) {
  3028. //这里判断是否有地位权限
  3029. if (!res.authSetting['scope.userLocation']) {
  3030. wx.showModal({
  3031. title: '提示',
  3032. content: '请求获取位置权限',
  3033. success: function success(res) {
  3034. if (res.confirm == false) {
  3035. // 授权失败
  3036. reject();
  3037. return false;
  3038. }
  3039. wx.openSetting({
  3040. success: function success(res) {
  3041. //如果再次拒绝则返回页面并提示
  3042. if (!res.authSetting['scope.userLocation']) {
  3043. wx.showToast({
  3044. title: '此功能需获取位置信息,请重新设置',
  3045. duration: 3000,
  3046. icon: 'none'
  3047. });
  3048. } else {
  3049. //允许授权,调用地图
  3050. resolve();
  3051. }
  3052. }
  3053. });
  3054. }
  3055. });
  3056. } else {
  3057. //如果有定位权限,调用地图
  3058. resolve();
  3059. }
  3060. }
  3061. });
  3062. });
  3063. }
  3064. //时间戳转换成时间
  3065. function getTime(time) {
  3066. var num = 13 - (time + '').length;
  3067. var l = 1; //倍数
  3068. for (var i = 0; i < num; i++) {
  3069. l += '0';
  3070. }
  3071. // 重新解析为数字
  3072. l = parseInt(l);
  3073. var date = new Date(parseInt(time) * l);
  3074. var year = date.getFullYear();
  3075. var mon = date.getMonth() + 1;
  3076. var day = date.getDate();
  3077. var hours = date.getHours();
  3078. var minu = date.getMinutes();
  3079. var sec = date.getSeconds();
  3080. return year + '-' + mon + '-' + day + ' ' + hours + ':' + minu + ':' + sec;
  3081. }
  3082. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  3083. /***/ }),
  3084. /***/ 211:
  3085. /*!*****************************************!*\
  3086. !*** D:/工作/项目2/华景美业/hjmy/api/wallet.js ***!
  3087. \*****************************************/
  3088. /*! no static exports found */
  3089. /***/ (function(module, exports, __webpack_require__) {
  3090. "use strict";
  3091. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  3092. Object.defineProperty(exports, "__esModule", {
  3093. value: true
  3094. });
  3095. exports.aliInfo = aliInfo;
  3096. exports.balance = balance;
  3097. exports.bankInfo = bankInfo;
  3098. exports.extractBank = extractBank;
  3099. exports.extractCash = extractCash;
  3100. exports.getBank = getBank;
  3101. exports.integral = integral;
  3102. exports.rechargeRoutine = rechargeRoutine;
  3103. exports.setAliInfo = setAliInfo;
  3104. exports.setBank = setBank;
  3105. exports.spreadCommission = spreadCommission;
  3106. exports.userBalance = userBalance;
  3107. exports.yue = yue;
  3108. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  3109. // 获取用户消费记录
  3110. function spreadCommission(data, state) {
  3111. return (0, _request.default)({
  3112. url: '/api/spread/commission/' + state,
  3113. method: 'get',
  3114. data: data
  3115. });
  3116. }
  3117. // 获取账户余额
  3118. function userBalance(data) {
  3119. return (0, _request.default)({
  3120. url: '/api/user/balance',
  3121. method: 'get',
  3122. data: data
  3123. });
  3124. }
  3125. // 提现
  3126. function extractCash(data) {
  3127. return (0, _request.default)({
  3128. url: '/api/extract/cash',
  3129. method: 'post',
  3130. data: data
  3131. });
  3132. }
  3133. // 提现信息
  3134. function extractBank(data) {
  3135. return (0, _request.default)({
  3136. url: '/api/extract/bank',
  3137. method: 'get',
  3138. data: data
  3139. });
  3140. }
  3141. // 小程序充值
  3142. function rechargeRoutine(data) {
  3143. return (0, _request.default)({
  3144. url: '/api/recharge/routine',
  3145. method: 'post',
  3146. data: data
  3147. });
  3148. }
  3149. // 获取提现支付宝账号
  3150. function aliInfo(data) {
  3151. return (0, _request.default)({
  3152. url: '/api/ali/info',
  3153. method: 'get',
  3154. data: data
  3155. });
  3156. }
  3157. //获取默认银行卡账号
  3158. function bankInfo(data) {
  3159. return (0, _request.default)({
  3160. url: '/api/bank/info',
  3161. method: 'get',
  3162. data: data
  3163. });
  3164. }
  3165. // 保存提现支付宝账号
  3166. function setAliInfo(data) {
  3167. return (0, _request.default)({
  3168. url: '/api/ali/edit',
  3169. method: 'post',
  3170. data: data
  3171. });
  3172. }
  3173. // 账户余额
  3174. function balance(data) {
  3175. return (0, _request.default)({
  3176. url: '/api/user/balance',
  3177. method: 'get',
  3178. data: data
  3179. });
  3180. }
  3181. //
  3182. function yue(data) {
  3183. return (0, _request.default)({
  3184. url: '/api/now_money/list',
  3185. method: 'get',
  3186. data: data
  3187. });
  3188. }
  3189. function integral(data) {
  3190. return (0, _request.default)({
  3191. url: '/api/integral/list',
  3192. method: 'get',
  3193. data: data
  3194. });
  3195. }
  3196. function setBank(data) {
  3197. return (0, _request.default)({
  3198. url: '/api/auction/pay',
  3199. method: 'post',
  3200. data: data
  3201. });
  3202. }
  3203. function getBank(data) {
  3204. return (0, _request.default)({
  3205. url: '/api/auction/pay_list',
  3206. method: 'get',
  3207. data: data
  3208. });
  3209. }
  3210. /***/ }),
  3211. /***/ 22:
  3212. /*!*************************************************************!*\
  3213. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  3214. \*************************************************************/
  3215. /*! no static exports found */
  3216. /***/ (function(module, exports, __webpack_require__) {
  3217. "use strict";
  3218. /* WEBPACK VAR INJECTION */(function(uni, global) {
  3219. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  3220. Object.defineProperty(exports, "__esModule", {
  3221. value: true
  3222. });
  3223. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  3224. exports.compileI18nJsonStr = compileI18nJsonStr;
  3225. exports.hasI18nJson = hasI18nJson;
  3226. exports.initVueI18n = initVueI18n;
  3227. exports.isI18nStr = isI18nStr;
  3228. exports.isString = void 0;
  3229. exports.normalizeLocale = normalizeLocale;
  3230. exports.parseI18nJson = parseI18nJson;
  3231. exports.resolveLocale = resolveLocale;
  3232. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  3233. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  3234. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  3235. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  3236. var isArray = Array.isArray;
  3237. var isObject = function isObject(val) {
  3238. return val !== null && (0, _typeof2.default)(val) === 'object';
  3239. };
  3240. var defaultDelimiters = ['{', '}'];
  3241. var BaseFormatter = /*#__PURE__*/function () {
  3242. function BaseFormatter() {
  3243. (0, _classCallCheck2.default)(this, BaseFormatter);
  3244. this._caches = Object.create(null);
  3245. }
  3246. (0, _createClass2.default)(BaseFormatter, [{
  3247. key: "interpolate",
  3248. value: function interpolate(message, values) {
  3249. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  3250. if (!values) {
  3251. return [message];
  3252. }
  3253. var tokens = this._caches[message];
  3254. if (!tokens) {
  3255. tokens = parse(message, delimiters);
  3256. this._caches[message] = tokens;
  3257. }
  3258. return compile(tokens, values);
  3259. }
  3260. }]);
  3261. return BaseFormatter;
  3262. }();
  3263. exports.Formatter = BaseFormatter;
  3264. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  3265. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  3266. function parse(format, _ref) {
  3267. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  3268. startDelimiter = _ref2[0],
  3269. endDelimiter = _ref2[1];
  3270. var tokens = [];
  3271. var position = 0;
  3272. var text = '';
  3273. while (position < format.length) {
  3274. var char = format[position++];
  3275. if (char === startDelimiter) {
  3276. if (text) {
  3277. tokens.push({
  3278. type: 'text',
  3279. value: text
  3280. });
  3281. }
  3282. text = '';
  3283. var sub = '';
  3284. char = format[position++];
  3285. while (char !== undefined && char !== endDelimiter) {
  3286. sub += char;
  3287. char = format[position++];
  3288. }
  3289. var isClosed = char === endDelimiter;
  3290. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  3291. tokens.push({
  3292. value: sub,
  3293. type: type
  3294. });
  3295. }
  3296. // else if (char === '%') {
  3297. // // when found rails i18n syntax, skip text capture
  3298. // if (format[position] !== '{') {
  3299. // text += char
  3300. // }
  3301. // }
  3302. else {
  3303. text += char;
  3304. }
  3305. }
  3306. text && tokens.push({
  3307. type: 'text',
  3308. value: text
  3309. });
  3310. return tokens;
  3311. }
  3312. function compile(tokens, values) {
  3313. var compiled = [];
  3314. var index = 0;
  3315. var mode = isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  3316. if (mode === 'unknown') {
  3317. return compiled;
  3318. }
  3319. while (index < tokens.length) {
  3320. var token = tokens[index];
  3321. switch (token.type) {
  3322. case 'text':
  3323. compiled.push(token.value);
  3324. break;
  3325. case 'list':
  3326. compiled.push(values[parseInt(token.value, 10)]);
  3327. break;
  3328. case 'named':
  3329. if (mode === 'named') {
  3330. compiled.push(values[token.value]);
  3331. } else {
  3332. if (true) {
  3333. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  3334. }
  3335. }
  3336. break;
  3337. case 'unknown':
  3338. if (true) {
  3339. console.warn("Detect 'unknown' type of token!");
  3340. }
  3341. break;
  3342. }
  3343. index++;
  3344. }
  3345. return compiled;
  3346. }
  3347. var LOCALE_ZH_HANS = 'zh-Hans';
  3348. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  3349. var LOCALE_ZH_HANT = 'zh-Hant';
  3350. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  3351. var LOCALE_EN = 'en';
  3352. exports.LOCALE_EN = LOCALE_EN;
  3353. var LOCALE_FR = 'fr';
  3354. exports.LOCALE_FR = LOCALE_FR;
  3355. var LOCALE_ES = 'es';
  3356. exports.LOCALE_ES = LOCALE_ES;
  3357. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3358. var hasOwn = function hasOwn(val, key) {
  3359. return hasOwnProperty.call(val, key);
  3360. };
  3361. var defaultFormatter = new BaseFormatter();
  3362. function include(str, parts) {
  3363. return !!parts.find(function (part) {
  3364. return str.indexOf(part) !== -1;
  3365. });
  3366. }
  3367. function startsWith(str, parts) {
  3368. return parts.find(function (part) {
  3369. return str.indexOf(part) === 0;
  3370. });
  3371. }
  3372. function normalizeLocale(locale, messages) {
  3373. if (!locale) {
  3374. return;
  3375. }
  3376. locale = locale.trim().replace(/_/g, '-');
  3377. if (messages && messages[locale]) {
  3378. return locale;
  3379. }
  3380. locale = locale.toLowerCase();
  3381. if (locale.indexOf('zh') === 0) {
  3382. if (locale.indexOf('-hans') > -1) {
  3383. return LOCALE_ZH_HANS;
  3384. }
  3385. if (locale.indexOf('-hant') > -1) {
  3386. return LOCALE_ZH_HANT;
  3387. }
  3388. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  3389. return LOCALE_ZH_HANT;
  3390. }
  3391. return LOCALE_ZH_HANS;
  3392. }
  3393. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  3394. if (lang) {
  3395. return lang;
  3396. }
  3397. }
  3398. var I18n = /*#__PURE__*/function () {
  3399. function I18n(_ref3) {
  3400. var locale = _ref3.locale,
  3401. fallbackLocale = _ref3.fallbackLocale,
  3402. messages = _ref3.messages,
  3403. watcher = _ref3.watcher,
  3404. formater = _ref3.formater;
  3405. (0, _classCallCheck2.default)(this, I18n);
  3406. this.locale = LOCALE_EN;
  3407. this.fallbackLocale = LOCALE_EN;
  3408. this.message = {};
  3409. this.messages = {};
  3410. this.watchers = [];
  3411. if (fallbackLocale) {
  3412. this.fallbackLocale = fallbackLocale;
  3413. }
  3414. this.formater = formater || defaultFormatter;
  3415. this.messages = messages || {};
  3416. this.setLocale(locale || LOCALE_EN);
  3417. if (watcher) {
  3418. this.watchLocale(watcher);
  3419. }
  3420. }
  3421. (0, _createClass2.default)(I18n, [{
  3422. key: "setLocale",
  3423. value: function setLocale(locale) {
  3424. var _this = this;
  3425. var oldLocale = this.locale;
  3426. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  3427. if (!this.messages[this.locale]) {
  3428. // 可能初始化时不存在
  3429. this.messages[this.locale] = {};
  3430. }
  3431. this.message = this.messages[this.locale];
  3432. // 仅发生变化时,通知
  3433. if (oldLocale !== this.locale) {
  3434. this.watchers.forEach(function (watcher) {
  3435. watcher(_this.locale, oldLocale);
  3436. });
  3437. }
  3438. }
  3439. }, {
  3440. key: "getLocale",
  3441. value: function getLocale() {
  3442. return this.locale;
  3443. }
  3444. }, {
  3445. key: "watchLocale",
  3446. value: function watchLocale(fn) {
  3447. var _this2 = this;
  3448. var index = this.watchers.push(fn) - 1;
  3449. return function () {
  3450. _this2.watchers.splice(index, 1);
  3451. };
  3452. }
  3453. }, {
  3454. key: "add",
  3455. value: function add(locale, message) {
  3456. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  3457. var curMessages = this.messages[locale];
  3458. if (curMessages) {
  3459. if (override) {
  3460. Object.assign(curMessages, message);
  3461. } else {
  3462. Object.keys(message).forEach(function (key) {
  3463. if (!hasOwn(curMessages, key)) {
  3464. curMessages[key] = message[key];
  3465. }
  3466. });
  3467. }
  3468. } else {
  3469. this.messages[locale] = message;
  3470. }
  3471. }
  3472. }, {
  3473. key: "f",
  3474. value: function f(message, values, delimiters) {
  3475. return this.formater.interpolate(message, values, delimiters).join('');
  3476. }
  3477. }, {
  3478. key: "t",
  3479. value: function t(key, locale, values) {
  3480. var message = this.message;
  3481. if (typeof locale === 'string') {
  3482. locale = normalizeLocale(locale, this.messages);
  3483. locale && (message = this.messages[locale]);
  3484. } else {
  3485. values = locale;
  3486. }
  3487. if (!hasOwn(message, key)) {
  3488. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  3489. return key;
  3490. }
  3491. return this.formater.interpolate(message[key], values).join('');
  3492. }
  3493. }]);
  3494. return I18n;
  3495. }();
  3496. exports.I18n = I18n;
  3497. function watchAppLocale(appVm, i18n) {
  3498. // 需要保证 watch 的触发在组件渲染之前
  3499. if (appVm.$watchLocale) {
  3500. // vue2
  3501. appVm.$watchLocale(function (newLocale) {
  3502. i18n.setLocale(newLocale);
  3503. });
  3504. } else {
  3505. appVm.$watch(function () {
  3506. return appVm.$locale;
  3507. }, function (newLocale) {
  3508. i18n.setLocale(newLocale);
  3509. });
  3510. }
  3511. }
  3512. function getDefaultLocale() {
  3513. if (typeof uni !== 'undefined' && uni.getLocale) {
  3514. return uni.getLocale();
  3515. }
  3516. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  3517. if (typeof global !== 'undefined' && global.getLocale) {
  3518. return global.getLocale();
  3519. }
  3520. return LOCALE_EN;
  3521. }
  3522. function initVueI18n(locale) {
  3523. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3524. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  3525. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  3526. // 兼容旧版本入参
  3527. if (typeof locale !== 'string') {
  3528. var _ref4 = [messages, locale];
  3529. locale = _ref4[0];
  3530. messages = _ref4[1];
  3531. }
  3532. if (typeof locale !== 'string') {
  3533. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  3534. locale = getDefaultLocale();
  3535. }
  3536. if (typeof fallbackLocale !== 'string') {
  3537. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  3538. }
  3539. var i18n = new I18n({
  3540. locale: locale,
  3541. fallbackLocale: fallbackLocale,
  3542. messages: messages,
  3543. watcher: watcher
  3544. });
  3545. var _t = function t(key, values) {
  3546. if (typeof getApp !== 'function') {
  3547. // app view
  3548. /* eslint-disable no-func-assign */
  3549. _t = function t(key, values) {
  3550. return i18n.t(key, values);
  3551. };
  3552. } else {
  3553. var isWatchedAppLocale = false;
  3554. _t = function t(key, values) {
  3555. var appVm = getApp().$vm;
  3556. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  3557. // options: {
  3558. // type: Array,
  3559. // default () {
  3560. // return [{
  3561. // icon: 'shop',
  3562. // text: t("uni-goods-nav.options.shop"),
  3563. // }, {
  3564. // icon: 'cart',
  3565. // text: t("uni-goods-nav.options.cart")
  3566. // }]
  3567. // }
  3568. // },
  3569. if (appVm) {
  3570. // 触发响应式
  3571. appVm.$locale;
  3572. if (!isWatchedAppLocale) {
  3573. isWatchedAppLocale = true;
  3574. watchAppLocale(appVm, i18n);
  3575. }
  3576. }
  3577. return i18n.t(key, values);
  3578. };
  3579. }
  3580. return _t(key, values);
  3581. };
  3582. return {
  3583. i18n: i18n,
  3584. f: function f(message, values, delimiters) {
  3585. return i18n.f(message, values, delimiters);
  3586. },
  3587. t: function t(key, values) {
  3588. return _t(key, values);
  3589. },
  3590. add: function add(locale, message) {
  3591. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  3592. return i18n.add(locale, message, override);
  3593. },
  3594. watch: function watch(fn) {
  3595. return i18n.watchLocale(fn);
  3596. },
  3597. getLocale: function getLocale() {
  3598. return i18n.getLocale();
  3599. },
  3600. setLocale: function setLocale(newLocale) {
  3601. return i18n.setLocale(newLocale);
  3602. }
  3603. };
  3604. }
  3605. var isString = function isString(val) {
  3606. return typeof val === 'string';
  3607. };
  3608. exports.isString = isString;
  3609. var formater;
  3610. function hasI18nJson(jsonObj, delimiters) {
  3611. if (!formater) {
  3612. formater = new BaseFormatter();
  3613. }
  3614. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3615. var value = jsonObj[key];
  3616. if (isString(value)) {
  3617. if (isI18nStr(value, delimiters)) {
  3618. return true;
  3619. }
  3620. } else {
  3621. return hasI18nJson(value, delimiters);
  3622. }
  3623. });
  3624. }
  3625. function parseI18nJson(jsonObj, values, delimiters) {
  3626. if (!formater) {
  3627. formater = new BaseFormatter();
  3628. }
  3629. walkJsonObj(jsonObj, function (jsonObj, key) {
  3630. var value = jsonObj[key];
  3631. if (isString(value)) {
  3632. if (isI18nStr(value, delimiters)) {
  3633. jsonObj[key] = compileStr(value, values, delimiters);
  3634. }
  3635. } else {
  3636. parseI18nJson(value, values, delimiters);
  3637. }
  3638. });
  3639. return jsonObj;
  3640. }
  3641. function compileI18nJsonStr(jsonStr, _ref5) {
  3642. var locale = _ref5.locale,
  3643. locales = _ref5.locales,
  3644. delimiters = _ref5.delimiters;
  3645. if (!isI18nStr(jsonStr, delimiters)) {
  3646. return jsonStr;
  3647. }
  3648. if (!formater) {
  3649. formater = new BaseFormatter();
  3650. }
  3651. var localeValues = [];
  3652. Object.keys(locales).forEach(function (name) {
  3653. if (name !== locale) {
  3654. localeValues.push({
  3655. locale: name,
  3656. values: locales[name]
  3657. });
  3658. }
  3659. });
  3660. localeValues.unshift({
  3661. locale: locale,
  3662. values: locales[locale]
  3663. });
  3664. try {
  3665. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3666. } catch (e) {}
  3667. return jsonStr;
  3668. }
  3669. function isI18nStr(value, delimiters) {
  3670. return value.indexOf(delimiters[0]) > -1;
  3671. }
  3672. function compileStr(value, values, delimiters) {
  3673. return formater.interpolate(value, values, delimiters).join('');
  3674. }
  3675. function compileValue(jsonObj, key, localeValues, delimiters) {
  3676. var value = jsonObj[key];
  3677. if (isString(value)) {
  3678. // 存在国际化
  3679. if (isI18nStr(value, delimiters)) {
  3680. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3681. if (localeValues.length > 1) {
  3682. // 格式化国际化语言
  3683. var valueLocales = jsonObj[key + 'Locales'] = {};
  3684. localeValues.forEach(function (localValue) {
  3685. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3686. });
  3687. }
  3688. }
  3689. } else {
  3690. compileJsonObj(value, localeValues, delimiters);
  3691. }
  3692. }
  3693. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3694. walkJsonObj(jsonObj, function (jsonObj, key) {
  3695. compileValue(jsonObj, key, localeValues, delimiters);
  3696. });
  3697. return jsonObj;
  3698. }
  3699. function walkJsonObj(jsonObj, walk) {
  3700. if (isArray(jsonObj)) {
  3701. for (var i = 0; i < jsonObj.length; i++) {
  3702. if (walk(jsonObj, i)) {
  3703. return true;
  3704. }
  3705. }
  3706. } else if (isObject(jsonObj)) {
  3707. for (var key in jsonObj) {
  3708. if (walk(jsonObj, key)) {
  3709. return true;
  3710. }
  3711. }
  3712. }
  3713. return false;
  3714. }
  3715. function resolveLocale(locales) {
  3716. return function (locale) {
  3717. if (!locale) {
  3718. return locale;
  3719. }
  3720. locale = normalizeLocale(locale) || locale;
  3721. return resolveLocaleChain(locale).find(function (locale) {
  3722. return locales.indexOf(locale) > -1;
  3723. });
  3724. };
  3725. }
  3726. function resolveLocaleChain(locale) {
  3727. var chain = [];
  3728. var tokens = locale.split('-');
  3729. while (tokens.length) {
  3730. chain.push(tokens.join('-'));
  3731. tokens.pop();
  3732. }
  3733. return chain;
  3734. }
  3735. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  3736. /***/ }),
  3737. /***/ 23:
  3738. /*!***************************************************************!*\
  3739. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3740. \***************************************************************/
  3741. /*! no static exports found */
  3742. /***/ (function(module, exports) {
  3743. function _classCallCheck(instance, Constructor) {
  3744. if (!(instance instanceof Constructor)) {
  3745. throw new TypeError("Cannot call a class as a function");
  3746. }
  3747. }
  3748. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3749. /***/ }),
  3750. /***/ 24:
  3751. /*!************************************************************!*\
  3752. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3753. \************************************************************/
  3754. /*! no static exports found */
  3755. /***/ (function(module, exports, __webpack_require__) {
  3756. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3757. function _defineProperties(target, props) {
  3758. for (var i = 0; i < props.length; i++) {
  3759. var descriptor = props[i];
  3760. descriptor.enumerable = descriptor.enumerable || false;
  3761. descriptor.configurable = true;
  3762. if ("value" in descriptor) descriptor.writable = true;
  3763. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3764. }
  3765. }
  3766. function _createClass(Constructor, protoProps, staticProps) {
  3767. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3768. if (staticProps) _defineProperties(Constructor, staticProps);
  3769. Object.defineProperty(Constructor, "prototype", {
  3770. writable: false
  3771. });
  3772. return Constructor;
  3773. }
  3774. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3775. /***/ }),
  3776. /***/ 25:
  3777. /*!******************************************************************************************!*\
  3778. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3779. \******************************************************************************************/
  3780. /*! exports provided: default */
  3781. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3782. "use strict";
  3783. __webpack_require__.r(__webpack_exports__);
  3784. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3785. * Vue.js v2.6.11
  3786. * (c) 2014-2022 Evan You
  3787. * Released under the MIT License.
  3788. */
  3789. /* */
  3790. var emptyObject = Object.freeze({});
  3791. // These helpers produce better VM code in JS engines due to their
  3792. // explicitness and function inlining.
  3793. function isUndef (v) {
  3794. return v === undefined || v === null
  3795. }
  3796. function isDef (v) {
  3797. return v !== undefined && v !== null
  3798. }
  3799. function isTrue (v) {
  3800. return v === true
  3801. }
  3802. function isFalse (v) {
  3803. return v === false
  3804. }
  3805. /**
  3806. * Check if value is primitive.
  3807. */
  3808. function isPrimitive (value) {
  3809. return (
  3810. typeof value === 'string' ||
  3811. typeof value === 'number' ||
  3812. // $flow-disable-line
  3813. typeof value === 'symbol' ||
  3814. typeof value === 'boolean'
  3815. )
  3816. }
  3817. /**
  3818. * Quick object check - this is primarily used to tell
  3819. * Objects from primitive values when we know the value
  3820. * is a JSON-compliant type.
  3821. */
  3822. function isObject (obj) {
  3823. return obj !== null && typeof obj === 'object'
  3824. }
  3825. /**
  3826. * Get the raw type string of a value, e.g., [object Object].
  3827. */
  3828. var _toString = Object.prototype.toString;
  3829. function toRawType (value) {
  3830. return _toString.call(value).slice(8, -1)
  3831. }
  3832. /**
  3833. * Strict object type check. Only returns true
  3834. * for plain JavaScript objects.
  3835. */
  3836. function isPlainObject (obj) {
  3837. return _toString.call(obj) === '[object Object]'
  3838. }
  3839. function isRegExp (v) {
  3840. return _toString.call(v) === '[object RegExp]'
  3841. }
  3842. /**
  3843. * Check if val is a valid array index.
  3844. */
  3845. function isValidArrayIndex (val) {
  3846. var n = parseFloat(String(val));
  3847. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3848. }
  3849. function isPromise (val) {
  3850. return (
  3851. isDef(val) &&
  3852. typeof val.then === 'function' &&
  3853. typeof val.catch === 'function'
  3854. )
  3855. }
  3856. /**
  3857. * Convert a value to a string that is actually rendered.
  3858. */
  3859. function toString (val) {
  3860. return val == null
  3861. ? ''
  3862. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3863. ? JSON.stringify(val, null, 2)
  3864. : String(val)
  3865. }
  3866. /**
  3867. * Convert an input value to a number for persistence.
  3868. * If the conversion fails, return original string.
  3869. */
  3870. function toNumber (val) {
  3871. var n = parseFloat(val);
  3872. return isNaN(n) ? val : n
  3873. }
  3874. /**
  3875. * Make a map and return a function for checking if a key
  3876. * is in that map.
  3877. */
  3878. function makeMap (
  3879. str,
  3880. expectsLowerCase
  3881. ) {
  3882. var map = Object.create(null);
  3883. var list = str.split(',');
  3884. for (var i = 0; i < list.length; i++) {
  3885. map[list[i]] = true;
  3886. }
  3887. return expectsLowerCase
  3888. ? function (val) { return map[val.toLowerCase()]; }
  3889. : function (val) { return map[val]; }
  3890. }
  3891. /**
  3892. * Check if a tag is a built-in tag.
  3893. */
  3894. var isBuiltInTag = makeMap('slot,component', true);
  3895. /**
  3896. * Check if an attribute is a reserved attribute.
  3897. */
  3898. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3899. /**
  3900. * Remove an item from an array.
  3901. */
  3902. function remove (arr, item) {
  3903. if (arr.length) {
  3904. var index = arr.indexOf(item);
  3905. if (index > -1) {
  3906. return arr.splice(index, 1)
  3907. }
  3908. }
  3909. }
  3910. /**
  3911. * Check whether an object has the property.
  3912. */
  3913. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3914. function hasOwn (obj, key) {
  3915. return hasOwnProperty.call(obj, key)
  3916. }
  3917. /**
  3918. * Create a cached version of a pure function.
  3919. */
  3920. function cached (fn) {
  3921. var cache = Object.create(null);
  3922. return (function cachedFn (str) {
  3923. var hit = cache[str];
  3924. return hit || (cache[str] = fn(str))
  3925. })
  3926. }
  3927. /**
  3928. * Camelize a hyphen-delimited string.
  3929. */
  3930. var camelizeRE = /-(\w)/g;
  3931. var camelize = cached(function (str) {
  3932. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3933. });
  3934. /**
  3935. * Capitalize a string.
  3936. */
  3937. var capitalize = cached(function (str) {
  3938. return str.charAt(0).toUpperCase() + str.slice(1)
  3939. });
  3940. /**
  3941. * Hyphenate a camelCase string.
  3942. */
  3943. var hyphenateRE = /\B([A-Z])/g;
  3944. var hyphenate = cached(function (str) {
  3945. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3946. });
  3947. /**
  3948. * Simple bind polyfill for environments that do not support it,
  3949. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3950. * since native bind is now performant enough in most browsers.
  3951. * But removing it would mean breaking code that was able to run in
  3952. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3953. */
  3954. /* istanbul ignore next */
  3955. function polyfillBind (fn, ctx) {
  3956. function boundFn (a) {
  3957. var l = arguments.length;
  3958. return l
  3959. ? l > 1
  3960. ? fn.apply(ctx, arguments)
  3961. : fn.call(ctx, a)
  3962. : fn.call(ctx)
  3963. }
  3964. boundFn._length = fn.length;
  3965. return boundFn
  3966. }
  3967. function nativeBind (fn, ctx) {
  3968. return fn.bind(ctx)
  3969. }
  3970. var bind = Function.prototype.bind
  3971. ? nativeBind
  3972. : polyfillBind;
  3973. /**
  3974. * Convert an Array-like object to a real Array.
  3975. */
  3976. function toArray (list, start) {
  3977. start = start || 0;
  3978. var i = list.length - start;
  3979. var ret = new Array(i);
  3980. while (i--) {
  3981. ret[i] = list[i + start];
  3982. }
  3983. return ret
  3984. }
  3985. /**
  3986. * Mix properties into target object.
  3987. */
  3988. function extend (to, _from) {
  3989. for (var key in _from) {
  3990. to[key] = _from[key];
  3991. }
  3992. return to
  3993. }
  3994. /**
  3995. * Merge an Array of Objects into a single Object.
  3996. */
  3997. function toObject (arr) {
  3998. var res = {};
  3999. for (var i = 0; i < arr.length; i++) {
  4000. if (arr[i]) {
  4001. extend(res, arr[i]);
  4002. }
  4003. }
  4004. return res
  4005. }
  4006. /* eslint-disable no-unused-vars */
  4007. /**
  4008. * Perform no operation.
  4009. * Stubbing args to make Flow happy without leaving useless transpiled code
  4010. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  4011. */
  4012. function noop (a, b, c) {}
  4013. /**
  4014. * Always return false.
  4015. */
  4016. var no = function (a, b, c) { return false; };
  4017. /* eslint-enable no-unused-vars */
  4018. /**
  4019. * Return the same value.
  4020. */
  4021. var identity = function (_) { return _; };
  4022. /**
  4023. * Check if two values are loosely equal - that is,
  4024. * if they are plain objects, do they have the same shape?
  4025. */
  4026. function looseEqual (a, b) {
  4027. if (a === b) { return true }
  4028. var isObjectA = isObject(a);
  4029. var isObjectB = isObject(b);
  4030. if (isObjectA && isObjectB) {
  4031. try {
  4032. var isArrayA = Array.isArray(a);
  4033. var isArrayB = Array.isArray(b);
  4034. if (isArrayA && isArrayB) {
  4035. return a.length === b.length && a.every(function (e, i) {
  4036. return looseEqual(e, b[i])
  4037. })
  4038. } else if (a instanceof Date && b instanceof Date) {
  4039. return a.getTime() === b.getTime()
  4040. } else if (!isArrayA && !isArrayB) {
  4041. var keysA = Object.keys(a);
  4042. var keysB = Object.keys(b);
  4043. return keysA.length === keysB.length && keysA.every(function (key) {
  4044. return looseEqual(a[key], b[key])
  4045. })
  4046. } else {
  4047. /* istanbul ignore next */
  4048. return false
  4049. }
  4050. } catch (e) {
  4051. /* istanbul ignore next */
  4052. return false
  4053. }
  4054. } else if (!isObjectA && !isObjectB) {
  4055. return String(a) === String(b)
  4056. } else {
  4057. return false
  4058. }
  4059. }
  4060. /**
  4061. * Return the first index at which a loosely equal value can be
  4062. * found in the array (if value is a plain object, the array must
  4063. * contain an object of the same shape), or -1 if it is not present.
  4064. */
  4065. function looseIndexOf (arr, val) {
  4066. for (var i = 0; i < arr.length; i++) {
  4067. if (looseEqual(arr[i], val)) { return i }
  4068. }
  4069. return -1
  4070. }
  4071. /**
  4072. * Ensure a function is called only once.
  4073. */
  4074. function once (fn) {
  4075. var called = false;
  4076. return function () {
  4077. if (!called) {
  4078. called = true;
  4079. fn.apply(this, arguments);
  4080. }
  4081. }
  4082. }
  4083. var ASSET_TYPES = [
  4084. 'component',
  4085. 'directive',
  4086. 'filter'
  4087. ];
  4088. var LIFECYCLE_HOOKS = [
  4089. 'beforeCreate',
  4090. 'created',
  4091. 'beforeMount',
  4092. 'mounted',
  4093. 'beforeUpdate',
  4094. 'updated',
  4095. 'beforeDestroy',
  4096. 'destroyed',
  4097. 'activated',
  4098. 'deactivated',
  4099. 'errorCaptured',
  4100. 'serverPrefetch'
  4101. ];
  4102. /* */
  4103. var config = ({
  4104. /**
  4105. * Option merge strategies (used in core/util/options)
  4106. */
  4107. // $flow-disable-line
  4108. optionMergeStrategies: Object.create(null),
  4109. /**
  4110. * Whether to suppress warnings.
  4111. */
  4112. silent: false,
  4113. /**
  4114. * Show production mode tip message on boot?
  4115. */
  4116. productionTip: "development" !== 'production',
  4117. /**
  4118. * Whether to enable devtools
  4119. */
  4120. devtools: "development" !== 'production',
  4121. /**
  4122. * Whether to record perf
  4123. */
  4124. performance: false,
  4125. /**
  4126. * Error handler for watcher errors
  4127. */
  4128. errorHandler: null,
  4129. /**
  4130. * Warn handler for watcher warns
  4131. */
  4132. warnHandler: null,
  4133. /**
  4134. * Ignore certain custom elements
  4135. */
  4136. ignoredElements: [],
  4137. /**
  4138. * Custom user key aliases for v-on
  4139. */
  4140. // $flow-disable-line
  4141. keyCodes: Object.create(null),
  4142. /**
  4143. * Check if a tag is reserved so that it cannot be registered as a
  4144. * component. This is platform-dependent and may be overwritten.
  4145. */
  4146. isReservedTag: no,
  4147. /**
  4148. * Check if an attribute is reserved so that it cannot be used as a component
  4149. * prop. This is platform-dependent and may be overwritten.
  4150. */
  4151. isReservedAttr: no,
  4152. /**
  4153. * Check if a tag is an unknown element.
  4154. * Platform-dependent.
  4155. */
  4156. isUnknownElement: no,
  4157. /**
  4158. * Get the namespace of an element
  4159. */
  4160. getTagNamespace: noop,
  4161. /**
  4162. * Parse the real tag name for the specific platform.
  4163. */
  4164. parsePlatformTagName: identity,
  4165. /**
  4166. * Check if an attribute must be bound using property, e.g. value
  4167. * Platform-dependent.
  4168. */
  4169. mustUseProp: no,
  4170. /**
  4171. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  4172. * This will significantly reduce performance if set to false.
  4173. */
  4174. async: true,
  4175. /**
  4176. * Exposed for legacy reasons
  4177. */
  4178. _lifecycleHooks: LIFECYCLE_HOOKS
  4179. });
  4180. /* */
  4181. /**
  4182. * unicode letters used for parsing html tags, component names and property paths.
  4183. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  4184. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  4185. */
  4186. var unicodeRegExp = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
  4187. /**
  4188. * Check if a string starts with $ or _
  4189. */
  4190. function isReserved (str) {
  4191. var c = (str + '').charCodeAt(0);
  4192. return c === 0x24 || c === 0x5F
  4193. }
  4194. /**
  4195. * Define a property.
  4196. */
  4197. function def (obj, key, val, enumerable) {
  4198. Object.defineProperty(obj, key, {
  4199. value: val,
  4200. enumerable: !!enumerable,
  4201. writable: true,
  4202. configurable: true
  4203. });
  4204. }
  4205. /**
  4206. * Parse simple path.
  4207. */
  4208. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  4209. function parsePath (path) {
  4210. if (bailRE.test(path)) {
  4211. return
  4212. }
  4213. var segments = path.split('.');
  4214. return function (obj) {
  4215. for (var i = 0; i < segments.length; i++) {
  4216. if (!obj) { return }
  4217. obj = obj[segments[i]];
  4218. }
  4219. return obj
  4220. }
  4221. }
  4222. /* */
  4223. // can we use __proto__?
  4224. var hasProto = '__proto__' in {};
  4225. // Browser environment sniffing
  4226. var inBrowser = typeof window !== 'undefined';
  4227. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  4228. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  4229. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  4230. var isIE = UA && /msie|trident/.test(UA);
  4231. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  4232. var isEdge = UA && UA.indexOf('edge/') > 0;
  4233. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  4234. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  4235. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  4236. var isPhantomJS = UA && /phantomjs/.test(UA);
  4237. var isFF = UA && UA.match(/firefox\/(\d+)/);
  4238. // Firefox has a "watch" function on Object.prototype...
  4239. var nativeWatch = ({}).watch;
  4240. if (inBrowser) {
  4241. try {
  4242. var opts = {};
  4243. Object.defineProperty(opts, 'passive', ({
  4244. get: function get () {
  4245. }
  4246. })); // https://github.com/facebook/flow/issues/285
  4247. window.addEventListener('test-passive', null, opts);
  4248. } catch (e) {}
  4249. }
  4250. // this needs to be lazy-evaled because vue may be required before
  4251. // vue-server-renderer can set VUE_ENV
  4252. var _isServer;
  4253. var isServerRendering = function () {
  4254. if (_isServer === undefined) {
  4255. /* istanbul ignore if */
  4256. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  4257. // detect presence of vue-server-renderer and avoid
  4258. // Webpack shimming the process
  4259. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  4260. } else {
  4261. _isServer = false;
  4262. }
  4263. }
  4264. return _isServer
  4265. };
  4266. // detect devtools
  4267. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  4268. /* istanbul ignore next */
  4269. function isNative (Ctor) {
  4270. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  4271. }
  4272. var hasSymbol =
  4273. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  4274. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  4275. var _Set;
  4276. /* istanbul ignore if */ // $flow-disable-line
  4277. if (typeof Set !== 'undefined' && isNative(Set)) {
  4278. // use native Set when available.
  4279. _Set = Set;
  4280. } else {
  4281. // a non-standard Set polyfill that only works with primitive keys.
  4282. _Set = /*@__PURE__*/(function () {
  4283. function Set () {
  4284. this.set = Object.create(null);
  4285. }
  4286. Set.prototype.has = function has (key) {
  4287. return this.set[key] === true
  4288. };
  4289. Set.prototype.add = function add (key) {
  4290. this.set[key] = true;
  4291. };
  4292. Set.prototype.clear = function clear () {
  4293. this.set = Object.create(null);
  4294. };
  4295. return Set;
  4296. }());
  4297. }
  4298. /* */
  4299. var warn = noop;
  4300. var tip = noop;
  4301. var generateComponentTrace = (noop); // work around flow check
  4302. var formatComponentName = (noop);
  4303. if (true) {
  4304. var hasConsole = typeof console !== 'undefined';
  4305. var classifyRE = /(?:^|[-_])(\w)/g;
  4306. var classify = function (str) { return str
  4307. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  4308. .replace(/[-_]/g, ''); };
  4309. warn = function (msg, vm) {
  4310. var trace = vm ? generateComponentTrace(vm) : '';
  4311. if (config.warnHandler) {
  4312. config.warnHandler.call(null, msg, vm, trace);
  4313. } else if (hasConsole && (!config.silent)) {
  4314. console.error(("[Vue warn]: " + msg + trace));
  4315. }
  4316. };
  4317. tip = function (msg, vm) {
  4318. if (hasConsole && (!config.silent)) {
  4319. console.warn("[Vue tip]: " + msg + (
  4320. vm ? generateComponentTrace(vm) : ''
  4321. ));
  4322. }
  4323. };
  4324. formatComponentName = function (vm, includeFile) {
  4325. if (vm.$root === vm) {
  4326. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  4327. return ('') + vm.$options.__file
  4328. }
  4329. return '<Root>'
  4330. }
  4331. var options = typeof vm === 'function' && vm.cid != null
  4332. ? vm.options
  4333. : vm._isVue
  4334. ? vm.$options || vm.constructor.options
  4335. : vm;
  4336. var name = options.name || options._componentTag;
  4337. var file = options.__file;
  4338. if (!name && file) {
  4339. var match = file.match(/([^/\\]+)\.vue$/);
  4340. name = match && match[1];
  4341. }
  4342. return (
  4343. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  4344. (file && includeFile !== false ? (" at " + file) : '')
  4345. )
  4346. };
  4347. var repeat = function (str, n) {
  4348. var res = '';
  4349. while (n) {
  4350. if (n % 2 === 1) { res += str; }
  4351. if (n > 1) { str += str; }
  4352. n >>= 1;
  4353. }
  4354. return res
  4355. };
  4356. generateComponentTrace = function (vm) {
  4357. if (vm._isVue && vm.$parent) {
  4358. var tree = [];
  4359. var currentRecursiveSequence = 0;
  4360. while (vm && vm.$options.name !== 'PageBody') {
  4361. if (tree.length > 0) {
  4362. var last = tree[tree.length - 1];
  4363. if (last.constructor === vm.constructor) {
  4364. currentRecursiveSequence++;
  4365. vm = vm.$parent;
  4366. continue
  4367. } else if (currentRecursiveSequence > 0) {
  4368. tree[tree.length - 1] = [last, currentRecursiveSequence];
  4369. currentRecursiveSequence = 0;
  4370. }
  4371. }
  4372. !vm.$options.isReserved && tree.push(vm);
  4373. vm = vm.$parent;
  4374. }
  4375. return '\n\nfound in\n\n' + tree
  4376. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  4377. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  4378. : formatComponentName(vm))); })
  4379. .join('\n')
  4380. } else {
  4381. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  4382. }
  4383. };
  4384. }
  4385. /* */
  4386. var uid = 0;
  4387. /**
  4388. * A dep is an observable that can have multiple
  4389. * directives subscribing to it.
  4390. */
  4391. var Dep = function Dep () {
  4392. this.id = uid++;
  4393. this.subs = [];
  4394. };
  4395. Dep.prototype.addSub = function addSub (sub) {
  4396. this.subs.push(sub);
  4397. };
  4398. Dep.prototype.removeSub = function removeSub (sub) {
  4399. remove(this.subs, sub);
  4400. };
  4401. Dep.prototype.depend = function depend () {
  4402. if (Dep.SharedObject.target) {
  4403. Dep.SharedObject.target.addDep(this);
  4404. }
  4405. };
  4406. Dep.prototype.notify = function notify () {
  4407. // stabilize the subscriber list first
  4408. var subs = this.subs.slice();
  4409. if ( true && !config.async) {
  4410. // subs aren't sorted in scheduler if not running async
  4411. // we need to sort them now to make sure they fire in correct
  4412. // order
  4413. subs.sort(function (a, b) { return a.id - b.id; });
  4414. }
  4415. for (var i = 0, l = subs.length; i < l; i++) {
  4416. subs[i].update();
  4417. }
  4418. };
  4419. // The current target watcher being evaluated.
  4420. // This is globally unique because only one watcher
  4421. // can be evaluated at a time.
  4422. // fixed by xxxxxx (nvue shared vuex)
  4423. /* eslint-disable no-undef */
  4424. Dep.SharedObject = {};
  4425. Dep.SharedObject.target = null;
  4426. Dep.SharedObject.targetStack = [];
  4427. function pushTarget (target) {
  4428. Dep.SharedObject.targetStack.push(target);
  4429. Dep.SharedObject.target = target;
  4430. Dep.target = target;
  4431. }
  4432. function popTarget () {
  4433. Dep.SharedObject.targetStack.pop();
  4434. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  4435. Dep.target = Dep.SharedObject.target;
  4436. }
  4437. /* */
  4438. var VNode = function VNode (
  4439. tag,
  4440. data,
  4441. children,
  4442. text,
  4443. elm,
  4444. context,
  4445. componentOptions,
  4446. asyncFactory
  4447. ) {
  4448. this.tag = tag;
  4449. this.data = data;
  4450. this.children = children;
  4451. this.text = text;
  4452. this.elm = elm;
  4453. this.ns = undefined;
  4454. this.context = context;
  4455. this.fnContext = undefined;
  4456. this.fnOptions = undefined;
  4457. this.fnScopeId = undefined;
  4458. this.key = data && data.key;
  4459. this.componentOptions = componentOptions;
  4460. this.componentInstance = undefined;
  4461. this.parent = undefined;
  4462. this.raw = false;
  4463. this.isStatic = false;
  4464. this.isRootInsert = true;
  4465. this.isComment = false;
  4466. this.isCloned = false;
  4467. this.isOnce = false;
  4468. this.asyncFactory = asyncFactory;
  4469. this.asyncMeta = undefined;
  4470. this.isAsyncPlaceholder = false;
  4471. };
  4472. var prototypeAccessors = { child: { configurable: true } };
  4473. // DEPRECATED: alias for componentInstance for backwards compat.
  4474. /* istanbul ignore next */
  4475. prototypeAccessors.child.get = function () {
  4476. return this.componentInstance
  4477. };
  4478. Object.defineProperties( VNode.prototype, prototypeAccessors );
  4479. var createEmptyVNode = function (text) {
  4480. if ( text === void 0 ) text = '';
  4481. var node = new VNode();
  4482. node.text = text;
  4483. node.isComment = true;
  4484. return node
  4485. };
  4486. function createTextVNode (val) {
  4487. return new VNode(undefined, undefined, undefined, String(val))
  4488. }
  4489. // optimized shallow clone
  4490. // used for static nodes and slot nodes because they may be reused across
  4491. // multiple renders, cloning them avoids errors when DOM manipulations rely
  4492. // on their elm reference.
  4493. function cloneVNode (vnode) {
  4494. var cloned = new VNode(
  4495. vnode.tag,
  4496. vnode.data,
  4497. // #7975
  4498. // clone children array to avoid mutating original in case of cloning
  4499. // a child.
  4500. vnode.children && vnode.children.slice(),
  4501. vnode.text,
  4502. vnode.elm,
  4503. vnode.context,
  4504. vnode.componentOptions,
  4505. vnode.asyncFactory
  4506. );
  4507. cloned.ns = vnode.ns;
  4508. cloned.isStatic = vnode.isStatic;
  4509. cloned.key = vnode.key;
  4510. cloned.isComment = vnode.isComment;
  4511. cloned.fnContext = vnode.fnContext;
  4512. cloned.fnOptions = vnode.fnOptions;
  4513. cloned.fnScopeId = vnode.fnScopeId;
  4514. cloned.asyncMeta = vnode.asyncMeta;
  4515. cloned.isCloned = true;
  4516. return cloned
  4517. }
  4518. /*
  4519. * not type checking this file because flow doesn't play well with
  4520. * dynamically accessing methods on Array prototype
  4521. */
  4522. var arrayProto = Array.prototype;
  4523. var arrayMethods = Object.create(arrayProto);
  4524. var methodsToPatch = [
  4525. 'push',
  4526. 'pop',
  4527. 'shift',
  4528. 'unshift',
  4529. 'splice',
  4530. 'sort',
  4531. 'reverse'
  4532. ];
  4533. /**
  4534. * Intercept mutating methods and emit events
  4535. */
  4536. methodsToPatch.forEach(function (method) {
  4537. // cache original method
  4538. var original = arrayProto[method];
  4539. def(arrayMethods, method, function mutator () {
  4540. var args = [], len = arguments.length;
  4541. while ( len-- ) args[ len ] = arguments[ len ];
  4542. var result = original.apply(this, args);
  4543. var ob = this.__ob__;
  4544. var inserted;
  4545. switch (method) {
  4546. case 'push':
  4547. case 'unshift':
  4548. inserted = args;
  4549. break
  4550. case 'splice':
  4551. inserted = args.slice(2);
  4552. break
  4553. }
  4554. if (inserted) { ob.observeArray(inserted); }
  4555. // notify change
  4556. ob.dep.notify();
  4557. return result
  4558. });
  4559. });
  4560. /* */
  4561. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  4562. /**
  4563. * In some cases we may want to disable observation inside a component's
  4564. * update computation.
  4565. */
  4566. var shouldObserve = true;
  4567. function toggleObserving (value) {
  4568. shouldObserve = value;
  4569. }
  4570. /**
  4571. * Observer class that is attached to each observed
  4572. * object. Once attached, the observer converts the target
  4573. * object's property keys into getter/setters that
  4574. * collect dependencies and dispatch updates.
  4575. */
  4576. var Observer = function Observer (value) {
  4577. this.value = value;
  4578. this.dep = new Dep();
  4579. this.vmCount = 0;
  4580. def(value, '__ob__', this);
  4581. if (Array.isArray(value)) {
  4582. if (hasProto) {
  4583. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  4584. if(value.push !== value.__proto__.push){
  4585. copyAugment(value, arrayMethods, arrayKeys);
  4586. } else {
  4587. protoAugment(value, arrayMethods);
  4588. }
  4589. }
  4590. } else {
  4591. copyAugment(value, arrayMethods, arrayKeys);
  4592. }
  4593. this.observeArray(value);
  4594. } else {
  4595. this.walk(value);
  4596. }
  4597. };
  4598. /**
  4599. * Walk through all properties and convert them into
  4600. * getter/setters. This method should only be called when
  4601. * value type is Object.
  4602. */
  4603. Observer.prototype.walk = function walk (obj) {
  4604. var keys = Object.keys(obj);
  4605. for (var i = 0; i < keys.length; i++) {
  4606. defineReactive$$1(obj, keys[i]);
  4607. }
  4608. };
  4609. /**
  4610. * Observe a list of Array items.
  4611. */
  4612. Observer.prototype.observeArray = function observeArray (items) {
  4613. for (var i = 0, l = items.length; i < l; i++) {
  4614. observe(items[i]);
  4615. }
  4616. };
  4617. // helpers
  4618. /**
  4619. * Augment a target Object or Array by intercepting
  4620. * the prototype chain using __proto__
  4621. */
  4622. function protoAugment (target, src) {
  4623. /* eslint-disable no-proto */
  4624. target.__proto__ = src;
  4625. /* eslint-enable no-proto */
  4626. }
  4627. /**
  4628. * Augment a target Object or Array by defining
  4629. * hidden properties.
  4630. */
  4631. /* istanbul ignore next */
  4632. function copyAugment (target, src, keys) {
  4633. for (var i = 0, l = keys.length; i < l; i++) {
  4634. var key = keys[i];
  4635. def(target, key, src[key]);
  4636. }
  4637. }
  4638. /**
  4639. * Attempt to create an observer instance for a value,
  4640. * returns the new observer if successfully observed,
  4641. * or the existing observer if the value already has one.
  4642. */
  4643. function observe (value, asRootData) {
  4644. if (!isObject(value) || value instanceof VNode) {
  4645. return
  4646. }
  4647. var ob;
  4648. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4649. ob = value.__ob__;
  4650. } else if (
  4651. shouldObserve &&
  4652. !isServerRendering() &&
  4653. (Array.isArray(value) || isPlainObject(value)) &&
  4654. Object.isExtensible(value) &&
  4655. !value._isVue &&
  4656. !value.__v_isMPComponent
  4657. ) {
  4658. ob = new Observer(value);
  4659. }
  4660. if (asRootData && ob) {
  4661. ob.vmCount++;
  4662. }
  4663. return ob
  4664. }
  4665. /**
  4666. * Define a reactive property on an Object.
  4667. */
  4668. function defineReactive$$1 (
  4669. obj,
  4670. key,
  4671. val,
  4672. customSetter,
  4673. shallow
  4674. ) {
  4675. var dep = new Dep();
  4676. var property = Object.getOwnPropertyDescriptor(obj, key);
  4677. if (property && property.configurable === false) {
  4678. return
  4679. }
  4680. // cater for pre-defined getter/setters
  4681. var getter = property && property.get;
  4682. var setter = property && property.set;
  4683. if ((!getter || setter) && arguments.length === 2) {
  4684. val = obj[key];
  4685. }
  4686. var childOb = !shallow && observe(val);
  4687. Object.defineProperty(obj, key, {
  4688. enumerable: true,
  4689. configurable: true,
  4690. get: function reactiveGetter () {
  4691. var value = getter ? getter.call(obj) : val;
  4692. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4693. dep.depend();
  4694. if (childOb) {
  4695. childOb.dep.depend();
  4696. if (Array.isArray(value)) {
  4697. dependArray(value);
  4698. }
  4699. }
  4700. }
  4701. return value
  4702. },
  4703. set: function reactiveSetter (newVal) {
  4704. var value = getter ? getter.call(obj) : val;
  4705. /* eslint-disable no-self-compare */
  4706. if (newVal === value || (newVal !== newVal && value !== value)) {
  4707. return
  4708. }
  4709. /* eslint-enable no-self-compare */
  4710. if ( true && customSetter) {
  4711. customSetter();
  4712. }
  4713. // #7981: for accessor properties without setter
  4714. if (getter && !setter) { return }
  4715. if (setter) {
  4716. setter.call(obj, newVal);
  4717. } else {
  4718. val = newVal;
  4719. }
  4720. childOb = !shallow && observe(newVal);
  4721. dep.notify();
  4722. }
  4723. });
  4724. }
  4725. /**
  4726. * Set a property on an object. Adds the new property and
  4727. * triggers change notification if the property doesn't
  4728. * already exist.
  4729. */
  4730. function set (target, key, val) {
  4731. if ( true &&
  4732. (isUndef(target) || isPrimitive(target))
  4733. ) {
  4734. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4735. }
  4736. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4737. target.length = Math.max(target.length, key);
  4738. target.splice(key, 1, val);
  4739. return val
  4740. }
  4741. if (key in target && !(key in Object.prototype)) {
  4742. target[key] = val;
  4743. return val
  4744. }
  4745. var ob = (target).__ob__;
  4746. if (target._isVue || (ob && ob.vmCount)) {
  4747. true && warn(
  4748. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4749. 'at runtime - declare it upfront in the data option.'
  4750. );
  4751. return val
  4752. }
  4753. if (!ob) {
  4754. target[key] = val;
  4755. return val
  4756. }
  4757. defineReactive$$1(ob.value, key, val);
  4758. ob.dep.notify();
  4759. return val
  4760. }
  4761. /**
  4762. * Delete a property and trigger change if necessary.
  4763. */
  4764. function del (target, key) {
  4765. if ( true &&
  4766. (isUndef(target) || isPrimitive(target))
  4767. ) {
  4768. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4769. }
  4770. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4771. target.splice(key, 1);
  4772. return
  4773. }
  4774. var ob = (target).__ob__;
  4775. if (target._isVue || (ob && ob.vmCount)) {
  4776. true && warn(
  4777. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4778. '- just set it to null.'
  4779. );
  4780. return
  4781. }
  4782. if (!hasOwn(target, key)) {
  4783. return
  4784. }
  4785. delete target[key];
  4786. if (!ob) {
  4787. return
  4788. }
  4789. ob.dep.notify();
  4790. }
  4791. /**
  4792. * Collect dependencies on array elements when the array is touched, since
  4793. * we cannot intercept array element access like property getters.
  4794. */
  4795. function dependArray (value) {
  4796. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4797. e = value[i];
  4798. e && e.__ob__ && e.__ob__.dep.depend();
  4799. if (Array.isArray(e)) {
  4800. dependArray(e);
  4801. }
  4802. }
  4803. }
  4804. /* */
  4805. /**
  4806. * Option overwriting strategies are functions that handle
  4807. * how to merge a parent option value and a child option
  4808. * value into the final value.
  4809. */
  4810. var strats = config.optionMergeStrategies;
  4811. /**
  4812. * Options with restrictions
  4813. */
  4814. if (true) {
  4815. strats.el = strats.propsData = function (parent, child, vm, key) {
  4816. if (!vm) {
  4817. warn(
  4818. "option \"" + key + "\" can only be used during instance " +
  4819. 'creation with the `new` keyword.'
  4820. );
  4821. }
  4822. return defaultStrat(parent, child)
  4823. };
  4824. }
  4825. /**
  4826. * Helper that recursively merges two data objects together.
  4827. */
  4828. function mergeData (to, from) {
  4829. if (!from) { return to }
  4830. var key, toVal, fromVal;
  4831. var keys = hasSymbol
  4832. ? Reflect.ownKeys(from)
  4833. : Object.keys(from);
  4834. for (var i = 0; i < keys.length; i++) {
  4835. key = keys[i];
  4836. // in case the object is already observed...
  4837. if (key === '__ob__') { continue }
  4838. toVal = to[key];
  4839. fromVal = from[key];
  4840. if (!hasOwn(to, key)) {
  4841. set(to, key, fromVal);
  4842. } else if (
  4843. toVal !== fromVal &&
  4844. isPlainObject(toVal) &&
  4845. isPlainObject(fromVal)
  4846. ) {
  4847. mergeData(toVal, fromVal);
  4848. }
  4849. }
  4850. return to
  4851. }
  4852. /**
  4853. * Data
  4854. */
  4855. function mergeDataOrFn (
  4856. parentVal,
  4857. childVal,
  4858. vm
  4859. ) {
  4860. if (!vm) {
  4861. // in a Vue.extend merge, both should be functions
  4862. if (!childVal) {
  4863. return parentVal
  4864. }
  4865. if (!parentVal) {
  4866. return childVal
  4867. }
  4868. // when parentVal & childVal are both present,
  4869. // we need to return a function that returns the
  4870. // merged result of both functions... no need to
  4871. // check if parentVal is a function here because
  4872. // it has to be a function to pass previous merges.
  4873. return function mergedDataFn () {
  4874. return mergeData(
  4875. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4876. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4877. )
  4878. }
  4879. } else {
  4880. return function mergedInstanceDataFn () {
  4881. // instance merge
  4882. var instanceData = typeof childVal === 'function'
  4883. ? childVal.call(vm, vm)
  4884. : childVal;
  4885. var defaultData = typeof parentVal === 'function'
  4886. ? parentVal.call(vm, vm)
  4887. : parentVal;
  4888. if (instanceData) {
  4889. return mergeData(instanceData, defaultData)
  4890. } else {
  4891. return defaultData
  4892. }
  4893. }
  4894. }
  4895. }
  4896. strats.data = function (
  4897. parentVal,
  4898. childVal,
  4899. vm
  4900. ) {
  4901. if (!vm) {
  4902. if (childVal && typeof childVal !== 'function') {
  4903. true && warn(
  4904. 'The "data" option should be a function ' +
  4905. 'that returns a per-instance value in component ' +
  4906. 'definitions.',
  4907. vm
  4908. );
  4909. return parentVal
  4910. }
  4911. return mergeDataOrFn(parentVal, childVal)
  4912. }
  4913. return mergeDataOrFn(parentVal, childVal, vm)
  4914. };
  4915. /**
  4916. * Hooks and props are merged as arrays.
  4917. */
  4918. function mergeHook (
  4919. parentVal,
  4920. childVal
  4921. ) {
  4922. var res = childVal
  4923. ? parentVal
  4924. ? parentVal.concat(childVal)
  4925. : Array.isArray(childVal)
  4926. ? childVal
  4927. : [childVal]
  4928. : parentVal;
  4929. return res
  4930. ? dedupeHooks(res)
  4931. : res
  4932. }
  4933. function dedupeHooks (hooks) {
  4934. var res = [];
  4935. for (var i = 0; i < hooks.length; i++) {
  4936. if (res.indexOf(hooks[i]) === -1) {
  4937. res.push(hooks[i]);
  4938. }
  4939. }
  4940. return res
  4941. }
  4942. LIFECYCLE_HOOKS.forEach(function (hook) {
  4943. strats[hook] = mergeHook;
  4944. });
  4945. /**
  4946. * Assets
  4947. *
  4948. * When a vm is present (instance creation), we need to do
  4949. * a three-way merge between constructor options, instance
  4950. * options and parent options.
  4951. */
  4952. function mergeAssets (
  4953. parentVal,
  4954. childVal,
  4955. vm,
  4956. key
  4957. ) {
  4958. var res = Object.create(parentVal || null);
  4959. if (childVal) {
  4960. true && assertObjectType(key, childVal, vm);
  4961. return extend(res, childVal)
  4962. } else {
  4963. return res
  4964. }
  4965. }
  4966. ASSET_TYPES.forEach(function (type) {
  4967. strats[type + 's'] = mergeAssets;
  4968. });
  4969. /**
  4970. * Watchers.
  4971. *
  4972. * Watchers hashes should not overwrite one
  4973. * another, so we merge them as arrays.
  4974. */
  4975. strats.watch = function (
  4976. parentVal,
  4977. childVal,
  4978. vm,
  4979. key
  4980. ) {
  4981. // work around Firefox's Object.prototype.watch...
  4982. if (parentVal === nativeWatch) { parentVal = undefined; }
  4983. if (childVal === nativeWatch) { childVal = undefined; }
  4984. /* istanbul ignore if */
  4985. if (!childVal) { return Object.create(parentVal || null) }
  4986. if (true) {
  4987. assertObjectType(key, childVal, vm);
  4988. }
  4989. if (!parentVal) { return childVal }
  4990. var ret = {};
  4991. extend(ret, parentVal);
  4992. for (var key$1 in childVal) {
  4993. var parent = ret[key$1];
  4994. var child = childVal[key$1];
  4995. if (parent && !Array.isArray(parent)) {
  4996. parent = [parent];
  4997. }
  4998. ret[key$1] = parent
  4999. ? parent.concat(child)
  5000. : Array.isArray(child) ? child : [child];
  5001. }
  5002. return ret
  5003. };
  5004. /**
  5005. * Other object hashes.
  5006. */
  5007. strats.props =
  5008. strats.methods =
  5009. strats.inject =
  5010. strats.computed = function (
  5011. parentVal,
  5012. childVal,
  5013. vm,
  5014. key
  5015. ) {
  5016. if (childVal && "development" !== 'production') {
  5017. assertObjectType(key, childVal, vm);
  5018. }
  5019. if (!parentVal) { return childVal }
  5020. var ret = Object.create(null);
  5021. extend(ret, parentVal);
  5022. if (childVal) { extend(ret, childVal); }
  5023. return ret
  5024. };
  5025. strats.provide = mergeDataOrFn;
  5026. /**
  5027. * Default strategy.
  5028. */
  5029. var defaultStrat = function (parentVal, childVal) {
  5030. return childVal === undefined
  5031. ? parentVal
  5032. : childVal
  5033. };
  5034. /**
  5035. * Validate component names
  5036. */
  5037. function checkComponents (options) {
  5038. for (var key in options.components) {
  5039. validateComponentName(key);
  5040. }
  5041. }
  5042. function validateComponentName (name) {
  5043. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  5044. warn(
  5045. 'Invalid component name: "' + name + '". Component names ' +
  5046. 'should conform to valid custom element name in html5 specification.'
  5047. );
  5048. }
  5049. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  5050. warn(
  5051. 'Do not use built-in or reserved HTML elements as component ' +
  5052. 'id: ' + name
  5053. );
  5054. }
  5055. }
  5056. /**
  5057. * Ensure all props option syntax are normalized into the
  5058. * Object-based format.
  5059. */
  5060. function normalizeProps (options, vm) {
  5061. var props = options.props;
  5062. if (!props) { return }
  5063. var res = {};
  5064. var i, val, name;
  5065. if (Array.isArray(props)) {
  5066. i = props.length;
  5067. while (i--) {
  5068. val = props[i];
  5069. if (typeof val === 'string') {
  5070. name = camelize(val);
  5071. res[name] = { type: null };
  5072. } else if (true) {
  5073. warn('props must be strings when using array syntax.');
  5074. }
  5075. }
  5076. } else if (isPlainObject(props)) {
  5077. for (var key in props) {
  5078. val = props[key];
  5079. name = camelize(key);
  5080. res[name] = isPlainObject(val)
  5081. ? val
  5082. : { type: val };
  5083. }
  5084. } else if (true) {
  5085. warn(
  5086. "Invalid value for option \"props\": expected an Array or an Object, " +
  5087. "but got " + (toRawType(props)) + ".",
  5088. vm
  5089. );
  5090. }
  5091. options.props = res;
  5092. }
  5093. /**
  5094. * Normalize all injections into Object-based format
  5095. */
  5096. function normalizeInject (options, vm) {
  5097. var inject = options.inject;
  5098. if (!inject) { return }
  5099. var normalized = options.inject = {};
  5100. if (Array.isArray(inject)) {
  5101. for (var i = 0; i < inject.length; i++) {
  5102. normalized[inject[i]] = { from: inject[i] };
  5103. }
  5104. } else if (isPlainObject(inject)) {
  5105. for (var key in inject) {
  5106. var val = inject[key];
  5107. normalized[key] = isPlainObject(val)
  5108. ? extend({ from: key }, val)
  5109. : { from: val };
  5110. }
  5111. } else if (true) {
  5112. warn(
  5113. "Invalid value for option \"inject\": expected an Array or an Object, " +
  5114. "but got " + (toRawType(inject)) + ".",
  5115. vm
  5116. );
  5117. }
  5118. }
  5119. /**
  5120. * Normalize raw function directives into object format.
  5121. */
  5122. function normalizeDirectives (options) {
  5123. var dirs = options.directives;
  5124. if (dirs) {
  5125. for (var key in dirs) {
  5126. var def$$1 = dirs[key];
  5127. if (typeof def$$1 === 'function') {
  5128. dirs[key] = { bind: def$$1, update: def$$1 };
  5129. }
  5130. }
  5131. }
  5132. }
  5133. function assertObjectType (name, value, vm) {
  5134. if (!isPlainObject(value)) {
  5135. warn(
  5136. "Invalid value for option \"" + name + "\": expected an Object, " +
  5137. "but got " + (toRawType(value)) + ".",
  5138. vm
  5139. );
  5140. }
  5141. }
  5142. /**
  5143. * Merge two option objects into a new one.
  5144. * Core utility used in both instantiation and inheritance.
  5145. */
  5146. function mergeOptions (
  5147. parent,
  5148. child,
  5149. vm
  5150. ) {
  5151. if (true) {
  5152. checkComponents(child);
  5153. }
  5154. if (typeof child === 'function') {
  5155. child = child.options;
  5156. }
  5157. normalizeProps(child, vm);
  5158. normalizeInject(child, vm);
  5159. normalizeDirectives(child);
  5160. // Apply extends and mixins on the child options,
  5161. // but only if it is a raw options object that isn't
  5162. // the result of another mergeOptions call.
  5163. // Only merged options has the _base property.
  5164. if (!child._base) {
  5165. if (child.extends) {
  5166. parent = mergeOptions(parent, child.extends, vm);
  5167. }
  5168. if (child.mixins) {
  5169. for (var i = 0, l = child.mixins.length; i < l; i++) {
  5170. parent = mergeOptions(parent, child.mixins[i], vm);
  5171. }
  5172. }
  5173. }
  5174. var options = {};
  5175. var key;
  5176. for (key in parent) {
  5177. mergeField(key);
  5178. }
  5179. for (key in child) {
  5180. if (!hasOwn(parent, key)) {
  5181. mergeField(key);
  5182. }
  5183. }
  5184. function mergeField (key) {
  5185. var strat = strats[key] || defaultStrat;
  5186. options[key] = strat(parent[key], child[key], vm, key);
  5187. }
  5188. return options
  5189. }
  5190. /**
  5191. * Resolve an asset.
  5192. * This function is used because child instances need access
  5193. * to assets defined in its ancestor chain.
  5194. */
  5195. function resolveAsset (
  5196. options,
  5197. type,
  5198. id,
  5199. warnMissing
  5200. ) {
  5201. /* istanbul ignore if */
  5202. if (typeof id !== 'string') {
  5203. return
  5204. }
  5205. var assets = options[type];
  5206. // check local registration variations first
  5207. if (hasOwn(assets, id)) { return assets[id] }
  5208. var camelizedId = camelize(id);
  5209. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  5210. var PascalCaseId = capitalize(camelizedId);
  5211. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  5212. // fallback to prototype chain
  5213. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  5214. if ( true && warnMissing && !res) {
  5215. warn(
  5216. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  5217. options
  5218. );
  5219. }
  5220. return res
  5221. }
  5222. /* */
  5223. function validateProp (
  5224. key,
  5225. propOptions,
  5226. propsData,
  5227. vm
  5228. ) {
  5229. var prop = propOptions[key];
  5230. var absent = !hasOwn(propsData, key);
  5231. var value = propsData[key];
  5232. // boolean casting
  5233. var booleanIndex = getTypeIndex(Boolean, prop.type);
  5234. if (booleanIndex > -1) {
  5235. if (absent && !hasOwn(prop, 'default')) {
  5236. value = false;
  5237. } else if (value === '' || value === hyphenate(key)) {
  5238. // only cast empty string / same name to boolean if
  5239. // boolean has higher priority
  5240. var stringIndex = getTypeIndex(String, prop.type);
  5241. if (stringIndex < 0 || booleanIndex < stringIndex) {
  5242. value = true;
  5243. }
  5244. }
  5245. }
  5246. // check default value
  5247. if (value === undefined) {
  5248. value = getPropDefaultValue(vm, prop, key);
  5249. // since the default value is a fresh copy,
  5250. // make sure to observe it.
  5251. var prevShouldObserve = shouldObserve;
  5252. toggleObserving(true);
  5253. observe(value);
  5254. toggleObserving(prevShouldObserve);
  5255. }
  5256. if (
  5257. true
  5258. ) {
  5259. assertProp(prop, key, value, vm, absent);
  5260. }
  5261. return value
  5262. }
  5263. /**
  5264. * Get the default value of a prop.
  5265. */
  5266. function getPropDefaultValue (vm, prop, key) {
  5267. // no default, return undefined
  5268. if (!hasOwn(prop, 'default')) {
  5269. return undefined
  5270. }
  5271. var def = prop.default;
  5272. // warn against non-factory defaults for Object & Array
  5273. if ( true && isObject(def)) {
  5274. warn(
  5275. 'Invalid default value for prop "' + key + '": ' +
  5276. 'Props with type Object/Array must use a factory function ' +
  5277. 'to return the default value.',
  5278. vm
  5279. );
  5280. }
  5281. // the raw prop value was also undefined from previous render,
  5282. // return previous default value to avoid unnecessary watcher trigger
  5283. if (vm && vm.$options.propsData &&
  5284. vm.$options.propsData[key] === undefined &&
  5285. vm._props[key] !== undefined
  5286. ) {
  5287. return vm._props[key]
  5288. }
  5289. // call factory function for non-Function types
  5290. // a value is Function if its prototype is function even across different execution context
  5291. return typeof def === 'function' && getType(prop.type) !== 'Function'
  5292. ? def.call(vm)
  5293. : def
  5294. }
  5295. /**
  5296. * Assert whether a prop is valid.
  5297. */
  5298. function assertProp (
  5299. prop,
  5300. name,
  5301. value,
  5302. vm,
  5303. absent
  5304. ) {
  5305. if (prop.required && absent) {
  5306. warn(
  5307. 'Missing required prop: "' + name + '"',
  5308. vm
  5309. );
  5310. return
  5311. }
  5312. if (value == null && !prop.required) {
  5313. return
  5314. }
  5315. var type = prop.type;
  5316. var valid = !type || type === true;
  5317. var expectedTypes = [];
  5318. if (type) {
  5319. if (!Array.isArray(type)) {
  5320. type = [type];
  5321. }
  5322. for (var i = 0; i < type.length && !valid; i++) {
  5323. var assertedType = assertType(value, type[i]);
  5324. expectedTypes.push(assertedType.expectedType || '');
  5325. valid = assertedType.valid;
  5326. }
  5327. }
  5328. if (!valid) {
  5329. warn(
  5330. getInvalidTypeMessage(name, value, expectedTypes),
  5331. vm
  5332. );
  5333. return
  5334. }
  5335. var validator = prop.validator;
  5336. if (validator) {
  5337. if (!validator(value)) {
  5338. warn(
  5339. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  5340. vm
  5341. );
  5342. }
  5343. }
  5344. }
  5345. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  5346. function assertType (value, type) {
  5347. var valid;
  5348. var expectedType = getType(type);
  5349. if (simpleCheckRE.test(expectedType)) {
  5350. var t = typeof value;
  5351. valid = t === expectedType.toLowerCase();
  5352. // for primitive wrapper objects
  5353. if (!valid && t === 'object') {
  5354. valid = value instanceof type;
  5355. }
  5356. } else if (expectedType === 'Object') {
  5357. valid = isPlainObject(value);
  5358. } else if (expectedType === 'Array') {
  5359. valid = Array.isArray(value);
  5360. } else {
  5361. valid = value instanceof type;
  5362. }
  5363. return {
  5364. valid: valid,
  5365. expectedType: expectedType
  5366. }
  5367. }
  5368. /**
  5369. * Use function string name to check built-in types,
  5370. * because a simple equality check will fail when running
  5371. * across different vms / iframes.
  5372. */
  5373. function getType (fn) {
  5374. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  5375. return match ? match[1] : ''
  5376. }
  5377. function isSameType (a, b) {
  5378. return getType(a) === getType(b)
  5379. }
  5380. function getTypeIndex (type, expectedTypes) {
  5381. if (!Array.isArray(expectedTypes)) {
  5382. return isSameType(expectedTypes, type) ? 0 : -1
  5383. }
  5384. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  5385. if (isSameType(expectedTypes[i], type)) {
  5386. return i
  5387. }
  5388. }
  5389. return -1
  5390. }
  5391. function getInvalidTypeMessage (name, value, expectedTypes) {
  5392. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  5393. " Expected " + (expectedTypes.map(capitalize).join(', '));
  5394. var expectedType = expectedTypes[0];
  5395. var receivedType = toRawType(value);
  5396. var expectedValue = styleValue(value, expectedType);
  5397. var receivedValue = styleValue(value, receivedType);
  5398. // check if we need to specify expected value
  5399. if (expectedTypes.length === 1 &&
  5400. isExplicable(expectedType) &&
  5401. !isBoolean(expectedType, receivedType)) {
  5402. message += " with value " + expectedValue;
  5403. }
  5404. message += ", got " + receivedType + " ";
  5405. // check if we need to specify received value
  5406. if (isExplicable(receivedType)) {
  5407. message += "with value " + receivedValue + ".";
  5408. }
  5409. return message
  5410. }
  5411. function styleValue (value, type) {
  5412. if (type === 'String') {
  5413. return ("\"" + value + "\"")
  5414. } else if (type === 'Number') {
  5415. return ("" + (Number(value)))
  5416. } else {
  5417. return ("" + value)
  5418. }
  5419. }
  5420. function isExplicable (value) {
  5421. var explicitTypes = ['string', 'number', 'boolean'];
  5422. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  5423. }
  5424. function isBoolean () {
  5425. var args = [], len = arguments.length;
  5426. while ( len-- ) args[ len ] = arguments[ len ];
  5427. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  5428. }
  5429. /* */
  5430. function handleError (err, vm, info) {
  5431. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  5432. // See: https://github.com/vuejs/vuex/issues/1505
  5433. pushTarget();
  5434. try {
  5435. if (vm) {
  5436. var cur = vm;
  5437. while ((cur = cur.$parent)) {
  5438. var hooks = cur.$options.errorCaptured;
  5439. if (hooks) {
  5440. for (var i = 0; i < hooks.length; i++) {
  5441. try {
  5442. var capture = hooks[i].call(cur, err, vm, info) === false;
  5443. if (capture) { return }
  5444. } catch (e) {
  5445. globalHandleError(e, cur, 'errorCaptured hook');
  5446. }
  5447. }
  5448. }
  5449. }
  5450. }
  5451. globalHandleError(err, vm, info);
  5452. } finally {
  5453. popTarget();
  5454. }
  5455. }
  5456. function invokeWithErrorHandling (
  5457. handler,
  5458. context,
  5459. args,
  5460. vm,
  5461. info
  5462. ) {
  5463. var res;
  5464. try {
  5465. res = args ? handler.apply(context, args) : handler.call(context);
  5466. if (res && !res._isVue && isPromise(res) && !res._handled) {
  5467. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  5468. // issue #9511
  5469. // avoid catch triggering multiple times when nested calls
  5470. res._handled = true;
  5471. }
  5472. } catch (e) {
  5473. handleError(e, vm, info);
  5474. }
  5475. return res
  5476. }
  5477. function globalHandleError (err, vm, info) {
  5478. if (config.errorHandler) {
  5479. try {
  5480. return config.errorHandler.call(null, err, vm, info)
  5481. } catch (e) {
  5482. // if the user intentionally throws the original error in the handler,
  5483. // do not log it twice
  5484. if (e !== err) {
  5485. logError(e, null, 'config.errorHandler');
  5486. }
  5487. }
  5488. }
  5489. logError(err, vm, info);
  5490. }
  5491. function logError (err, vm, info) {
  5492. if (true) {
  5493. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  5494. }
  5495. /* istanbul ignore else */
  5496. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  5497. console.error(err);
  5498. } else {
  5499. throw err
  5500. }
  5501. }
  5502. /* */
  5503. var callbacks = [];
  5504. var pending = false;
  5505. function flushCallbacks () {
  5506. pending = false;
  5507. var copies = callbacks.slice(0);
  5508. callbacks.length = 0;
  5509. for (var i = 0; i < copies.length; i++) {
  5510. copies[i]();
  5511. }
  5512. }
  5513. // Here we have async deferring wrappers using microtasks.
  5514. // In 2.5 we used (macro) tasks (in combination with microtasks).
  5515. // However, it has subtle problems when state is changed right before repaint
  5516. // (e.g. #6813, out-in transitions).
  5517. // Also, using (macro) tasks in event handler would cause some weird behaviors
  5518. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  5519. // So we now use microtasks everywhere, again.
  5520. // A major drawback of this tradeoff is that there are some scenarios
  5521. // where microtasks have too high a priority and fire in between supposedly
  5522. // sequential events (e.g. #4521, #6690, which have workarounds)
  5523. // or even between bubbling of the same event (#6566).
  5524. var timerFunc;
  5525. // The nextTick behavior leverages the microtask queue, which can be accessed
  5526. // via either native Promise.then or MutationObserver.
  5527. // MutationObserver has wider support, however it is seriously bugged in
  5528. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  5529. // completely stops working after triggering a few times... so, if native
  5530. // Promise is available, we will use it:
  5531. /* istanbul ignore next, $flow-disable-line */
  5532. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  5533. var p = Promise.resolve();
  5534. timerFunc = function () {
  5535. p.then(flushCallbacks);
  5536. // In problematic UIWebViews, Promise.then doesn't completely break, but
  5537. // it can get stuck in a weird state where callbacks are pushed into the
  5538. // microtask queue but the queue isn't being flushed, until the browser
  5539. // needs to do some other work, e.g. handle a timer. Therefore we can
  5540. // "force" the microtask queue to be flushed by adding an empty timer.
  5541. if (isIOS) { setTimeout(noop); }
  5542. };
  5543. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  5544. isNative(MutationObserver) ||
  5545. // PhantomJS and iOS 7.x
  5546. MutationObserver.toString() === '[object MutationObserverConstructor]'
  5547. )) {
  5548. // Use MutationObserver where native Promise is not available,
  5549. // e.g. PhantomJS, iOS7, Android 4.4
  5550. // (#6466 MutationObserver is unreliable in IE11)
  5551. var counter = 1;
  5552. var observer = new MutationObserver(flushCallbacks);
  5553. var textNode = document.createTextNode(String(counter));
  5554. observer.observe(textNode, {
  5555. characterData: true
  5556. });
  5557. timerFunc = function () {
  5558. counter = (counter + 1) % 2;
  5559. textNode.data = String(counter);
  5560. };
  5561. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  5562. // Fallback to setImmediate.
  5563. // Technically it leverages the (macro) task queue,
  5564. // but it is still a better choice than setTimeout.
  5565. timerFunc = function () {
  5566. setImmediate(flushCallbacks);
  5567. };
  5568. } else {
  5569. // Fallback to setTimeout.
  5570. timerFunc = function () {
  5571. setTimeout(flushCallbacks, 0);
  5572. };
  5573. }
  5574. function nextTick (cb, ctx) {
  5575. var _resolve;
  5576. callbacks.push(function () {
  5577. if (cb) {
  5578. try {
  5579. cb.call(ctx);
  5580. } catch (e) {
  5581. handleError(e, ctx, 'nextTick');
  5582. }
  5583. } else if (_resolve) {
  5584. _resolve(ctx);
  5585. }
  5586. });
  5587. if (!pending) {
  5588. pending = true;
  5589. timerFunc();
  5590. }
  5591. // $flow-disable-line
  5592. if (!cb && typeof Promise !== 'undefined') {
  5593. return new Promise(function (resolve) {
  5594. _resolve = resolve;
  5595. })
  5596. }
  5597. }
  5598. /* */
  5599. /* not type checking this file because flow doesn't play well with Proxy */
  5600. var initProxy;
  5601. if (true) {
  5602. var allowedGlobals = makeMap(
  5603. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5604. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5605. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5606. 'require' // for Webpack/Browserify
  5607. );
  5608. var warnNonPresent = function (target, key) {
  5609. warn(
  5610. "Property or method \"" + key + "\" is not defined on the instance but " +
  5611. 'referenced during render. Make sure that this property is reactive, ' +
  5612. 'either in the data option, or for class-based components, by ' +
  5613. 'initializing the property. ' +
  5614. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5615. target
  5616. );
  5617. };
  5618. var warnReservedPrefix = function (target, key) {
  5619. warn(
  5620. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5621. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5622. 'prevent conflicts with Vue internals. ' +
  5623. 'See: https://vuejs.org/v2/api/#data',
  5624. target
  5625. );
  5626. };
  5627. var hasProxy =
  5628. typeof Proxy !== 'undefined' && isNative(Proxy);
  5629. if (hasProxy) {
  5630. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5631. config.keyCodes = new Proxy(config.keyCodes, {
  5632. set: function set (target, key, value) {
  5633. if (isBuiltInModifier(key)) {
  5634. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5635. return false
  5636. } else {
  5637. target[key] = value;
  5638. return true
  5639. }
  5640. }
  5641. });
  5642. }
  5643. var hasHandler = {
  5644. has: function has (target, key) {
  5645. var has = key in target;
  5646. var isAllowed = allowedGlobals(key) ||
  5647. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5648. if (!has && !isAllowed) {
  5649. if (key in target.$data) { warnReservedPrefix(target, key); }
  5650. else { warnNonPresent(target, key); }
  5651. }
  5652. return has || !isAllowed
  5653. }
  5654. };
  5655. var getHandler = {
  5656. get: function get (target, key) {
  5657. if (typeof key === 'string' && !(key in target)) {
  5658. if (key in target.$data) { warnReservedPrefix(target, key); }
  5659. else { warnNonPresent(target, key); }
  5660. }
  5661. return target[key]
  5662. }
  5663. };
  5664. initProxy = function initProxy (vm) {
  5665. if (hasProxy) {
  5666. // determine which proxy handler to use
  5667. var options = vm.$options;
  5668. var handlers = options.render && options.render._withStripped
  5669. ? getHandler
  5670. : hasHandler;
  5671. vm._renderProxy = new Proxy(vm, handlers);
  5672. } else {
  5673. vm._renderProxy = vm;
  5674. }
  5675. };
  5676. }
  5677. /* */
  5678. var seenObjects = new _Set();
  5679. /**
  5680. * Recursively traverse an object to evoke all converted
  5681. * getters, so that every nested property inside the object
  5682. * is collected as a "deep" dependency.
  5683. */
  5684. function traverse (val) {
  5685. _traverse(val, seenObjects);
  5686. seenObjects.clear();
  5687. }
  5688. function _traverse (val, seen) {
  5689. var i, keys;
  5690. var isA = Array.isArray(val);
  5691. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5692. return
  5693. }
  5694. if (val.__ob__) {
  5695. var depId = val.__ob__.dep.id;
  5696. if (seen.has(depId)) {
  5697. return
  5698. }
  5699. seen.add(depId);
  5700. }
  5701. if (isA) {
  5702. i = val.length;
  5703. while (i--) { _traverse(val[i], seen); }
  5704. } else {
  5705. keys = Object.keys(val);
  5706. i = keys.length;
  5707. while (i--) { _traverse(val[keys[i]], seen); }
  5708. }
  5709. }
  5710. var mark;
  5711. var measure;
  5712. if (true) {
  5713. var perf = inBrowser && window.performance;
  5714. /* istanbul ignore if */
  5715. if (
  5716. perf &&
  5717. perf.mark &&
  5718. perf.measure &&
  5719. perf.clearMarks &&
  5720. perf.clearMeasures
  5721. ) {
  5722. mark = function (tag) { return perf.mark(tag); };
  5723. measure = function (name, startTag, endTag) {
  5724. perf.measure(name, startTag, endTag);
  5725. perf.clearMarks(startTag);
  5726. perf.clearMarks(endTag);
  5727. // perf.clearMeasures(name)
  5728. };
  5729. }
  5730. }
  5731. /* */
  5732. var normalizeEvent = cached(function (name) {
  5733. var passive = name.charAt(0) === '&';
  5734. name = passive ? name.slice(1) : name;
  5735. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5736. name = once$$1 ? name.slice(1) : name;
  5737. var capture = name.charAt(0) === '!';
  5738. name = capture ? name.slice(1) : name;
  5739. return {
  5740. name: name,
  5741. once: once$$1,
  5742. capture: capture,
  5743. passive: passive
  5744. }
  5745. });
  5746. function createFnInvoker (fns, vm) {
  5747. function invoker () {
  5748. var arguments$1 = arguments;
  5749. var fns = invoker.fns;
  5750. if (Array.isArray(fns)) {
  5751. var cloned = fns.slice();
  5752. for (var i = 0; i < cloned.length; i++) {
  5753. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5754. }
  5755. } else {
  5756. // return handler return value for single handlers
  5757. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5758. }
  5759. }
  5760. invoker.fns = fns;
  5761. return invoker
  5762. }
  5763. function updateListeners (
  5764. on,
  5765. oldOn,
  5766. add,
  5767. remove$$1,
  5768. createOnceHandler,
  5769. vm
  5770. ) {
  5771. var name, def$$1, cur, old, event;
  5772. for (name in on) {
  5773. def$$1 = cur = on[name];
  5774. old = oldOn[name];
  5775. event = normalizeEvent(name);
  5776. if (isUndef(cur)) {
  5777. true && warn(
  5778. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5779. vm
  5780. );
  5781. } else if (isUndef(old)) {
  5782. if (isUndef(cur.fns)) {
  5783. cur = on[name] = createFnInvoker(cur, vm);
  5784. }
  5785. if (isTrue(event.once)) {
  5786. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5787. }
  5788. add(event.name, cur, event.capture, event.passive, event.params);
  5789. } else if (cur !== old) {
  5790. old.fns = cur;
  5791. on[name] = old;
  5792. }
  5793. }
  5794. for (name in oldOn) {
  5795. if (isUndef(on[name])) {
  5796. event = normalizeEvent(name);
  5797. remove$$1(event.name, oldOn[name], event.capture);
  5798. }
  5799. }
  5800. }
  5801. /* */
  5802. /* */
  5803. // fixed by xxxxxx (mp properties)
  5804. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5805. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5806. if (isUndef(propOptions)) {
  5807. return res
  5808. }
  5809. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5810. var attrs = data.attrs;
  5811. var props = data.props;
  5812. if (isDef(attrs) || isDef(props)) {
  5813. for (var key in propOptions) {
  5814. var altKey = hyphenate(key);
  5815. var result = checkProp(res, props, key, altKey, true) ||
  5816. checkProp(res, attrs, key, altKey, false);
  5817. // externalClass
  5818. if (
  5819. result &&
  5820. res[key] &&
  5821. externalClasses.indexOf(altKey) !== -1 &&
  5822. context[camelize(res[key])]
  5823. ) {
  5824. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5825. res[key] = context[camelize(res[key])];
  5826. }
  5827. }
  5828. }
  5829. return res
  5830. }
  5831. function extractPropsFromVNodeData (
  5832. data,
  5833. Ctor,
  5834. tag,
  5835. context// fixed by xxxxxx
  5836. ) {
  5837. // we are only extracting raw values here.
  5838. // validation and default values are handled in the child
  5839. // component itself.
  5840. var propOptions = Ctor.options.props;
  5841. if (isUndef(propOptions)) {
  5842. // fixed by xxxxxx
  5843. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5844. }
  5845. var res = {};
  5846. var attrs = data.attrs;
  5847. var props = data.props;
  5848. if (isDef(attrs) || isDef(props)) {
  5849. for (var key in propOptions) {
  5850. var altKey = hyphenate(key);
  5851. if (true) {
  5852. var keyInLowerCase = key.toLowerCase();
  5853. if (
  5854. key !== keyInLowerCase &&
  5855. attrs && hasOwn(attrs, keyInLowerCase)
  5856. ) {
  5857. tip(
  5858. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5859. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5860. " \"" + key + "\". " +
  5861. "Note that HTML attributes are case-insensitive and camelCased " +
  5862. "props need to use their kebab-case equivalents when using in-DOM " +
  5863. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5864. );
  5865. }
  5866. }
  5867. checkProp(res, props, key, altKey, true) ||
  5868. checkProp(res, attrs, key, altKey, false);
  5869. }
  5870. }
  5871. // fixed by xxxxxx
  5872. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5873. }
  5874. function checkProp (
  5875. res,
  5876. hash,
  5877. key,
  5878. altKey,
  5879. preserve
  5880. ) {
  5881. if (isDef(hash)) {
  5882. if (hasOwn(hash, key)) {
  5883. res[key] = hash[key];
  5884. if (!preserve) {
  5885. delete hash[key];
  5886. }
  5887. return true
  5888. } else if (hasOwn(hash, altKey)) {
  5889. res[key] = hash[altKey];
  5890. if (!preserve) {
  5891. delete hash[altKey];
  5892. }
  5893. return true
  5894. }
  5895. }
  5896. return false
  5897. }
  5898. /* */
  5899. // The template compiler attempts to minimize the need for normalization by
  5900. // statically analyzing the template at compile time.
  5901. //
  5902. // For plain HTML markup, normalization can be completely skipped because the
  5903. // generated render function is guaranteed to return Array<VNode>. There are
  5904. // two cases where extra normalization is needed:
  5905. // 1. When the children contains components - because a functional component
  5906. // may return an Array instead of a single root. In this case, just a simple
  5907. // normalization is needed - if any child is an Array, we flatten the whole
  5908. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5909. // because functional components already normalize their own children.
  5910. function simpleNormalizeChildren (children) {
  5911. for (var i = 0; i < children.length; i++) {
  5912. if (Array.isArray(children[i])) {
  5913. return Array.prototype.concat.apply([], children)
  5914. }
  5915. }
  5916. return children
  5917. }
  5918. // 2. When the children contains constructs that always generated nested Arrays,
  5919. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5920. // with hand-written render functions / JSX. In such cases a full normalization
  5921. // is needed to cater to all possible types of children values.
  5922. function normalizeChildren (children) {
  5923. return isPrimitive(children)
  5924. ? [createTextVNode(children)]
  5925. : Array.isArray(children)
  5926. ? normalizeArrayChildren(children)
  5927. : undefined
  5928. }
  5929. function isTextNode (node) {
  5930. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5931. }
  5932. function normalizeArrayChildren (children, nestedIndex) {
  5933. var res = [];
  5934. var i, c, lastIndex, last;
  5935. for (i = 0; i < children.length; i++) {
  5936. c = children[i];
  5937. if (isUndef(c) || typeof c === 'boolean') { continue }
  5938. lastIndex = res.length - 1;
  5939. last = res[lastIndex];
  5940. // nested
  5941. if (Array.isArray(c)) {
  5942. if (c.length > 0) {
  5943. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5944. // merge adjacent text nodes
  5945. if (isTextNode(c[0]) && isTextNode(last)) {
  5946. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5947. c.shift();
  5948. }
  5949. res.push.apply(res, c);
  5950. }
  5951. } else if (isPrimitive(c)) {
  5952. if (isTextNode(last)) {
  5953. // merge adjacent text nodes
  5954. // this is necessary for SSR hydration because text nodes are
  5955. // essentially merged when rendered to HTML strings
  5956. res[lastIndex] = createTextVNode(last.text + c);
  5957. } else if (c !== '') {
  5958. // convert primitive to vnode
  5959. res.push(createTextVNode(c));
  5960. }
  5961. } else {
  5962. if (isTextNode(c) && isTextNode(last)) {
  5963. // merge adjacent text nodes
  5964. res[lastIndex] = createTextVNode(last.text + c.text);
  5965. } else {
  5966. // default key for nested array children (likely generated by v-for)
  5967. if (isTrue(children._isVList) &&
  5968. isDef(c.tag) &&
  5969. isUndef(c.key) &&
  5970. isDef(nestedIndex)) {
  5971. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5972. }
  5973. res.push(c);
  5974. }
  5975. }
  5976. }
  5977. return res
  5978. }
  5979. /* */
  5980. function initProvide (vm) {
  5981. var provide = vm.$options.provide;
  5982. if (provide) {
  5983. vm._provided = typeof provide === 'function'
  5984. ? provide.call(vm)
  5985. : provide;
  5986. }
  5987. }
  5988. function initInjections (vm) {
  5989. var result = resolveInject(vm.$options.inject, vm);
  5990. if (result) {
  5991. toggleObserving(false);
  5992. Object.keys(result).forEach(function (key) {
  5993. /* istanbul ignore else */
  5994. if (true) {
  5995. defineReactive$$1(vm, key, result[key], function () {
  5996. warn(
  5997. "Avoid mutating an injected value directly since the changes will be " +
  5998. "overwritten whenever the provided component re-renders. " +
  5999. "injection being mutated: \"" + key + "\"",
  6000. vm
  6001. );
  6002. });
  6003. } else {}
  6004. });
  6005. toggleObserving(true);
  6006. }
  6007. }
  6008. function resolveInject (inject, vm) {
  6009. if (inject) {
  6010. // inject is :any because flow is not smart enough to figure out cached
  6011. var result = Object.create(null);
  6012. var keys = hasSymbol
  6013. ? Reflect.ownKeys(inject)
  6014. : Object.keys(inject);
  6015. for (var i = 0; i < keys.length; i++) {
  6016. var key = keys[i];
  6017. // #6574 in case the inject object is observed...
  6018. if (key === '__ob__') { continue }
  6019. var provideKey = inject[key].from;
  6020. var source = vm;
  6021. while (source) {
  6022. if (source._provided && hasOwn(source._provided, provideKey)) {
  6023. result[key] = source._provided[provideKey];
  6024. break
  6025. }
  6026. source = source.$parent;
  6027. }
  6028. if (!source) {
  6029. if ('default' in inject[key]) {
  6030. var provideDefault = inject[key].default;
  6031. result[key] = typeof provideDefault === 'function'
  6032. ? provideDefault.call(vm)
  6033. : provideDefault;
  6034. } else if (true) {
  6035. warn(("Injection \"" + key + "\" not found"), vm);
  6036. }
  6037. }
  6038. }
  6039. return result
  6040. }
  6041. }
  6042. /* */
  6043. /**
  6044. * Runtime helper for resolving raw children VNodes into a slot object.
  6045. */
  6046. function resolveSlots (
  6047. children,
  6048. context
  6049. ) {
  6050. if (!children || !children.length) {
  6051. return {}
  6052. }
  6053. var slots = {};
  6054. for (var i = 0, l = children.length; i < l; i++) {
  6055. var child = children[i];
  6056. var data = child.data;
  6057. // remove slot attribute if the node is resolved as a Vue slot node
  6058. if (data && data.attrs && data.attrs.slot) {
  6059. delete data.attrs.slot;
  6060. }
  6061. // named slots should only be respected if the vnode was rendered in the
  6062. // same context.
  6063. if ((child.context === context || child.fnContext === context) &&
  6064. data && data.slot != null
  6065. ) {
  6066. var name = data.slot;
  6067. var slot = (slots[name] || (slots[name] = []));
  6068. if (child.tag === 'template') {
  6069. slot.push.apply(slot, child.children || []);
  6070. } else {
  6071. slot.push(child);
  6072. }
  6073. } else {
  6074. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  6075. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  6076. (slots['page'] || (slots['page'] = [])).push(child);
  6077. }else{
  6078. (slots.default || (slots.default = [])).push(child);
  6079. }
  6080. }
  6081. }
  6082. // ignore slots that contains only whitespace
  6083. for (var name$1 in slots) {
  6084. if (slots[name$1].every(isWhitespace)) {
  6085. delete slots[name$1];
  6086. }
  6087. }
  6088. return slots
  6089. }
  6090. function isWhitespace (node) {
  6091. return (node.isComment && !node.asyncFactory) || node.text === ' '
  6092. }
  6093. /* */
  6094. function normalizeScopedSlots (
  6095. slots,
  6096. normalSlots,
  6097. prevSlots
  6098. ) {
  6099. var res;
  6100. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  6101. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  6102. var key = slots && slots.$key;
  6103. if (!slots) {
  6104. res = {};
  6105. } else if (slots._normalized) {
  6106. // fast path 1: child component re-render only, parent did not change
  6107. return slots._normalized
  6108. } else if (
  6109. isStable &&
  6110. prevSlots &&
  6111. prevSlots !== emptyObject &&
  6112. key === prevSlots.$key &&
  6113. !hasNormalSlots &&
  6114. !prevSlots.$hasNormal
  6115. ) {
  6116. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  6117. // only need to normalize once
  6118. return prevSlots
  6119. } else {
  6120. res = {};
  6121. for (var key$1 in slots) {
  6122. if (slots[key$1] && key$1[0] !== '$') {
  6123. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  6124. }
  6125. }
  6126. }
  6127. // expose normal slots on scopedSlots
  6128. for (var key$2 in normalSlots) {
  6129. if (!(key$2 in res)) {
  6130. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  6131. }
  6132. }
  6133. // avoriaz seems to mock a non-extensible $scopedSlots object
  6134. // and when that is passed down this would cause an error
  6135. if (slots && Object.isExtensible(slots)) {
  6136. (slots)._normalized = res;
  6137. }
  6138. def(res, '$stable', isStable);
  6139. def(res, '$key', key);
  6140. def(res, '$hasNormal', hasNormalSlots);
  6141. return res
  6142. }
  6143. function normalizeScopedSlot(normalSlots, key, fn) {
  6144. var normalized = function () {
  6145. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  6146. res = res && typeof res === 'object' && !Array.isArray(res)
  6147. ? [res] // single vnode
  6148. : normalizeChildren(res);
  6149. return res && (
  6150. res.length === 0 ||
  6151. (res.length === 1 && res[0].isComment) // #9658
  6152. ) ? undefined
  6153. : res
  6154. };
  6155. // this is a slot using the new v-slot syntax without scope. although it is
  6156. // compiled as a scoped slot, render fn users would expect it to be present
  6157. // on this.$slots because the usage is semantically a normal slot.
  6158. if (fn.proxy) {
  6159. Object.defineProperty(normalSlots, key, {
  6160. get: normalized,
  6161. enumerable: true,
  6162. configurable: true
  6163. });
  6164. }
  6165. return normalized
  6166. }
  6167. function proxyNormalSlot(slots, key) {
  6168. return function () { return slots[key]; }
  6169. }
  6170. /* */
  6171. /**
  6172. * Runtime helper for rendering v-for lists.
  6173. */
  6174. function renderList (
  6175. val,
  6176. render
  6177. ) {
  6178. var ret, i, l, keys, key;
  6179. if (Array.isArray(val) || typeof val === 'string') {
  6180. ret = new Array(val.length);
  6181. for (i = 0, l = val.length; i < l; i++) {
  6182. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  6183. }
  6184. } else if (typeof val === 'number') {
  6185. ret = new Array(val);
  6186. for (i = 0; i < val; i++) {
  6187. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  6188. }
  6189. } else if (isObject(val)) {
  6190. if (hasSymbol && val[Symbol.iterator]) {
  6191. ret = [];
  6192. var iterator = val[Symbol.iterator]();
  6193. var result = iterator.next();
  6194. while (!result.done) {
  6195. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  6196. result = iterator.next();
  6197. }
  6198. } else {
  6199. keys = Object.keys(val);
  6200. ret = new Array(keys.length);
  6201. for (i = 0, l = keys.length; i < l; i++) {
  6202. key = keys[i];
  6203. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  6204. }
  6205. }
  6206. }
  6207. if (!isDef(ret)) {
  6208. ret = [];
  6209. }
  6210. (ret)._isVList = true;
  6211. return ret
  6212. }
  6213. /* */
  6214. /**
  6215. * Runtime helper for rendering <slot>
  6216. */
  6217. function renderSlot (
  6218. name,
  6219. fallback,
  6220. props,
  6221. bindObject
  6222. ) {
  6223. var scopedSlotFn = this.$scopedSlots[name];
  6224. var nodes;
  6225. if (scopedSlotFn) { // scoped slot
  6226. props = props || {};
  6227. if (bindObject) {
  6228. if ( true && !isObject(bindObject)) {
  6229. warn(
  6230. 'slot v-bind without argument expects an Object',
  6231. this
  6232. );
  6233. }
  6234. props = extend(extend({}, bindObject), props);
  6235. }
  6236. // fixed by xxxxxx app-plus scopedSlot
  6237. nodes = scopedSlotFn(props, this, props._i) || fallback;
  6238. } else {
  6239. nodes = this.$slots[name] || fallback;
  6240. }
  6241. var target = props && props.slot;
  6242. if (target) {
  6243. return this.$createElement('template', { slot: target }, nodes)
  6244. } else {
  6245. return nodes
  6246. }
  6247. }
  6248. /* */
  6249. /**
  6250. * Runtime helper for resolving filters
  6251. */
  6252. function resolveFilter (id) {
  6253. return resolveAsset(this.$options, 'filters', id, true) || identity
  6254. }
  6255. /* */
  6256. function isKeyNotMatch (expect, actual) {
  6257. if (Array.isArray(expect)) {
  6258. return expect.indexOf(actual) === -1
  6259. } else {
  6260. return expect !== actual
  6261. }
  6262. }
  6263. /**
  6264. * Runtime helper for checking keyCodes from config.
  6265. * exposed as Vue.prototype._k
  6266. * passing in eventKeyName as last argument separately for backwards compat
  6267. */
  6268. function checkKeyCodes (
  6269. eventKeyCode,
  6270. key,
  6271. builtInKeyCode,
  6272. eventKeyName,
  6273. builtInKeyName
  6274. ) {
  6275. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  6276. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  6277. return isKeyNotMatch(builtInKeyName, eventKeyName)
  6278. } else if (mappedKeyCode) {
  6279. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  6280. } else if (eventKeyName) {
  6281. return hyphenate(eventKeyName) !== key
  6282. }
  6283. }
  6284. /* */
  6285. /**
  6286. * Runtime helper for merging v-bind="object" into a VNode's data.
  6287. */
  6288. function bindObjectProps (
  6289. data,
  6290. tag,
  6291. value,
  6292. asProp,
  6293. isSync
  6294. ) {
  6295. if (value) {
  6296. if (!isObject(value)) {
  6297. true && warn(
  6298. 'v-bind without argument expects an Object or Array value',
  6299. this
  6300. );
  6301. } else {
  6302. if (Array.isArray(value)) {
  6303. value = toObject(value);
  6304. }
  6305. var hash;
  6306. var loop = function ( key ) {
  6307. if (
  6308. key === 'class' ||
  6309. key === 'style' ||
  6310. isReservedAttribute(key)
  6311. ) {
  6312. hash = data;
  6313. } else {
  6314. var type = data.attrs && data.attrs.type;
  6315. hash = asProp || config.mustUseProp(tag, type, key)
  6316. ? data.domProps || (data.domProps = {})
  6317. : data.attrs || (data.attrs = {});
  6318. }
  6319. var camelizedKey = camelize(key);
  6320. var hyphenatedKey = hyphenate(key);
  6321. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  6322. hash[key] = value[key];
  6323. if (isSync) {
  6324. var on = data.on || (data.on = {});
  6325. on[("update:" + key)] = function ($event) {
  6326. value[key] = $event;
  6327. };
  6328. }
  6329. }
  6330. };
  6331. for (var key in value) loop( key );
  6332. }
  6333. }
  6334. return data
  6335. }
  6336. /* */
  6337. /**
  6338. * Runtime helper for rendering static trees.
  6339. */
  6340. function renderStatic (
  6341. index,
  6342. isInFor
  6343. ) {
  6344. var cached = this._staticTrees || (this._staticTrees = []);
  6345. var tree = cached[index];
  6346. // if has already-rendered static tree and not inside v-for,
  6347. // we can reuse the same tree.
  6348. if (tree && !isInFor) {
  6349. return tree
  6350. }
  6351. // otherwise, render a fresh tree.
  6352. tree = cached[index] = this.$options.staticRenderFns[index].call(
  6353. this._renderProxy,
  6354. null,
  6355. this // for render fns generated for functional component templates
  6356. );
  6357. markStatic(tree, ("__static__" + index), false);
  6358. return tree
  6359. }
  6360. /**
  6361. * Runtime helper for v-once.
  6362. * Effectively it means marking the node as static with a unique key.
  6363. */
  6364. function markOnce (
  6365. tree,
  6366. index,
  6367. key
  6368. ) {
  6369. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  6370. return tree
  6371. }
  6372. function markStatic (
  6373. tree,
  6374. key,
  6375. isOnce
  6376. ) {
  6377. if (Array.isArray(tree)) {
  6378. for (var i = 0; i < tree.length; i++) {
  6379. if (tree[i] && typeof tree[i] !== 'string') {
  6380. markStaticNode(tree[i], (key + "_" + i), isOnce);
  6381. }
  6382. }
  6383. } else {
  6384. markStaticNode(tree, key, isOnce);
  6385. }
  6386. }
  6387. function markStaticNode (node, key, isOnce) {
  6388. node.isStatic = true;
  6389. node.key = key;
  6390. node.isOnce = isOnce;
  6391. }
  6392. /* */
  6393. function bindObjectListeners (data, value) {
  6394. if (value) {
  6395. if (!isPlainObject(value)) {
  6396. true && warn(
  6397. 'v-on without argument expects an Object value',
  6398. this
  6399. );
  6400. } else {
  6401. var on = data.on = data.on ? extend({}, data.on) : {};
  6402. for (var key in value) {
  6403. var existing = on[key];
  6404. var ours = value[key];
  6405. on[key] = existing ? [].concat(existing, ours) : ours;
  6406. }
  6407. }
  6408. }
  6409. return data
  6410. }
  6411. /* */
  6412. function resolveScopedSlots (
  6413. fns, // see flow/vnode
  6414. res,
  6415. // the following are added in 2.6
  6416. hasDynamicKeys,
  6417. contentHashKey
  6418. ) {
  6419. res = res || { $stable: !hasDynamicKeys };
  6420. for (var i = 0; i < fns.length; i++) {
  6421. var slot = fns[i];
  6422. if (Array.isArray(slot)) {
  6423. resolveScopedSlots(slot, res, hasDynamicKeys);
  6424. } else if (slot) {
  6425. // marker for reverse proxying v-slot without scope on this.$slots
  6426. if (slot.proxy) {
  6427. slot.fn.proxy = true;
  6428. }
  6429. res[slot.key] = slot.fn;
  6430. }
  6431. }
  6432. if (contentHashKey) {
  6433. (res).$key = contentHashKey;
  6434. }
  6435. return res
  6436. }
  6437. /* */
  6438. function bindDynamicKeys (baseObj, values) {
  6439. for (var i = 0; i < values.length; i += 2) {
  6440. var key = values[i];
  6441. if (typeof key === 'string' && key) {
  6442. baseObj[values[i]] = values[i + 1];
  6443. } else if ( true && key !== '' && key !== null) {
  6444. // null is a special value for explicitly removing a binding
  6445. warn(
  6446. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  6447. this
  6448. );
  6449. }
  6450. }
  6451. return baseObj
  6452. }
  6453. // helper to dynamically append modifier runtime markers to event names.
  6454. // ensure only append when value is already string, otherwise it will be cast
  6455. // to string and cause the type check to miss.
  6456. function prependModifier (value, symbol) {
  6457. return typeof value === 'string' ? symbol + value : value
  6458. }
  6459. /* */
  6460. function installRenderHelpers (target) {
  6461. target._o = markOnce;
  6462. target._n = toNumber;
  6463. target._s = toString;
  6464. target._l = renderList;
  6465. target._t = renderSlot;
  6466. target._q = looseEqual;
  6467. target._i = looseIndexOf;
  6468. target._m = renderStatic;
  6469. target._f = resolveFilter;
  6470. target._k = checkKeyCodes;
  6471. target._b = bindObjectProps;
  6472. target._v = createTextVNode;
  6473. target._e = createEmptyVNode;
  6474. target._u = resolveScopedSlots;
  6475. target._g = bindObjectListeners;
  6476. target._d = bindDynamicKeys;
  6477. target._p = prependModifier;
  6478. }
  6479. /* */
  6480. function FunctionalRenderContext (
  6481. data,
  6482. props,
  6483. children,
  6484. parent,
  6485. Ctor
  6486. ) {
  6487. var this$1 = this;
  6488. var options = Ctor.options;
  6489. // ensure the createElement function in functional components
  6490. // gets a unique context - this is necessary for correct named slot check
  6491. var contextVm;
  6492. if (hasOwn(parent, '_uid')) {
  6493. contextVm = Object.create(parent);
  6494. // $flow-disable-line
  6495. contextVm._original = parent;
  6496. } else {
  6497. // the context vm passed in is a functional context as well.
  6498. // in this case we want to make sure we are able to get a hold to the
  6499. // real context instance.
  6500. contextVm = parent;
  6501. // $flow-disable-line
  6502. parent = parent._original;
  6503. }
  6504. var isCompiled = isTrue(options._compiled);
  6505. var needNormalization = !isCompiled;
  6506. this.data = data;
  6507. this.props = props;
  6508. this.children = children;
  6509. this.parent = parent;
  6510. this.listeners = data.on || emptyObject;
  6511. this.injections = resolveInject(options.inject, parent);
  6512. this.slots = function () {
  6513. if (!this$1.$slots) {
  6514. normalizeScopedSlots(
  6515. data.scopedSlots,
  6516. this$1.$slots = resolveSlots(children, parent)
  6517. );
  6518. }
  6519. return this$1.$slots
  6520. };
  6521. Object.defineProperty(this, 'scopedSlots', ({
  6522. enumerable: true,
  6523. get: function get () {
  6524. return normalizeScopedSlots(data.scopedSlots, this.slots())
  6525. }
  6526. }));
  6527. // support for compiled functional template
  6528. if (isCompiled) {
  6529. // exposing $options for renderStatic()
  6530. this.$options = options;
  6531. // pre-resolve slots for renderSlot()
  6532. this.$slots = this.slots();
  6533. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  6534. }
  6535. if (options._scopeId) {
  6536. this._c = function (a, b, c, d) {
  6537. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  6538. if (vnode && !Array.isArray(vnode)) {
  6539. vnode.fnScopeId = options._scopeId;
  6540. vnode.fnContext = parent;
  6541. }
  6542. return vnode
  6543. };
  6544. } else {
  6545. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  6546. }
  6547. }
  6548. installRenderHelpers(FunctionalRenderContext.prototype);
  6549. function createFunctionalComponent (
  6550. Ctor,
  6551. propsData,
  6552. data,
  6553. contextVm,
  6554. children
  6555. ) {
  6556. var options = Ctor.options;
  6557. var props = {};
  6558. var propOptions = options.props;
  6559. if (isDef(propOptions)) {
  6560. for (var key in propOptions) {
  6561. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  6562. }
  6563. } else {
  6564. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  6565. if (isDef(data.props)) { mergeProps(props, data.props); }
  6566. }
  6567. var renderContext = new FunctionalRenderContext(
  6568. data,
  6569. props,
  6570. children,
  6571. contextVm,
  6572. Ctor
  6573. );
  6574. var vnode = options.render.call(null, renderContext._c, renderContext);
  6575. if (vnode instanceof VNode) {
  6576. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  6577. } else if (Array.isArray(vnode)) {
  6578. var vnodes = normalizeChildren(vnode) || [];
  6579. var res = new Array(vnodes.length);
  6580. for (var i = 0; i < vnodes.length; i++) {
  6581. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  6582. }
  6583. return res
  6584. }
  6585. }
  6586. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  6587. // #7817 clone node before setting fnContext, otherwise if the node is reused
  6588. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  6589. // that should not be matched to match.
  6590. var clone = cloneVNode(vnode);
  6591. clone.fnContext = contextVm;
  6592. clone.fnOptions = options;
  6593. if (true) {
  6594. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  6595. }
  6596. if (data.slot) {
  6597. (clone.data || (clone.data = {})).slot = data.slot;
  6598. }
  6599. return clone
  6600. }
  6601. function mergeProps (to, from) {
  6602. for (var key in from) {
  6603. to[camelize(key)] = from[key];
  6604. }
  6605. }
  6606. /* */
  6607. /* */
  6608. /* */
  6609. /* */
  6610. // inline hooks to be invoked on component VNodes during patch
  6611. var componentVNodeHooks = {
  6612. init: function init (vnode, hydrating) {
  6613. if (
  6614. vnode.componentInstance &&
  6615. !vnode.componentInstance._isDestroyed &&
  6616. vnode.data.keepAlive
  6617. ) {
  6618. // kept-alive components, treat as a patch
  6619. var mountedNode = vnode; // work around flow
  6620. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6621. } else {
  6622. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6623. vnode,
  6624. activeInstance
  6625. );
  6626. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6627. }
  6628. },
  6629. prepatch: function prepatch (oldVnode, vnode) {
  6630. var options = vnode.componentOptions;
  6631. var child = vnode.componentInstance = oldVnode.componentInstance;
  6632. updateChildComponent(
  6633. child,
  6634. options.propsData, // updated props
  6635. options.listeners, // updated listeners
  6636. vnode, // new parent vnode
  6637. options.children // new children
  6638. );
  6639. },
  6640. insert: function insert (vnode) {
  6641. var context = vnode.context;
  6642. var componentInstance = vnode.componentInstance;
  6643. if (!componentInstance._isMounted) {
  6644. callHook(componentInstance, 'onServiceCreated');
  6645. callHook(componentInstance, 'onServiceAttached');
  6646. componentInstance._isMounted = true;
  6647. callHook(componentInstance, 'mounted');
  6648. }
  6649. if (vnode.data.keepAlive) {
  6650. if (context._isMounted) {
  6651. // vue-router#1212
  6652. // During updates, a kept-alive component's child components may
  6653. // change, so directly walking the tree here may call activated hooks
  6654. // on incorrect children. Instead we push them into a queue which will
  6655. // be processed after the whole patch process ended.
  6656. queueActivatedComponent(componentInstance);
  6657. } else {
  6658. activateChildComponent(componentInstance, true /* direct */);
  6659. }
  6660. }
  6661. },
  6662. destroy: function destroy (vnode) {
  6663. var componentInstance = vnode.componentInstance;
  6664. if (!componentInstance._isDestroyed) {
  6665. if (!vnode.data.keepAlive) {
  6666. componentInstance.$destroy();
  6667. } else {
  6668. deactivateChildComponent(componentInstance, true /* direct */);
  6669. }
  6670. }
  6671. }
  6672. };
  6673. var hooksToMerge = Object.keys(componentVNodeHooks);
  6674. function createComponent (
  6675. Ctor,
  6676. data,
  6677. context,
  6678. children,
  6679. tag
  6680. ) {
  6681. if (isUndef(Ctor)) {
  6682. return
  6683. }
  6684. var baseCtor = context.$options._base;
  6685. // plain options object: turn it into a constructor
  6686. if (isObject(Ctor)) {
  6687. Ctor = baseCtor.extend(Ctor);
  6688. }
  6689. // if at this stage it's not a constructor or an async component factory,
  6690. // reject.
  6691. if (typeof Ctor !== 'function') {
  6692. if (true) {
  6693. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6694. }
  6695. return
  6696. }
  6697. // async component
  6698. var asyncFactory;
  6699. if (isUndef(Ctor.cid)) {
  6700. asyncFactory = Ctor;
  6701. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6702. if (Ctor === undefined) {
  6703. // return a placeholder node for async component, which is rendered
  6704. // as a comment node but preserves all the raw information for the node.
  6705. // the information will be used for async server-rendering and hydration.
  6706. return createAsyncPlaceholder(
  6707. asyncFactory,
  6708. data,
  6709. context,
  6710. children,
  6711. tag
  6712. )
  6713. }
  6714. }
  6715. data = data || {};
  6716. // resolve constructor options in case global mixins are applied after
  6717. // component constructor creation
  6718. resolveConstructorOptions(Ctor);
  6719. // transform component v-model data into props & events
  6720. if (isDef(data.model)) {
  6721. transformModel(Ctor.options, data);
  6722. }
  6723. // extract props
  6724. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6725. // functional component
  6726. if (isTrue(Ctor.options.functional)) {
  6727. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6728. }
  6729. // extract listeners, since these needs to be treated as
  6730. // child component listeners instead of DOM listeners
  6731. var listeners = data.on;
  6732. // replace with listeners with .native modifier
  6733. // so it gets processed during parent component patch.
  6734. data.on = data.nativeOn;
  6735. if (isTrue(Ctor.options.abstract)) {
  6736. // abstract components do not keep anything
  6737. // other than props & listeners & slot
  6738. // work around flow
  6739. var slot = data.slot;
  6740. data = {};
  6741. if (slot) {
  6742. data.slot = slot;
  6743. }
  6744. }
  6745. // install component management hooks onto the placeholder node
  6746. installComponentHooks(data);
  6747. // return a placeholder vnode
  6748. var name = Ctor.options.name || tag;
  6749. var vnode = new VNode(
  6750. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6751. data, undefined, undefined, undefined, context,
  6752. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6753. asyncFactory
  6754. );
  6755. return vnode
  6756. }
  6757. function createComponentInstanceForVnode (
  6758. vnode, // we know it's MountedComponentVNode but flow doesn't
  6759. parent // activeInstance in lifecycle state
  6760. ) {
  6761. var options = {
  6762. _isComponent: true,
  6763. _parentVnode: vnode,
  6764. parent: parent
  6765. };
  6766. // check inline-template render functions
  6767. var inlineTemplate = vnode.data.inlineTemplate;
  6768. if (isDef(inlineTemplate)) {
  6769. options.render = inlineTemplate.render;
  6770. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6771. }
  6772. return new vnode.componentOptions.Ctor(options)
  6773. }
  6774. function installComponentHooks (data) {
  6775. var hooks = data.hook || (data.hook = {});
  6776. for (var i = 0; i < hooksToMerge.length; i++) {
  6777. var key = hooksToMerge[i];
  6778. var existing = hooks[key];
  6779. var toMerge = componentVNodeHooks[key];
  6780. if (existing !== toMerge && !(existing && existing._merged)) {
  6781. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6782. }
  6783. }
  6784. }
  6785. function mergeHook$1 (f1, f2) {
  6786. var merged = function (a, b) {
  6787. // flow complains about extra args which is why we use any
  6788. f1(a, b);
  6789. f2(a, b);
  6790. };
  6791. merged._merged = true;
  6792. return merged
  6793. }
  6794. // transform component v-model info (value and callback) into
  6795. // prop and event handler respectively.
  6796. function transformModel (options, data) {
  6797. var prop = (options.model && options.model.prop) || 'value';
  6798. var event = (options.model && options.model.event) || 'input'
  6799. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6800. var on = data.on || (data.on = {});
  6801. var existing = on[event];
  6802. var callback = data.model.callback;
  6803. if (isDef(existing)) {
  6804. if (
  6805. Array.isArray(existing)
  6806. ? existing.indexOf(callback) === -1
  6807. : existing !== callback
  6808. ) {
  6809. on[event] = [callback].concat(existing);
  6810. }
  6811. } else {
  6812. on[event] = callback;
  6813. }
  6814. }
  6815. /* */
  6816. var SIMPLE_NORMALIZE = 1;
  6817. var ALWAYS_NORMALIZE = 2;
  6818. // wrapper function for providing a more flexible interface
  6819. // without getting yelled at by flow
  6820. function createElement (
  6821. context,
  6822. tag,
  6823. data,
  6824. children,
  6825. normalizationType,
  6826. alwaysNormalize
  6827. ) {
  6828. if (Array.isArray(data) || isPrimitive(data)) {
  6829. normalizationType = children;
  6830. children = data;
  6831. data = undefined;
  6832. }
  6833. if (isTrue(alwaysNormalize)) {
  6834. normalizationType = ALWAYS_NORMALIZE;
  6835. }
  6836. return _createElement(context, tag, data, children, normalizationType)
  6837. }
  6838. function _createElement (
  6839. context,
  6840. tag,
  6841. data,
  6842. children,
  6843. normalizationType
  6844. ) {
  6845. if (isDef(data) && isDef((data).__ob__)) {
  6846. true && warn(
  6847. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6848. 'Always create fresh vnode data objects in each render!',
  6849. context
  6850. );
  6851. return createEmptyVNode()
  6852. }
  6853. // object syntax in v-bind
  6854. if (isDef(data) && isDef(data.is)) {
  6855. tag = data.is;
  6856. }
  6857. if (!tag) {
  6858. // in case of component :is set to falsy value
  6859. return createEmptyVNode()
  6860. }
  6861. // warn against non-primitive key
  6862. if ( true &&
  6863. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6864. ) {
  6865. {
  6866. warn(
  6867. 'Avoid using non-primitive value as key, ' +
  6868. 'use string/number value instead.',
  6869. context
  6870. );
  6871. }
  6872. }
  6873. // support single function children as default scoped slot
  6874. if (Array.isArray(children) &&
  6875. typeof children[0] === 'function'
  6876. ) {
  6877. data = data || {};
  6878. data.scopedSlots = { default: children[0] };
  6879. children.length = 0;
  6880. }
  6881. if (normalizationType === ALWAYS_NORMALIZE) {
  6882. children = normalizeChildren(children);
  6883. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6884. children = simpleNormalizeChildren(children);
  6885. }
  6886. var vnode, ns;
  6887. if (typeof tag === 'string') {
  6888. var Ctor;
  6889. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6890. if (config.isReservedTag(tag)) {
  6891. // platform built-in elements
  6892. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6893. warn(
  6894. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6895. context
  6896. );
  6897. }
  6898. vnode = new VNode(
  6899. config.parsePlatformTagName(tag), data, children,
  6900. undefined, undefined, context
  6901. );
  6902. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6903. // component
  6904. vnode = createComponent(Ctor, data, context, children, tag);
  6905. } else {
  6906. // unknown or unlisted namespaced elements
  6907. // check at runtime because it may get assigned a namespace when its
  6908. // parent normalizes children
  6909. vnode = new VNode(
  6910. tag, data, children,
  6911. undefined, undefined, context
  6912. );
  6913. }
  6914. } else {
  6915. // direct component options / constructor
  6916. vnode = createComponent(tag, data, context, children);
  6917. }
  6918. if (Array.isArray(vnode)) {
  6919. return vnode
  6920. } else if (isDef(vnode)) {
  6921. if (isDef(ns)) { applyNS(vnode, ns); }
  6922. if (isDef(data)) { registerDeepBindings(data); }
  6923. return vnode
  6924. } else {
  6925. return createEmptyVNode()
  6926. }
  6927. }
  6928. function applyNS (vnode, ns, force) {
  6929. vnode.ns = ns;
  6930. if (vnode.tag === 'foreignObject') {
  6931. // use default namespace inside foreignObject
  6932. ns = undefined;
  6933. force = true;
  6934. }
  6935. if (isDef(vnode.children)) {
  6936. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6937. var child = vnode.children[i];
  6938. if (isDef(child.tag) && (
  6939. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6940. applyNS(child, ns, force);
  6941. }
  6942. }
  6943. }
  6944. }
  6945. // ref #5318
  6946. // necessary to ensure parent re-render when deep bindings like :style and
  6947. // :class are used on slot nodes
  6948. function registerDeepBindings (data) {
  6949. if (isObject(data.style)) {
  6950. traverse(data.style);
  6951. }
  6952. if (isObject(data.class)) {
  6953. traverse(data.class);
  6954. }
  6955. }
  6956. /* */
  6957. function initRender (vm) {
  6958. vm._vnode = null; // the root of the child tree
  6959. vm._staticTrees = null; // v-once cached trees
  6960. var options = vm.$options;
  6961. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6962. var renderContext = parentVnode && parentVnode.context;
  6963. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6964. vm.$scopedSlots = emptyObject;
  6965. // bind the createElement fn to this instance
  6966. // so that we get proper render context inside it.
  6967. // args order: tag, data, children, normalizationType, alwaysNormalize
  6968. // internal version is used by render functions compiled from templates
  6969. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6970. // normalization is always applied for the public version, used in
  6971. // user-written render functions.
  6972. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6973. // $attrs & $listeners are exposed for easier HOC creation.
  6974. // they need to be reactive so that HOCs using them are always updated
  6975. var parentData = parentVnode && parentVnode.data;
  6976. /* istanbul ignore else */
  6977. if (true) {
  6978. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6979. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6980. }, true);
  6981. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6982. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6983. }, true);
  6984. } else {}
  6985. }
  6986. var currentRenderingInstance = null;
  6987. function renderMixin (Vue) {
  6988. // install runtime convenience helpers
  6989. installRenderHelpers(Vue.prototype);
  6990. Vue.prototype.$nextTick = function (fn) {
  6991. return nextTick(fn, this)
  6992. };
  6993. Vue.prototype._render = function () {
  6994. var vm = this;
  6995. var ref = vm.$options;
  6996. var render = ref.render;
  6997. var _parentVnode = ref._parentVnode;
  6998. if (_parentVnode) {
  6999. vm.$scopedSlots = normalizeScopedSlots(
  7000. _parentVnode.data.scopedSlots,
  7001. vm.$slots,
  7002. vm.$scopedSlots
  7003. );
  7004. }
  7005. // set parent vnode. this allows render functions to have access
  7006. // to the data on the placeholder node.
  7007. vm.$vnode = _parentVnode;
  7008. // render self
  7009. var vnode;
  7010. try {
  7011. // There's no need to maintain a stack because all render fns are called
  7012. // separately from one another. Nested component's render fns are called
  7013. // when parent component is patched.
  7014. currentRenderingInstance = vm;
  7015. vnode = render.call(vm._renderProxy, vm.$createElement);
  7016. } catch (e) {
  7017. handleError(e, vm, "render");
  7018. // return error render result,
  7019. // or previous vnode to prevent render error causing blank component
  7020. /* istanbul ignore else */
  7021. if ( true && vm.$options.renderError) {
  7022. try {
  7023. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  7024. } catch (e) {
  7025. handleError(e, vm, "renderError");
  7026. vnode = vm._vnode;
  7027. }
  7028. } else {
  7029. vnode = vm._vnode;
  7030. }
  7031. } finally {
  7032. currentRenderingInstance = null;
  7033. }
  7034. // if the returned array contains only a single node, allow it
  7035. if (Array.isArray(vnode) && vnode.length === 1) {
  7036. vnode = vnode[0];
  7037. }
  7038. // return empty vnode in case the render function errored out
  7039. if (!(vnode instanceof VNode)) {
  7040. if ( true && Array.isArray(vnode)) {
  7041. warn(
  7042. 'Multiple root nodes returned from render function. Render function ' +
  7043. 'should return a single root node.',
  7044. vm
  7045. );
  7046. }
  7047. vnode = createEmptyVNode();
  7048. }
  7049. // set parent
  7050. vnode.parent = _parentVnode;
  7051. return vnode
  7052. };
  7053. }
  7054. /* */
  7055. function ensureCtor (comp, base) {
  7056. if (
  7057. comp.__esModule ||
  7058. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  7059. ) {
  7060. comp = comp.default;
  7061. }
  7062. return isObject(comp)
  7063. ? base.extend(comp)
  7064. : comp
  7065. }
  7066. function createAsyncPlaceholder (
  7067. factory,
  7068. data,
  7069. context,
  7070. children,
  7071. tag
  7072. ) {
  7073. var node = createEmptyVNode();
  7074. node.asyncFactory = factory;
  7075. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  7076. return node
  7077. }
  7078. function resolveAsyncComponent (
  7079. factory,
  7080. baseCtor
  7081. ) {
  7082. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  7083. return factory.errorComp
  7084. }
  7085. if (isDef(factory.resolved)) {
  7086. return factory.resolved
  7087. }
  7088. var owner = currentRenderingInstance;
  7089. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  7090. // already pending
  7091. factory.owners.push(owner);
  7092. }
  7093. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  7094. return factory.loadingComp
  7095. }
  7096. if (owner && !isDef(factory.owners)) {
  7097. var owners = factory.owners = [owner];
  7098. var sync = true;
  7099. var timerLoading = null;
  7100. var timerTimeout = null
  7101. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  7102. var forceRender = function (renderCompleted) {
  7103. for (var i = 0, l = owners.length; i < l; i++) {
  7104. (owners[i]).$forceUpdate();
  7105. }
  7106. if (renderCompleted) {
  7107. owners.length = 0;
  7108. if (timerLoading !== null) {
  7109. clearTimeout(timerLoading);
  7110. timerLoading = null;
  7111. }
  7112. if (timerTimeout !== null) {
  7113. clearTimeout(timerTimeout);
  7114. timerTimeout = null;
  7115. }
  7116. }
  7117. };
  7118. var resolve = once(function (res) {
  7119. // cache resolved
  7120. factory.resolved = ensureCtor(res, baseCtor);
  7121. // invoke callbacks only if this is not a synchronous resolve
  7122. // (async resolves are shimmed as synchronous during SSR)
  7123. if (!sync) {
  7124. forceRender(true);
  7125. } else {
  7126. owners.length = 0;
  7127. }
  7128. });
  7129. var reject = once(function (reason) {
  7130. true && warn(
  7131. "Failed to resolve async component: " + (String(factory)) +
  7132. (reason ? ("\nReason: " + reason) : '')
  7133. );
  7134. if (isDef(factory.errorComp)) {
  7135. factory.error = true;
  7136. forceRender(true);
  7137. }
  7138. });
  7139. var res = factory(resolve, reject);
  7140. if (isObject(res)) {
  7141. if (isPromise(res)) {
  7142. // () => Promise
  7143. if (isUndef(factory.resolved)) {
  7144. res.then(resolve, reject);
  7145. }
  7146. } else if (isPromise(res.component)) {
  7147. res.component.then(resolve, reject);
  7148. if (isDef(res.error)) {
  7149. factory.errorComp = ensureCtor(res.error, baseCtor);
  7150. }
  7151. if (isDef(res.loading)) {
  7152. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  7153. if (res.delay === 0) {
  7154. factory.loading = true;
  7155. } else {
  7156. timerLoading = setTimeout(function () {
  7157. timerLoading = null;
  7158. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  7159. factory.loading = true;
  7160. forceRender(false);
  7161. }
  7162. }, res.delay || 200);
  7163. }
  7164. }
  7165. if (isDef(res.timeout)) {
  7166. timerTimeout = setTimeout(function () {
  7167. timerTimeout = null;
  7168. if (isUndef(factory.resolved)) {
  7169. reject(
  7170. true
  7171. ? ("timeout (" + (res.timeout) + "ms)")
  7172. : undefined
  7173. );
  7174. }
  7175. }, res.timeout);
  7176. }
  7177. }
  7178. }
  7179. sync = false;
  7180. // return in case resolved synchronously
  7181. return factory.loading
  7182. ? factory.loadingComp
  7183. : factory.resolved
  7184. }
  7185. }
  7186. /* */
  7187. function isAsyncPlaceholder (node) {
  7188. return node.isComment && node.asyncFactory
  7189. }
  7190. /* */
  7191. function getFirstComponentChild (children) {
  7192. if (Array.isArray(children)) {
  7193. for (var i = 0; i < children.length; i++) {
  7194. var c = children[i];
  7195. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  7196. return c
  7197. }
  7198. }
  7199. }
  7200. }
  7201. /* */
  7202. /* */
  7203. function initEvents (vm) {
  7204. vm._events = Object.create(null);
  7205. vm._hasHookEvent = false;
  7206. // init parent attached events
  7207. var listeners = vm.$options._parentListeners;
  7208. if (listeners) {
  7209. updateComponentListeners(vm, listeners);
  7210. }
  7211. }
  7212. var target;
  7213. function add (event, fn) {
  7214. target.$on(event, fn);
  7215. }
  7216. function remove$1 (event, fn) {
  7217. target.$off(event, fn);
  7218. }
  7219. function createOnceHandler (event, fn) {
  7220. var _target = target;
  7221. return function onceHandler () {
  7222. var res = fn.apply(null, arguments);
  7223. if (res !== null) {
  7224. _target.$off(event, onceHandler);
  7225. }
  7226. }
  7227. }
  7228. function updateComponentListeners (
  7229. vm,
  7230. listeners,
  7231. oldListeners
  7232. ) {
  7233. target = vm;
  7234. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  7235. target = undefined;
  7236. }
  7237. function eventsMixin (Vue) {
  7238. var hookRE = /^hook:/;
  7239. Vue.prototype.$on = function (event, fn) {
  7240. var vm = this;
  7241. if (Array.isArray(event)) {
  7242. for (var i = 0, l = event.length; i < l; i++) {
  7243. vm.$on(event[i], fn);
  7244. }
  7245. } else {
  7246. (vm._events[event] || (vm._events[event] = [])).push(fn);
  7247. // optimize hook:event cost by using a boolean flag marked at registration
  7248. // instead of a hash lookup
  7249. if (hookRE.test(event)) {
  7250. vm._hasHookEvent = true;
  7251. }
  7252. }
  7253. return vm
  7254. };
  7255. Vue.prototype.$once = function (event, fn) {
  7256. var vm = this;
  7257. function on () {
  7258. vm.$off(event, on);
  7259. fn.apply(vm, arguments);
  7260. }
  7261. on.fn = fn;
  7262. vm.$on(event, on);
  7263. return vm
  7264. };
  7265. Vue.prototype.$off = function (event, fn) {
  7266. var vm = this;
  7267. // all
  7268. if (!arguments.length) {
  7269. vm._events = Object.create(null);
  7270. return vm
  7271. }
  7272. // array of events
  7273. if (Array.isArray(event)) {
  7274. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  7275. vm.$off(event[i$1], fn);
  7276. }
  7277. return vm
  7278. }
  7279. // specific event
  7280. var cbs = vm._events[event];
  7281. if (!cbs) {
  7282. return vm
  7283. }
  7284. if (!fn) {
  7285. vm._events[event] = null;
  7286. return vm
  7287. }
  7288. // specific handler
  7289. var cb;
  7290. var i = cbs.length;
  7291. while (i--) {
  7292. cb = cbs[i];
  7293. if (cb === fn || cb.fn === fn) {
  7294. cbs.splice(i, 1);
  7295. break
  7296. }
  7297. }
  7298. return vm
  7299. };
  7300. Vue.prototype.$emit = function (event) {
  7301. var vm = this;
  7302. if (true) {
  7303. var lowerCaseEvent = event.toLowerCase();
  7304. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  7305. tip(
  7306. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  7307. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  7308. "Note that HTML attributes are case-insensitive and you cannot use " +
  7309. "v-on to listen to camelCase events when using in-DOM templates. " +
  7310. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  7311. );
  7312. }
  7313. }
  7314. var cbs = vm._events[event];
  7315. if (cbs) {
  7316. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  7317. var args = toArray(arguments, 1);
  7318. var info = "event handler for \"" + event + "\"";
  7319. for (var i = 0, l = cbs.length; i < l; i++) {
  7320. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  7321. }
  7322. }
  7323. return vm
  7324. };
  7325. }
  7326. /* */
  7327. var activeInstance = null;
  7328. var isUpdatingChildComponent = false;
  7329. function setActiveInstance(vm) {
  7330. var prevActiveInstance = activeInstance;
  7331. activeInstance = vm;
  7332. return function () {
  7333. activeInstance = prevActiveInstance;
  7334. }
  7335. }
  7336. function initLifecycle (vm) {
  7337. var options = vm.$options;
  7338. // locate first non-abstract parent
  7339. var parent = options.parent;
  7340. if (parent && !options.abstract) {
  7341. while (parent.$options.abstract && parent.$parent) {
  7342. parent = parent.$parent;
  7343. }
  7344. parent.$children.push(vm);
  7345. }
  7346. vm.$parent = parent;
  7347. vm.$root = parent ? parent.$root : vm;
  7348. vm.$children = [];
  7349. vm.$refs = {};
  7350. vm._watcher = null;
  7351. vm._inactive = null;
  7352. vm._directInactive = false;
  7353. vm._isMounted = false;
  7354. vm._isDestroyed = false;
  7355. vm._isBeingDestroyed = false;
  7356. }
  7357. function lifecycleMixin (Vue) {
  7358. Vue.prototype._update = function (vnode, hydrating) {
  7359. var vm = this;
  7360. var prevEl = vm.$el;
  7361. var prevVnode = vm._vnode;
  7362. var restoreActiveInstance = setActiveInstance(vm);
  7363. vm._vnode = vnode;
  7364. // Vue.prototype.__patch__ is injected in entry points
  7365. // based on the rendering backend used.
  7366. if (!prevVnode) {
  7367. // initial render
  7368. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  7369. } else {
  7370. // updates
  7371. vm.$el = vm.__patch__(prevVnode, vnode);
  7372. }
  7373. restoreActiveInstance();
  7374. // update __vue__ reference
  7375. if (prevEl) {
  7376. prevEl.__vue__ = null;
  7377. }
  7378. if (vm.$el) {
  7379. vm.$el.__vue__ = vm;
  7380. }
  7381. // if parent is an HOC, update its $el as well
  7382. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  7383. vm.$parent.$el = vm.$el;
  7384. }
  7385. // updated hook is called by the scheduler to ensure that children are
  7386. // updated in a parent's updated hook.
  7387. };
  7388. Vue.prototype.$forceUpdate = function () {
  7389. var vm = this;
  7390. if (vm._watcher) {
  7391. vm._watcher.update();
  7392. }
  7393. };
  7394. Vue.prototype.$destroy = function () {
  7395. var vm = this;
  7396. if (vm._isBeingDestroyed) {
  7397. return
  7398. }
  7399. callHook(vm, 'beforeDestroy');
  7400. vm._isBeingDestroyed = true;
  7401. // remove self from parent
  7402. var parent = vm.$parent;
  7403. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  7404. remove(parent.$children, vm);
  7405. }
  7406. // teardown watchers
  7407. if (vm._watcher) {
  7408. vm._watcher.teardown();
  7409. }
  7410. var i = vm._watchers.length;
  7411. while (i--) {
  7412. vm._watchers[i].teardown();
  7413. }
  7414. // remove reference from data ob
  7415. // frozen object may not have observer.
  7416. if (vm._data.__ob__) {
  7417. vm._data.__ob__.vmCount--;
  7418. }
  7419. // call the last hook...
  7420. vm._isDestroyed = true;
  7421. // invoke destroy hooks on current rendered tree
  7422. vm.__patch__(vm._vnode, null);
  7423. // fire destroyed hook
  7424. callHook(vm, 'destroyed');
  7425. // turn off all instance listeners.
  7426. vm.$off();
  7427. // remove __vue__ reference
  7428. if (vm.$el) {
  7429. vm.$el.__vue__ = null;
  7430. }
  7431. // release circular reference (#6759)
  7432. if (vm.$vnode) {
  7433. vm.$vnode.parent = null;
  7434. }
  7435. };
  7436. }
  7437. function updateChildComponent (
  7438. vm,
  7439. propsData,
  7440. listeners,
  7441. parentVnode,
  7442. renderChildren
  7443. ) {
  7444. if (true) {
  7445. isUpdatingChildComponent = true;
  7446. }
  7447. // determine whether component has slot children
  7448. // we need to do this before overwriting $options._renderChildren.
  7449. // check if there are dynamic scopedSlots (hand-written or compiled but with
  7450. // dynamic slot names). Static scoped slots compiled from template has the
  7451. // "$stable" marker.
  7452. var newScopedSlots = parentVnode.data.scopedSlots;
  7453. var oldScopedSlots = vm.$scopedSlots;
  7454. var hasDynamicScopedSlot = !!(
  7455. (newScopedSlots && !newScopedSlots.$stable) ||
  7456. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  7457. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  7458. );
  7459. // Any static slot children from the parent may have changed during parent's
  7460. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  7461. // update is necessary to ensure correctness.
  7462. var needsForceUpdate = !!(
  7463. renderChildren || // has new static slots
  7464. vm.$options._renderChildren || // has old static slots
  7465. hasDynamicScopedSlot
  7466. );
  7467. vm.$options._parentVnode = parentVnode;
  7468. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  7469. if (vm._vnode) { // update child tree's parent
  7470. vm._vnode.parent = parentVnode;
  7471. }
  7472. vm.$options._renderChildren = renderChildren;
  7473. // update $attrs and $listeners hash
  7474. // these are also reactive so they may trigger child update if the child
  7475. // used them during render
  7476. vm.$attrs = parentVnode.data.attrs || emptyObject;
  7477. vm.$listeners = listeners || emptyObject;
  7478. // update props
  7479. if (propsData && vm.$options.props) {
  7480. toggleObserving(false);
  7481. var props = vm._props;
  7482. var propKeys = vm.$options._propKeys || [];
  7483. for (var i = 0; i < propKeys.length; i++) {
  7484. var key = propKeys[i];
  7485. var propOptions = vm.$options.props; // wtf flow?
  7486. props[key] = validateProp(key, propOptions, propsData, vm);
  7487. }
  7488. toggleObserving(true);
  7489. // keep a copy of raw propsData
  7490. vm.$options.propsData = propsData;
  7491. }
  7492. // fixed by xxxxxx update properties(mp runtime)
  7493. vm._$updateProperties && vm._$updateProperties(vm);
  7494. // update listeners
  7495. listeners = listeners || emptyObject;
  7496. var oldListeners = vm.$options._parentListeners;
  7497. vm.$options._parentListeners = listeners;
  7498. updateComponentListeners(vm, listeners, oldListeners);
  7499. // resolve slots + force update if has children
  7500. if (needsForceUpdate) {
  7501. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  7502. vm.$forceUpdate();
  7503. }
  7504. if (true) {
  7505. isUpdatingChildComponent = false;
  7506. }
  7507. }
  7508. function isInInactiveTree (vm) {
  7509. while (vm && (vm = vm.$parent)) {
  7510. if (vm._inactive) { return true }
  7511. }
  7512. return false
  7513. }
  7514. function activateChildComponent (vm, direct) {
  7515. if (direct) {
  7516. vm._directInactive = false;
  7517. if (isInInactiveTree(vm)) {
  7518. return
  7519. }
  7520. } else if (vm._directInactive) {
  7521. return
  7522. }
  7523. if (vm._inactive || vm._inactive === null) {
  7524. vm._inactive = false;
  7525. for (var i = 0; i < vm.$children.length; i++) {
  7526. activateChildComponent(vm.$children[i]);
  7527. }
  7528. callHook(vm, 'activated');
  7529. }
  7530. }
  7531. function deactivateChildComponent (vm, direct) {
  7532. if (direct) {
  7533. vm._directInactive = true;
  7534. if (isInInactiveTree(vm)) {
  7535. return
  7536. }
  7537. }
  7538. if (!vm._inactive) {
  7539. vm._inactive = true;
  7540. for (var i = 0; i < vm.$children.length; i++) {
  7541. deactivateChildComponent(vm.$children[i]);
  7542. }
  7543. callHook(vm, 'deactivated');
  7544. }
  7545. }
  7546. function callHook (vm, hook) {
  7547. // #7573 disable dep collection when invoking lifecycle hooks
  7548. pushTarget();
  7549. var handlers = vm.$options[hook];
  7550. var info = hook + " hook";
  7551. if (handlers) {
  7552. for (var i = 0, j = handlers.length; i < j; i++) {
  7553. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  7554. }
  7555. }
  7556. if (vm._hasHookEvent) {
  7557. vm.$emit('hook:' + hook);
  7558. }
  7559. popTarget();
  7560. }
  7561. /* */
  7562. var MAX_UPDATE_COUNT = 100;
  7563. var queue = [];
  7564. var activatedChildren = [];
  7565. var has = {};
  7566. var circular = {};
  7567. var waiting = false;
  7568. var flushing = false;
  7569. var index = 0;
  7570. /**
  7571. * Reset the scheduler's state.
  7572. */
  7573. function resetSchedulerState () {
  7574. index = queue.length = activatedChildren.length = 0;
  7575. has = {};
  7576. if (true) {
  7577. circular = {};
  7578. }
  7579. waiting = flushing = false;
  7580. }
  7581. // Async edge case #6566 requires saving the timestamp when event listeners are
  7582. // attached. However, calling performance.now() has a perf overhead especially
  7583. // if the page has thousands of event listeners. Instead, we take a timestamp
  7584. // every time the scheduler flushes and use that for all event listeners
  7585. // attached during that flush.
  7586. var currentFlushTimestamp = 0;
  7587. // Async edge case fix requires storing an event listener's attach timestamp.
  7588. var getNow = Date.now;
  7589. // Determine what event timestamp the browser is using. Annoyingly, the
  7590. // timestamp can either be hi-res (relative to page load) or low-res
  7591. // (relative to UNIX epoch), so in order to compare time we have to use the
  7592. // same timestamp type when saving the flush timestamp.
  7593. // All IE versions use low-res event timestamps, and have problematic clock
  7594. // implementations (#9632)
  7595. if (inBrowser && !isIE) {
  7596. var performance = window.performance;
  7597. if (
  7598. performance &&
  7599. typeof performance.now === 'function' &&
  7600. getNow() > document.createEvent('Event').timeStamp
  7601. ) {
  7602. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7603. // smaller than it, it means the event is using a hi-res timestamp,
  7604. // and we need to use the hi-res version for event listener timestamps as
  7605. // well.
  7606. getNow = function () { return performance.now(); };
  7607. }
  7608. }
  7609. /**
  7610. * Flush both queues and run the watchers.
  7611. */
  7612. function flushSchedulerQueue () {
  7613. currentFlushTimestamp = getNow();
  7614. flushing = true;
  7615. var watcher, id;
  7616. // Sort queue before flush.
  7617. // This ensures that:
  7618. // 1. Components are updated from parent to child. (because parent is always
  7619. // created before the child)
  7620. // 2. A component's user watchers are run before its render watcher (because
  7621. // user watchers are created before the render watcher)
  7622. // 3. If a component is destroyed during a parent component's watcher run,
  7623. // its watchers can be skipped.
  7624. queue.sort(function (a, b) { return a.id - b.id; });
  7625. // do not cache length because more watchers might be pushed
  7626. // as we run existing watchers
  7627. for (index = 0; index < queue.length; index++) {
  7628. watcher = queue[index];
  7629. if (watcher.before) {
  7630. watcher.before();
  7631. }
  7632. id = watcher.id;
  7633. has[id] = null;
  7634. watcher.run();
  7635. // in dev build, check and stop circular updates.
  7636. if ( true && has[id] != null) {
  7637. circular[id] = (circular[id] || 0) + 1;
  7638. if (circular[id] > MAX_UPDATE_COUNT) {
  7639. warn(
  7640. 'You may have an infinite update loop ' + (
  7641. watcher.user
  7642. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7643. : "in a component render function."
  7644. ),
  7645. watcher.vm
  7646. );
  7647. break
  7648. }
  7649. }
  7650. }
  7651. // keep copies of post queues before resetting state
  7652. var activatedQueue = activatedChildren.slice();
  7653. var updatedQueue = queue.slice();
  7654. resetSchedulerState();
  7655. // call component updated and activated hooks
  7656. callActivatedHooks(activatedQueue);
  7657. callUpdatedHooks(updatedQueue);
  7658. // devtool hook
  7659. /* istanbul ignore if */
  7660. if (devtools && config.devtools) {
  7661. devtools.emit('flush');
  7662. }
  7663. }
  7664. function callUpdatedHooks (queue) {
  7665. var i = queue.length;
  7666. while (i--) {
  7667. var watcher = queue[i];
  7668. var vm = watcher.vm;
  7669. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7670. callHook(vm, 'updated');
  7671. }
  7672. }
  7673. }
  7674. /**
  7675. * Queue a kept-alive component that was activated during patch.
  7676. * The queue will be processed after the entire tree has been patched.
  7677. */
  7678. function queueActivatedComponent (vm) {
  7679. // setting _inactive to false here so that a render function can
  7680. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7681. vm._inactive = false;
  7682. activatedChildren.push(vm);
  7683. }
  7684. function callActivatedHooks (queue) {
  7685. for (var i = 0; i < queue.length; i++) {
  7686. queue[i]._inactive = true;
  7687. activateChildComponent(queue[i], true /* true */);
  7688. }
  7689. }
  7690. /**
  7691. * Push a watcher into the watcher queue.
  7692. * Jobs with duplicate IDs will be skipped unless it's
  7693. * pushed when the queue is being flushed.
  7694. */
  7695. function queueWatcher (watcher) {
  7696. var id = watcher.id;
  7697. if (has[id] == null) {
  7698. has[id] = true;
  7699. if (!flushing) {
  7700. queue.push(watcher);
  7701. } else {
  7702. // if already flushing, splice the watcher based on its id
  7703. // if already past its id, it will be run next immediately.
  7704. var i = queue.length - 1;
  7705. while (i > index && queue[i].id > watcher.id) {
  7706. i--;
  7707. }
  7708. queue.splice(i + 1, 0, watcher);
  7709. }
  7710. // queue the flush
  7711. if (!waiting) {
  7712. waiting = true;
  7713. if ( true && !config.async) {
  7714. flushSchedulerQueue();
  7715. return
  7716. }
  7717. nextTick(flushSchedulerQueue);
  7718. }
  7719. }
  7720. }
  7721. /* */
  7722. var uid$2 = 0;
  7723. /**
  7724. * A watcher parses an expression, collects dependencies,
  7725. * and fires callback when the expression value changes.
  7726. * This is used for both the $watch() api and directives.
  7727. */
  7728. var Watcher = function Watcher (
  7729. vm,
  7730. expOrFn,
  7731. cb,
  7732. options,
  7733. isRenderWatcher
  7734. ) {
  7735. this.vm = vm;
  7736. if (isRenderWatcher) {
  7737. vm._watcher = this;
  7738. }
  7739. vm._watchers.push(this);
  7740. // options
  7741. if (options) {
  7742. this.deep = !!options.deep;
  7743. this.user = !!options.user;
  7744. this.lazy = !!options.lazy;
  7745. this.sync = !!options.sync;
  7746. this.before = options.before;
  7747. } else {
  7748. this.deep = this.user = this.lazy = this.sync = false;
  7749. }
  7750. this.cb = cb;
  7751. this.id = ++uid$2; // uid for batching
  7752. this.active = true;
  7753. this.dirty = this.lazy; // for lazy watchers
  7754. this.deps = [];
  7755. this.newDeps = [];
  7756. this.depIds = new _Set();
  7757. this.newDepIds = new _Set();
  7758. this.expression = true
  7759. ? expOrFn.toString()
  7760. : undefined;
  7761. // parse expression for getter
  7762. if (typeof expOrFn === 'function') {
  7763. this.getter = expOrFn;
  7764. } else {
  7765. this.getter = parsePath(expOrFn);
  7766. if (!this.getter) {
  7767. this.getter = noop;
  7768. true && warn(
  7769. "Failed watching path: \"" + expOrFn + "\" " +
  7770. 'Watcher only accepts simple dot-delimited paths. ' +
  7771. 'For full control, use a function instead.',
  7772. vm
  7773. );
  7774. }
  7775. }
  7776. this.value = this.lazy
  7777. ? undefined
  7778. : this.get();
  7779. };
  7780. /**
  7781. * Evaluate the getter, and re-collect dependencies.
  7782. */
  7783. Watcher.prototype.get = function get () {
  7784. pushTarget(this);
  7785. var value;
  7786. var vm = this.vm;
  7787. try {
  7788. value = this.getter.call(vm, vm);
  7789. } catch (e) {
  7790. if (this.user) {
  7791. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7792. } else {
  7793. throw e
  7794. }
  7795. } finally {
  7796. // "touch" every property so they are all tracked as
  7797. // dependencies for deep watching
  7798. if (this.deep) {
  7799. traverse(value);
  7800. }
  7801. popTarget();
  7802. this.cleanupDeps();
  7803. }
  7804. return value
  7805. };
  7806. /**
  7807. * Add a dependency to this directive.
  7808. */
  7809. Watcher.prototype.addDep = function addDep (dep) {
  7810. var id = dep.id;
  7811. if (!this.newDepIds.has(id)) {
  7812. this.newDepIds.add(id);
  7813. this.newDeps.push(dep);
  7814. if (!this.depIds.has(id)) {
  7815. dep.addSub(this);
  7816. }
  7817. }
  7818. };
  7819. /**
  7820. * Clean up for dependency collection.
  7821. */
  7822. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7823. var i = this.deps.length;
  7824. while (i--) {
  7825. var dep = this.deps[i];
  7826. if (!this.newDepIds.has(dep.id)) {
  7827. dep.removeSub(this);
  7828. }
  7829. }
  7830. var tmp = this.depIds;
  7831. this.depIds = this.newDepIds;
  7832. this.newDepIds = tmp;
  7833. this.newDepIds.clear();
  7834. tmp = this.deps;
  7835. this.deps = this.newDeps;
  7836. this.newDeps = tmp;
  7837. this.newDeps.length = 0;
  7838. };
  7839. /**
  7840. * Subscriber interface.
  7841. * Will be called when a dependency changes.
  7842. */
  7843. Watcher.prototype.update = function update () {
  7844. /* istanbul ignore else */
  7845. if (this.lazy) {
  7846. this.dirty = true;
  7847. } else if (this.sync) {
  7848. this.run();
  7849. } else {
  7850. queueWatcher(this);
  7851. }
  7852. };
  7853. /**
  7854. * Scheduler job interface.
  7855. * Will be called by the scheduler.
  7856. */
  7857. Watcher.prototype.run = function run () {
  7858. if (this.active) {
  7859. var value = this.get();
  7860. if (
  7861. value !== this.value ||
  7862. // Deep watchers and watchers on Object/Arrays should fire even
  7863. // when the value is the same, because the value may
  7864. // have mutated.
  7865. isObject(value) ||
  7866. this.deep
  7867. ) {
  7868. // set new value
  7869. var oldValue = this.value;
  7870. this.value = value;
  7871. if (this.user) {
  7872. try {
  7873. this.cb.call(this.vm, value, oldValue);
  7874. } catch (e) {
  7875. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7876. }
  7877. } else {
  7878. this.cb.call(this.vm, value, oldValue);
  7879. }
  7880. }
  7881. }
  7882. };
  7883. /**
  7884. * Evaluate the value of the watcher.
  7885. * This only gets called for lazy watchers.
  7886. */
  7887. Watcher.prototype.evaluate = function evaluate () {
  7888. this.value = this.get();
  7889. this.dirty = false;
  7890. };
  7891. /**
  7892. * Depend on all deps collected by this watcher.
  7893. */
  7894. Watcher.prototype.depend = function depend () {
  7895. var i = this.deps.length;
  7896. while (i--) {
  7897. this.deps[i].depend();
  7898. }
  7899. };
  7900. /**
  7901. * Remove self from all dependencies' subscriber list.
  7902. */
  7903. Watcher.prototype.teardown = function teardown () {
  7904. if (this.active) {
  7905. // remove self from vm's watcher list
  7906. // this is a somewhat expensive operation so we skip it
  7907. // if the vm is being destroyed.
  7908. if (!this.vm._isBeingDestroyed) {
  7909. remove(this.vm._watchers, this);
  7910. }
  7911. var i = this.deps.length;
  7912. while (i--) {
  7913. this.deps[i].removeSub(this);
  7914. }
  7915. this.active = false;
  7916. }
  7917. };
  7918. /* */
  7919. var sharedPropertyDefinition = {
  7920. enumerable: true,
  7921. configurable: true,
  7922. get: noop,
  7923. set: noop
  7924. };
  7925. function proxy (target, sourceKey, key) {
  7926. sharedPropertyDefinition.get = function proxyGetter () {
  7927. return this[sourceKey][key]
  7928. };
  7929. sharedPropertyDefinition.set = function proxySetter (val) {
  7930. this[sourceKey][key] = val;
  7931. };
  7932. Object.defineProperty(target, key, sharedPropertyDefinition);
  7933. }
  7934. function initState (vm) {
  7935. vm._watchers = [];
  7936. var opts = vm.$options;
  7937. if (opts.props) { initProps(vm, opts.props); }
  7938. if (opts.methods) { initMethods(vm, opts.methods); }
  7939. if (opts.data) {
  7940. initData(vm);
  7941. } else {
  7942. observe(vm._data = {}, true /* asRootData */);
  7943. }
  7944. if (opts.computed) { initComputed(vm, opts.computed); }
  7945. if (opts.watch && opts.watch !== nativeWatch) {
  7946. initWatch(vm, opts.watch);
  7947. }
  7948. }
  7949. function initProps (vm, propsOptions) {
  7950. var propsData = vm.$options.propsData || {};
  7951. var props = vm._props = {};
  7952. // cache prop keys so that future props updates can iterate using Array
  7953. // instead of dynamic object key enumeration.
  7954. var keys = vm.$options._propKeys = [];
  7955. var isRoot = !vm.$parent;
  7956. // root instance props should be converted
  7957. if (!isRoot) {
  7958. toggleObserving(false);
  7959. }
  7960. var loop = function ( key ) {
  7961. keys.push(key);
  7962. var value = validateProp(key, propsOptions, propsData, vm);
  7963. /* istanbul ignore else */
  7964. if (true) {
  7965. var hyphenatedKey = hyphenate(key);
  7966. if (isReservedAttribute(hyphenatedKey) ||
  7967. config.isReservedAttr(hyphenatedKey)) {
  7968. warn(
  7969. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7970. vm
  7971. );
  7972. }
  7973. defineReactive$$1(props, key, value, function () {
  7974. if (!isRoot && !isUpdatingChildComponent) {
  7975. {
  7976. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7977. return
  7978. }
  7979. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7980. if(
  7981. key === 'value' &&
  7982. Array.isArray(vm.$options.behaviors) &&
  7983. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7984. ){
  7985. return
  7986. }
  7987. if(vm._getFormData){
  7988. return
  7989. }
  7990. var $parent = vm.$parent;
  7991. while($parent){
  7992. if($parent.__next_tick_pending){
  7993. return
  7994. }
  7995. $parent = $parent.$parent;
  7996. }
  7997. }
  7998. warn(
  7999. "Avoid mutating a prop directly since the value will be " +
  8000. "overwritten whenever the parent component re-renders. " +
  8001. "Instead, use a data or computed property based on the prop's " +
  8002. "value. Prop being mutated: \"" + key + "\"",
  8003. vm
  8004. );
  8005. }
  8006. });
  8007. } else {}
  8008. // static props are already proxied on the component's prototype
  8009. // during Vue.extend(). We only need to proxy props defined at
  8010. // instantiation here.
  8011. if (!(key in vm)) {
  8012. proxy(vm, "_props", key);
  8013. }
  8014. };
  8015. for (var key in propsOptions) loop( key );
  8016. toggleObserving(true);
  8017. }
  8018. function initData (vm) {
  8019. var data = vm.$options.data;
  8020. data = vm._data = typeof data === 'function'
  8021. ? getData(data, vm)
  8022. : data || {};
  8023. if (!isPlainObject(data)) {
  8024. data = {};
  8025. true && warn(
  8026. 'data functions should return an object:\n' +
  8027. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  8028. vm
  8029. );
  8030. }
  8031. // proxy data on instance
  8032. var keys = Object.keys(data);
  8033. var props = vm.$options.props;
  8034. var methods = vm.$options.methods;
  8035. var i = keys.length;
  8036. while (i--) {
  8037. var key = keys[i];
  8038. if (true) {
  8039. if (methods && hasOwn(methods, key)) {
  8040. warn(
  8041. ("Method \"" + key + "\" has already been defined as a data property."),
  8042. vm
  8043. );
  8044. }
  8045. }
  8046. if (props && hasOwn(props, key)) {
  8047. true && warn(
  8048. "The data property \"" + key + "\" is already declared as a prop. " +
  8049. "Use prop default value instead.",
  8050. vm
  8051. );
  8052. } else if (!isReserved(key)) {
  8053. proxy(vm, "_data", key);
  8054. }
  8055. }
  8056. // observe data
  8057. observe(data, true /* asRootData */);
  8058. }
  8059. function getData (data, vm) {
  8060. // #7573 disable dep collection when invoking data getters
  8061. pushTarget();
  8062. try {
  8063. return data.call(vm, vm)
  8064. } catch (e) {
  8065. handleError(e, vm, "data()");
  8066. return {}
  8067. } finally {
  8068. popTarget();
  8069. }
  8070. }
  8071. var computedWatcherOptions = { lazy: true };
  8072. function initComputed (vm, computed) {
  8073. // $flow-disable-line
  8074. var watchers = vm._computedWatchers = Object.create(null);
  8075. // computed properties are just getters during SSR
  8076. var isSSR = isServerRendering();
  8077. for (var key in computed) {
  8078. var userDef = computed[key];
  8079. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  8080. if ( true && getter == null) {
  8081. warn(
  8082. ("Getter is missing for computed property \"" + key + "\"."),
  8083. vm
  8084. );
  8085. }
  8086. if (!isSSR) {
  8087. // create internal watcher for the computed property.
  8088. watchers[key] = new Watcher(
  8089. vm,
  8090. getter || noop,
  8091. noop,
  8092. computedWatcherOptions
  8093. );
  8094. }
  8095. // component-defined computed properties are already defined on the
  8096. // component prototype. We only need to define computed properties defined
  8097. // at instantiation here.
  8098. if (!(key in vm)) {
  8099. defineComputed(vm, key, userDef);
  8100. } else if (true) {
  8101. if (key in vm.$data) {
  8102. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  8103. } else if (vm.$options.props && key in vm.$options.props) {
  8104. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  8105. }
  8106. }
  8107. }
  8108. }
  8109. function defineComputed (
  8110. target,
  8111. key,
  8112. userDef
  8113. ) {
  8114. var shouldCache = !isServerRendering();
  8115. if (typeof userDef === 'function') {
  8116. sharedPropertyDefinition.get = shouldCache
  8117. ? createComputedGetter(key)
  8118. : createGetterInvoker(userDef);
  8119. sharedPropertyDefinition.set = noop;
  8120. } else {
  8121. sharedPropertyDefinition.get = userDef.get
  8122. ? shouldCache && userDef.cache !== false
  8123. ? createComputedGetter(key)
  8124. : createGetterInvoker(userDef.get)
  8125. : noop;
  8126. sharedPropertyDefinition.set = userDef.set || noop;
  8127. }
  8128. if ( true &&
  8129. sharedPropertyDefinition.set === noop) {
  8130. sharedPropertyDefinition.set = function () {
  8131. warn(
  8132. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  8133. this
  8134. );
  8135. };
  8136. }
  8137. Object.defineProperty(target, key, sharedPropertyDefinition);
  8138. }
  8139. function createComputedGetter (key) {
  8140. return function computedGetter () {
  8141. var watcher = this._computedWatchers && this._computedWatchers[key];
  8142. if (watcher) {
  8143. if (watcher.dirty) {
  8144. watcher.evaluate();
  8145. }
  8146. if (Dep.SharedObject.target) {// fixed by xxxxxx
  8147. watcher.depend();
  8148. }
  8149. return watcher.value
  8150. }
  8151. }
  8152. }
  8153. function createGetterInvoker(fn) {
  8154. return function computedGetter () {
  8155. return fn.call(this, this)
  8156. }
  8157. }
  8158. function initMethods (vm, methods) {
  8159. var props = vm.$options.props;
  8160. for (var key in methods) {
  8161. if (true) {
  8162. if (typeof methods[key] !== 'function') {
  8163. warn(
  8164. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  8165. "Did you reference the function correctly?",
  8166. vm
  8167. );
  8168. }
  8169. if (props && hasOwn(props, key)) {
  8170. warn(
  8171. ("Method \"" + key + "\" has already been defined as a prop."),
  8172. vm
  8173. );
  8174. }
  8175. if ((key in vm) && isReserved(key)) {
  8176. warn(
  8177. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  8178. "Avoid defining component methods that start with _ or $."
  8179. );
  8180. }
  8181. }
  8182. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  8183. }
  8184. }
  8185. function initWatch (vm, watch) {
  8186. for (var key in watch) {
  8187. var handler = watch[key];
  8188. if (Array.isArray(handler)) {
  8189. for (var i = 0; i < handler.length; i++) {
  8190. createWatcher(vm, key, handler[i]);
  8191. }
  8192. } else {
  8193. createWatcher(vm, key, handler);
  8194. }
  8195. }
  8196. }
  8197. function createWatcher (
  8198. vm,
  8199. expOrFn,
  8200. handler,
  8201. options
  8202. ) {
  8203. if (isPlainObject(handler)) {
  8204. options = handler;
  8205. handler = handler.handler;
  8206. }
  8207. if (typeof handler === 'string') {
  8208. handler = vm[handler];
  8209. }
  8210. return vm.$watch(expOrFn, handler, options)
  8211. }
  8212. function stateMixin (Vue) {
  8213. // flow somehow has problems with directly declared definition object
  8214. // when using Object.defineProperty, so we have to procedurally build up
  8215. // the object here.
  8216. var dataDef = {};
  8217. dataDef.get = function () { return this._data };
  8218. var propsDef = {};
  8219. propsDef.get = function () { return this._props };
  8220. if (true) {
  8221. dataDef.set = function () {
  8222. warn(
  8223. 'Avoid replacing instance root $data. ' +
  8224. 'Use nested data properties instead.',
  8225. this
  8226. );
  8227. };
  8228. propsDef.set = function () {
  8229. warn("$props is readonly.", this);
  8230. };
  8231. }
  8232. Object.defineProperty(Vue.prototype, '$data', dataDef);
  8233. Object.defineProperty(Vue.prototype, '$props', propsDef);
  8234. Vue.prototype.$set = set;
  8235. Vue.prototype.$delete = del;
  8236. Vue.prototype.$watch = function (
  8237. expOrFn,
  8238. cb,
  8239. options
  8240. ) {
  8241. var vm = this;
  8242. if (isPlainObject(cb)) {
  8243. return createWatcher(vm, expOrFn, cb, options)
  8244. }
  8245. options = options || {};
  8246. options.user = true;
  8247. var watcher = new Watcher(vm, expOrFn, cb, options);
  8248. if (options.immediate) {
  8249. try {
  8250. cb.call(vm, watcher.value);
  8251. } catch (error) {
  8252. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  8253. }
  8254. }
  8255. return function unwatchFn () {
  8256. watcher.teardown();
  8257. }
  8258. };
  8259. }
  8260. /* */
  8261. var uid$3 = 0;
  8262. function initMixin (Vue) {
  8263. Vue.prototype._init = function (options) {
  8264. var vm = this;
  8265. // a uid
  8266. vm._uid = uid$3++;
  8267. var startTag, endTag;
  8268. /* istanbul ignore if */
  8269. if ( true && config.performance && mark) {
  8270. startTag = "vue-perf-start:" + (vm._uid);
  8271. endTag = "vue-perf-end:" + (vm._uid);
  8272. mark(startTag);
  8273. }
  8274. // a flag to avoid this being observed
  8275. vm._isVue = true;
  8276. // merge options
  8277. if (options && options._isComponent) {
  8278. // optimize internal component instantiation
  8279. // since dynamic options merging is pretty slow, and none of the
  8280. // internal component options needs special treatment.
  8281. initInternalComponent(vm, options);
  8282. } else {
  8283. vm.$options = mergeOptions(
  8284. resolveConstructorOptions(vm.constructor),
  8285. options || {},
  8286. vm
  8287. );
  8288. }
  8289. /* istanbul ignore else */
  8290. if (true) {
  8291. initProxy(vm);
  8292. } else {}
  8293. // expose real self
  8294. vm._self = vm;
  8295. initLifecycle(vm);
  8296. initEvents(vm);
  8297. initRender(vm);
  8298. callHook(vm, 'beforeCreate');
  8299. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  8300. initState(vm);
  8301. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  8302. !vm._$fallback && callHook(vm, 'created');
  8303. /* istanbul ignore if */
  8304. if ( true && config.performance && mark) {
  8305. vm._name = formatComponentName(vm, false);
  8306. mark(endTag);
  8307. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  8308. }
  8309. if (vm.$options.el) {
  8310. vm.$mount(vm.$options.el);
  8311. }
  8312. };
  8313. }
  8314. function initInternalComponent (vm, options) {
  8315. var opts = vm.$options = Object.create(vm.constructor.options);
  8316. // doing this because it's faster than dynamic enumeration.
  8317. var parentVnode = options._parentVnode;
  8318. opts.parent = options.parent;
  8319. opts._parentVnode = parentVnode;
  8320. var vnodeComponentOptions = parentVnode.componentOptions;
  8321. opts.propsData = vnodeComponentOptions.propsData;
  8322. opts._parentListeners = vnodeComponentOptions.listeners;
  8323. opts._renderChildren = vnodeComponentOptions.children;
  8324. opts._componentTag = vnodeComponentOptions.tag;
  8325. if (options.render) {
  8326. opts.render = options.render;
  8327. opts.staticRenderFns = options.staticRenderFns;
  8328. }
  8329. }
  8330. function resolveConstructorOptions (Ctor) {
  8331. var options = Ctor.options;
  8332. if (Ctor.super) {
  8333. var superOptions = resolveConstructorOptions(Ctor.super);
  8334. var cachedSuperOptions = Ctor.superOptions;
  8335. if (superOptions !== cachedSuperOptions) {
  8336. // super option changed,
  8337. // need to resolve new options.
  8338. Ctor.superOptions = superOptions;
  8339. // check if there are any late-modified/attached options (#4976)
  8340. var modifiedOptions = resolveModifiedOptions(Ctor);
  8341. // update base extend options
  8342. if (modifiedOptions) {
  8343. extend(Ctor.extendOptions, modifiedOptions);
  8344. }
  8345. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  8346. if (options.name) {
  8347. options.components[options.name] = Ctor;
  8348. }
  8349. }
  8350. }
  8351. return options
  8352. }
  8353. function resolveModifiedOptions (Ctor) {
  8354. var modified;
  8355. var latest = Ctor.options;
  8356. var sealed = Ctor.sealedOptions;
  8357. for (var key in latest) {
  8358. if (latest[key] !== sealed[key]) {
  8359. if (!modified) { modified = {}; }
  8360. modified[key] = latest[key];
  8361. }
  8362. }
  8363. return modified
  8364. }
  8365. function Vue (options) {
  8366. if ( true &&
  8367. !(this instanceof Vue)
  8368. ) {
  8369. warn('Vue is a constructor and should be called with the `new` keyword');
  8370. }
  8371. this._init(options);
  8372. }
  8373. initMixin(Vue);
  8374. stateMixin(Vue);
  8375. eventsMixin(Vue);
  8376. lifecycleMixin(Vue);
  8377. renderMixin(Vue);
  8378. /* */
  8379. function initUse (Vue) {
  8380. Vue.use = function (plugin) {
  8381. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  8382. if (installedPlugins.indexOf(plugin) > -1) {
  8383. return this
  8384. }
  8385. // additional parameters
  8386. var args = toArray(arguments, 1);
  8387. args.unshift(this);
  8388. if (typeof plugin.install === 'function') {
  8389. plugin.install.apply(plugin, args);
  8390. } else if (typeof plugin === 'function') {
  8391. plugin.apply(null, args);
  8392. }
  8393. installedPlugins.push(plugin);
  8394. return this
  8395. };
  8396. }
  8397. /* */
  8398. function initMixin$1 (Vue) {
  8399. Vue.mixin = function (mixin) {
  8400. this.options = mergeOptions(this.options, mixin);
  8401. return this
  8402. };
  8403. }
  8404. /* */
  8405. function initExtend (Vue) {
  8406. /**
  8407. * Each instance constructor, including Vue, has a unique
  8408. * cid. This enables us to create wrapped "child
  8409. * constructors" for prototypal inheritance and cache them.
  8410. */
  8411. Vue.cid = 0;
  8412. var cid = 1;
  8413. /**
  8414. * Class inheritance
  8415. */
  8416. Vue.extend = function (extendOptions) {
  8417. extendOptions = extendOptions || {};
  8418. var Super = this;
  8419. var SuperId = Super.cid;
  8420. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  8421. if (cachedCtors[SuperId]) {
  8422. return cachedCtors[SuperId]
  8423. }
  8424. var name = extendOptions.name || Super.options.name;
  8425. if ( true && name) {
  8426. validateComponentName(name);
  8427. }
  8428. var Sub = function VueComponent (options) {
  8429. this._init(options);
  8430. };
  8431. Sub.prototype = Object.create(Super.prototype);
  8432. Sub.prototype.constructor = Sub;
  8433. Sub.cid = cid++;
  8434. Sub.options = mergeOptions(
  8435. Super.options,
  8436. extendOptions
  8437. );
  8438. Sub['super'] = Super;
  8439. // For props and computed properties, we define the proxy getters on
  8440. // the Vue instances at extension time, on the extended prototype. This
  8441. // avoids Object.defineProperty calls for each instance created.
  8442. if (Sub.options.props) {
  8443. initProps$1(Sub);
  8444. }
  8445. if (Sub.options.computed) {
  8446. initComputed$1(Sub);
  8447. }
  8448. // allow further extension/mixin/plugin usage
  8449. Sub.extend = Super.extend;
  8450. Sub.mixin = Super.mixin;
  8451. Sub.use = Super.use;
  8452. // create asset registers, so extended classes
  8453. // can have their private assets too.
  8454. ASSET_TYPES.forEach(function (type) {
  8455. Sub[type] = Super[type];
  8456. });
  8457. // enable recursive self-lookup
  8458. if (name) {
  8459. Sub.options.components[name] = Sub;
  8460. }
  8461. // keep a reference to the super options at extension time.
  8462. // later at instantiation we can check if Super's options have
  8463. // been updated.
  8464. Sub.superOptions = Super.options;
  8465. Sub.extendOptions = extendOptions;
  8466. Sub.sealedOptions = extend({}, Sub.options);
  8467. // cache constructor
  8468. cachedCtors[SuperId] = Sub;
  8469. return Sub
  8470. };
  8471. }
  8472. function initProps$1 (Comp) {
  8473. var props = Comp.options.props;
  8474. for (var key in props) {
  8475. proxy(Comp.prototype, "_props", key);
  8476. }
  8477. }
  8478. function initComputed$1 (Comp) {
  8479. var computed = Comp.options.computed;
  8480. for (var key in computed) {
  8481. defineComputed(Comp.prototype, key, computed[key]);
  8482. }
  8483. }
  8484. /* */
  8485. function initAssetRegisters (Vue) {
  8486. /**
  8487. * Create asset registration methods.
  8488. */
  8489. ASSET_TYPES.forEach(function (type) {
  8490. Vue[type] = function (
  8491. id,
  8492. definition
  8493. ) {
  8494. if (!definition) {
  8495. return this.options[type + 's'][id]
  8496. } else {
  8497. /* istanbul ignore if */
  8498. if ( true && type === 'component') {
  8499. validateComponentName(id);
  8500. }
  8501. if (type === 'component' && isPlainObject(definition)) {
  8502. definition.name = definition.name || id;
  8503. definition = this.options._base.extend(definition);
  8504. }
  8505. if (type === 'directive' && typeof definition === 'function') {
  8506. definition = { bind: definition, update: definition };
  8507. }
  8508. this.options[type + 's'][id] = definition;
  8509. return definition
  8510. }
  8511. };
  8512. });
  8513. }
  8514. /* */
  8515. function getComponentName (opts) {
  8516. return opts && (opts.Ctor.options.name || opts.tag)
  8517. }
  8518. function matches (pattern, name) {
  8519. if (Array.isArray(pattern)) {
  8520. return pattern.indexOf(name) > -1
  8521. } else if (typeof pattern === 'string') {
  8522. return pattern.split(',').indexOf(name) > -1
  8523. } else if (isRegExp(pattern)) {
  8524. return pattern.test(name)
  8525. }
  8526. /* istanbul ignore next */
  8527. return false
  8528. }
  8529. function pruneCache (keepAliveInstance, filter) {
  8530. var cache = keepAliveInstance.cache;
  8531. var keys = keepAliveInstance.keys;
  8532. var _vnode = keepAliveInstance._vnode;
  8533. for (var key in cache) {
  8534. var cachedNode = cache[key];
  8535. if (cachedNode) {
  8536. var name = getComponentName(cachedNode.componentOptions);
  8537. if (name && !filter(name)) {
  8538. pruneCacheEntry(cache, key, keys, _vnode);
  8539. }
  8540. }
  8541. }
  8542. }
  8543. function pruneCacheEntry (
  8544. cache,
  8545. key,
  8546. keys,
  8547. current
  8548. ) {
  8549. var cached$$1 = cache[key];
  8550. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  8551. cached$$1.componentInstance.$destroy();
  8552. }
  8553. cache[key] = null;
  8554. remove(keys, key);
  8555. }
  8556. var patternTypes = [String, RegExp, Array];
  8557. var KeepAlive = {
  8558. name: 'keep-alive',
  8559. abstract: true,
  8560. props: {
  8561. include: patternTypes,
  8562. exclude: patternTypes,
  8563. max: [String, Number]
  8564. },
  8565. created: function created () {
  8566. this.cache = Object.create(null);
  8567. this.keys = [];
  8568. },
  8569. destroyed: function destroyed () {
  8570. for (var key in this.cache) {
  8571. pruneCacheEntry(this.cache, key, this.keys);
  8572. }
  8573. },
  8574. mounted: function mounted () {
  8575. var this$1 = this;
  8576. this.$watch('include', function (val) {
  8577. pruneCache(this$1, function (name) { return matches(val, name); });
  8578. });
  8579. this.$watch('exclude', function (val) {
  8580. pruneCache(this$1, function (name) { return !matches(val, name); });
  8581. });
  8582. },
  8583. render: function render () {
  8584. var slot = this.$slots.default;
  8585. var vnode = getFirstComponentChild(slot);
  8586. var componentOptions = vnode && vnode.componentOptions;
  8587. if (componentOptions) {
  8588. // check pattern
  8589. var name = getComponentName(componentOptions);
  8590. var ref = this;
  8591. var include = ref.include;
  8592. var exclude = ref.exclude;
  8593. if (
  8594. // not included
  8595. (include && (!name || !matches(include, name))) ||
  8596. // excluded
  8597. (exclude && name && matches(exclude, name))
  8598. ) {
  8599. return vnode
  8600. }
  8601. var ref$1 = this;
  8602. var cache = ref$1.cache;
  8603. var keys = ref$1.keys;
  8604. var key = vnode.key == null
  8605. // same constructor may get registered as different local components
  8606. // so cid alone is not enough (#3269)
  8607. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8608. : vnode.key;
  8609. if (cache[key]) {
  8610. vnode.componentInstance = cache[key].componentInstance;
  8611. // make current key freshest
  8612. remove(keys, key);
  8613. keys.push(key);
  8614. } else {
  8615. cache[key] = vnode;
  8616. keys.push(key);
  8617. // prune oldest entry
  8618. if (this.max && keys.length > parseInt(this.max)) {
  8619. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8620. }
  8621. }
  8622. vnode.data.keepAlive = true;
  8623. }
  8624. return vnode || (slot && slot[0])
  8625. }
  8626. };
  8627. var builtInComponents = {
  8628. KeepAlive: KeepAlive
  8629. };
  8630. /* */
  8631. function initGlobalAPI (Vue) {
  8632. // config
  8633. var configDef = {};
  8634. configDef.get = function () { return config; };
  8635. if (true) {
  8636. configDef.set = function () {
  8637. warn(
  8638. 'Do not replace the Vue.config object, set individual fields instead.'
  8639. );
  8640. };
  8641. }
  8642. Object.defineProperty(Vue, 'config', configDef);
  8643. // exposed util methods.
  8644. // NOTE: these are not considered part of the public API - avoid relying on
  8645. // them unless you are aware of the risk.
  8646. Vue.util = {
  8647. warn: warn,
  8648. extend: extend,
  8649. mergeOptions: mergeOptions,
  8650. defineReactive: defineReactive$$1
  8651. };
  8652. Vue.set = set;
  8653. Vue.delete = del;
  8654. Vue.nextTick = nextTick;
  8655. // 2.6 explicit observable API
  8656. Vue.observable = function (obj) {
  8657. observe(obj);
  8658. return obj
  8659. };
  8660. Vue.options = Object.create(null);
  8661. ASSET_TYPES.forEach(function (type) {
  8662. Vue.options[type + 's'] = Object.create(null);
  8663. });
  8664. // this is used to identify the "base" constructor to extend all plain-object
  8665. // components with in Weex's multi-instance scenarios.
  8666. Vue.options._base = Vue;
  8667. extend(Vue.options.components, builtInComponents);
  8668. initUse(Vue);
  8669. initMixin$1(Vue);
  8670. initExtend(Vue);
  8671. initAssetRegisters(Vue);
  8672. }
  8673. initGlobalAPI(Vue);
  8674. Object.defineProperty(Vue.prototype, '$isServer', {
  8675. get: isServerRendering
  8676. });
  8677. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8678. get: function get () {
  8679. /* istanbul ignore next */
  8680. return this.$vnode && this.$vnode.ssrContext
  8681. }
  8682. });
  8683. // expose FunctionalRenderContext for ssr runtime helper installation
  8684. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8685. value: FunctionalRenderContext
  8686. });
  8687. Vue.version = '2.6.11';
  8688. /**
  8689. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8690. */
  8691. var ARRAYTYPE = '[object Array]';
  8692. var OBJECTTYPE = '[object Object]';
  8693. var NULLTYPE = '[object Null]';
  8694. var UNDEFINEDTYPE = '[object Undefined]';
  8695. // const FUNCTIONTYPE = '[object Function]'
  8696. function diff(current, pre) {
  8697. var result = {};
  8698. syncKeys(current, pre);
  8699. _diff(current, pre, '', result);
  8700. return result
  8701. }
  8702. function syncKeys(current, pre) {
  8703. if (current === pre) { return }
  8704. var rootCurrentType = type(current);
  8705. var rootPreType = type(pre);
  8706. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8707. if(Object.keys(current).length >= Object.keys(pre).length){
  8708. for (var key in pre) {
  8709. var currentValue = current[key];
  8710. if (currentValue === undefined) {
  8711. current[key] = null;
  8712. } else {
  8713. syncKeys(currentValue, pre[key]);
  8714. }
  8715. }
  8716. }
  8717. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8718. if (current.length >= pre.length) {
  8719. pre.forEach(function (item, index) {
  8720. syncKeys(current[index], item);
  8721. });
  8722. }
  8723. }
  8724. }
  8725. function nullOrUndefined(currentType, preType) {
  8726. if(
  8727. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8728. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8729. ) {
  8730. return false
  8731. }
  8732. return true
  8733. }
  8734. function _diff(current, pre, path, result) {
  8735. if (current === pre) { return }
  8736. var rootCurrentType = type(current);
  8737. var rootPreType = type(pre);
  8738. if (rootCurrentType == OBJECTTYPE) {
  8739. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8740. setResult(result, path, current);
  8741. } else {
  8742. var loop = function ( key ) {
  8743. var currentValue = current[key];
  8744. var preValue = pre[key];
  8745. var currentType = type(currentValue);
  8746. var preType = type(preValue);
  8747. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8748. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8749. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8750. }
  8751. } else if (currentType == ARRAYTYPE) {
  8752. if (preType != ARRAYTYPE) {
  8753. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8754. } else {
  8755. if (currentValue.length < preValue.length) {
  8756. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8757. } else {
  8758. currentValue.forEach(function (item, index) {
  8759. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8760. });
  8761. }
  8762. }
  8763. } else if (currentType == OBJECTTYPE) {
  8764. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8765. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8766. } else {
  8767. for (var subKey in currentValue) {
  8768. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8769. }
  8770. }
  8771. }
  8772. };
  8773. for (var key in current) loop( key );
  8774. }
  8775. } else if (rootCurrentType == ARRAYTYPE) {
  8776. if (rootPreType != ARRAYTYPE) {
  8777. setResult(result, path, current);
  8778. } else {
  8779. if (current.length < pre.length) {
  8780. setResult(result, path, current);
  8781. } else {
  8782. current.forEach(function (item, index) {
  8783. _diff(item, pre[index], path + '[' + index + ']', result);
  8784. });
  8785. }
  8786. }
  8787. } else {
  8788. setResult(result, path, current);
  8789. }
  8790. }
  8791. function setResult(result, k, v) {
  8792. // if (type(v) != FUNCTIONTYPE) {
  8793. result[k] = v;
  8794. // }
  8795. }
  8796. function type(obj) {
  8797. return Object.prototype.toString.call(obj)
  8798. }
  8799. /* */
  8800. function flushCallbacks$1(vm) {
  8801. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8802. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"华景美业","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8803. var mpInstance = vm.$scope;
  8804. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8805. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8806. }
  8807. var copies = vm.__next_tick_callbacks.slice(0);
  8808. vm.__next_tick_callbacks.length = 0;
  8809. for (var i = 0; i < copies.length; i++) {
  8810. copies[i]();
  8811. }
  8812. }
  8813. }
  8814. function hasRenderWatcher(vm) {
  8815. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8816. }
  8817. function nextTick$1(vm, cb) {
  8818. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8819. //2.nextTick 之前存在 render watcher
  8820. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8821. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"华景美业","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8822. var mpInstance = vm.$scope;
  8823. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8824. ']:nextVueTick');
  8825. }
  8826. return nextTick(cb, vm)
  8827. }else{
  8828. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"华景美业","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8829. var mpInstance$1 = vm.$scope;
  8830. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8831. ']:nextMPTick');
  8832. }
  8833. }
  8834. var _resolve;
  8835. if (!vm.__next_tick_callbacks) {
  8836. vm.__next_tick_callbacks = [];
  8837. }
  8838. vm.__next_tick_callbacks.push(function () {
  8839. if (cb) {
  8840. try {
  8841. cb.call(vm);
  8842. } catch (e) {
  8843. handleError(e, vm, 'nextTick');
  8844. }
  8845. } else if (_resolve) {
  8846. _resolve(vm);
  8847. }
  8848. });
  8849. // $flow-disable-line
  8850. if (!cb && typeof Promise !== 'undefined') {
  8851. return new Promise(function (resolve) {
  8852. _resolve = resolve;
  8853. })
  8854. }
  8855. }
  8856. /* */
  8857. function clearInstance(key, value) {
  8858. // 简易去除 Vue 和小程序组件实例
  8859. if (value) {
  8860. if (value._isVue || value.__v_isMPComponent) {
  8861. return {}
  8862. }
  8863. }
  8864. return value
  8865. }
  8866. function cloneWithData(vm) {
  8867. // 确保当前 vm 所有数据被同步
  8868. var ret = Object.create(null);
  8869. var dataKeys = [].concat(
  8870. Object.keys(vm._data || {}),
  8871. Object.keys(vm._computedWatchers || {}));
  8872. dataKeys.reduce(function(ret, key) {
  8873. ret[key] = vm[key];
  8874. return ret
  8875. }, ret);
  8876. // vue-composition-api
  8877. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8878. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8879. if (rawBindings) {
  8880. Object.keys(rawBindings).forEach(function (key) {
  8881. ret[key] = vm[key];
  8882. });
  8883. }
  8884. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8885. Object.assign(ret, vm.$mp.data || {});
  8886. if (
  8887. Array.isArray(vm.$options.behaviors) &&
  8888. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8889. ) { //form-field
  8890. ret['name'] = vm.name;
  8891. ret['value'] = vm.value;
  8892. }
  8893. return JSON.parse(JSON.stringify(ret, clearInstance))
  8894. }
  8895. var patch = function(oldVnode, vnode) {
  8896. var this$1 = this;
  8897. if (vnode === null) { //destroy
  8898. return
  8899. }
  8900. if (this.mpType === 'page' || this.mpType === 'component') {
  8901. var mpInstance = this.$scope;
  8902. var data = Object.create(null);
  8903. try {
  8904. data = cloneWithData(this);
  8905. } catch (err) {
  8906. console.error(err);
  8907. }
  8908. data.__webviewId__ = mpInstance.data.__webviewId__;
  8909. var mpData = Object.create(null);
  8910. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8911. mpData[key] = mpInstance.data[key];
  8912. });
  8913. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8914. if (Object.keys(diffData).length) {
  8915. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"华景美业","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8916. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8917. ']差量更新',
  8918. JSON.stringify(diffData));
  8919. }
  8920. this.__next_tick_pending = true;
  8921. mpInstance.setData(diffData, function () {
  8922. this$1.__next_tick_pending = false;
  8923. flushCallbacks$1(this$1);
  8924. });
  8925. } else {
  8926. flushCallbacks$1(this);
  8927. }
  8928. }
  8929. };
  8930. /* */
  8931. function createEmptyRender() {
  8932. }
  8933. function mountComponent$1(
  8934. vm,
  8935. el,
  8936. hydrating
  8937. ) {
  8938. if (!vm.mpType) {//main.js 中的 new Vue
  8939. return vm
  8940. }
  8941. if (vm.mpType === 'app') {
  8942. vm.$options.render = createEmptyRender;
  8943. }
  8944. if (!vm.$options.render) {
  8945. vm.$options.render = createEmptyRender;
  8946. if (true) {
  8947. /* istanbul ignore if */
  8948. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8949. vm.$options.el || el) {
  8950. warn(
  8951. 'You are using the runtime-only build of Vue where the template ' +
  8952. 'compiler is not available. Either pre-compile the templates into ' +
  8953. 'render functions, or use the compiler-included build.',
  8954. vm
  8955. );
  8956. } else {
  8957. warn(
  8958. 'Failed to mount component: template or render function not defined.',
  8959. vm
  8960. );
  8961. }
  8962. }
  8963. }
  8964. !vm._$fallback && callHook(vm, 'beforeMount');
  8965. var updateComponent = function () {
  8966. vm._update(vm._render(), hydrating);
  8967. };
  8968. // we set this to vm._watcher inside the watcher's constructor
  8969. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8970. // component's mounted hook), which relies on vm._watcher being already defined
  8971. new Watcher(vm, updateComponent, noop, {
  8972. before: function before() {
  8973. if (vm._isMounted && !vm._isDestroyed) {
  8974. callHook(vm, 'beforeUpdate');
  8975. }
  8976. }
  8977. }, true /* isRenderWatcher */);
  8978. hydrating = false;
  8979. return vm
  8980. }
  8981. /* */
  8982. function renderClass (
  8983. staticClass,
  8984. dynamicClass
  8985. ) {
  8986. if (isDef(staticClass) || isDef(dynamicClass)) {
  8987. return concat(staticClass, stringifyClass(dynamicClass))
  8988. }
  8989. /* istanbul ignore next */
  8990. return ''
  8991. }
  8992. function concat (a, b) {
  8993. return a ? b ? (a + ' ' + b) : a : (b || '')
  8994. }
  8995. function stringifyClass (value) {
  8996. if (Array.isArray(value)) {
  8997. return stringifyArray(value)
  8998. }
  8999. if (isObject(value)) {
  9000. return stringifyObject(value)
  9001. }
  9002. if (typeof value === 'string') {
  9003. return value
  9004. }
  9005. /* istanbul ignore next */
  9006. return ''
  9007. }
  9008. function stringifyArray (value) {
  9009. var res = '';
  9010. var stringified;
  9011. for (var i = 0, l = value.length; i < l; i++) {
  9012. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  9013. if (res) { res += ' '; }
  9014. res += stringified;
  9015. }
  9016. }
  9017. return res
  9018. }
  9019. function stringifyObject (value) {
  9020. var res = '';
  9021. for (var key in value) {
  9022. if (value[key]) {
  9023. if (res) { res += ' '; }
  9024. res += key;
  9025. }
  9026. }
  9027. return res
  9028. }
  9029. /* */
  9030. var parseStyleText = cached(function (cssText) {
  9031. var res = {};
  9032. var listDelimiter = /;(?![^(]*\))/g;
  9033. var propertyDelimiter = /:(.+)/;
  9034. cssText.split(listDelimiter).forEach(function (item) {
  9035. if (item) {
  9036. var tmp = item.split(propertyDelimiter);
  9037. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  9038. }
  9039. });
  9040. return res
  9041. });
  9042. // normalize possible array / string values into Object
  9043. function normalizeStyleBinding (bindingStyle) {
  9044. if (Array.isArray(bindingStyle)) {
  9045. return toObject(bindingStyle)
  9046. }
  9047. if (typeof bindingStyle === 'string') {
  9048. return parseStyleText(bindingStyle)
  9049. }
  9050. return bindingStyle
  9051. }
  9052. /* */
  9053. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  9054. function getTarget(obj, path) {
  9055. var parts = path.split('.');
  9056. var key = parts[0];
  9057. if (key.indexOf('__$n') === 0) { //number index
  9058. key = parseInt(key.replace('__$n', ''));
  9059. }
  9060. if (parts.length === 1) {
  9061. return obj[key]
  9062. }
  9063. return getTarget(obj[key], parts.slice(1).join('.'))
  9064. }
  9065. function internalMixin(Vue) {
  9066. Vue.config.errorHandler = function(err, vm, info) {
  9067. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  9068. console.error(err);
  9069. /* eslint-disable no-undef */
  9070. var app = typeof getApp === 'function' && getApp();
  9071. if (app && app.onError) {
  9072. app.onError(err);
  9073. }
  9074. };
  9075. var oldEmit = Vue.prototype.$emit;
  9076. Vue.prototype.$emit = function(event) {
  9077. if (this.$scope && event) {
  9078. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  9079. if (triggerEvent) {
  9080. try {
  9081. triggerEvent.call(this.$scope, event, {
  9082. __args__: toArray(arguments, 1)
  9083. });
  9084. } catch (error) {
  9085. }
  9086. }
  9087. }
  9088. return oldEmit.apply(this, arguments)
  9089. };
  9090. Vue.prototype.$nextTick = function(fn) {
  9091. return nextTick$1(this, fn)
  9092. };
  9093. MP_METHODS.forEach(function (method) {
  9094. Vue.prototype[method] = function(args) {
  9095. if (this.$scope && this.$scope[method]) {
  9096. return this.$scope[method](args)
  9097. }
  9098. // mp-alipay
  9099. if (typeof my === 'undefined') {
  9100. return
  9101. }
  9102. if (method === 'createSelectorQuery') {
  9103. /* eslint-disable no-undef */
  9104. return my.createSelectorQuery(args)
  9105. } else if (method === 'createIntersectionObserver') {
  9106. /* eslint-disable no-undef */
  9107. return my.createIntersectionObserver(args)
  9108. }
  9109. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  9110. };
  9111. });
  9112. Vue.prototype.__init_provide = initProvide;
  9113. Vue.prototype.__init_injections = initInjections;
  9114. Vue.prototype.__call_hook = function(hook, args) {
  9115. var vm = this;
  9116. // #7573 disable dep collection when invoking lifecycle hooks
  9117. pushTarget();
  9118. var handlers = vm.$options[hook];
  9119. var info = hook + " hook";
  9120. var ret;
  9121. if (handlers) {
  9122. for (var i = 0, j = handlers.length; i < j; i++) {
  9123. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  9124. }
  9125. }
  9126. if (vm._hasHookEvent) {
  9127. vm.$emit('hook:' + hook, args);
  9128. }
  9129. popTarget();
  9130. return ret
  9131. };
  9132. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  9133. if (Array.isArray(modifiers)) {
  9134. if (modifiers.indexOf('trim') !== -1) {
  9135. value = value.trim();
  9136. }
  9137. if (modifiers.indexOf('number') !== -1) {
  9138. value = this._n(value);
  9139. }
  9140. }
  9141. if (!target) {
  9142. target = this;
  9143. }
  9144. // 解决动态属性添加
  9145. Vue.set(target, key, value);
  9146. };
  9147. Vue.prototype.__set_sync = function(target, key, value) {
  9148. if (!target) {
  9149. target = this;
  9150. }
  9151. // 解决动态属性添加
  9152. Vue.set(target, key, value);
  9153. };
  9154. Vue.prototype.__get_orig = function(item) {
  9155. if (isPlainObject(item)) {
  9156. return item['$orig'] || item
  9157. }
  9158. return item
  9159. };
  9160. Vue.prototype.__get_value = function(dataPath, target) {
  9161. return getTarget(target || this, dataPath)
  9162. };
  9163. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  9164. return renderClass(staticClass, dynamicClass)
  9165. };
  9166. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  9167. if (!dynamicStyle && !staticStyle) {
  9168. return ''
  9169. }
  9170. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  9171. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  9172. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  9173. };
  9174. Vue.prototype.__map = function(val, iteratee) {
  9175. //TODO 暂不考虑 string
  9176. var ret, i, l, keys, key;
  9177. if (Array.isArray(val)) {
  9178. ret = new Array(val.length);
  9179. for (i = 0, l = val.length; i < l; i++) {
  9180. ret[i] = iteratee(val[i], i);
  9181. }
  9182. return ret
  9183. } else if (isObject(val)) {
  9184. keys = Object.keys(val);
  9185. ret = Object.create(null);
  9186. for (i = 0, l = keys.length; i < l; i++) {
  9187. key = keys[i];
  9188. ret[key] = iteratee(val[key], key, i);
  9189. }
  9190. return ret
  9191. } else if (typeof val === 'number') {
  9192. ret = new Array(val);
  9193. for (i = 0, l = val; i < l; i++) {
  9194. // 第一个参数暂时仍和小程序一致
  9195. ret[i] = iteratee(i, i);
  9196. }
  9197. return ret
  9198. }
  9199. return []
  9200. };
  9201. }
  9202. /* */
  9203. var LIFECYCLE_HOOKS$1 = [
  9204. //App
  9205. 'onLaunch',
  9206. 'onShow',
  9207. 'onHide',
  9208. 'onUniNViewMessage',
  9209. 'onPageNotFound',
  9210. 'onThemeChange',
  9211. 'onError',
  9212. 'onUnhandledRejection',
  9213. //Page
  9214. 'onInit',
  9215. 'onLoad',
  9216. // 'onShow',
  9217. 'onReady',
  9218. // 'onHide',
  9219. 'onUnload',
  9220. 'onPullDownRefresh',
  9221. 'onReachBottom',
  9222. 'onTabItemTap',
  9223. 'onAddToFavorites',
  9224. 'onShareTimeline',
  9225. 'onShareAppMessage',
  9226. 'onResize',
  9227. 'onPageScroll',
  9228. 'onNavigationBarButtonTap',
  9229. 'onBackPress',
  9230. 'onNavigationBarSearchInputChanged',
  9231. 'onNavigationBarSearchInputConfirmed',
  9232. 'onNavigationBarSearchInputClicked',
  9233. //Component
  9234. // 'onReady', // 兼容旧版本,应该移除该事件
  9235. 'onPageShow',
  9236. 'onPageHide',
  9237. 'onPageResize',
  9238. 'onUploadDouyinVideo'
  9239. ];
  9240. function lifecycleMixin$1(Vue) {
  9241. //fixed vue-class-component
  9242. var oldExtend = Vue.extend;
  9243. Vue.extend = function(extendOptions) {
  9244. extendOptions = extendOptions || {};
  9245. var methods = extendOptions.methods;
  9246. if (methods) {
  9247. Object.keys(methods).forEach(function (methodName) {
  9248. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  9249. extendOptions[methodName] = methods[methodName];
  9250. delete methods[methodName];
  9251. }
  9252. });
  9253. }
  9254. return oldExtend.call(this, extendOptions)
  9255. };
  9256. var strategies = Vue.config.optionMergeStrategies;
  9257. var mergeHook = strategies.created;
  9258. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  9259. strategies[hook] = mergeHook;
  9260. });
  9261. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  9262. }
  9263. /* */
  9264. // install platform patch function
  9265. Vue.prototype.__patch__ = patch;
  9266. // public mount method
  9267. Vue.prototype.$mount = function(
  9268. el ,
  9269. hydrating
  9270. ) {
  9271. return mountComponent$1(this, el, hydrating)
  9272. };
  9273. lifecycleMixin$1(Vue);
  9274. internalMixin(Vue);
  9275. /* */
  9276. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  9277. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  9278. /***/ }),
  9279. /***/ 26:
  9280. /*!**************************************!*\
  9281. !*** D:/工作/项目2/华景美业/hjmy/pages.json ***!
  9282. \**************************************/
  9283. /*! no static exports found */
  9284. /***/ (function(module, exports) {
  9285. /***/ }),
  9286. /***/ 27:
  9287. /*!******************************************!*\
  9288. !*** D:/工作/项目2/华景美业/hjmy/store/index.js ***!
  9289. \******************************************/
  9290. /*! no static exports found */
  9291. /***/ (function(module, exports, __webpack_require__) {
  9292. "use strict";
  9293. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9294. Object.defineProperty(exports, "__esModule", {
  9295. value: true
  9296. });
  9297. exports.default = void 0;
  9298. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  9299. var _vuex = _interopRequireDefault(__webpack_require__(/*! vuex */ 28));
  9300. var _user = _interopRequireDefault(__webpack_require__(/*! ./model/user */ 29));
  9301. _vue.default.use(_vuex.default);
  9302. var store = new _vuex.default.Store({
  9303. state: {
  9304. // baseURL:"http://yrh.liuniu946.com",//'http://eb.shuibo.net',//请求地址配置
  9305. baseURL: 'https://hjmy.liuniukj.com',
  9306. //请求地址配置
  9307. urlFile: '/index',
  9308. //项目部署所在文件夹
  9309. userInfo: {},
  9310. //登录信息
  9311. loginInterceptor: false,
  9312. //是否打开强制登录
  9313. weichatInfo: {},
  9314. //保存微信注册信息
  9315. weichatObj: '' //微信对象
  9316. },
  9317. mutations: {
  9318. //保存微信信息
  9319. setWeiChatInfo: function setWeiChatInfo(state, provider) {
  9320. state.weichatInfo = provider;
  9321. },
  9322. //保存微信对象
  9323. setWeiChatObj: function setWeiChatObj(state, provider) {
  9324. state.weichatObj = provider;
  9325. }
  9326. },
  9327. modules: {
  9328. user: _user.default
  9329. },
  9330. actions: {}
  9331. });
  9332. var _default = store;
  9333. exports.default = _default;
  9334. /***/ }),
  9335. /***/ 28:
  9336. /*!**************************************************************************************!*\
  9337. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vuex3/dist/vuex.common.js ***!
  9338. \**************************************************************************************/
  9339. /*! no static exports found */
  9340. /***/ (function(module, exports, __webpack_require__) {
  9341. "use strict";
  9342. /* WEBPACK VAR INJECTION */(function(global) {/*!
  9343. * vuex v3.6.2
  9344. * (c) 2021 Evan You
  9345. * @license MIT
  9346. */
  9347. function applyMixin (Vue) {
  9348. var version = Number(Vue.version.split('.')[0]);
  9349. if (version >= 2) {
  9350. Vue.mixin({ beforeCreate: vuexInit });
  9351. } else {
  9352. // override init and inject vuex init procedure
  9353. // for 1.x backwards compatibility.
  9354. var _init = Vue.prototype._init;
  9355. Vue.prototype._init = function (options) {
  9356. if ( options === void 0 ) options = {};
  9357. options.init = options.init
  9358. ? [vuexInit].concat(options.init)
  9359. : vuexInit;
  9360. _init.call(this, options);
  9361. };
  9362. }
  9363. /**
  9364. * Vuex init hook, injected into each instances init hooks list.
  9365. */
  9366. function vuexInit () {
  9367. var options = this.$options;
  9368. // store injection
  9369. if (options.store) {
  9370. this.$store = typeof options.store === 'function'
  9371. ? options.store()
  9372. : options.store;
  9373. } else if (options.parent && options.parent.$store) {
  9374. this.$store = options.parent.$store;
  9375. }
  9376. }
  9377. }
  9378. var target = typeof window !== 'undefined'
  9379. ? window
  9380. : typeof global !== 'undefined'
  9381. ? global
  9382. : {};
  9383. var devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  9384. function devtoolPlugin (store) {
  9385. if (!devtoolHook) { return }
  9386. store._devtoolHook = devtoolHook;
  9387. devtoolHook.emit('vuex:init', store);
  9388. devtoolHook.on('vuex:travel-to-state', function (targetState) {
  9389. store.replaceState(targetState);
  9390. });
  9391. store.subscribe(function (mutation, state) {
  9392. devtoolHook.emit('vuex:mutation', mutation, state);
  9393. }, { prepend: true });
  9394. store.subscribeAction(function (action, state) {
  9395. devtoolHook.emit('vuex:action', action, state);
  9396. }, { prepend: true });
  9397. }
  9398. /**
  9399. * Get the first item that pass the test
  9400. * by second argument function
  9401. *
  9402. * @param {Array} list
  9403. * @param {Function} f
  9404. * @return {*}
  9405. */
  9406. function find (list, f) {
  9407. return list.filter(f)[0]
  9408. }
  9409. /**
  9410. * Deep copy the given object considering circular structure.
  9411. * This function caches all nested objects and its copies.
  9412. * If it detects circular structure, use cached copy to avoid infinite loop.
  9413. *
  9414. * @param {*} obj
  9415. * @param {Array<Object>} cache
  9416. * @return {*}
  9417. */
  9418. function deepCopy (obj, cache) {
  9419. if ( cache === void 0 ) cache = [];
  9420. // just return if obj is immutable value
  9421. if (obj === null || typeof obj !== 'object') {
  9422. return obj
  9423. }
  9424. // if obj is hit, it is in circular structure
  9425. var hit = find(cache, function (c) { return c.original === obj; });
  9426. if (hit) {
  9427. return hit.copy
  9428. }
  9429. var copy = Array.isArray(obj) ? [] : {};
  9430. // put the copy into cache at first
  9431. // because we want to refer it in recursive deepCopy
  9432. cache.push({
  9433. original: obj,
  9434. copy: copy
  9435. });
  9436. Object.keys(obj).forEach(function (key) {
  9437. copy[key] = deepCopy(obj[key], cache);
  9438. });
  9439. return copy
  9440. }
  9441. /**
  9442. * forEach for object
  9443. */
  9444. function forEachValue (obj, fn) {
  9445. Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });
  9446. }
  9447. function isObject (obj) {
  9448. return obj !== null && typeof obj === 'object'
  9449. }
  9450. function isPromise (val) {
  9451. return val && typeof val.then === 'function'
  9452. }
  9453. function assert (condition, msg) {
  9454. if (!condition) { throw new Error(("[vuex] " + msg)) }
  9455. }
  9456. function partial (fn, arg) {
  9457. return function () {
  9458. return fn(arg)
  9459. }
  9460. }
  9461. // Base data struct for store's module, package with some attribute and method
  9462. var Module = function Module (rawModule, runtime) {
  9463. this.runtime = runtime;
  9464. // Store some children item
  9465. this._children = Object.create(null);
  9466. // Store the origin module object which passed by programmer
  9467. this._rawModule = rawModule;
  9468. var rawState = rawModule.state;
  9469. // Store the origin module's state
  9470. this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};
  9471. };
  9472. var prototypeAccessors = { namespaced: { configurable: true } };
  9473. prototypeAccessors.namespaced.get = function () {
  9474. return !!this._rawModule.namespaced
  9475. };
  9476. Module.prototype.addChild = function addChild (key, module) {
  9477. this._children[key] = module;
  9478. };
  9479. Module.prototype.removeChild = function removeChild (key) {
  9480. delete this._children[key];
  9481. };
  9482. Module.prototype.getChild = function getChild (key) {
  9483. return this._children[key]
  9484. };
  9485. Module.prototype.hasChild = function hasChild (key) {
  9486. return key in this._children
  9487. };
  9488. Module.prototype.update = function update (rawModule) {
  9489. this._rawModule.namespaced = rawModule.namespaced;
  9490. if (rawModule.actions) {
  9491. this._rawModule.actions = rawModule.actions;
  9492. }
  9493. if (rawModule.mutations) {
  9494. this._rawModule.mutations = rawModule.mutations;
  9495. }
  9496. if (rawModule.getters) {
  9497. this._rawModule.getters = rawModule.getters;
  9498. }
  9499. };
  9500. Module.prototype.forEachChild = function forEachChild (fn) {
  9501. forEachValue(this._children, fn);
  9502. };
  9503. Module.prototype.forEachGetter = function forEachGetter (fn) {
  9504. if (this._rawModule.getters) {
  9505. forEachValue(this._rawModule.getters, fn);
  9506. }
  9507. };
  9508. Module.prototype.forEachAction = function forEachAction (fn) {
  9509. if (this._rawModule.actions) {
  9510. forEachValue(this._rawModule.actions, fn);
  9511. }
  9512. };
  9513. Module.prototype.forEachMutation = function forEachMutation (fn) {
  9514. if (this._rawModule.mutations) {
  9515. forEachValue(this._rawModule.mutations, fn);
  9516. }
  9517. };
  9518. Object.defineProperties( Module.prototype, prototypeAccessors );
  9519. var ModuleCollection = function ModuleCollection (rawRootModule) {
  9520. // register root module (Vuex.Store options)
  9521. this.register([], rawRootModule, false);
  9522. };
  9523. ModuleCollection.prototype.get = function get (path) {
  9524. return path.reduce(function (module, key) {
  9525. return module.getChild(key)
  9526. }, this.root)
  9527. };
  9528. ModuleCollection.prototype.getNamespace = function getNamespace (path) {
  9529. var module = this.root;
  9530. return path.reduce(function (namespace, key) {
  9531. module = module.getChild(key);
  9532. return namespace + (module.namespaced ? key + '/' : '')
  9533. }, '')
  9534. };
  9535. ModuleCollection.prototype.update = function update$1 (rawRootModule) {
  9536. update([], this.root, rawRootModule);
  9537. };
  9538. ModuleCollection.prototype.register = function register (path, rawModule, runtime) {
  9539. var this$1 = this;
  9540. if ( runtime === void 0 ) runtime = true;
  9541. if ((true)) {
  9542. assertRawModule(path, rawModule);
  9543. }
  9544. var newModule = new Module(rawModule, runtime);
  9545. if (path.length === 0) {
  9546. this.root = newModule;
  9547. } else {
  9548. var parent = this.get(path.slice(0, -1));
  9549. parent.addChild(path[path.length - 1], newModule);
  9550. }
  9551. // register nested modules
  9552. if (rawModule.modules) {
  9553. forEachValue(rawModule.modules, function (rawChildModule, key) {
  9554. this$1.register(path.concat(key), rawChildModule, runtime);
  9555. });
  9556. }
  9557. };
  9558. ModuleCollection.prototype.unregister = function unregister (path) {
  9559. var parent = this.get(path.slice(0, -1));
  9560. var key = path[path.length - 1];
  9561. var child = parent.getChild(key);
  9562. if (!child) {
  9563. if ((true)) {
  9564. console.warn(
  9565. "[vuex] trying to unregister module '" + key + "', which is " +
  9566. "not registered"
  9567. );
  9568. }
  9569. return
  9570. }
  9571. if (!child.runtime) {
  9572. return
  9573. }
  9574. parent.removeChild(key);
  9575. };
  9576. ModuleCollection.prototype.isRegistered = function isRegistered (path) {
  9577. var parent = this.get(path.slice(0, -1));
  9578. var key = path[path.length - 1];
  9579. if (parent) {
  9580. return parent.hasChild(key)
  9581. }
  9582. return false
  9583. };
  9584. function update (path, targetModule, newModule) {
  9585. if ((true)) {
  9586. assertRawModule(path, newModule);
  9587. }
  9588. // update target module
  9589. targetModule.update(newModule);
  9590. // update nested modules
  9591. if (newModule.modules) {
  9592. for (var key in newModule.modules) {
  9593. if (!targetModule.getChild(key)) {
  9594. if ((true)) {
  9595. console.warn(
  9596. "[vuex] trying to add a new module '" + key + "' on hot reloading, " +
  9597. 'manual reload is needed'
  9598. );
  9599. }
  9600. return
  9601. }
  9602. update(
  9603. path.concat(key),
  9604. targetModule.getChild(key),
  9605. newModule.modules[key]
  9606. );
  9607. }
  9608. }
  9609. }
  9610. var functionAssert = {
  9611. assert: function (value) { return typeof value === 'function'; },
  9612. expected: 'function'
  9613. };
  9614. var objectAssert = {
  9615. assert: function (value) { return typeof value === 'function' ||
  9616. (typeof value === 'object' && typeof value.handler === 'function'); },
  9617. expected: 'function or object with "handler" function'
  9618. };
  9619. var assertTypes = {
  9620. getters: functionAssert,
  9621. mutations: functionAssert,
  9622. actions: objectAssert
  9623. };
  9624. function assertRawModule (path, rawModule) {
  9625. Object.keys(assertTypes).forEach(function (key) {
  9626. if (!rawModule[key]) { return }
  9627. var assertOptions = assertTypes[key];
  9628. forEachValue(rawModule[key], function (value, type) {
  9629. assert(
  9630. assertOptions.assert(value),
  9631. makeAssertionMessage(path, key, type, value, assertOptions.expected)
  9632. );
  9633. });
  9634. });
  9635. }
  9636. function makeAssertionMessage (path, key, type, value, expected) {
  9637. var buf = key + " should be " + expected + " but \"" + key + "." + type + "\"";
  9638. if (path.length > 0) {
  9639. buf += " in module \"" + (path.join('.')) + "\"";
  9640. }
  9641. buf += " is " + (JSON.stringify(value)) + ".";
  9642. return buf
  9643. }
  9644. var Vue; // bind on install
  9645. var Store = function Store (options) {
  9646. var this$1 = this;
  9647. if ( options === void 0 ) options = {};
  9648. // Auto install if it is not done yet and `window` has `Vue`.
  9649. // To allow users to avoid auto-installation in some cases,
  9650. // this code should be placed here. See #731
  9651. if (!Vue && typeof window !== 'undefined' && window.Vue) {
  9652. install(window.Vue);
  9653. }
  9654. if ((true)) {
  9655. assert(Vue, "must call Vue.use(Vuex) before creating a store instance.");
  9656. assert(typeof Promise !== 'undefined', "vuex requires a Promise polyfill in this browser.");
  9657. assert(this instanceof Store, "store must be called with the new operator.");
  9658. }
  9659. var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];
  9660. var strict = options.strict; if ( strict === void 0 ) strict = false;
  9661. // store internal state
  9662. this._committing = false;
  9663. this._actions = Object.create(null);
  9664. this._actionSubscribers = [];
  9665. this._mutations = Object.create(null);
  9666. this._wrappedGetters = Object.create(null);
  9667. this._modules = new ModuleCollection(options);
  9668. this._modulesNamespaceMap = Object.create(null);
  9669. this._subscribers = [];
  9670. this._watcherVM = new Vue();
  9671. this._makeLocalGettersCache = Object.create(null);
  9672. // bind commit and dispatch to self
  9673. var store = this;
  9674. var ref = this;
  9675. var dispatch = ref.dispatch;
  9676. var commit = ref.commit;
  9677. this.dispatch = function boundDispatch (type, payload) {
  9678. return dispatch.call(store, type, payload)
  9679. };
  9680. this.commit = function boundCommit (type, payload, options) {
  9681. return commit.call(store, type, payload, options)
  9682. };
  9683. // strict mode
  9684. this.strict = strict;
  9685. var state = this._modules.root.state;
  9686. // init root module.
  9687. // this also recursively registers all sub-modules
  9688. // and collects all module getters inside this._wrappedGetters
  9689. installModule(this, state, [], this._modules.root);
  9690. // initialize the store vm, which is responsible for the reactivity
  9691. // (also registers _wrappedGetters as computed properties)
  9692. resetStoreVM(this, state);
  9693. // apply plugins
  9694. plugins.forEach(function (plugin) { return plugin(this$1); });
  9695. var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;
  9696. if (useDevtools) {
  9697. devtoolPlugin(this);
  9698. }
  9699. };
  9700. var prototypeAccessors$1 = { state: { configurable: true } };
  9701. prototypeAccessors$1.state.get = function () {
  9702. return this._vm._data.$$state
  9703. };
  9704. prototypeAccessors$1.state.set = function (v) {
  9705. if ((true)) {
  9706. assert(false, "use store.replaceState() to explicit replace store state.");
  9707. }
  9708. };
  9709. Store.prototype.commit = function commit (_type, _payload, _options) {
  9710. var this$1 = this;
  9711. // check object-style commit
  9712. var ref = unifyObjectStyle(_type, _payload, _options);
  9713. var type = ref.type;
  9714. var payload = ref.payload;
  9715. var options = ref.options;
  9716. var mutation = { type: type, payload: payload };
  9717. var entry = this._mutations[type];
  9718. if (!entry) {
  9719. if ((true)) {
  9720. console.error(("[vuex] unknown mutation type: " + type));
  9721. }
  9722. return
  9723. }
  9724. this._withCommit(function () {
  9725. entry.forEach(function commitIterator (handler) {
  9726. handler(payload);
  9727. });
  9728. });
  9729. this._subscribers
  9730. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  9731. .forEach(function (sub) { return sub(mutation, this$1.state); });
  9732. if (
  9733. ( true) &&
  9734. options && options.silent
  9735. ) {
  9736. console.warn(
  9737. "[vuex] mutation type: " + type + ". Silent option has been removed. " +
  9738. 'Use the filter functionality in the vue-devtools'
  9739. );
  9740. }
  9741. };
  9742. Store.prototype.dispatch = function dispatch (_type, _payload) {
  9743. var this$1 = this;
  9744. // check object-style dispatch
  9745. var ref = unifyObjectStyle(_type, _payload);
  9746. var type = ref.type;
  9747. var payload = ref.payload;
  9748. var action = { type: type, payload: payload };
  9749. var entry = this._actions[type];
  9750. if (!entry) {
  9751. if ((true)) {
  9752. console.error(("[vuex] unknown action type: " + type));
  9753. }
  9754. return
  9755. }
  9756. try {
  9757. this._actionSubscribers
  9758. .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe
  9759. .filter(function (sub) { return sub.before; })
  9760. .forEach(function (sub) { return sub.before(action, this$1.state); });
  9761. } catch (e) {
  9762. if ((true)) {
  9763. console.warn("[vuex] error in before action subscribers: ");
  9764. console.error(e);
  9765. }
  9766. }
  9767. var result = entry.length > 1
  9768. ? Promise.all(entry.map(function (handler) { return handler(payload); }))
  9769. : entry[0](payload);
  9770. return new Promise(function (resolve, reject) {
  9771. result.then(function (res) {
  9772. try {
  9773. this$1._actionSubscribers
  9774. .filter(function (sub) { return sub.after; })
  9775. .forEach(function (sub) { return sub.after(action, this$1.state); });
  9776. } catch (e) {
  9777. if ((true)) {
  9778. console.warn("[vuex] error in after action subscribers: ");
  9779. console.error(e);
  9780. }
  9781. }
  9782. resolve(res);
  9783. }, function (error) {
  9784. try {
  9785. this$1._actionSubscribers
  9786. .filter(function (sub) { return sub.error; })
  9787. .forEach(function (sub) { return sub.error(action, this$1.state, error); });
  9788. } catch (e) {
  9789. if ((true)) {
  9790. console.warn("[vuex] error in error action subscribers: ");
  9791. console.error(e);
  9792. }
  9793. }
  9794. reject(error);
  9795. });
  9796. })
  9797. };
  9798. Store.prototype.subscribe = function subscribe (fn, options) {
  9799. return genericSubscribe(fn, this._subscribers, options)
  9800. };
  9801. Store.prototype.subscribeAction = function subscribeAction (fn, options) {
  9802. var subs = typeof fn === 'function' ? { before: fn } : fn;
  9803. return genericSubscribe(subs, this._actionSubscribers, options)
  9804. };
  9805. Store.prototype.watch = function watch (getter, cb, options) {
  9806. var this$1 = this;
  9807. if ((true)) {
  9808. assert(typeof getter === 'function', "store.watch only accepts a function.");
  9809. }
  9810. return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)
  9811. };
  9812. Store.prototype.replaceState = function replaceState (state) {
  9813. var this$1 = this;
  9814. this._withCommit(function () {
  9815. this$1._vm._data.$$state = state;
  9816. });
  9817. };
  9818. Store.prototype.registerModule = function registerModule (path, rawModule, options) {
  9819. if ( options === void 0 ) options = {};
  9820. if (typeof path === 'string') { path = [path]; }
  9821. if ((true)) {
  9822. assert(Array.isArray(path), "module path must be a string or an Array.");
  9823. assert(path.length > 0, 'cannot register the root module by using registerModule.');
  9824. }
  9825. this._modules.register(path, rawModule);
  9826. installModule(this, this.state, path, this._modules.get(path), options.preserveState);
  9827. // reset store to update getters...
  9828. resetStoreVM(this, this.state);
  9829. };
  9830. Store.prototype.unregisterModule = function unregisterModule (path) {
  9831. var this$1 = this;
  9832. if (typeof path === 'string') { path = [path]; }
  9833. if ((true)) {
  9834. assert(Array.isArray(path), "module path must be a string or an Array.");
  9835. }
  9836. this._modules.unregister(path);
  9837. this._withCommit(function () {
  9838. var parentState = getNestedState(this$1.state, path.slice(0, -1));
  9839. Vue.delete(parentState, path[path.length - 1]);
  9840. });
  9841. resetStore(this);
  9842. };
  9843. Store.prototype.hasModule = function hasModule (path) {
  9844. if (typeof path === 'string') { path = [path]; }
  9845. if ((true)) {
  9846. assert(Array.isArray(path), "module path must be a string or an Array.");
  9847. }
  9848. return this._modules.isRegistered(path)
  9849. };
  9850. Store.prototype[[104,111,116,85,112,100,97,116,101].map(function (item) {return String.fromCharCode(item)}).join('')] = function (newOptions) {
  9851. this._modules.update(newOptions);
  9852. resetStore(this, true);
  9853. };
  9854. Store.prototype._withCommit = function _withCommit (fn) {
  9855. var committing = this._committing;
  9856. this._committing = true;
  9857. fn();
  9858. this._committing = committing;
  9859. };
  9860. Object.defineProperties( Store.prototype, prototypeAccessors$1 );
  9861. function genericSubscribe (fn, subs, options) {
  9862. if (subs.indexOf(fn) < 0) {
  9863. options && options.prepend
  9864. ? subs.unshift(fn)
  9865. : subs.push(fn);
  9866. }
  9867. return function () {
  9868. var i = subs.indexOf(fn);
  9869. if (i > -1) {
  9870. subs.splice(i, 1);
  9871. }
  9872. }
  9873. }
  9874. function resetStore (store, hot) {
  9875. store._actions = Object.create(null);
  9876. store._mutations = Object.create(null);
  9877. store._wrappedGetters = Object.create(null);
  9878. store._modulesNamespaceMap = Object.create(null);
  9879. var state = store.state;
  9880. // init all modules
  9881. installModule(store, state, [], store._modules.root, true);
  9882. // reset vm
  9883. resetStoreVM(store, state, hot);
  9884. }
  9885. function resetStoreVM (store, state, hot) {
  9886. var oldVm = store._vm;
  9887. // bind store public getters
  9888. store.getters = {};
  9889. // reset local getters cache
  9890. store._makeLocalGettersCache = Object.create(null);
  9891. var wrappedGetters = store._wrappedGetters;
  9892. var computed = {};
  9893. forEachValue(wrappedGetters, function (fn, key) {
  9894. // use computed to leverage its lazy-caching mechanism
  9895. // direct inline function use will lead to closure preserving oldVm.
  9896. // using partial to return function with only arguments preserved in closure environment.
  9897. computed[key] = partial(fn, store);
  9898. Object.defineProperty(store.getters, key, {
  9899. get: function () { return store._vm[key]; },
  9900. enumerable: true // for local getters
  9901. });
  9902. });
  9903. // use a Vue instance to store the state tree
  9904. // suppress warnings just in case the user has added
  9905. // some funky global mixins
  9906. var silent = Vue.config.silent;
  9907. Vue.config.silent = true;
  9908. store._vm = new Vue({
  9909. data: {
  9910. $$state: state
  9911. },
  9912. computed: computed
  9913. });
  9914. Vue.config.silent = silent;
  9915. // enable strict mode for new vm
  9916. if (store.strict) {
  9917. enableStrictMode(store);
  9918. }
  9919. if (oldVm) {
  9920. if (hot) {
  9921. // dispatch changes in all subscribed watchers
  9922. // to force getter re-evaluation for hot reloading.
  9923. store._withCommit(function () {
  9924. oldVm._data.$$state = null;
  9925. });
  9926. }
  9927. Vue.nextTick(function () { return oldVm.$destroy(); });
  9928. }
  9929. }
  9930. function installModule (store, rootState, path, module, hot) {
  9931. var isRoot = !path.length;
  9932. var namespace = store._modules.getNamespace(path);
  9933. // register in namespace map
  9934. if (module.namespaced) {
  9935. if (store._modulesNamespaceMap[namespace] && ("development" !== 'production')) {
  9936. console.error(("[vuex] duplicate namespace " + namespace + " for the namespaced module " + (path.join('/'))));
  9937. }
  9938. store._modulesNamespaceMap[namespace] = module;
  9939. }
  9940. // set state
  9941. if (!isRoot && !hot) {
  9942. var parentState = getNestedState(rootState, path.slice(0, -1));
  9943. var moduleName = path[path.length - 1];
  9944. store._withCommit(function () {
  9945. if ((true)) {
  9946. if (moduleName in parentState) {
  9947. console.warn(
  9948. ("[vuex] state field \"" + moduleName + "\" was overridden by a module with the same name at \"" + (path.join('.')) + "\"")
  9949. );
  9950. }
  9951. }
  9952. Vue.set(parentState, moduleName, module.state);
  9953. });
  9954. }
  9955. var local = module.context = makeLocalContext(store, namespace, path);
  9956. module.forEachMutation(function (mutation, key) {
  9957. var namespacedType = namespace + key;
  9958. registerMutation(store, namespacedType, mutation, local);
  9959. });
  9960. module.forEachAction(function (action, key) {
  9961. var type = action.root ? key : namespace + key;
  9962. var handler = action.handler || action;
  9963. registerAction(store, type, handler, local);
  9964. });
  9965. module.forEachGetter(function (getter, key) {
  9966. var namespacedType = namespace + key;
  9967. registerGetter(store, namespacedType, getter, local);
  9968. });
  9969. module.forEachChild(function (child, key) {
  9970. installModule(store, rootState, path.concat(key), child, hot);
  9971. });
  9972. }
  9973. /**
  9974. * make localized dispatch, commit, getters and state
  9975. * if there is no namespace, just use root ones
  9976. */
  9977. function makeLocalContext (store, namespace, path) {
  9978. var noNamespace = namespace === '';
  9979. var local = {
  9980. dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {
  9981. var args = unifyObjectStyle(_type, _payload, _options);
  9982. var payload = args.payload;
  9983. var options = args.options;
  9984. var type = args.type;
  9985. if (!options || !options.root) {
  9986. type = namespace + type;
  9987. if (( true) && !store._actions[type]) {
  9988. console.error(("[vuex] unknown local action type: " + (args.type) + ", global type: " + type));
  9989. return
  9990. }
  9991. }
  9992. return store.dispatch(type, payload)
  9993. },
  9994. commit: noNamespace ? store.commit : function (_type, _payload, _options) {
  9995. var args = unifyObjectStyle(_type, _payload, _options);
  9996. var payload = args.payload;
  9997. var options = args.options;
  9998. var type = args.type;
  9999. if (!options || !options.root) {
  10000. type = namespace + type;
  10001. if (( true) && !store._mutations[type]) {
  10002. console.error(("[vuex] unknown local mutation type: " + (args.type) + ", global type: " + type));
  10003. return
  10004. }
  10005. }
  10006. store.commit(type, payload, options);
  10007. }
  10008. };
  10009. // getters and state object must be gotten lazily
  10010. // because they will be changed by vm update
  10011. Object.defineProperties(local, {
  10012. getters: {
  10013. get: noNamespace
  10014. ? function () { return store.getters; }
  10015. : function () { return makeLocalGetters(store, namespace); }
  10016. },
  10017. state: {
  10018. get: function () { return getNestedState(store.state, path); }
  10019. }
  10020. });
  10021. return local
  10022. }
  10023. function makeLocalGetters (store, namespace) {
  10024. if (!store._makeLocalGettersCache[namespace]) {
  10025. var gettersProxy = {};
  10026. var splitPos = namespace.length;
  10027. Object.keys(store.getters).forEach(function (type) {
  10028. // skip if the target getter is not match this namespace
  10029. if (type.slice(0, splitPos) !== namespace) { return }
  10030. // extract local getter type
  10031. var localType = type.slice(splitPos);
  10032. // Add a port to the getters proxy.
  10033. // Define as getter property because
  10034. // we do not want to evaluate the getters in this time.
  10035. Object.defineProperty(gettersProxy, localType, {
  10036. get: function () { return store.getters[type]; },
  10037. enumerable: true
  10038. });
  10039. });
  10040. store._makeLocalGettersCache[namespace] = gettersProxy;
  10041. }
  10042. return store._makeLocalGettersCache[namespace]
  10043. }
  10044. function registerMutation (store, type, handler, local) {
  10045. var entry = store._mutations[type] || (store._mutations[type] = []);
  10046. entry.push(function wrappedMutationHandler (payload) {
  10047. handler.call(store, local.state, payload);
  10048. });
  10049. }
  10050. function registerAction (store, type, handler, local) {
  10051. var entry = store._actions[type] || (store._actions[type] = []);
  10052. entry.push(function wrappedActionHandler (payload) {
  10053. var res = handler.call(store, {
  10054. dispatch: local.dispatch,
  10055. commit: local.commit,
  10056. getters: local.getters,
  10057. state: local.state,
  10058. rootGetters: store.getters,
  10059. rootState: store.state
  10060. }, payload);
  10061. if (!isPromise(res)) {
  10062. res = Promise.resolve(res);
  10063. }
  10064. if (store._devtoolHook) {
  10065. return res.catch(function (err) {
  10066. store._devtoolHook.emit('vuex:error', err);
  10067. throw err
  10068. })
  10069. } else {
  10070. return res
  10071. }
  10072. });
  10073. }
  10074. function registerGetter (store, type, rawGetter, local) {
  10075. if (store._wrappedGetters[type]) {
  10076. if ((true)) {
  10077. console.error(("[vuex] duplicate getter key: " + type));
  10078. }
  10079. return
  10080. }
  10081. store._wrappedGetters[type] = function wrappedGetter (store) {
  10082. return rawGetter(
  10083. local.state, // local state
  10084. local.getters, // local getters
  10085. store.state, // root state
  10086. store.getters // root getters
  10087. )
  10088. };
  10089. }
  10090. function enableStrictMode (store) {
  10091. store._vm.$watch(function () { return this._data.$$state }, function () {
  10092. if ((true)) {
  10093. assert(store._committing, "do not mutate vuex store state outside mutation handlers.");
  10094. }
  10095. }, { deep: true, sync: true });
  10096. }
  10097. function getNestedState (state, path) {
  10098. return path.reduce(function (state, key) { return state[key]; }, state)
  10099. }
  10100. function unifyObjectStyle (type, payload, options) {
  10101. if (isObject(type) && type.type) {
  10102. options = payload;
  10103. payload = type;
  10104. type = type.type;
  10105. }
  10106. if ((true)) {
  10107. assert(typeof type === 'string', ("expects string as the type, but found " + (typeof type) + "."));
  10108. }
  10109. return { type: type, payload: payload, options: options }
  10110. }
  10111. function install (_Vue) {
  10112. if (Vue && _Vue === Vue) {
  10113. if ((true)) {
  10114. console.error(
  10115. '[vuex] already installed. Vue.use(Vuex) should be called only once.'
  10116. );
  10117. }
  10118. return
  10119. }
  10120. Vue = _Vue;
  10121. applyMixin(Vue);
  10122. }
  10123. /**
  10124. * Reduce the code which written in Vue.js for getting the state.
  10125. * @param {String} [namespace] - Module's namespace
  10126. * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.
  10127. * @param {Object}
  10128. */
  10129. var mapState = normalizeNamespace(function (namespace, states) {
  10130. var res = {};
  10131. if (( true) && !isValidMap(states)) {
  10132. console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');
  10133. }
  10134. normalizeMap(states).forEach(function (ref) {
  10135. var key = ref.key;
  10136. var val = ref.val;
  10137. res[key] = function mappedState () {
  10138. var state = this.$store.state;
  10139. var getters = this.$store.getters;
  10140. if (namespace) {
  10141. var module = getModuleByNamespace(this.$store, 'mapState', namespace);
  10142. if (!module) {
  10143. return
  10144. }
  10145. state = module.context.state;
  10146. getters = module.context.getters;
  10147. }
  10148. return typeof val === 'function'
  10149. ? val.call(this, state, getters)
  10150. : state[val]
  10151. };
  10152. // mark vuex getter for devtools
  10153. res[key].vuex = true;
  10154. });
  10155. return res
  10156. });
  10157. /**
  10158. * Reduce the code which written in Vue.js for committing the mutation
  10159. * @param {String} [namespace] - Module's namespace
  10160. * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  10161. * @return {Object}
  10162. */
  10163. var mapMutations = normalizeNamespace(function (namespace, mutations) {
  10164. var res = {};
  10165. if (( true) && !isValidMap(mutations)) {
  10166. console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');
  10167. }
  10168. normalizeMap(mutations).forEach(function (ref) {
  10169. var key = ref.key;
  10170. var val = ref.val;
  10171. res[key] = function mappedMutation () {
  10172. var args = [], len = arguments.length;
  10173. while ( len-- ) args[ len ] = arguments[ len ];
  10174. // Get the commit method from store
  10175. var commit = this.$store.commit;
  10176. if (namespace) {
  10177. var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);
  10178. if (!module) {
  10179. return
  10180. }
  10181. commit = module.context.commit;
  10182. }
  10183. return typeof val === 'function'
  10184. ? val.apply(this, [commit].concat(args))
  10185. : commit.apply(this.$store, [val].concat(args))
  10186. };
  10187. });
  10188. return res
  10189. });
  10190. /**
  10191. * Reduce the code which written in Vue.js for getting the getters
  10192. * @param {String} [namespace] - Module's namespace
  10193. * @param {Object|Array} getters
  10194. * @return {Object}
  10195. */
  10196. var mapGetters = normalizeNamespace(function (namespace, getters) {
  10197. var res = {};
  10198. if (( true) && !isValidMap(getters)) {
  10199. console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');
  10200. }
  10201. normalizeMap(getters).forEach(function (ref) {
  10202. var key = ref.key;
  10203. var val = ref.val;
  10204. // The namespace has been mutated by normalizeNamespace
  10205. val = namespace + val;
  10206. res[key] = function mappedGetter () {
  10207. if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
  10208. return
  10209. }
  10210. if (( true) && !(val in this.$store.getters)) {
  10211. console.error(("[vuex] unknown getter: " + val));
  10212. return
  10213. }
  10214. return this.$store.getters[val]
  10215. };
  10216. // mark vuex getter for devtools
  10217. res[key].vuex = true;
  10218. });
  10219. return res
  10220. });
  10221. /**
  10222. * Reduce the code which written in Vue.js for dispatch the action
  10223. * @param {String} [namespace] - Module's namespace
  10224. * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.
  10225. * @return {Object}
  10226. */
  10227. var mapActions = normalizeNamespace(function (namespace, actions) {
  10228. var res = {};
  10229. if (( true) && !isValidMap(actions)) {
  10230. console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');
  10231. }
  10232. normalizeMap(actions).forEach(function (ref) {
  10233. var key = ref.key;
  10234. var val = ref.val;
  10235. res[key] = function mappedAction () {
  10236. var args = [], len = arguments.length;
  10237. while ( len-- ) args[ len ] = arguments[ len ];
  10238. // get dispatch function from store
  10239. var dispatch = this.$store.dispatch;
  10240. if (namespace) {
  10241. var module = getModuleByNamespace(this.$store, 'mapActions', namespace);
  10242. if (!module) {
  10243. return
  10244. }
  10245. dispatch = module.context.dispatch;
  10246. }
  10247. return typeof val === 'function'
  10248. ? val.apply(this, [dispatch].concat(args))
  10249. : dispatch.apply(this.$store, [val].concat(args))
  10250. };
  10251. });
  10252. return res
  10253. });
  10254. /**
  10255. * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object
  10256. * @param {String} namespace
  10257. * @return {Object}
  10258. */
  10259. var createNamespacedHelpers = function (namespace) { return ({
  10260. mapState: mapState.bind(null, namespace),
  10261. mapGetters: mapGetters.bind(null, namespace),
  10262. mapMutations: mapMutations.bind(null, namespace),
  10263. mapActions: mapActions.bind(null, namespace)
  10264. }); };
  10265. /**
  10266. * Normalize the map
  10267. * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]
  10268. * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]
  10269. * @param {Array|Object} map
  10270. * @return {Object}
  10271. */
  10272. function normalizeMap (map) {
  10273. if (!isValidMap(map)) {
  10274. return []
  10275. }
  10276. return Array.isArray(map)
  10277. ? map.map(function (key) { return ({ key: key, val: key }); })
  10278. : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })
  10279. }
  10280. /**
  10281. * Validate whether given map is valid or not
  10282. * @param {*} map
  10283. * @return {Boolean}
  10284. */
  10285. function isValidMap (map) {
  10286. return Array.isArray(map) || isObject(map)
  10287. }
  10288. /**
  10289. * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.
  10290. * @param {Function} fn
  10291. * @return {Function}
  10292. */
  10293. function normalizeNamespace (fn) {
  10294. return function (namespace, map) {
  10295. if (typeof namespace !== 'string') {
  10296. map = namespace;
  10297. namespace = '';
  10298. } else if (namespace.charAt(namespace.length - 1) !== '/') {
  10299. namespace += '/';
  10300. }
  10301. return fn(namespace, map)
  10302. }
  10303. }
  10304. /**
  10305. * Search a special module from store by namespace. if module not exist, print error message.
  10306. * @param {Object} store
  10307. * @param {String} helper
  10308. * @param {String} namespace
  10309. * @return {Object}
  10310. */
  10311. function getModuleByNamespace (store, helper, namespace) {
  10312. var module = store._modulesNamespaceMap[namespace];
  10313. if (( true) && !module) {
  10314. console.error(("[vuex] module namespace not found in " + helper + "(): " + namespace));
  10315. }
  10316. return module
  10317. }
  10318. // Credits: borrowed code from fcomb/redux-logger
  10319. function createLogger (ref) {
  10320. if ( ref === void 0 ) ref = {};
  10321. var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;
  10322. var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };
  10323. var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };
  10324. var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };
  10325. var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };
  10326. var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };
  10327. var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;
  10328. var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;
  10329. var logger = ref.logger; if ( logger === void 0 ) logger = console;
  10330. return function (store) {
  10331. var prevState = deepCopy(store.state);
  10332. if (typeof logger === 'undefined') {
  10333. return
  10334. }
  10335. if (logMutations) {
  10336. store.subscribe(function (mutation, state) {
  10337. var nextState = deepCopy(state);
  10338. if (filter(mutation, prevState, nextState)) {
  10339. var formattedTime = getFormattedTime();
  10340. var formattedMutation = mutationTransformer(mutation);
  10341. var message = "mutation " + (mutation.type) + formattedTime;
  10342. startMessage(logger, message, collapsed);
  10343. logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));
  10344. logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);
  10345. logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));
  10346. endMessage(logger);
  10347. }
  10348. prevState = nextState;
  10349. });
  10350. }
  10351. if (logActions) {
  10352. store.subscribeAction(function (action, state) {
  10353. if (actionFilter(action, state)) {
  10354. var formattedTime = getFormattedTime();
  10355. var formattedAction = actionTransformer(action);
  10356. var message = "action " + (action.type) + formattedTime;
  10357. startMessage(logger, message, collapsed);
  10358. logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);
  10359. endMessage(logger);
  10360. }
  10361. });
  10362. }
  10363. }
  10364. }
  10365. function startMessage (logger, message, collapsed) {
  10366. var startMessage = collapsed
  10367. ? logger.groupCollapsed
  10368. : logger.group;
  10369. // render
  10370. try {
  10371. startMessage.call(logger, message);
  10372. } catch (e) {
  10373. logger.log(message);
  10374. }
  10375. }
  10376. function endMessage (logger) {
  10377. try {
  10378. logger.groupEnd();
  10379. } catch (e) {
  10380. logger.log('—— log end ——');
  10381. }
  10382. }
  10383. function getFormattedTime () {
  10384. var time = new Date();
  10385. return (" @ " + (pad(time.getHours(), 2)) + ":" + (pad(time.getMinutes(), 2)) + ":" + (pad(time.getSeconds(), 2)) + "." + (pad(time.getMilliseconds(), 3)))
  10386. }
  10387. function repeat (str, times) {
  10388. return (new Array(times + 1)).join(str)
  10389. }
  10390. function pad (num, maxLength) {
  10391. return repeat('0', maxLength - num.toString().length) + num
  10392. }
  10393. var index_cjs = {
  10394. Store: Store,
  10395. install: install,
  10396. version: '3.6.2',
  10397. mapState: mapState,
  10398. mapMutations: mapMutations,
  10399. mapGetters: mapGetters,
  10400. mapActions: mapActions,
  10401. createNamespacedHelpers: createNamespacedHelpers,
  10402. createLogger: createLogger
  10403. };
  10404. module.exports = index_cjs;
  10405. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  10406. /***/ }),
  10407. /***/ 29:
  10408. /*!***********************************************!*\
  10409. !*** D:/工作/项目2/华景美业/hjmy/store/model/user.js ***!
  10410. \***********************************************/
  10411. /*! no static exports found */
  10412. /***/ (function(module, exports, __webpack_require__) {
  10413. "use strict";
  10414. /* WEBPACK VAR INJECTION */(function(uni) {
  10415. Object.defineProperty(exports, "__esModule", {
  10416. value: true
  10417. });
  10418. exports.default = void 0;
  10419. var state = {
  10420. userInfo: {},
  10421. //用户信息
  10422. orderInfo: {
  10423. complete_count: 0,
  10424. //完成
  10425. received_count: 0,
  10426. //待收货
  10427. unshipped_count: 0,
  10428. //待发货
  10429. order_count: 0,
  10430. //订单总数
  10431. unpaid_count: 0 //待付款
  10432. },
  10433. //订单信息
  10434. hasLogin: false //是否登录
  10435. };
  10436. var mutations = {
  10437. // 登录
  10438. login: function login(state) {
  10439. state.hasLogin = true;
  10440. },
  10441. // 退出登录
  10442. logout: function logout(state, provider) {
  10443. state.hasLogin = false;
  10444. // 清空基础信息
  10445. state.userInfo = {};
  10446. state.orderInfo = {
  10447. complete_count: 0,
  10448. //完成
  10449. received_count: 0,
  10450. //待收货
  10451. unshipped_count: 0,
  10452. //待发货
  10453. order_count: 0,
  10454. //订单总数
  10455. unpaid_count: 0 //待付款
  10456. };
  10457. // 清除缓存用户信息
  10458. uni.removeStorage({
  10459. key: 'userInfo'
  10460. });
  10461. // 清除缓存token
  10462. uni.removeStorage({
  10463. key: 'token'
  10464. });
  10465. },
  10466. // 保存用户信息
  10467. setUserInfo: function setUserInfo(state, provider) {
  10468. state.userInfo = provider;
  10469. uni.setStorage({
  10470. //缓存用户登陆状态
  10471. key: 'userInfo',
  10472. data: provider
  10473. });
  10474. },
  10475. // 保存订单信息
  10476. setOrderInfo: function setOrderInfo(state, provider) {
  10477. state.orderInfo = provider;
  10478. }
  10479. };
  10480. var getters = {};
  10481. var _default = {
  10482. namespaced: true,
  10483. state: state,
  10484. mutations: mutations,
  10485. getters: getters
  10486. };
  10487. exports.default = _default;
  10488. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10489. /***/ }),
  10490. /***/ 3:
  10491. /*!***********************************!*\
  10492. !*** (webpack)/buildin/global.js ***!
  10493. \***********************************/
  10494. /*! no static exports found */
  10495. /***/ (function(module, exports) {
  10496. var g;
  10497. // This works in non-strict mode
  10498. g = (function() {
  10499. return this;
  10500. })();
  10501. try {
  10502. // This works if eval is allowed (see CSP)
  10503. g = g || new Function("return this")();
  10504. } catch (e) {
  10505. // This works if the window reference is available
  10506. if (typeof window === "object") g = window;
  10507. }
  10508. // g can still be undefined, but nothing to do about it...
  10509. // We return undefined, instead of nothing here, so it's
  10510. // easier to handle this case. if(!global) { ...}
  10511. module.exports = g;
  10512. /***/ }),
  10513. /***/ 35:
  10514. /*!**********************************************************************************************************!*\
  10515. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  10516. \**********************************************************************************************************/
  10517. /*! exports provided: default */
  10518. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  10519. "use strict";
  10520. __webpack_require__.r(__webpack_exports__);
  10521. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  10522. /* globals __VUE_SSR_CONTEXT__ */
  10523. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  10524. // This module is a runtime utility for cleaner component module output and will
  10525. // be included in the final webpack user bundle.
  10526. function normalizeComponent (
  10527. scriptExports,
  10528. render,
  10529. staticRenderFns,
  10530. functionalTemplate,
  10531. injectStyles,
  10532. scopeId,
  10533. moduleIdentifier, /* server only */
  10534. shadowMode, /* vue-cli only */
  10535. components, // fixed by xxxxxx auto components
  10536. renderjs // fixed by xxxxxx renderjs
  10537. ) {
  10538. // Vue.extend constructor export interop
  10539. var options = typeof scriptExports === 'function'
  10540. ? scriptExports.options
  10541. : scriptExports
  10542. // fixed by xxxxxx auto components
  10543. if (components) {
  10544. if (!options.components) {
  10545. options.components = {}
  10546. }
  10547. var hasOwn = Object.prototype.hasOwnProperty
  10548. for (var name in components) {
  10549. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  10550. options.components[name] = components[name]
  10551. }
  10552. }
  10553. }
  10554. // fixed by xxxxxx renderjs
  10555. if (renderjs) {
  10556. if(typeof renderjs.beforeCreate === 'function'){
  10557. renderjs.beforeCreate = [renderjs.beforeCreate]
  10558. }
  10559. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  10560. this[renderjs.__module] = this
  10561. });
  10562. (options.mixins || (options.mixins = [])).push(renderjs)
  10563. }
  10564. // render functions
  10565. if (render) {
  10566. options.render = render
  10567. options.staticRenderFns = staticRenderFns
  10568. options._compiled = true
  10569. }
  10570. // functional template
  10571. if (functionalTemplate) {
  10572. options.functional = true
  10573. }
  10574. // scopedId
  10575. if (scopeId) {
  10576. options._scopeId = 'data-v-' + scopeId
  10577. }
  10578. var hook
  10579. if (moduleIdentifier) { // server build
  10580. hook = function (context) {
  10581. // 2.3 injection
  10582. context =
  10583. context || // cached call
  10584. (this.$vnode && this.$vnode.ssrContext) || // stateful
  10585. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  10586. // 2.2 with runInNewContext: true
  10587. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  10588. context = __VUE_SSR_CONTEXT__
  10589. }
  10590. // inject component styles
  10591. if (injectStyles) {
  10592. injectStyles.call(this, context)
  10593. }
  10594. // register component module identifier for async chunk inferrence
  10595. if (context && context._registeredComponents) {
  10596. context._registeredComponents.add(moduleIdentifier)
  10597. }
  10598. }
  10599. // used by ssr in case component is cached and beforeCreate
  10600. // never gets called
  10601. options._ssrRegister = hook
  10602. } else if (injectStyles) {
  10603. hook = shadowMode
  10604. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  10605. : injectStyles
  10606. }
  10607. if (hook) {
  10608. if (options.functional) {
  10609. // for template-only hot-reload because in that case the render fn doesn't
  10610. // go through the normalizer
  10611. options._injectStyles = hook
  10612. // register for functioal component in vue file
  10613. var originalRender = options.render
  10614. options.render = function renderWithStyleInjection (h, context) {
  10615. hook.call(context)
  10616. return originalRender(h, context)
  10617. }
  10618. } else {
  10619. // inject component registration as beforeCreate hook
  10620. var existing = options.beforeCreate
  10621. options.beforeCreate = existing
  10622. ? [].concat(existing, hook)
  10623. : [hook]
  10624. }
  10625. }
  10626. return {
  10627. exports: scriptExports,
  10628. options: options
  10629. }
  10630. }
  10631. /***/ }),
  10632. /***/ 36:
  10633. /*!*********************************************!*\
  10634. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/index.js ***!
  10635. \*********************************************/
  10636. /*! no static exports found */
  10637. /***/ (function(module, exports, __webpack_require__) {
  10638. "use strict";
  10639. /* WEBPACK VAR INJECTION */(function(uni) {
  10640. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10641. Object.defineProperty(exports, "__esModule", {
  10642. value: true
  10643. });
  10644. exports.default = void 0;
  10645. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 37));
  10646. var _request = _interopRequireDefault(__webpack_require__(/*! ./libs/request */ 38));
  10647. var _queryParams = _interopRequireDefault(__webpack_require__(/*! ./libs/function/queryParams.js */ 42));
  10648. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/function/route.js */ 43));
  10649. var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ./libs/function/timeFormat.js */ 47));
  10650. var _timeFrom = _interopRequireDefault(__webpack_require__(/*! ./libs/function/timeFrom.js */ 48));
  10651. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 49));
  10652. var _guid = _interopRequireDefault(__webpack_require__(/*! ./libs/function/guid.js */ 50));
  10653. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/function/color.js */ 51));
  10654. var _type2icon = _interopRequireDefault(__webpack_require__(/*! ./libs/function/type2icon.js */ 52));
  10655. var _randomArray = _interopRequireDefault(__webpack_require__(/*! ./libs/function/randomArray.js */ 53));
  10656. var _deepClone = _interopRequireDefault(__webpack_require__(/*! ./libs/function/deepClone.js */ 40));
  10657. var _deepMerge = _interopRequireDefault(__webpack_require__(/*! ./libs/function/deepMerge.js */ 39));
  10658. var _addUnit = _interopRequireDefault(__webpack_require__(/*! ./libs/function/addUnit.js */ 54));
  10659. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 41));
  10660. var _random = _interopRequireDefault(__webpack_require__(/*! ./libs/function/random.js */ 55));
  10661. var _trim = _interopRequireDefault(__webpack_require__(/*! ./libs/function/trim.js */ 56));
  10662. var _toast = _interopRequireDefault(__webpack_require__(/*! ./libs/function/toast.js */ 57));
  10663. var _getParent = _interopRequireDefault(__webpack_require__(/*! ./libs/function/getParent.js */ 58));
  10664. var _$parent = _interopRequireDefault(__webpack_require__(/*! ./libs/function/$parent.js */ 59));
  10665. var _sys = __webpack_require__(/*! ./libs/function/sys.js */ 60);
  10666. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 61));
  10667. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 62));
  10668. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 63));
  10669. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 64));
  10670. // 引入全局mixin
  10671. // 引入关于是否mixin集成小程序分享的配置
  10672. // import wxshare from './libs/mixin/mpShare.js'
  10673. // 全局挂载引入http相关请求拦截插件
  10674. function wranning(str) {
  10675. // 开发环境进行信息输出,主要是一些报错信息
  10676. // 这个环境的来由是在程序编写时候,点击hx编辑器运行调试代码的时候,详见:
  10677. // https://uniapp.dcloud.io/frame?id=%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e5%92%8c%e7%94%9f%e4%ba%a7%e7%8e%af%e5%a2%83
  10678. if (true) {
  10679. console.warn(str);
  10680. }
  10681. }
  10682. // 尝试判断在根目录的/store中是否有$u.mixin.js,此文件uView默认为需要挂在到全局的vuex的state变量
  10683. // HX2.6.11版本,放到try中,控制台依然会警告,暂时不用此方式,
  10684. // let vuexStore = {};
  10685. // try {
  10686. // vuexStore = require("@/store/$u.mixin.js");
  10687. // } catch (e) {
  10688. // //TODO handle the exception
  10689. // }
  10690. // post类型对象参数转为get类型url参数
  10691. var $u = {
  10692. queryParams: _queryParams.default,
  10693. route: _route.default,
  10694. timeFormat: _timeFormat.default,
  10695. date: _timeFormat.default,
  10696. // 另名date
  10697. timeFrom: _timeFrom.default,
  10698. colorGradient: _colorGradient.default.colorGradient,
  10699. colorToRgba: _colorGradient.default.colorToRgba,
  10700. guid: _guid.default,
  10701. color: _color.default,
  10702. sys: _sys.sys,
  10703. os: _sys.os,
  10704. type2icon: _type2icon.default,
  10705. randomArray: _randomArray.default,
  10706. wranning: wranning,
  10707. get: _request.default.get,
  10708. post: _request.default.post,
  10709. put: _request.default.put,
  10710. 'delete': _request.default.delete,
  10711. hexToRgb: _colorGradient.default.hexToRgb,
  10712. rgbToHex: _colorGradient.default.rgbToHex,
  10713. test: _test.default,
  10714. random: _random.default,
  10715. deepClone: _deepClone.default,
  10716. deepMerge: _deepMerge.default,
  10717. getParent: _getParent.default,
  10718. $parent: _$parent.default,
  10719. addUnit: _addUnit.default,
  10720. trim: _trim.default,
  10721. type: ['primary', 'success', 'error', 'warning', 'info'],
  10722. http: _request.default,
  10723. toast: _toast.default,
  10724. config: _config.default,
  10725. // uView配置信息相关,比如版本号
  10726. zIndex: _zIndex.default,
  10727. debounce: _debounce.default,
  10728. throttle: _throttle.default
  10729. };
  10730. // $u挂载到uni对象上
  10731. uni.$u = $u;
  10732. var install = function install(Vue) {
  10733. Vue.mixin(_mixin.default);
  10734. if (Vue.prototype.openShare) {
  10735. Vue.mixin(mpShare);
  10736. }
  10737. // Vue.mixin(vuexStore);
  10738. // 时间格式化,同时两个名称,date和timeFormat
  10739. Vue.filter('timeFormat', function (timestamp, format) {
  10740. return (0, _timeFormat.default)(timestamp, format);
  10741. });
  10742. Vue.filter('date', function (timestamp, format) {
  10743. return (0, _timeFormat.default)(timestamp, format);
  10744. });
  10745. // 将多久以前的方法,注入到全局过滤器
  10746. Vue.filter('timeFrom', function (timestamp, format) {
  10747. return (0, _timeFrom.default)(timestamp, format);
  10748. });
  10749. Vue.prototype.$u = $u;
  10750. };
  10751. var _default = {
  10752. install: install
  10753. };
  10754. exports.default = _default;
  10755. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10756. /***/ }),
  10757. /***/ 37:
  10758. /*!********************************************************!*\
  10759. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/mixin/mixin.js ***!
  10760. \********************************************************/
  10761. /*! no static exports found */
  10762. /***/ (function(module, exports, __webpack_require__) {
  10763. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  10764. data: function data() {
  10765. return {};
  10766. },
  10767. onLoad: function onLoad() {
  10768. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  10769. this.$u.getRect = this.$uGetRect;
  10770. },
  10771. methods: {
  10772. // 查询节点信息
  10773. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  10774. // 解决办法为在组件根部再套一个没有任何作用的view元素
  10775. $uGetRect: function $uGetRect(selector, all) {
  10776. var _this = this;
  10777. return new Promise(function (resolve) {
  10778. uni.createSelectorQuery().in(_this)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  10779. if (all && Array.isArray(rect) && rect.length) {
  10780. resolve(rect);
  10781. }
  10782. if (!all && rect) {
  10783. resolve(rect);
  10784. }
  10785. }).exec();
  10786. });
  10787. },
  10788. getParentData: function getParentData() {
  10789. var _this2 = this;
  10790. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  10791. // 避免在created中去定义parent变量
  10792. if (!this.parent) this.parent = false;
  10793. // 这里的本质原理是,通过获取父组件实例(也即u-radio-group的this)
  10794. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  10795. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  10796. this.parent = this.$u.$parent.call(this, parentName);
  10797. if (this.parent) {
  10798. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  10799. Object.keys(this.parentData).map(function (key) {
  10800. _this2.parentData[key] = _this2.parent[key];
  10801. });
  10802. }
  10803. },
  10804. // 阻止事件冒泡
  10805. preventEvent: function preventEvent(e) {
  10806. e && e.stopPropagation && e.stopPropagation();
  10807. }
  10808. },
  10809. onReachBottom: function onReachBottom() {
  10810. uni.$emit('uOnReachBottom');
  10811. },
  10812. beforeDestroy: function beforeDestroy() {
  10813. var _this3 = this;
  10814. // 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况
  10815. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  10816. if (this.parent && uni.$u.test.array(this.parent.children)) {
  10817. // 组件销毁时,移除父组件中的children数组中对应的实例
  10818. var childrenList = this.parent.children;
  10819. childrenList.map(function (child, index) {
  10820. // 如果相等,则移除
  10821. if (child === _this3) {
  10822. childrenList.splice(index, 1);
  10823. }
  10824. });
  10825. }
  10826. }
  10827. };
  10828. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10829. /***/ }),
  10830. /***/ 370:
  10831. /*!*********************************************************************!*\
  10832. !*** D:/工作/项目2/华景美业/hjmy/components/wangding-pickerAddress/data.js ***!
  10833. \*********************************************************************/
  10834. /*! no static exports found */
  10835. /***/ (function(module, exports, __webpack_require__) {
  10836. "use strict";
  10837. Object.defineProperty(exports, "__esModule", {
  10838. value: true
  10839. });
  10840. exports.default = void 0;
  10841. var _default = [{
  10842. "value": "北京市",
  10843. "label": "北京市",
  10844. "children": [{
  10845. "value": "市辖区",
  10846. "label": "市辖区",
  10847. "children": [{
  10848. "value": "东城区",
  10849. "label": "东城区"
  10850. }, {
  10851. "value": "西城区",
  10852. "label": "西城区"
  10853. }, {
  10854. "value": "朝阳区",
  10855. "label": "朝阳区"
  10856. }, {
  10857. "value": "丰台区",
  10858. "label": "丰台区"
  10859. }, {
  10860. "value": "石景山区",
  10861. "label": "石景山区"
  10862. }, {
  10863. "value": "海淀区",
  10864. "label": "海淀区"
  10865. }, {
  10866. "value": "门头沟区",
  10867. "label": "门头沟区"
  10868. }, {
  10869. "value": "房山区",
  10870. "label": "房山区"
  10871. }, {
  10872. "value": "通州区",
  10873. "label": "通州区"
  10874. }, {
  10875. "value": "顺义区",
  10876. "label": "顺义区"
  10877. }, {
  10878. "value": "昌平区",
  10879. "label": "昌平区"
  10880. }, {
  10881. "value": "大兴区",
  10882. "label": "大兴区"
  10883. }, {
  10884. "value": "怀柔区",
  10885. "label": "怀柔区"
  10886. }, {
  10887. "value": "平谷区",
  10888. "label": "平谷区"
  10889. }, {
  10890. "value": "密云区",
  10891. "label": "密云区"
  10892. }, {
  10893. "value": "延庆区",
  10894. "label": "延庆区"
  10895. }]
  10896. }]
  10897. }, {
  10898. "value": "天津市",
  10899. "label": "天津市",
  10900. "children": [{
  10901. "value": "市辖区",
  10902. "label": "市辖区",
  10903. "children": [{
  10904. "value": "和平区",
  10905. "label": "和平区"
  10906. }, {
  10907. "value": "河东区",
  10908. "label": "河东区"
  10909. }, {
  10910. "value": "河西区",
  10911. "label": "河西区"
  10912. }, {
  10913. "value": "南开区",
  10914. "label": "南开区"
  10915. }, {
  10916. "value": "河北区",
  10917. "label": "河北区"
  10918. }, {
  10919. "value": "红桥区",
  10920. "label": "红桥区"
  10921. }, {
  10922. "value": "东丽区",
  10923. "label": "东丽区"
  10924. }, {
  10925. "value": "西青区",
  10926. "label": "西青区"
  10927. }, {
  10928. "value": "津南区",
  10929. "label": "津南区"
  10930. }, {
  10931. "value": "北辰区",
  10932. "label": "北辰区"
  10933. }, {
  10934. "value": "武清区",
  10935. "label": "武清区"
  10936. }, {
  10937. "value": "宝坻区",
  10938. "label": "宝坻区"
  10939. }, {
  10940. "value": "滨海新区",
  10941. "label": "滨海新区"
  10942. }, {
  10943. "value": "宁河区",
  10944. "label": "宁河区"
  10945. }, {
  10946. "value": "静海区",
  10947. "label": "静海区"
  10948. }, {
  10949. "value": "蓟州区",
  10950. "label": "蓟州区"
  10951. }]
  10952. }]
  10953. }, {
  10954. "value": "河北省",
  10955. "label": "河北省",
  10956. "children": [{
  10957. "value": "石家庄市",
  10958. "label": "石家庄市",
  10959. "children": [{
  10960. "value": "长安区",
  10961. "label": "长安区"
  10962. }, {
  10963. "value": "桥西区",
  10964. "label": "桥西区"
  10965. }, {
  10966. "value": "新华区",
  10967. "label": "新华区"
  10968. }, {
  10969. "value": "井陉矿区",
  10970. "label": "井陉矿区"
  10971. }, {
  10972. "value": "裕华区",
  10973. "label": "裕华区"
  10974. }, {
  10975. "value": "藁城区",
  10976. "label": "藁城区"
  10977. }, {
  10978. "value": "鹿泉区",
  10979. "label": "鹿泉区"
  10980. }, {
  10981. "value": "栾城区",
  10982. "label": "栾城区"
  10983. }, {
  10984. "value": "井陉县",
  10985. "label": "井陉县"
  10986. }, {
  10987. "value": "正定县",
  10988. "label": "正定县"
  10989. }, {
  10990. "value": "行唐县",
  10991. "label": "行唐县"
  10992. }, {
  10993. "value": "灵寿县",
  10994. "label": "灵寿县"
  10995. }, {
  10996. "value": "高邑县",
  10997. "label": "高邑县"
  10998. }, {
  10999. "value": "深泽县",
  11000. "label": "深泽县"
  11001. }, {
  11002. "value": "赞皇县",
  11003. "label": "赞皇县"
  11004. }, {
  11005. "value": "无极县",
  11006. "label": "无极县"
  11007. }, {
  11008. "value": "平山县",
  11009. "label": "平山县"
  11010. }, {
  11011. "value": "元氏县",
  11012. "label": "元氏县"
  11013. }, {
  11014. "value": "赵县",
  11015. "label": "赵县"
  11016. }, {
  11017. "value": "晋州市",
  11018. "label": "晋州市"
  11019. }, {
  11020. "value": "新乐市",
  11021. "label": "新乐市"
  11022. }]
  11023. }, {
  11024. "value": "唐山市",
  11025. "label": "唐山市",
  11026. "children": [{
  11027. "value": "路南区",
  11028. "label": "路南区"
  11029. }, {
  11030. "value": "路北区",
  11031. "label": "路北区"
  11032. }, {
  11033. "value": "古冶区",
  11034. "label": "古冶区"
  11035. }, {
  11036. "value": "开平区",
  11037. "label": "开平区"
  11038. }, {
  11039. "value": "丰南区",
  11040. "label": "丰南区"
  11041. }, {
  11042. "value": "丰润区",
  11043. "label": "丰润区"
  11044. }, {
  11045. "value": "曹妃甸区",
  11046. "label": "曹妃甸区"
  11047. }, {
  11048. "value": "滦县",
  11049. "label": "滦县"
  11050. }, {
  11051. "value": "滦南县",
  11052. "label": "滦南县"
  11053. }, {
  11054. "value": "乐亭县",
  11055. "label": "乐亭县"
  11056. }, {
  11057. "value": "迁西县",
  11058. "label": "迁西县"
  11059. }, {
  11060. "value": "玉田县",
  11061. "label": "玉田县"
  11062. }, {
  11063. "value": "遵化市",
  11064. "label": "遵化市"
  11065. }, {
  11066. "value": "迁安市",
  11067. "label": "迁安市"
  11068. }]
  11069. }, {
  11070. "value": "秦皇岛市",
  11071. "label": "秦皇岛市",
  11072. "children": [{
  11073. "value": "海港区",
  11074. "label": "海港区"
  11075. }, {
  11076. "value": "山海关区",
  11077. "label": "山海关区"
  11078. }, {
  11079. "value": "北戴河区",
  11080. "label": "北戴河区"
  11081. }, {
  11082. "value": "抚宁区",
  11083. "label": "抚宁区"
  11084. }, {
  11085. "value": "青龙满族自治县",
  11086. "label": "青龙满族自治县"
  11087. }, {
  11088. "value": "昌黎县",
  11089. "label": "昌黎县"
  11090. }, {
  11091. "value": "卢龙县",
  11092. "label": "卢龙县"
  11093. }]
  11094. }, {
  11095. "value": "邯郸市",
  11096. "label": "邯郸市",
  11097. "children": [{
  11098. "value": "邯山区",
  11099. "label": "邯山区"
  11100. }, {
  11101. "value": "丛台区",
  11102. "label": "丛台区"
  11103. }, {
  11104. "value": "复兴区",
  11105. "label": "复兴区"
  11106. }, {
  11107. "value": "峰峰矿区",
  11108. "label": "峰峰矿区"
  11109. }, {
  11110. "value": "邯郸县",
  11111. "label": "邯郸县"
  11112. }, {
  11113. "value": "临漳县",
  11114. "label": "临漳县"
  11115. }, {
  11116. "value": "成安县",
  11117. "label": "成安县"
  11118. }, {
  11119. "value": "大名县",
  11120. "label": "大名县"
  11121. }, {
  11122. "value": "涉县",
  11123. "label": "涉县"
  11124. }, {
  11125. "value": "磁县",
  11126. "label": "磁县"
  11127. }, {
  11128. "value": "肥乡县",
  11129. "label": "肥乡县"
  11130. }, {
  11131. "value": "永年县",
  11132. "label": "永年县"
  11133. }, {
  11134. "value": "邱县",
  11135. "label": "邱县"
  11136. }, {
  11137. "value": "鸡泽县",
  11138. "label": "鸡泽县"
  11139. }, {
  11140. "value": "广平县",
  11141. "label": "广平县"
  11142. }, {
  11143. "value": "馆陶县",
  11144. "label": "馆陶县"
  11145. }, {
  11146. "value": "魏县",
  11147. "label": "魏县"
  11148. }, {
  11149. "value": "曲周县",
  11150. "label": "曲周县"
  11151. }, {
  11152. "value": "武安市",
  11153. "label": "武安市"
  11154. }]
  11155. }, {
  11156. "value": "邢台市",
  11157. "label": "邢台市",
  11158. "children": [{
  11159. "value": "桥东区",
  11160. "label": "桥东区"
  11161. }, {
  11162. "value": "桥西区",
  11163. "label": "桥西区"
  11164. }, {
  11165. "value": "邢台县",
  11166. "label": "邢台县"
  11167. }, {
  11168. "value": "临城县",
  11169. "label": "临城县"
  11170. }, {
  11171. "value": "内丘县",
  11172. "label": "内丘县"
  11173. }, {
  11174. "value": "柏乡县",
  11175. "label": "柏乡县"
  11176. }, {
  11177. "value": "隆尧县",
  11178. "label": "隆尧县"
  11179. }, {
  11180. "value": "任县",
  11181. "label": "任县"
  11182. }, {
  11183. "value": "南和县",
  11184. "label": "南和县"
  11185. }, {
  11186. "value": "宁晋县",
  11187. "label": "宁晋县"
  11188. }, {
  11189. "value": "巨鹿县",
  11190. "label": "巨鹿县"
  11191. }, {
  11192. "value": "新河县",
  11193. "label": "新河县"
  11194. }, {
  11195. "value": "广宗县",
  11196. "label": "广宗县"
  11197. }, {
  11198. "value": "平乡县",
  11199. "label": "平乡县"
  11200. }, {
  11201. "value": "威县",
  11202. "label": "威县"
  11203. }, {
  11204. "value": "清河县",
  11205. "label": "清河县"
  11206. }, {
  11207. "value": "临西县",
  11208. "label": "临西县"
  11209. }, {
  11210. "value": "南宫市",
  11211. "label": "南宫市"
  11212. }, {
  11213. "value": "沙河市",
  11214. "label": "沙河市"
  11215. }]
  11216. }, {
  11217. "value": "保定市",
  11218. "label": "保定市",
  11219. "children": [{
  11220. "value": "竞秀区",
  11221. "label": "竞秀区"
  11222. }, {
  11223. "value": "莲池区",
  11224. "label": "莲池区"
  11225. }, {
  11226. "value": "满城区",
  11227. "label": "满城区"
  11228. }, {
  11229. "value": "清苑区",
  11230. "label": "清苑区"
  11231. }, {
  11232. "value": "徐水区",
  11233. "label": "徐水区"
  11234. }, {
  11235. "value": "涞水县",
  11236. "label": "涞水县"
  11237. }, {
  11238. "value": "阜平县",
  11239. "label": "阜平县"
  11240. }, {
  11241. "value": "定兴县",
  11242. "label": "定兴县"
  11243. }, {
  11244. "value": "唐县",
  11245. "label": "唐县"
  11246. }, {
  11247. "value": "高阳县",
  11248. "label": "高阳县"
  11249. }, {
  11250. "value": "容城县",
  11251. "label": "容城县"
  11252. }, {
  11253. "value": "涞源县",
  11254. "label": "涞源县"
  11255. }, {
  11256. "value": "望都县",
  11257. "label": "望都县"
  11258. }, {
  11259. "value": "安新县",
  11260. "label": "安新县"
  11261. }, {
  11262. "value": "易县",
  11263. "label": "易县"
  11264. }, {
  11265. "value": "曲阳县",
  11266. "label": "曲阳县"
  11267. }, {
  11268. "value": "蠡县",
  11269. "label": "蠡县"
  11270. }, {
  11271. "value": "顺平县",
  11272. "label": "顺平县"
  11273. }, {
  11274. "value": "博野县",
  11275. "label": "博野县"
  11276. }, {
  11277. "value": "雄县",
  11278. "label": "雄县"
  11279. }, {
  11280. "value": "涿州市",
  11281. "label": "涿州市"
  11282. }, {
  11283. "value": "安国市",
  11284. "label": "安国市"
  11285. }, {
  11286. "value": "高碑店市",
  11287. "label": "高碑店市"
  11288. }]
  11289. }, {
  11290. "value": "张家口市",
  11291. "label": "张家口市",
  11292. "children": [{
  11293. "value": "桥东区",
  11294. "label": "桥东区"
  11295. }, {
  11296. "value": "桥西区",
  11297. "label": "桥西区"
  11298. }, {
  11299. "value": "宣化区",
  11300. "label": "宣化区"
  11301. }, {
  11302. "value": "下花园区",
  11303. "label": "下花园区"
  11304. }, {
  11305. "value": "万全区",
  11306. "label": "万全区"
  11307. }, {
  11308. "value": "崇礼区",
  11309. "label": "崇礼区"
  11310. }, {
  11311. "value": "张北县",
  11312. "label": "张北县"
  11313. }, {
  11314. "value": "康保县",
  11315. "label": "康保县"
  11316. }, {
  11317. "value": "沽源县",
  11318. "label": "沽源县"
  11319. }, {
  11320. "value": "尚义县",
  11321. "label": "尚义县"
  11322. }, {
  11323. "value": "蔚县",
  11324. "label": "蔚县"
  11325. }, {
  11326. "value": "阳原县",
  11327. "label": "阳原县"
  11328. }, {
  11329. "value": "怀安县",
  11330. "label": "怀安县"
  11331. }, {
  11332. "value": "怀来县",
  11333. "label": "怀来县"
  11334. }, {
  11335. "value": "涿鹿县",
  11336. "label": "涿鹿县"
  11337. }, {
  11338. "value": "赤城县",
  11339. "label": "赤城县"
  11340. }]
  11341. }, {
  11342. "value": "承德市",
  11343. "label": "承德市",
  11344. "children": [{
  11345. "value": "双桥区",
  11346. "label": "双桥区"
  11347. }, {
  11348. "value": "双滦区",
  11349. "label": "双滦区"
  11350. }, {
  11351. "value": "鹰手营子矿区",
  11352. "label": "鹰手营子矿区"
  11353. }, {
  11354. "value": "承德县",
  11355. "label": "承德县"
  11356. }, {
  11357. "value": "兴隆县",
  11358. "label": "兴隆县"
  11359. }, {
  11360. "value": "平泉县",
  11361. "label": "平泉县"
  11362. }, {
  11363. "value": "滦平县",
  11364. "label": "滦平县"
  11365. }, {
  11366. "value": "隆化县",
  11367. "label": "隆化县"
  11368. }, {
  11369. "value": "丰宁满族自治县",
  11370. "label": "丰宁满族自治县"
  11371. }, {
  11372. "value": "宽城满族自治县",
  11373. "label": "宽城满族自治县"
  11374. }, {
  11375. "value": "围场满族蒙古族自治县",
  11376. "label": "围场满族蒙古族自治县"
  11377. }]
  11378. }, {
  11379. "value": "沧州市",
  11380. "label": "沧州市",
  11381. "children": [{
  11382. "value": "新华区",
  11383. "label": "新华区"
  11384. }, {
  11385. "value": "运河区",
  11386. "label": "运河区"
  11387. }, {
  11388. "value": "沧县",
  11389. "label": "沧县"
  11390. }, {
  11391. "value": "青县",
  11392. "label": "青县"
  11393. }, {
  11394. "value": "东光县",
  11395. "label": "东光县"
  11396. }, {
  11397. "value": "海兴县",
  11398. "label": "海兴县"
  11399. }, {
  11400. "value": "盐山县",
  11401. "label": "盐山县"
  11402. }, {
  11403. "value": "肃宁县",
  11404. "label": "肃宁县"
  11405. }, {
  11406. "value": "南皮县",
  11407. "label": "南皮县"
  11408. }, {
  11409. "value": "吴桥县",
  11410. "label": "吴桥县"
  11411. }, {
  11412. "value": "献县",
  11413. "label": "献县"
  11414. }, {
  11415. "value": "孟村回族自治县",
  11416. "label": "孟村回族自治县"
  11417. }, {
  11418. "value": "泊头市",
  11419. "label": "泊头市"
  11420. }, {
  11421. "value": "任丘市",
  11422. "label": "任丘市"
  11423. }, {
  11424. "value": "黄骅市",
  11425. "label": "黄骅市"
  11426. }, {
  11427. "value": "河间市",
  11428. "label": "河间市"
  11429. }]
  11430. }, {
  11431. "value": "廊坊市",
  11432. "label": "廊坊市",
  11433. "children": [{
  11434. "value": "安次区",
  11435. "label": "安次区"
  11436. }, {
  11437. "value": "广阳区",
  11438. "label": "广阳区"
  11439. }, {
  11440. "value": "固安县",
  11441. "label": "固安县"
  11442. }, {
  11443. "value": "永清县",
  11444. "label": "永清县"
  11445. }, {
  11446. "value": "香河县",
  11447. "label": "香河县"
  11448. }, {
  11449. "value": "大城县",
  11450. "label": "大城县"
  11451. }, {
  11452. "value": "文安县",
  11453. "label": "文安县"
  11454. }, {
  11455. "value": "大厂回族自治县",
  11456. "label": "大厂回族自治县"
  11457. }, {
  11458. "value": "霸州市",
  11459. "label": "霸州市"
  11460. }, {
  11461. "value": "三河市",
  11462. "label": "三河市"
  11463. }]
  11464. }, {
  11465. "value": "衡水市",
  11466. "label": "衡水市",
  11467. "children": [{
  11468. "value": "桃城区",
  11469. "label": "桃城区"
  11470. }, {
  11471. "value": "冀州区",
  11472. "label": "冀州区"
  11473. }, {
  11474. "value": "枣强县",
  11475. "label": "枣强县"
  11476. }, {
  11477. "value": "武邑县",
  11478. "label": "武邑县"
  11479. }, {
  11480. "value": "武强县",
  11481. "label": "武强县"
  11482. }, {
  11483. "value": "饶阳县",
  11484. "label": "饶阳县"
  11485. }, {
  11486. "value": "安平县",
  11487. "label": "安平县"
  11488. }, {
  11489. "value": "故城县",
  11490. "label": "故城县"
  11491. }, {
  11492. "value": "景县",
  11493. "label": "景县"
  11494. }, {
  11495. "value": "阜城县",
  11496. "label": "阜城县"
  11497. }, {
  11498. "value": "深州市",
  11499. "label": "深州市"
  11500. }]
  11501. }, {
  11502. "value": "省直辖县级行政区划",
  11503. "label": "省直辖县级行政区划",
  11504. "children": [{
  11505. "value": "定州市",
  11506. "label": "定州市"
  11507. }, {
  11508. "value": "辛集市",
  11509. "label": "辛集市"
  11510. }]
  11511. }]
  11512. }, {
  11513. "value": "山西省",
  11514. "label": "山西省",
  11515. "children": [{
  11516. "value": "太原市",
  11517. "label": "太原市",
  11518. "children": [{
  11519. "value": "小店区",
  11520. "label": "小店区"
  11521. }, {
  11522. "value": "迎泽区",
  11523. "label": "迎泽区"
  11524. }, {
  11525. "value": "杏花岭区",
  11526. "label": "杏花岭区"
  11527. }, {
  11528. "value": "尖草坪区",
  11529. "label": "尖草坪区"
  11530. }, {
  11531. "value": "万柏林区",
  11532. "label": "万柏林区"
  11533. }, {
  11534. "value": "晋源区",
  11535. "label": "晋源区"
  11536. }, {
  11537. "value": "清徐县",
  11538. "label": "清徐县"
  11539. }, {
  11540. "value": "阳曲县",
  11541. "label": "阳曲县"
  11542. }, {
  11543. "value": "娄烦县",
  11544. "label": "娄烦县"
  11545. }, {
  11546. "value": "古交市",
  11547. "label": "古交市"
  11548. }]
  11549. }, {
  11550. "value": "大同市",
  11551. "label": "大同市",
  11552. "children": [{
  11553. "value": "城区",
  11554. "label": "城区"
  11555. }, {
  11556. "value": "矿区",
  11557. "label": "矿区"
  11558. }, {
  11559. "value": "南郊区",
  11560. "label": "南郊区"
  11561. }, {
  11562. "value": "新荣区",
  11563. "label": "新荣区"
  11564. }, {
  11565. "value": "阳高县",
  11566. "label": "阳高县"
  11567. }, {
  11568. "value": "天镇县",
  11569. "label": "天镇县"
  11570. }, {
  11571. "value": "广灵县",
  11572. "label": "广灵县"
  11573. }, {
  11574. "value": "灵丘县",
  11575. "label": "灵丘县"
  11576. }, {
  11577. "value": "浑源县",
  11578. "label": "浑源县"
  11579. }, {
  11580. "value": "左云县",
  11581. "label": "左云县"
  11582. }, {
  11583. "value": "大同县",
  11584. "label": "大同县"
  11585. }]
  11586. }, {
  11587. "value": "阳泉市",
  11588. "label": "阳泉市",
  11589. "children": [{
  11590. "value": "城区",
  11591. "label": "城区"
  11592. }, {
  11593. "value": "矿区",
  11594. "label": "矿区"
  11595. }, {
  11596. "value": "郊区",
  11597. "label": "郊区"
  11598. }, {
  11599. "value": "平定县",
  11600. "label": "平定县"
  11601. }, {
  11602. "value": "盂县",
  11603. "label": "盂县"
  11604. }]
  11605. }, {
  11606. "value": "长治市",
  11607. "label": "长治市",
  11608. "children": [{
  11609. "value": "城区",
  11610. "label": "城区"
  11611. }, {
  11612. "value": "郊区",
  11613. "label": "郊区"
  11614. }, {
  11615. "value": "长治县",
  11616. "label": "长治县"
  11617. }, {
  11618. "value": "襄垣县",
  11619. "label": "襄垣县"
  11620. }, {
  11621. "value": "屯留县",
  11622. "label": "屯留县"
  11623. }, {
  11624. "value": "平顺县",
  11625. "label": "平顺县"
  11626. }, {
  11627. "value": "黎城县",
  11628. "label": "黎城县"
  11629. }, {
  11630. "value": "壶关县",
  11631. "label": "壶关县"
  11632. }, {
  11633. "value": "长子县",
  11634. "label": "长子县"
  11635. }, {
  11636. "value": "武乡县",
  11637. "label": "武乡县"
  11638. }, {
  11639. "value": "沁县",
  11640. "label": "沁县"
  11641. }, {
  11642. "value": "沁源县",
  11643. "label": "沁源县"
  11644. }, {
  11645. "value": "潞城市",
  11646. "label": "潞城市"
  11647. }]
  11648. }, {
  11649. "value": "晋城市",
  11650. "label": "晋城市",
  11651. "children": [{
  11652. "value": "城区",
  11653. "label": "城区"
  11654. }, {
  11655. "value": "沁水县",
  11656. "label": "沁水县"
  11657. }, {
  11658. "value": "阳城县",
  11659. "label": "阳城县"
  11660. }, {
  11661. "value": "陵川县",
  11662. "label": "陵川县"
  11663. }, {
  11664. "value": "泽州县",
  11665. "label": "泽州县"
  11666. }, {
  11667. "value": "高平市",
  11668. "label": "高平市"
  11669. }]
  11670. }, {
  11671. "value": "朔州市",
  11672. "label": "朔州市",
  11673. "children": [{
  11674. "value": "朔城区",
  11675. "label": "朔城区"
  11676. }, {
  11677. "value": "平鲁区",
  11678. "label": "平鲁区"
  11679. }, {
  11680. "value": "山阴县",
  11681. "label": "山阴县"
  11682. }, {
  11683. "value": "应县",
  11684. "label": "应县"
  11685. }, {
  11686. "value": "右玉县",
  11687. "label": "右玉县"
  11688. }, {
  11689. "value": "怀仁县",
  11690. "label": "怀仁县"
  11691. }]
  11692. }, {
  11693. "value": "晋中市",
  11694. "label": "晋中市",
  11695. "children": [{
  11696. "value": "榆次区",
  11697. "label": "榆次区"
  11698. }, {
  11699. "value": "榆社县",
  11700. "label": "榆社县"
  11701. }, {
  11702. "value": "左权县",
  11703. "label": "左权县"
  11704. }, {
  11705. "value": "和顺县",
  11706. "label": "和顺县"
  11707. }, {
  11708. "value": "昔阳县",
  11709. "label": "昔阳县"
  11710. }, {
  11711. "value": "寿阳县",
  11712. "label": "寿阳县"
  11713. }, {
  11714. "value": "太谷县",
  11715. "label": "太谷县"
  11716. }, {
  11717. "value": "祁县",
  11718. "label": "祁县"
  11719. }, {
  11720. "value": "平遥县",
  11721. "label": "平遥县"
  11722. }, {
  11723. "value": "灵石县",
  11724. "label": "灵石县"
  11725. }, {
  11726. "value": "介休市",
  11727. "label": "介休市"
  11728. }]
  11729. }, {
  11730. "value": "运城市",
  11731. "label": "运城市",
  11732. "children": [{
  11733. "value": "盐湖区",
  11734. "label": "盐湖区"
  11735. }, {
  11736. "value": "临猗县",
  11737. "label": "临猗县"
  11738. }, {
  11739. "value": "万荣县",
  11740. "label": "万荣县"
  11741. }, {
  11742. "value": "闻喜县",
  11743. "label": "闻喜县"
  11744. }, {
  11745. "value": "稷山县",
  11746. "label": "稷山县"
  11747. }, {
  11748. "value": "新绛县",
  11749. "label": "新绛县"
  11750. }, {
  11751. "value": "绛县",
  11752. "label": "绛县"
  11753. }, {
  11754. "value": "垣曲县",
  11755. "label": "垣曲县"
  11756. }, {
  11757. "value": "夏县",
  11758. "label": "夏县"
  11759. }, {
  11760. "value": "平陆县",
  11761. "label": "平陆县"
  11762. }, {
  11763. "value": "芮城县",
  11764. "label": "芮城县"
  11765. }, {
  11766. "value": "永济市",
  11767. "label": "永济市"
  11768. }, {
  11769. "value": "河津市",
  11770. "label": "河津市"
  11771. }]
  11772. }, {
  11773. "value": "忻州市",
  11774. "label": "忻州市",
  11775. "children": [{
  11776. "value": "忻府区",
  11777. "label": "忻府区"
  11778. }, {
  11779. "value": "定襄县",
  11780. "label": "定襄县"
  11781. }, {
  11782. "value": "五台县",
  11783. "label": "五台县"
  11784. }, {
  11785. "value": "代县",
  11786. "label": "代县"
  11787. }, {
  11788. "value": "繁峙县",
  11789. "label": "繁峙县"
  11790. }, {
  11791. "value": "宁武县",
  11792. "label": "宁武县"
  11793. }, {
  11794. "value": "静乐县",
  11795. "label": "静乐县"
  11796. }, {
  11797. "value": "神池县",
  11798. "label": "神池县"
  11799. }, {
  11800. "value": "五寨县",
  11801. "label": "五寨县"
  11802. }, {
  11803. "value": "岢岚县",
  11804. "label": "岢岚县"
  11805. }, {
  11806. "value": "河曲县",
  11807. "label": "河曲县"
  11808. }, {
  11809. "value": "保德县",
  11810. "label": "保德县"
  11811. }, {
  11812. "value": "偏关县",
  11813. "label": "偏关县"
  11814. }, {
  11815. "value": "原平市",
  11816. "label": "原平市"
  11817. }]
  11818. }, {
  11819. "value": "临汾市",
  11820. "label": "临汾市",
  11821. "children": [{
  11822. "value": "尧都区",
  11823. "label": "尧都区"
  11824. }, {
  11825. "value": "曲沃县",
  11826. "label": "曲沃县"
  11827. }, {
  11828. "value": "翼城县",
  11829. "label": "翼城县"
  11830. }, {
  11831. "value": "襄汾县",
  11832. "label": "襄汾县"
  11833. }, {
  11834. "value": "洪洞县",
  11835. "label": "洪洞县"
  11836. }, {
  11837. "value": "古县",
  11838. "label": "古县"
  11839. }, {
  11840. "value": "安泽县",
  11841. "label": "安泽县"
  11842. }, {
  11843. "value": "浮山县",
  11844. "label": "浮山县"
  11845. }, {
  11846. "value": "吉县",
  11847. "label": "吉县"
  11848. }, {
  11849. "value": "乡宁县",
  11850. "label": "乡宁县"
  11851. }, {
  11852. "value": "大宁县",
  11853. "label": "大宁县"
  11854. }, {
  11855. "value": "隰县",
  11856. "label": "隰县"
  11857. }, {
  11858. "value": "永和县",
  11859. "label": "永和县"
  11860. }, {
  11861. "value": "蒲县",
  11862. "label": "蒲县"
  11863. }, {
  11864. "value": "汾西县",
  11865. "label": "汾西县"
  11866. }, {
  11867. "value": "侯马市",
  11868. "label": "侯马市"
  11869. }, {
  11870. "value": "霍州市",
  11871. "label": "霍州市"
  11872. }]
  11873. }, {
  11874. "value": "吕梁市",
  11875. "label": "吕梁市",
  11876. "children": [{
  11877. "value": "离石区",
  11878. "label": "离石区"
  11879. }, {
  11880. "value": "文水县",
  11881. "label": "文水县"
  11882. }, {
  11883. "value": "交城县",
  11884. "label": "交城县"
  11885. }, {
  11886. "value": "兴县",
  11887. "label": "兴县"
  11888. }, {
  11889. "value": "临县",
  11890. "label": "临县"
  11891. }, {
  11892. "value": "柳林县",
  11893. "label": "柳林县"
  11894. }, {
  11895. "value": "石楼县",
  11896. "label": "石楼县"
  11897. }, {
  11898. "value": "岚县",
  11899. "label": "岚县"
  11900. }, {
  11901. "value": "方山县",
  11902. "label": "方山县"
  11903. }, {
  11904. "value": "中阳县",
  11905. "label": "中阳县"
  11906. }, {
  11907. "value": "交口县",
  11908. "label": "交口县"
  11909. }, {
  11910. "value": "孝义市",
  11911. "label": "孝义市"
  11912. }, {
  11913. "value": "汾阳市",
  11914. "label": "汾阳市"
  11915. }]
  11916. }]
  11917. }, {
  11918. "value": "内蒙古自治区",
  11919. "label": "内蒙古自治区",
  11920. "children": [{
  11921. "value": "呼和浩特市",
  11922. "label": "呼和浩特市",
  11923. "children": [{
  11924. "value": "新城区",
  11925. "label": "新城区"
  11926. }, {
  11927. "value": "回民区",
  11928. "label": "回民区"
  11929. }, {
  11930. "value": "玉泉区",
  11931. "label": "玉泉区"
  11932. }, {
  11933. "value": "赛罕区",
  11934. "label": "赛罕区"
  11935. }, {
  11936. "value": "土默特左旗",
  11937. "label": "土默特左旗"
  11938. }, {
  11939. "value": "托克托县",
  11940. "label": "托克托县"
  11941. }, {
  11942. "value": "和林格尔县",
  11943. "label": "和林格尔县"
  11944. }, {
  11945. "value": "清水河县",
  11946. "label": "清水河县"
  11947. }, {
  11948. "value": "武川县",
  11949. "label": "武川县"
  11950. }]
  11951. }, {
  11952. "value": "包头市",
  11953. "label": "包头市",
  11954. "children": [{
  11955. "value": "东河区",
  11956. "label": "东河区"
  11957. }, {
  11958. "value": "昆都仑区",
  11959. "label": "昆都仑区"
  11960. }, {
  11961. "value": "青山区",
  11962. "label": "青山区"
  11963. }, {
  11964. "value": "石拐区",
  11965. "label": "石拐区"
  11966. }, {
  11967. "value": "白云鄂博矿区",
  11968. "label": "白云鄂博矿区"
  11969. }, {
  11970. "value": "九原区",
  11971. "label": "九原区"
  11972. }, {
  11973. "value": "土默特右旗",
  11974. "label": "土默特右旗"
  11975. }, {
  11976. "value": "固阳县",
  11977. "label": "固阳县"
  11978. }, {
  11979. "value": "达尔罕茂明安联合旗",
  11980. "label": "达尔罕茂明安联合旗"
  11981. }]
  11982. }, {
  11983. "value": "乌海市",
  11984. "label": "乌海市",
  11985. "children": [{
  11986. "value": "海勃湾区",
  11987. "label": "海勃湾区"
  11988. }, {
  11989. "value": "海南区",
  11990. "label": "海南区"
  11991. }, {
  11992. "value": "乌达区",
  11993. "label": "乌达区"
  11994. }]
  11995. }, {
  11996. "value": "赤峰市",
  11997. "label": "赤峰市",
  11998. "children": [{
  11999. "value": "红山区",
  12000. "label": "红山区"
  12001. }, {
  12002. "value": "元宝山区",
  12003. "label": "元宝山区"
  12004. }, {
  12005. "value": "松山区",
  12006. "label": "松山区"
  12007. }, {
  12008. "value": "阿鲁科尔沁旗",
  12009. "label": "阿鲁科尔沁旗"
  12010. }, {
  12011. "value": "巴林左旗",
  12012. "label": "巴林左旗"
  12013. }, {
  12014. "value": "巴林右旗",
  12015. "label": "巴林右旗"
  12016. }, {
  12017. "value": "林西县",
  12018. "label": "林西县"
  12019. }, {
  12020. "value": "克什克腾旗",
  12021. "label": "克什克腾旗"
  12022. }, {
  12023. "value": "翁牛特旗",
  12024. "label": "翁牛特旗"
  12025. }, {
  12026. "value": "喀喇沁旗",
  12027. "label": "喀喇沁旗"
  12028. }, {
  12029. "value": "宁城县",
  12030. "label": "宁城县"
  12031. }, {
  12032. "value": "敖汉旗",
  12033. "label": "敖汉旗"
  12034. }]
  12035. }, {
  12036. "value": "通辽市",
  12037. "label": "通辽市",
  12038. "children": [{
  12039. "value": "科尔沁区",
  12040. "label": "科尔沁区"
  12041. }, {
  12042. "value": "科尔沁左翼中旗",
  12043. "label": "科尔沁左翼中旗"
  12044. }, {
  12045. "value": "科尔沁左翼后旗",
  12046. "label": "科尔沁左翼后旗"
  12047. }, {
  12048. "value": "开鲁县",
  12049. "label": "开鲁县"
  12050. }, {
  12051. "value": "库伦旗",
  12052. "label": "库伦旗"
  12053. }, {
  12054. "value": "奈曼旗",
  12055. "label": "奈曼旗"
  12056. }, {
  12057. "value": "扎鲁特旗",
  12058. "label": "扎鲁特旗"
  12059. }, {
  12060. "value": "霍林郭勒市",
  12061. "label": "霍林郭勒市"
  12062. }]
  12063. }, {
  12064. "value": "鄂尔多斯市",
  12065. "label": "鄂尔多斯市",
  12066. "children": [{
  12067. "value": "东胜区",
  12068. "label": "东胜区"
  12069. }, {
  12070. "value": "康巴什区",
  12071. "label": "康巴什区"
  12072. }, {
  12073. "value": "达拉特旗",
  12074. "label": "达拉特旗"
  12075. }, {
  12076. "value": "准格尔旗",
  12077. "label": "准格尔旗"
  12078. }, {
  12079. "value": "鄂托克前旗",
  12080. "label": "鄂托克前旗"
  12081. }, {
  12082. "value": "鄂托克旗",
  12083. "label": "鄂托克旗"
  12084. }, {
  12085. "value": "杭锦旗",
  12086. "label": "杭锦旗"
  12087. }, {
  12088. "value": "乌审旗",
  12089. "label": "乌审旗"
  12090. }, {
  12091. "value": "伊金霍洛旗",
  12092. "label": "伊金霍洛旗"
  12093. }]
  12094. }, {
  12095. "value": "呼伦贝尔市",
  12096. "label": "呼伦贝尔市",
  12097. "children": [{
  12098. "value": "海拉尔区",
  12099. "label": "海拉尔区"
  12100. }, {
  12101. "value": "扎赉诺尔区",
  12102. "label": "扎赉诺尔区"
  12103. }, {
  12104. "value": "阿荣旗",
  12105. "label": "阿荣旗"
  12106. }, {
  12107. "value": "莫力达瓦达斡尔族自治旗",
  12108. "label": "莫力达瓦达斡尔族自治旗"
  12109. }, {
  12110. "value": "鄂伦春自治旗",
  12111. "label": "鄂伦春自治旗"
  12112. }, {
  12113. "value": "鄂温克族自治旗",
  12114. "label": "鄂温克族自治旗"
  12115. }, {
  12116. "value": "陈巴尔虎旗",
  12117. "label": "陈巴尔虎旗"
  12118. }, {
  12119. "value": "新巴尔虎左旗",
  12120. "label": "新巴尔虎左旗"
  12121. }, {
  12122. "value": "新巴尔虎右旗",
  12123. "label": "新巴尔虎右旗"
  12124. }, {
  12125. "value": "满洲里市",
  12126. "label": "满洲里市"
  12127. }, {
  12128. "value": "牙克石市",
  12129. "label": "牙克石市"
  12130. }, {
  12131. "value": "扎兰屯市",
  12132. "label": "扎兰屯市"
  12133. }, {
  12134. "value": "额尔古纳市",
  12135. "label": "额尔古纳市"
  12136. }, {
  12137. "value": "根河市",
  12138. "label": "根河市"
  12139. }]
  12140. }, {
  12141. "value": "巴彦淖尔市",
  12142. "label": "巴彦淖尔市",
  12143. "children": [{
  12144. "value": "临河区",
  12145. "label": "临河区"
  12146. }, {
  12147. "value": "五原县",
  12148. "label": "五原县"
  12149. }, {
  12150. "value": "磴口县",
  12151. "label": "磴口县"
  12152. }, {
  12153. "value": "乌拉特前旗",
  12154. "label": "乌拉特前旗"
  12155. }, {
  12156. "value": "乌拉特中旗",
  12157. "label": "乌拉特中旗"
  12158. }, {
  12159. "value": "乌拉特后旗",
  12160. "label": "乌拉特后旗"
  12161. }, {
  12162. "value": "杭锦后旗",
  12163. "label": "杭锦后旗"
  12164. }]
  12165. }, {
  12166. "value": "乌兰察布市",
  12167. "label": "乌兰察布市",
  12168. "children": [{
  12169. "value": "集宁区",
  12170. "label": "集宁区"
  12171. }, {
  12172. "value": "卓资县",
  12173. "label": "卓资县"
  12174. }, {
  12175. "value": "化德县",
  12176. "label": "化德县"
  12177. }, {
  12178. "value": "商都县",
  12179. "label": "商都县"
  12180. }, {
  12181. "value": "兴和县",
  12182. "label": "兴和县"
  12183. }, {
  12184. "value": "凉城县",
  12185. "label": "凉城县"
  12186. }, {
  12187. "value": "察哈尔右翼前旗",
  12188. "label": "察哈尔右翼前旗"
  12189. }, {
  12190. "value": "察哈尔右翼中旗",
  12191. "label": "察哈尔右翼中旗"
  12192. }, {
  12193. "value": "察哈尔右翼后旗",
  12194. "label": "察哈尔右翼后旗"
  12195. }, {
  12196. "value": "四子王旗",
  12197. "label": "四子王旗"
  12198. }, {
  12199. "value": "丰镇市",
  12200. "label": "丰镇市"
  12201. }]
  12202. }, {
  12203. "value": "兴安盟",
  12204. "label": "兴安盟",
  12205. "children": [{
  12206. "value": "乌兰浩特市",
  12207. "label": "乌兰浩特市"
  12208. }, {
  12209. "value": "阿尔山市",
  12210. "label": "阿尔山市"
  12211. }, {
  12212. "value": "科尔沁右翼前旗",
  12213. "label": "科尔沁右翼前旗"
  12214. }, {
  12215. "value": "科尔沁右翼中旗",
  12216. "label": "科尔沁右翼中旗"
  12217. }, {
  12218. "value": "扎赉特旗",
  12219. "label": "扎赉特旗"
  12220. }, {
  12221. "value": "突泉县",
  12222. "label": "突泉县"
  12223. }]
  12224. }, {
  12225. "value": "锡林郭勒盟",
  12226. "label": "锡林郭勒盟",
  12227. "children": [{
  12228. "value": "二连浩特市",
  12229. "label": "二连浩特市"
  12230. }, {
  12231. "value": "锡林浩特市",
  12232. "label": "锡林浩特市"
  12233. }, {
  12234. "value": "阿巴嘎旗",
  12235. "label": "阿巴嘎旗"
  12236. }, {
  12237. "value": "苏尼特左旗",
  12238. "label": "苏尼特左旗"
  12239. }, {
  12240. "value": "苏尼特右旗",
  12241. "label": "苏尼特右旗"
  12242. }, {
  12243. "value": "东乌珠穆沁旗",
  12244. "label": "东乌珠穆沁旗"
  12245. }, {
  12246. "value": "西乌珠穆沁旗",
  12247. "label": "西乌珠穆沁旗"
  12248. }, {
  12249. "value": "太仆寺旗",
  12250. "label": "太仆寺旗"
  12251. }, {
  12252. "value": "镶黄旗",
  12253. "label": "镶黄旗"
  12254. }, {
  12255. "value": "正镶白旗",
  12256. "label": "正镶白旗"
  12257. }, {
  12258. "value": "正蓝旗",
  12259. "label": "正蓝旗"
  12260. }, {
  12261. "value": "多伦县",
  12262. "label": "多伦县"
  12263. }]
  12264. }, {
  12265. "value": "阿拉善盟",
  12266. "label": "阿拉善盟",
  12267. "children": [{
  12268. "value": "阿拉善左旗",
  12269. "label": "阿拉善左旗"
  12270. }, {
  12271. "value": "阿拉善右旗",
  12272. "label": "阿拉善右旗"
  12273. }, {
  12274. "value": "额济纳旗",
  12275. "label": "额济纳旗"
  12276. }]
  12277. }]
  12278. }, {
  12279. "value": "辽宁省",
  12280. "label": "辽宁省",
  12281. "children": [{
  12282. "value": "沈阳市",
  12283. "label": "沈阳市",
  12284. "children": [{
  12285. "value": "和平区",
  12286. "label": "和平区"
  12287. }, {
  12288. "value": "沈河区",
  12289. "label": "沈河区"
  12290. }, {
  12291. "value": "大东区",
  12292. "label": "大东区"
  12293. }, {
  12294. "value": "皇姑区",
  12295. "label": "皇姑区"
  12296. }, {
  12297. "value": "铁西区",
  12298. "label": "铁西区"
  12299. }, {
  12300. "value": "苏家屯区",
  12301. "label": "苏家屯区"
  12302. }, {
  12303. "value": "浑南区",
  12304. "label": "浑南区"
  12305. }, {
  12306. "value": "沈北新区",
  12307. "label": "沈北新区"
  12308. }, {
  12309. "value": "于洪区",
  12310. "label": "于洪区"
  12311. }, {
  12312. "value": "辽中区",
  12313. "label": "辽中区"
  12314. }, {
  12315. "value": "康平县",
  12316. "label": "康平县"
  12317. }, {
  12318. "value": "法库县",
  12319. "label": "法库县"
  12320. }, {
  12321. "value": "新民市",
  12322. "label": "新民市"
  12323. }]
  12324. }, {
  12325. "value": "大连市",
  12326. "label": "大连市",
  12327. "children": [{
  12328. "value": "中山区",
  12329. "label": "中山区"
  12330. }, {
  12331. "value": "西岗区",
  12332. "label": "西岗区"
  12333. }, {
  12334. "value": "沙河口区",
  12335. "label": "沙河口区"
  12336. }, {
  12337. "value": "甘井子区",
  12338. "label": "甘井子区"
  12339. }, {
  12340. "value": "旅顺口区",
  12341. "label": "旅顺口区"
  12342. }, {
  12343. "value": "金州区",
  12344. "label": "金州区"
  12345. }, {
  12346. "value": "普兰店区",
  12347. "label": "普兰店区"
  12348. }, {
  12349. "value": "长海县",
  12350. "label": "长海县"
  12351. }, {
  12352. "value": "瓦房店市",
  12353. "label": "瓦房店市"
  12354. }, {
  12355. "value": "庄河市",
  12356. "label": "庄河市"
  12357. }]
  12358. }, {
  12359. "value": "鞍山市",
  12360. "label": "鞍山市",
  12361. "children": [{
  12362. "value": "铁东区",
  12363. "label": "铁东区"
  12364. }, {
  12365. "value": "铁西区",
  12366. "label": "铁西区"
  12367. }, {
  12368. "value": "立山区",
  12369. "label": "立山区"
  12370. }, {
  12371. "value": "千山区",
  12372. "label": "千山区"
  12373. }, {
  12374. "value": "台安县",
  12375. "label": "台安县"
  12376. }, {
  12377. "value": "岫岩满族自治县",
  12378. "label": "岫岩满族自治县"
  12379. }, {
  12380. "value": "海城市",
  12381. "label": "海城市"
  12382. }]
  12383. }, {
  12384. "value": "抚顺市",
  12385. "label": "抚顺市",
  12386. "children": [{
  12387. "value": "新抚区",
  12388. "label": "新抚区"
  12389. }, {
  12390. "value": "东洲区",
  12391. "label": "东洲区"
  12392. }, {
  12393. "value": "望花区",
  12394. "label": "望花区"
  12395. }, {
  12396. "value": "顺城区",
  12397. "label": "顺城区"
  12398. }, {
  12399. "value": "抚顺县",
  12400. "label": "抚顺县"
  12401. }, {
  12402. "value": "新宾满族自治县",
  12403. "label": "新宾满族自治县"
  12404. }, {
  12405. "value": "清原满族自治县",
  12406. "label": "清原满族自治县"
  12407. }]
  12408. }, {
  12409. "value": "本溪市",
  12410. "label": "本溪市",
  12411. "children": [{
  12412. "value": "平山区",
  12413. "label": "平山区"
  12414. }, {
  12415. "value": "溪湖区",
  12416. "label": "溪湖区"
  12417. }, {
  12418. "value": "明山区",
  12419. "label": "明山区"
  12420. }, {
  12421. "value": "南芬区",
  12422. "label": "南芬区"
  12423. }, {
  12424. "value": "本溪满族自治县",
  12425. "label": "本溪满族自治县"
  12426. }, {
  12427. "value": "桓仁满族自治县",
  12428. "label": "桓仁满族自治县"
  12429. }]
  12430. }, {
  12431. "value": "丹东市",
  12432. "label": "丹东市",
  12433. "children": [{
  12434. "value": "元宝区",
  12435. "label": "元宝区"
  12436. }, {
  12437. "value": "振兴区",
  12438. "label": "振兴区"
  12439. }, {
  12440. "value": "振安区",
  12441. "label": "振安区"
  12442. }, {
  12443. "value": "宽甸满族自治县",
  12444. "label": "宽甸满族自治县"
  12445. }, {
  12446. "value": "东港市",
  12447. "label": "东港市"
  12448. }, {
  12449. "value": "凤城市",
  12450. "label": "凤城市"
  12451. }]
  12452. }, {
  12453. "value": "锦州市",
  12454. "label": "锦州市",
  12455. "children": [{
  12456. "value": "古塔区",
  12457. "label": "古塔区"
  12458. }, {
  12459. "value": "凌河区",
  12460. "label": "凌河区"
  12461. }, {
  12462. "value": "太和区",
  12463. "label": "太和区"
  12464. }, {
  12465. "value": "黑山县",
  12466. "label": "黑山县"
  12467. }, {
  12468. "value": "义县",
  12469. "label": "义县"
  12470. }, {
  12471. "value": "凌海市",
  12472. "label": "凌海市"
  12473. }, {
  12474. "value": "北镇市",
  12475. "label": "北镇市"
  12476. }]
  12477. }, {
  12478. "value": "营口市",
  12479. "label": "营口市",
  12480. "children": [{
  12481. "value": "站前区",
  12482. "label": "站前区"
  12483. }, {
  12484. "value": "西市区",
  12485. "label": "西市区"
  12486. }, {
  12487. "value": "鲅鱼圈区",
  12488. "label": "鲅鱼圈区"
  12489. }, {
  12490. "value": "老边区",
  12491. "label": "老边区"
  12492. }, {
  12493. "value": "盖州市",
  12494. "label": "盖州市"
  12495. }, {
  12496. "value": "大石桥市",
  12497. "label": "大石桥市"
  12498. }]
  12499. }, {
  12500. "value": "阜新市",
  12501. "label": "阜新市",
  12502. "children": [{
  12503. "value": "海州区",
  12504. "label": "海州区"
  12505. }, {
  12506. "value": "新邱区",
  12507. "label": "新邱区"
  12508. }, {
  12509. "value": "太平区",
  12510. "label": "太平区"
  12511. }, {
  12512. "value": "清河门区",
  12513. "label": "清河门区"
  12514. }, {
  12515. "value": "细河区",
  12516. "label": "细河区"
  12517. }, {
  12518. "value": "阜新蒙古族自治县",
  12519. "label": "阜新蒙古族自治县"
  12520. }, {
  12521. "value": "彰武县",
  12522. "label": "彰武县"
  12523. }]
  12524. }, {
  12525. "value": "辽阳市",
  12526. "label": "辽阳市",
  12527. "children": [{
  12528. "value": "白塔区",
  12529. "label": "白塔区"
  12530. }, {
  12531. "value": "文圣区",
  12532. "label": "文圣区"
  12533. }, {
  12534. "value": "宏伟区",
  12535. "label": "宏伟区"
  12536. }, {
  12537. "value": "弓长岭区",
  12538. "label": "弓长岭区"
  12539. }, {
  12540. "value": "太子河区",
  12541. "label": "太子河区"
  12542. }, {
  12543. "value": "辽阳县",
  12544. "label": "辽阳县"
  12545. }, {
  12546. "value": "灯塔市",
  12547. "label": "灯塔市"
  12548. }]
  12549. }, {
  12550. "value": "盘锦市",
  12551. "label": "盘锦市",
  12552. "children": [{
  12553. "value": "双台子区",
  12554. "label": "双台子区"
  12555. }, {
  12556. "value": "兴隆台区",
  12557. "label": "兴隆台区"
  12558. }, {
  12559. "value": "大洼区",
  12560. "label": "大洼区"
  12561. }, {
  12562. "value": "盘山县",
  12563. "label": "盘山县"
  12564. }]
  12565. }, {
  12566. "value": "铁岭市",
  12567. "label": "铁岭市",
  12568. "children": [{
  12569. "value": "银州区",
  12570. "label": "银州区"
  12571. }, {
  12572. "value": "清河区",
  12573. "label": "清河区"
  12574. }, {
  12575. "value": "铁岭县",
  12576. "label": "铁岭县"
  12577. }, {
  12578. "value": "西丰县",
  12579. "label": "西丰县"
  12580. }, {
  12581. "value": "昌图县",
  12582. "label": "昌图县"
  12583. }, {
  12584. "value": "调兵山市",
  12585. "label": "调兵山市"
  12586. }, {
  12587. "value": "开原市",
  12588. "label": "开原市"
  12589. }]
  12590. }, {
  12591. "value": "朝阳市",
  12592. "label": "朝阳市",
  12593. "children": [{
  12594. "value": "双塔区",
  12595. "label": "双塔区"
  12596. }, {
  12597. "value": "龙城区",
  12598. "label": "龙城区"
  12599. }, {
  12600. "value": "朝阳县",
  12601. "label": "朝阳县"
  12602. }, {
  12603. "value": "建平县",
  12604. "label": "建平县"
  12605. }, {
  12606. "value": "喀喇沁左翼蒙古族自治县",
  12607. "label": "喀喇沁左翼蒙古族自治县"
  12608. }, {
  12609. "value": "北票市",
  12610. "label": "北票市"
  12611. }, {
  12612. "value": "凌源市",
  12613. "label": "凌源市"
  12614. }]
  12615. }, {
  12616. "value": "葫芦岛市",
  12617. "label": "葫芦岛市",
  12618. "children": [{
  12619. "value": "连山区",
  12620. "label": "连山区"
  12621. }, {
  12622. "value": "龙港区",
  12623. "label": "龙港区"
  12624. }, {
  12625. "value": "南票区",
  12626. "label": "南票区"
  12627. }, {
  12628. "value": "绥中县",
  12629. "label": "绥中县"
  12630. }, {
  12631. "value": "建昌县",
  12632. "label": "建昌县"
  12633. }, {
  12634. "value": "兴城市",
  12635. "label": "兴城市"
  12636. }]
  12637. }]
  12638. }, {
  12639. "value": "吉林省",
  12640. "label": "吉林省",
  12641. "children": [{
  12642. "value": "长春市",
  12643. "label": "长春市",
  12644. "children": [{
  12645. "value": "南关区",
  12646. "label": "南关区"
  12647. }, {
  12648. "value": "宽城区",
  12649. "label": "宽城区"
  12650. }, {
  12651. "value": "朝阳区",
  12652. "label": "朝阳区"
  12653. }, {
  12654. "value": "二道区",
  12655. "label": "二道区"
  12656. }, {
  12657. "value": "绿园区",
  12658. "label": "绿园区"
  12659. }, {
  12660. "value": "双阳区",
  12661. "label": "双阳区"
  12662. }, {
  12663. "value": "九台区",
  12664. "label": "九台区"
  12665. }, {
  12666. "value": "农安县",
  12667. "label": "农安县"
  12668. }, {
  12669. "value": "榆树市",
  12670. "label": "榆树市"
  12671. }, {
  12672. "value": "德惠市",
  12673. "label": "德惠市"
  12674. }]
  12675. }, {
  12676. "value": "吉林市",
  12677. "label": "吉林市",
  12678. "children": [{
  12679. "value": "昌邑区",
  12680. "label": "昌邑区"
  12681. }, {
  12682. "value": "龙潭区",
  12683. "label": "龙潭区"
  12684. }, {
  12685. "value": "船营区",
  12686. "label": "船营区"
  12687. }, {
  12688. "value": "丰满区",
  12689. "label": "丰满区"
  12690. }, {
  12691. "value": "永吉县",
  12692. "label": "永吉县"
  12693. }, {
  12694. "value": "蛟河市",
  12695. "label": "蛟河市"
  12696. }, {
  12697. "value": "桦甸市",
  12698. "label": "桦甸市"
  12699. }, {
  12700. "value": "舒兰市",
  12701. "label": "舒兰市"
  12702. }, {
  12703. "value": "磐石市",
  12704. "label": "磐石市"
  12705. }]
  12706. }, {
  12707. "value": "四平市",
  12708. "label": "四平市",
  12709. "children": [{
  12710. "value": "铁西区",
  12711. "label": "铁西区"
  12712. }, {
  12713. "value": "铁东区",
  12714. "label": "铁东区"
  12715. }, {
  12716. "value": "梨树县",
  12717. "label": "梨树县"
  12718. }, {
  12719. "value": "伊通满族自治县",
  12720. "label": "伊通满族自治县"
  12721. }, {
  12722. "value": "公主岭市",
  12723. "label": "公主岭市"
  12724. }, {
  12725. "value": "双辽市",
  12726. "label": "双辽市"
  12727. }]
  12728. }, {
  12729. "value": "辽源市",
  12730. "label": "辽源市",
  12731. "children": [{
  12732. "value": "龙山区",
  12733. "label": "龙山区"
  12734. }, {
  12735. "value": "西安区",
  12736. "label": "西安区"
  12737. }, {
  12738. "value": "东丰县",
  12739. "label": "东丰县"
  12740. }, {
  12741. "value": "东辽县",
  12742. "label": "东辽县"
  12743. }]
  12744. }, {
  12745. "value": "通化市",
  12746. "label": "通化市",
  12747. "children": [{
  12748. "value": "东昌区",
  12749. "label": "东昌区"
  12750. }, {
  12751. "value": "二道江区",
  12752. "label": "二道江区"
  12753. }, {
  12754. "value": "通化县",
  12755. "label": "通化县"
  12756. }, {
  12757. "value": "辉南县",
  12758. "label": "辉南县"
  12759. }, {
  12760. "value": "柳河县",
  12761. "label": "柳河县"
  12762. }, {
  12763. "value": "梅河口市",
  12764. "label": "梅河口市"
  12765. }, {
  12766. "value": "集安市",
  12767. "label": "集安市"
  12768. }]
  12769. }, {
  12770. "value": "白山市",
  12771. "label": "白山市",
  12772. "children": [{
  12773. "value": "浑江区",
  12774. "label": "浑江区"
  12775. }, {
  12776. "value": "江源区",
  12777. "label": "江源区"
  12778. }, {
  12779. "value": "抚松县",
  12780. "label": "抚松县"
  12781. }, {
  12782. "value": "靖宇县",
  12783. "label": "靖宇县"
  12784. }, {
  12785. "value": "长白朝鲜族自治县",
  12786. "label": "长白朝鲜族自治县"
  12787. }, {
  12788. "value": "临江市",
  12789. "label": "临江市"
  12790. }]
  12791. }, {
  12792. "value": "松原市",
  12793. "label": "松原市",
  12794. "children": [{
  12795. "value": "宁江区",
  12796. "label": "宁江区"
  12797. }, {
  12798. "value": "前郭尔罗斯蒙古族自治县",
  12799. "label": "前郭尔罗斯蒙古族自治县"
  12800. }, {
  12801. "value": "长岭县",
  12802. "label": "长岭县"
  12803. }, {
  12804. "value": "乾安县",
  12805. "label": "乾安县"
  12806. }, {
  12807. "value": "扶余市",
  12808. "label": "扶余市"
  12809. }]
  12810. }, {
  12811. "value": "白城市",
  12812. "label": "白城市",
  12813. "children": [{
  12814. "value": "洮北区",
  12815. "label": "洮北区"
  12816. }, {
  12817. "value": "镇赉县",
  12818. "label": "镇赉县"
  12819. }, {
  12820. "value": "通榆县",
  12821. "label": "通榆县"
  12822. }, {
  12823. "value": "洮南市",
  12824. "label": "洮南市"
  12825. }, {
  12826. "value": "大安市",
  12827. "label": "大安市"
  12828. }]
  12829. }, {
  12830. "value": "延边朝鲜族自治州",
  12831. "label": "延边朝鲜族自治州",
  12832. "children": [{
  12833. "value": "延吉市",
  12834. "label": "延吉市"
  12835. }, {
  12836. "value": "图们市",
  12837. "label": "图们市"
  12838. }, {
  12839. "value": "敦化市",
  12840. "label": "敦化市"
  12841. }, {
  12842. "value": "珲春市",
  12843. "label": "珲春市"
  12844. }, {
  12845. "value": "龙井市",
  12846. "label": "龙井市"
  12847. }, {
  12848. "value": "和龙市",
  12849. "label": "和龙市"
  12850. }, {
  12851. "value": "汪清县",
  12852. "label": "汪清县"
  12853. }, {
  12854. "value": "安图县",
  12855. "label": "安图县"
  12856. }]
  12857. }]
  12858. }, {
  12859. "value": "黑龙江省",
  12860. "label": "黑龙江省",
  12861. "children": [{
  12862. "value": "哈尔滨市",
  12863. "label": "哈尔滨市",
  12864. "children": [{
  12865. "value": "道里区",
  12866. "label": "道里区"
  12867. }, {
  12868. "value": "南岗区",
  12869. "label": "南岗区"
  12870. }, {
  12871. "value": "道外区",
  12872. "label": "道外区"
  12873. }, {
  12874. "value": "平房区",
  12875. "label": "平房区"
  12876. }, {
  12877. "value": "松北区",
  12878. "label": "松北区"
  12879. }, {
  12880. "value": "香坊区",
  12881. "label": "香坊区"
  12882. }, {
  12883. "value": "呼兰区",
  12884. "label": "呼兰区"
  12885. }, {
  12886. "value": "阿城区",
  12887. "label": "阿城区"
  12888. }, {
  12889. "value": "双城区",
  12890. "label": "双城区"
  12891. }, {
  12892. "value": "依兰县",
  12893. "label": "依兰县"
  12894. }, {
  12895. "value": "方正县",
  12896. "label": "方正县"
  12897. }, {
  12898. "value": "宾县",
  12899. "label": "宾县"
  12900. }, {
  12901. "value": "巴彦县",
  12902. "label": "巴彦县"
  12903. }, {
  12904. "value": "木兰县",
  12905. "label": "木兰县"
  12906. }, {
  12907. "value": "通河县",
  12908. "label": "通河县"
  12909. }, {
  12910. "value": "延寿县",
  12911. "label": "延寿县"
  12912. }, {
  12913. "value": "尚志市",
  12914. "label": "尚志市"
  12915. }, {
  12916. "value": "五常市",
  12917. "label": "五常市"
  12918. }]
  12919. }, {
  12920. "value": "齐齐哈尔市",
  12921. "label": "齐齐哈尔市",
  12922. "children": [{
  12923. "value": "龙沙区",
  12924. "label": "龙沙区"
  12925. }, {
  12926. "value": "建华区",
  12927. "label": "建华区"
  12928. }, {
  12929. "value": "铁锋区",
  12930. "label": "铁锋区"
  12931. }, {
  12932. "value": "昂昂溪区",
  12933. "label": "昂昂溪区"
  12934. }, {
  12935. "value": "富拉尔基区",
  12936. "label": "富拉尔基区"
  12937. }, {
  12938. "value": "碾子山区",
  12939. "label": "碾子山区"
  12940. }, {
  12941. "value": "梅里斯达斡尔族区",
  12942. "label": "梅里斯达斡尔族区"
  12943. }, {
  12944. "value": "龙江县",
  12945. "label": "龙江县"
  12946. }, {
  12947. "value": "依安县",
  12948. "label": "依安县"
  12949. }, {
  12950. "value": "泰来县",
  12951. "label": "泰来县"
  12952. }, {
  12953. "value": "甘南县",
  12954. "label": "甘南县"
  12955. }, {
  12956. "value": "富裕县",
  12957. "label": "富裕县"
  12958. }, {
  12959. "value": "克山县",
  12960. "label": "克山县"
  12961. }, {
  12962. "value": "克东县",
  12963. "label": "克东县"
  12964. }, {
  12965. "value": "拜泉县",
  12966. "label": "拜泉县"
  12967. }, {
  12968. "value": "讷河市",
  12969. "label": "讷河市"
  12970. }]
  12971. }, {
  12972. "value": "鸡西市",
  12973. "label": "鸡西市",
  12974. "children": [{
  12975. "value": "鸡冠区",
  12976. "label": "鸡冠区"
  12977. }, {
  12978. "value": "恒山区",
  12979. "label": "恒山区"
  12980. }, {
  12981. "value": "滴道区",
  12982. "label": "滴道区"
  12983. }, {
  12984. "value": "梨树区",
  12985. "label": "梨树区"
  12986. }, {
  12987. "value": "城子河区",
  12988. "label": "城子河区"
  12989. }, {
  12990. "value": "麻山区",
  12991. "label": "麻山区"
  12992. }, {
  12993. "value": "鸡东县",
  12994. "label": "鸡东县"
  12995. }, {
  12996. "value": "虎林市",
  12997. "label": "虎林市"
  12998. }, {
  12999. "value": "密山市",
  13000. "label": "密山市"
  13001. }]
  13002. }, {
  13003. "value": "鹤岗市",
  13004. "label": "鹤岗市",
  13005. "children": [{
  13006. "value": "向阳区",
  13007. "label": "向阳区"
  13008. }, {
  13009. "value": "工农区",
  13010. "label": "工农区"
  13011. }, {
  13012. "value": "南山区",
  13013. "label": "南山区"
  13014. }, {
  13015. "value": "兴安区",
  13016. "label": "兴安区"
  13017. }, {
  13018. "value": "东山区",
  13019. "label": "东山区"
  13020. }, {
  13021. "value": "兴山区",
  13022. "label": "兴山区"
  13023. }, {
  13024. "value": "萝北县",
  13025. "label": "萝北县"
  13026. }, {
  13027. "value": "绥滨县",
  13028. "label": "绥滨县"
  13029. }]
  13030. }, {
  13031. "value": "双鸭山市",
  13032. "label": "双鸭山市",
  13033. "children": [{
  13034. "value": "尖山区",
  13035. "label": "尖山区"
  13036. }, {
  13037. "value": "岭东区",
  13038. "label": "岭东区"
  13039. }, {
  13040. "value": "四方台区",
  13041. "label": "四方台区"
  13042. }, {
  13043. "value": "宝山区",
  13044. "label": "宝山区"
  13045. }, {
  13046. "value": "集贤县",
  13047. "label": "集贤县"
  13048. }, {
  13049. "value": "友谊县",
  13050. "label": "友谊县"
  13051. }, {
  13052. "value": "宝清县",
  13053. "label": "宝清县"
  13054. }, {
  13055. "value": "饶河县",
  13056. "label": "饶河县"
  13057. }]
  13058. }, {
  13059. "value": "大庆市",
  13060. "label": "大庆市",
  13061. "children": [{
  13062. "value": "萨尔图区",
  13063. "label": "萨尔图区"
  13064. }, {
  13065. "value": "龙凤区",
  13066. "label": "龙凤区"
  13067. }, {
  13068. "value": "让胡路区",
  13069. "label": "让胡路区"
  13070. }, {
  13071. "value": "红岗区",
  13072. "label": "红岗区"
  13073. }, {
  13074. "value": "大同区",
  13075. "label": "大同区"
  13076. }, {
  13077. "value": "肇州县",
  13078. "label": "肇州县"
  13079. }, {
  13080. "value": "肇源县",
  13081. "label": "肇源县"
  13082. }, {
  13083. "value": "林甸县",
  13084. "label": "林甸县"
  13085. }, {
  13086. "value": "杜尔伯特蒙古族自治县",
  13087. "label": "杜尔伯特蒙古族自治县"
  13088. }]
  13089. }, {
  13090. "value": "伊春市",
  13091. "label": "伊春市",
  13092. "children": [{
  13093. "value": "伊春区",
  13094. "label": "伊春区"
  13095. }, {
  13096. "value": "南岔区",
  13097. "label": "南岔区"
  13098. }, {
  13099. "value": "友好区",
  13100. "label": "友好区"
  13101. }, {
  13102. "value": "西林区",
  13103. "label": "西林区"
  13104. }, {
  13105. "value": "翠峦区",
  13106. "label": "翠峦区"
  13107. }, {
  13108. "value": "新青区",
  13109. "label": "新青区"
  13110. }, {
  13111. "value": "美溪区",
  13112. "label": "美溪区"
  13113. }, {
  13114. "value": "金山屯区",
  13115. "label": "金山屯区"
  13116. }, {
  13117. "value": "五营区",
  13118. "label": "五营区"
  13119. }, {
  13120. "value": "乌马河区",
  13121. "label": "乌马河区"
  13122. }, {
  13123. "value": "汤旺河区",
  13124. "label": "汤旺河区"
  13125. }, {
  13126. "value": "带岭区",
  13127. "label": "带岭区"
  13128. }, {
  13129. "value": "乌伊岭区",
  13130. "label": "乌伊岭区"
  13131. }, {
  13132. "value": "红星区",
  13133. "label": "红星区"
  13134. }, {
  13135. "value": "上甘岭区",
  13136. "label": "上甘岭区"
  13137. }, {
  13138. "value": "嘉荫县",
  13139. "label": "嘉荫县"
  13140. }, {
  13141. "value": "铁力市",
  13142. "label": "铁力市"
  13143. }]
  13144. }, {
  13145. "value": "佳木斯市",
  13146. "label": "佳木斯市",
  13147. "children": [{
  13148. "value": "向阳区",
  13149. "label": "向阳区"
  13150. }, {
  13151. "value": "前进区",
  13152. "label": "前进区"
  13153. }, {
  13154. "value": "东风区",
  13155. "label": "东风区"
  13156. }, {
  13157. "value": "郊区",
  13158. "label": "郊区"
  13159. }, {
  13160. "value": "桦南县",
  13161. "label": "桦南县"
  13162. }, {
  13163. "value": "桦川县",
  13164. "label": "桦川县"
  13165. }, {
  13166. "value": "汤原县",
  13167. "label": "汤原县"
  13168. }, {
  13169. "value": "同江市",
  13170. "label": "同江市"
  13171. }, {
  13172. "value": "富锦市",
  13173. "label": "富锦市"
  13174. }, {
  13175. "value": "抚远市",
  13176. "label": "抚远市"
  13177. }]
  13178. }, {
  13179. "value": "七台河市",
  13180. "label": "七台河市",
  13181. "children": [{
  13182. "value": "新兴区",
  13183. "label": "新兴区"
  13184. }, {
  13185. "value": "桃山区",
  13186. "label": "桃山区"
  13187. }, {
  13188. "value": "茄子河区",
  13189. "label": "茄子河区"
  13190. }, {
  13191. "value": "勃利县",
  13192. "label": "勃利县"
  13193. }]
  13194. }, {
  13195. "value": "牡丹江市",
  13196. "label": "牡丹江市",
  13197. "children": [{
  13198. "value": "东安区",
  13199. "label": "东安区"
  13200. }, {
  13201. "value": "阳明区",
  13202. "label": "阳明区"
  13203. }, {
  13204. "value": "爱民区",
  13205. "label": "爱民区"
  13206. }, {
  13207. "value": "西安区",
  13208. "label": "西安区"
  13209. }, {
  13210. "value": "林口县",
  13211. "label": "林口县"
  13212. }, {
  13213. "value": "绥芬河市",
  13214. "label": "绥芬河市"
  13215. }, {
  13216. "value": "海林市",
  13217. "label": "海林市"
  13218. }, {
  13219. "value": "宁安市",
  13220. "label": "宁安市"
  13221. }, {
  13222. "value": "穆棱市",
  13223. "label": "穆棱市"
  13224. }, {
  13225. "value": "东宁市",
  13226. "label": "东宁市"
  13227. }]
  13228. }, {
  13229. "value": "黑河市",
  13230. "label": "黑河市",
  13231. "children": [{
  13232. "value": "爱辉区",
  13233. "label": "爱辉区"
  13234. }, {
  13235. "value": "嫩江县",
  13236. "label": "嫩江县"
  13237. }, {
  13238. "value": "逊克县",
  13239. "label": "逊克县"
  13240. }, {
  13241. "value": "孙吴县",
  13242. "label": "孙吴县"
  13243. }, {
  13244. "value": "北安市",
  13245. "label": "北安市"
  13246. }, {
  13247. "value": "五大连池市",
  13248. "label": "五大连池市"
  13249. }]
  13250. }, {
  13251. "value": "绥化市",
  13252. "label": "绥化市",
  13253. "children": [{
  13254. "value": "北林区",
  13255. "label": "北林区"
  13256. }, {
  13257. "value": "望奎县",
  13258. "label": "望奎县"
  13259. }, {
  13260. "value": "兰西县",
  13261. "label": "兰西县"
  13262. }, {
  13263. "value": "青冈县",
  13264. "label": "青冈县"
  13265. }, {
  13266. "value": "庆安县",
  13267. "label": "庆安县"
  13268. }, {
  13269. "value": "明水县",
  13270. "label": "明水县"
  13271. }, {
  13272. "value": "绥棱县",
  13273. "label": "绥棱县"
  13274. }, {
  13275. "value": "安达市",
  13276. "label": "安达市"
  13277. }, {
  13278. "value": "肇东市",
  13279. "label": "肇东市"
  13280. }, {
  13281. "value": "海伦市",
  13282. "label": "海伦市"
  13283. }]
  13284. }, {
  13285. "value": "大兴安岭地区",
  13286. "label": "大兴安岭地区",
  13287. "children": [{
  13288. "value": "呼玛县",
  13289. "label": "呼玛县"
  13290. }, {
  13291. "value": "塔河县",
  13292. "label": "塔河县"
  13293. }, {
  13294. "value": "漠河县",
  13295. "label": "漠河县"
  13296. }]
  13297. }]
  13298. }, {
  13299. "value": "上海市",
  13300. "label": "上海市",
  13301. "children": [{
  13302. "value": "市辖区",
  13303. "label": "市辖区",
  13304. "children": [{
  13305. "value": "黄浦区",
  13306. "label": "黄浦区"
  13307. }, {
  13308. "value": "徐汇区",
  13309. "label": "徐汇区"
  13310. }, {
  13311. "value": "长宁区",
  13312. "label": "长宁区"
  13313. }, {
  13314. "value": "静安区",
  13315. "label": "静安区"
  13316. }, {
  13317. "value": "普陀区",
  13318. "label": "普陀区"
  13319. }, {
  13320. "value": "虹口区",
  13321. "label": "虹口区"
  13322. }, {
  13323. "value": "杨浦区",
  13324. "label": "杨浦区"
  13325. }, {
  13326. "value": "闵行区",
  13327. "label": "闵行区"
  13328. }, {
  13329. "value": "宝山区",
  13330. "label": "宝山区"
  13331. }, {
  13332. "value": "嘉定区",
  13333. "label": "嘉定区"
  13334. }, {
  13335. "value": "浦东新区",
  13336. "label": "浦东新区"
  13337. }, {
  13338. "value": "金山区",
  13339. "label": "金山区"
  13340. }, {
  13341. "value": "松江区",
  13342. "label": "松江区"
  13343. }, {
  13344. "value": "青浦区",
  13345. "label": "青浦区"
  13346. }, {
  13347. "value": "奉贤区",
  13348. "label": "奉贤区"
  13349. }, {
  13350. "value": "崇明区",
  13351. "label": "崇明区"
  13352. }]
  13353. }]
  13354. }, {
  13355. "value": "江苏省",
  13356. "label": "江苏省",
  13357. "children": [{
  13358. "value": "南京市",
  13359. "label": "南京市",
  13360. "children": [{
  13361. "value": "玄武区",
  13362. "label": "玄武区"
  13363. }, {
  13364. "value": "秦淮区",
  13365. "label": "秦淮区"
  13366. }, {
  13367. "value": "建邺区",
  13368. "label": "建邺区"
  13369. }, {
  13370. "value": "鼓楼区",
  13371. "label": "鼓楼区"
  13372. }, {
  13373. "value": "浦口区",
  13374. "label": "浦口区"
  13375. }, {
  13376. "value": "栖霞区",
  13377. "label": "栖霞区"
  13378. }, {
  13379. "value": "雨花台区",
  13380. "label": "雨花台区"
  13381. }, {
  13382. "value": "江宁区",
  13383. "label": "江宁区"
  13384. }, {
  13385. "value": "六合区",
  13386. "label": "六合区"
  13387. }, {
  13388. "value": "溧水区",
  13389. "label": "溧水区"
  13390. }, {
  13391. "value": "高淳区",
  13392. "label": "高淳区"
  13393. }]
  13394. }, {
  13395. "value": "无锡市",
  13396. "label": "无锡市",
  13397. "children": [{
  13398. "value": "锡山区",
  13399. "label": "锡山区"
  13400. }, {
  13401. "value": "惠山区",
  13402. "label": "惠山区"
  13403. }, {
  13404. "value": "滨湖区",
  13405. "label": "滨湖区"
  13406. }, {
  13407. "value": "梁溪区",
  13408. "label": "梁溪区"
  13409. }, {
  13410. "value": "新吴区",
  13411. "label": "新吴区"
  13412. }, {
  13413. "value": "江阴市",
  13414. "label": "江阴市"
  13415. }, {
  13416. "value": "宜兴市",
  13417. "label": "宜兴市"
  13418. }]
  13419. }, {
  13420. "value": "徐州市",
  13421. "label": "徐州市",
  13422. "children": [{
  13423. "value": "鼓楼区",
  13424. "label": "鼓楼区"
  13425. }, {
  13426. "value": "云龙区",
  13427. "label": "云龙区"
  13428. }, {
  13429. "value": "贾汪区",
  13430. "label": "贾汪区"
  13431. }, {
  13432. "value": "泉山区",
  13433. "label": "泉山区"
  13434. }, {
  13435. "value": "铜山区",
  13436. "label": "铜山区"
  13437. }, {
  13438. "value": "丰县",
  13439. "label": "丰县"
  13440. }, {
  13441. "value": "沛县",
  13442. "label": "沛县"
  13443. }, {
  13444. "value": "睢宁县",
  13445. "label": "睢宁县"
  13446. }, {
  13447. "value": "新沂市",
  13448. "label": "新沂市"
  13449. }, {
  13450. "value": "邳州市",
  13451. "label": "邳州市"
  13452. }]
  13453. }, {
  13454. "value": "常州市",
  13455. "label": "常州市",
  13456. "children": [{
  13457. "value": "天宁区",
  13458. "label": "天宁区"
  13459. }, {
  13460. "value": "钟楼区",
  13461. "label": "钟楼区"
  13462. }, {
  13463. "value": "新北区",
  13464. "label": "新北区"
  13465. }, {
  13466. "value": "武进区",
  13467. "label": "武进区"
  13468. }, {
  13469. "value": "金坛区",
  13470. "label": "金坛区"
  13471. }, {
  13472. "value": "溧阳市",
  13473. "label": "溧阳市"
  13474. }]
  13475. }, {
  13476. "value": "苏州市",
  13477. "label": "苏州市",
  13478. "children": [{
  13479. "value": "虎丘区",
  13480. "label": "虎丘区"
  13481. }, {
  13482. "value": "吴中区",
  13483. "label": "吴中区"
  13484. }, {
  13485. "value": "相城区",
  13486. "label": "相城区"
  13487. }, {
  13488. "value": "姑苏区",
  13489. "label": "姑苏区"
  13490. }, {
  13491. "value": "吴江区",
  13492. "label": "吴江区"
  13493. }, {
  13494. "value": "常熟市",
  13495. "label": "常熟市"
  13496. }, {
  13497. "value": "张家港市",
  13498. "label": "张家港市"
  13499. }, {
  13500. "value": "昆山市",
  13501. "label": "昆山市"
  13502. }, {
  13503. "value": "太仓市",
  13504. "label": "太仓市"
  13505. }]
  13506. }, {
  13507. "value": "南通市",
  13508. "label": "南通市",
  13509. "children": [{
  13510. "value": "崇川区",
  13511. "label": "崇川区"
  13512. }, {
  13513. "value": "港闸区",
  13514. "label": "港闸区"
  13515. }, {
  13516. "value": "通州区",
  13517. "label": "通州区"
  13518. }, {
  13519. "value": "海安县",
  13520. "label": "海安县"
  13521. }, {
  13522. "value": "如东县",
  13523. "label": "如东县"
  13524. }, {
  13525. "value": "启东市",
  13526. "label": "启东市"
  13527. }, {
  13528. "value": "如皋市",
  13529. "label": "如皋市"
  13530. }, {
  13531. "value": "海门市",
  13532. "label": "海门市"
  13533. }]
  13534. }, {
  13535. "value": "连云港市",
  13536. "label": "连云港市",
  13537. "children": [{
  13538. "value": "连云区",
  13539. "label": "连云区"
  13540. }, {
  13541. "value": "海州区",
  13542. "label": "海州区"
  13543. }, {
  13544. "value": "赣榆区",
  13545. "label": "赣榆区"
  13546. }, {
  13547. "value": "东海县",
  13548. "label": "东海县"
  13549. }, {
  13550. "value": "灌云县",
  13551. "label": "灌云县"
  13552. }, {
  13553. "value": "灌南县",
  13554. "label": "灌南县"
  13555. }]
  13556. }, {
  13557. "value": "淮安市",
  13558. "label": "淮安市",
  13559. "children": [{
  13560. "value": "淮安区",
  13561. "label": "淮安区"
  13562. }, {
  13563. "value": "淮阴区",
  13564. "label": "淮阴区"
  13565. }, {
  13566. "value": "清江浦区",
  13567. "label": "清江浦区"
  13568. }, {
  13569. "value": "洪泽区",
  13570. "label": "洪泽区"
  13571. }, {
  13572. "value": "涟水县",
  13573. "label": "涟水县"
  13574. }, {
  13575. "value": "盱眙县",
  13576. "label": "盱眙县"
  13577. }, {
  13578. "value": "金湖县",
  13579. "label": "金湖县"
  13580. }]
  13581. }, {
  13582. "value": "盐城市",
  13583. "label": "盐城市",
  13584. "children": [{
  13585. "value": "亭湖区",
  13586. "label": "亭湖区"
  13587. }, {
  13588. "value": "盐都区",
  13589. "label": "盐都区"
  13590. }, {
  13591. "value": "大丰区",
  13592. "label": "大丰区"
  13593. }, {
  13594. "value": "响水县",
  13595. "label": "响水县"
  13596. }, {
  13597. "value": "滨海县",
  13598. "label": "滨海县"
  13599. }, {
  13600. "value": "阜宁县",
  13601. "label": "阜宁县"
  13602. }, {
  13603. "value": "射阳县",
  13604. "label": "射阳县"
  13605. }, {
  13606. "value": "建湖县",
  13607. "label": "建湖县"
  13608. }, {
  13609. "value": "东台市",
  13610. "label": "东台市"
  13611. }]
  13612. }, {
  13613. "value": "扬州市",
  13614. "label": "扬州市",
  13615. "children": [{
  13616. "value": "广陵区",
  13617. "label": "广陵区"
  13618. }, {
  13619. "value": "邗江区",
  13620. "label": "邗江区"
  13621. }, {
  13622. "value": "江都区",
  13623. "label": "江都区"
  13624. }, {
  13625. "value": "宝应县",
  13626. "label": "宝应县"
  13627. }, {
  13628. "value": "仪征市",
  13629. "label": "仪征市"
  13630. }, {
  13631. "value": "高邮市",
  13632. "label": "高邮市"
  13633. }]
  13634. }, {
  13635. "value": "镇江市",
  13636. "label": "镇江市",
  13637. "children": [{
  13638. "value": "京口区",
  13639. "label": "京口区"
  13640. }, {
  13641. "value": "润州区",
  13642. "label": "润州区"
  13643. }, {
  13644. "value": "丹徒区",
  13645. "label": "丹徒区"
  13646. }, {
  13647. "value": "丹阳市",
  13648. "label": "丹阳市"
  13649. }, {
  13650. "value": "扬中市",
  13651. "label": "扬中市"
  13652. }, {
  13653. "value": "句容市",
  13654. "label": "句容市"
  13655. }]
  13656. }, {
  13657. "value": "泰州市",
  13658. "label": "泰州市",
  13659. "children": [{
  13660. "value": "海陵区",
  13661. "label": "海陵区"
  13662. }, {
  13663. "value": "高港区",
  13664. "label": "高港区"
  13665. }, {
  13666. "value": "姜堰区",
  13667. "label": "姜堰区"
  13668. }, {
  13669. "value": "兴化市",
  13670. "label": "兴化市"
  13671. }, {
  13672. "value": "靖江市",
  13673. "label": "靖江市"
  13674. }, {
  13675. "value": "泰兴市",
  13676. "label": "泰兴市"
  13677. }]
  13678. }, {
  13679. "value": "宿迁市",
  13680. "label": "宿迁市",
  13681. "children": [{
  13682. "value": "宿城区",
  13683. "label": "宿城区"
  13684. }, {
  13685. "value": "宿豫区",
  13686. "label": "宿豫区"
  13687. }, {
  13688. "value": "沭阳县",
  13689. "label": "沭阳县"
  13690. }, {
  13691. "value": "泗阳县",
  13692. "label": "泗阳县"
  13693. }, {
  13694. "value": "泗洪县",
  13695. "label": "泗洪县"
  13696. }]
  13697. }]
  13698. }, {
  13699. "value": "浙江省",
  13700. "label": "浙江省",
  13701. "children": [{
  13702. "value": "杭州市",
  13703. "label": "杭州市",
  13704. "children": [{
  13705. "value": "上城区",
  13706. "label": "上城区"
  13707. }, {
  13708. "value": "下城区",
  13709. "label": "下城区"
  13710. }, {
  13711. "value": "江干区",
  13712. "label": "江干区"
  13713. }, {
  13714. "value": "拱墅区",
  13715. "label": "拱墅区"
  13716. }, {
  13717. "value": "西湖区",
  13718. "label": "西湖区"
  13719. }, {
  13720. "value": "滨江区",
  13721. "label": "滨江区"
  13722. }, {
  13723. "value": "萧山区",
  13724. "label": "萧山区"
  13725. }, {
  13726. "value": "余杭区",
  13727. "label": "余杭区"
  13728. }, {
  13729. "value": "富阳区",
  13730. "label": "富阳区"
  13731. }, {
  13732. "value": "桐庐县",
  13733. "label": "桐庐县"
  13734. }, {
  13735. "value": "淳安县",
  13736. "label": "淳安县"
  13737. }, {
  13738. "value": "建德市",
  13739. "label": "建德市"
  13740. }, {
  13741. "value": "临安市",
  13742. "label": "临安市"
  13743. }]
  13744. }, {
  13745. "value": "宁波市",
  13746. "label": "宁波市",
  13747. "children": [{
  13748. "value": "海曙区",
  13749. "label": "海曙区"
  13750. }, {
  13751. "value": "江东区",
  13752. "label": "江东区"
  13753. }, {
  13754. "value": "江北区",
  13755. "label": "江北区"
  13756. }, {
  13757. "value": "北仑区",
  13758. "label": "北仑区"
  13759. }, {
  13760. "value": "镇海区",
  13761. "label": "镇海区"
  13762. }, {
  13763. "value": "鄞州区",
  13764. "label": "鄞州区"
  13765. }, {
  13766. "value": "象山县",
  13767. "label": "象山县"
  13768. }, {
  13769. "value": "宁海县",
  13770. "label": "宁海县"
  13771. }, {
  13772. "value": "余姚市",
  13773. "label": "余姚市"
  13774. }, {
  13775. "value": "慈溪市",
  13776. "label": "慈溪市"
  13777. }, {
  13778. "value": "奉化市",
  13779. "label": "奉化市"
  13780. }]
  13781. }, {
  13782. "value": "温州市",
  13783. "label": "温州市",
  13784. "children": [{
  13785. "value": "鹿城区",
  13786. "label": "鹿城区"
  13787. }, {
  13788. "value": "龙湾区",
  13789. "label": "龙湾区"
  13790. }, {
  13791. "value": "瓯海区",
  13792. "label": "瓯海区"
  13793. }, {
  13794. "value": "洞头区",
  13795. "label": "洞头区"
  13796. }, {
  13797. "value": "永嘉县",
  13798. "label": "永嘉县"
  13799. }, {
  13800. "value": "平阳县",
  13801. "label": "平阳县"
  13802. }, {
  13803. "value": "苍南县",
  13804. "label": "苍南县"
  13805. }, {
  13806. "value": "文成县",
  13807. "label": "文成县"
  13808. }, {
  13809. "value": "泰顺县",
  13810. "label": "泰顺县"
  13811. }, {
  13812. "value": "瑞安市",
  13813. "label": "瑞安市"
  13814. }, {
  13815. "value": "乐清市",
  13816. "label": "乐清市"
  13817. }]
  13818. }, {
  13819. "value": "嘉兴市",
  13820. "label": "嘉兴市",
  13821. "children": [{
  13822. "value": "南湖区",
  13823. "label": "南湖区"
  13824. }, {
  13825. "value": "秀洲区",
  13826. "label": "秀洲区"
  13827. }, {
  13828. "value": "嘉善县",
  13829. "label": "嘉善县"
  13830. }, {
  13831. "value": "海盐县",
  13832. "label": "海盐县"
  13833. }, {
  13834. "value": "海宁市",
  13835. "label": "海宁市"
  13836. }, {
  13837. "value": "平湖市",
  13838. "label": "平湖市"
  13839. }, {
  13840. "value": "桐乡市",
  13841. "label": "桐乡市"
  13842. }]
  13843. }, {
  13844. "value": "湖州市",
  13845. "label": "湖州市",
  13846. "children": [{
  13847. "value": "吴兴区",
  13848. "label": "吴兴区"
  13849. }, {
  13850. "value": "南浔区",
  13851. "label": "南浔区"
  13852. }, {
  13853. "value": "德清县",
  13854. "label": "德清县"
  13855. }, {
  13856. "value": "长兴县",
  13857. "label": "长兴县"
  13858. }, {
  13859. "value": "安吉县",
  13860. "label": "安吉县"
  13861. }]
  13862. }, {
  13863. "value": "绍兴市",
  13864. "label": "绍兴市",
  13865. "children": [{
  13866. "value": "越城区",
  13867. "label": "越城区"
  13868. }, {
  13869. "value": "柯桥区",
  13870. "label": "柯桥区"
  13871. }, {
  13872. "value": "上虞区",
  13873. "label": "上虞区"
  13874. }, {
  13875. "value": "新昌县",
  13876. "label": "新昌县"
  13877. }, {
  13878. "value": "诸暨市",
  13879. "label": "诸暨市"
  13880. }, {
  13881. "value": "嵊州市",
  13882. "label": "嵊州市"
  13883. }]
  13884. }, {
  13885. "value": "金华市",
  13886. "label": "金华市",
  13887. "children": [{
  13888. "value": "婺城区",
  13889. "label": "婺城区"
  13890. }, {
  13891. "value": "金东区",
  13892. "label": "金东区"
  13893. }, {
  13894. "value": "武义县",
  13895. "label": "武义县"
  13896. }, {
  13897. "value": "浦江县",
  13898. "label": "浦江县"
  13899. }, {
  13900. "value": "磐安县",
  13901. "label": "磐安县"
  13902. }, {
  13903. "value": "兰溪市",
  13904. "label": "兰溪市"
  13905. }, {
  13906. "value": "义乌市",
  13907. "label": "义乌市"
  13908. }, {
  13909. "value": "东阳市",
  13910. "label": "东阳市"
  13911. }, {
  13912. "value": "永康市",
  13913. "label": "永康市"
  13914. }]
  13915. }, {
  13916. "value": "衢州市",
  13917. "label": "衢州市",
  13918. "children": [{
  13919. "value": "柯城区",
  13920. "label": "柯城区"
  13921. }, {
  13922. "value": "衢江区",
  13923. "label": "衢江区"
  13924. }, {
  13925. "value": "常山县",
  13926. "label": "常山县"
  13927. }, {
  13928. "value": "开化县",
  13929. "label": "开化县"
  13930. }, {
  13931. "value": "龙游县",
  13932. "label": "龙游县"
  13933. }, {
  13934. "value": "江山市",
  13935. "label": "江山市"
  13936. }]
  13937. }, {
  13938. "value": "舟山市",
  13939. "label": "舟山市",
  13940. "children": [{
  13941. "value": "定海区",
  13942. "label": "定海区"
  13943. }, {
  13944. "value": "普陀区",
  13945. "label": "普陀区"
  13946. }, {
  13947. "value": "岱山县",
  13948. "label": "岱山县"
  13949. }, {
  13950. "value": "嵊泗县",
  13951. "label": "嵊泗县"
  13952. }]
  13953. }, {
  13954. "value": "台州市",
  13955. "label": "台州市",
  13956. "children": [{
  13957. "value": "椒江区",
  13958. "label": "椒江区"
  13959. }, {
  13960. "value": "黄岩区",
  13961. "label": "黄岩区"
  13962. }, {
  13963. "value": "路桥区",
  13964. "label": "路桥区"
  13965. }, {
  13966. "value": "玉环县",
  13967. "label": "玉环县"
  13968. }, {
  13969. "value": "三门县",
  13970. "label": "三门县"
  13971. }, {
  13972. "value": "天台县",
  13973. "label": "天台县"
  13974. }, {
  13975. "value": "仙居县",
  13976. "label": "仙居县"
  13977. }, {
  13978. "value": "温岭市",
  13979. "label": "温岭市"
  13980. }, {
  13981. "value": "临海市",
  13982. "label": "临海市"
  13983. }]
  13984. }, {
  13985. "value": "丽水市",
  13986. "label": "丽水市",
  13987. "children": [{
  13988. "value": "莲都区",
  13989. "label": "莲都区"
  13990. }, {
  13991. "value": "青田县",
  13992. "label": "青田县"
  13993. }, {
  13994. "value": "缙云县",
  13995. "label": "缙云县"
  13996. }, {
  13997. "value": "遂昌县",
  13998. "label": "遂昌县"
  13999. }, {
  14000. "value": "松阳县",
  14001. "label": "松阳县"
  14002. }, {
  14003. "value": "云和县",
  14004. "label": "云和县"
  14005. }, {
  14006. "value": "庆元县",
  14007. "label": "庆元县"
  14008. }, {
  14009. "value": "景宁畲族自治县",
  14010. "label": "景宁畲族自治县"
  14011. }, {
  14012. "value": "龙泉市",
  14013. "label": "龙泉市"
  14014. }]
  14015. }]
  14016. }, {
  14017. "value": "安徽省",
  14018. "label": "安徽省",
  14019. "children": [{
  14020. "value": "合肥市",
  14021. "label": "合肥市",
  14022. "children": [{
  14023. "value": "瑶海区",
  14024. "label": "瑶海区"
  14025. }, {
  14026. "value": "庐阳区",
  14027. "label": "庐阳区"
  14028. }, {
  14029. "value": "蜀山区",
  14030. "label": "蜀山区"
  14031. }, {
  14032. "value": "包河区",
  14033. "label": "包河区"
  14034. }, {
  14035. "value": "长丰县",
  14036. "label": "长丰县"
  14037. }, {
  14038. "value": "肥东县",
  14039. "label": "肥东县"
  14040. }, {
  14041. "value": "肥西县",
  14042. "label": "肥西县"
  14043. }, {
  14044. "value": "庐江县",
  14045. "label": "庐江县"
  14046. }, {
  14047. "value": "巢湖市",
  14048. "label": "巢湖市"
  14049. }]
  14050. }, {
  14051. "value": "芜湖市",
  14052. "label": "芜湖市",
  14053. "children": [{
  14054. "value": "镜湖区",
  14055. "label": "镜湖区"
  14056. }, {
  14057. "value": "弋江区",
  14058. "label": "弋江区"
  14059. }, {
  14060. "value": "鸠江区",
  14061. "label": "鸠江区"
  14062. }, {
  14063. "value": "三山区",
  14064. "label": "三山区"
  14065. }, {
  14066. "value": "芜湖县",
  14067. "label": "芜湖县"
  14068. }, {
  14069. "value": "繁昌县",
  14070. "label": "繁昌县"
  14071. }, {
  14072. "value": "南陵县",
  14073. "label": "南陵县"
  14074. }, {
  14075. "value": "无为县",
  14076. "label": "无为县"
  14077. }]
  14078. }, {
  14079. "value": "蚌埠市",
  14080. "label": "蚌埠市",
  14081. "children": [{
  14082. "value": "龙子湖区",
  14083. "label": "龙子湖区"
  14084. }, {
  14085. "value": "蚌山区",
  14086. "label": "蚌山区"
  14087. }, {
  14088. "value": "禹会区",
  14089. "label": "禹会区"
  14090. }, {
  14091. "value": "淮上区",
  14092. "label": "淮上区"
  14093. }, {
  14094. "value": "怀远县",
  14095. "label": "怀远县"
  14096. }, {
  14097. "value": "五河县",
  14098. "label": "五河县"
  14099. }, {
  14100. "value": "固镇县",
  14101. "label": "固镇县"
  14102. }]
  14103. }, {
  14104. "value": "淮南市",
  14105. "label": "淮南市",
  14106. "children": [{
  14107. "value": "大通区",
  14108. "label": "大通区"
  14109. }, {
  14110. "value": "田家庵区",
  14111. "label": "田家庵区"
  14112. }, {
  14113. "value": "谢家集区",
  14114. "label": "谢家集区"
  14115. }, {
  14116. "value": "八公山区",
  14117. "label": "八公山区"
  14118. }, {
  14119. "value": "潘集区",
  14120. "label": "潘集区"
  14121. }, {
  14122. "value": "凤台县",
  14123. "label": "凤台县"
  14124. }, {
  14125. "value": "寿县",
  14126. "label": "寿县"
  14127. }]
  14128. }, {
  14129. "value": "马鞍山市",
  14130. "label": "马鞍山市",
  14131. "children": [{
  14132. "value": "花山区",
  14133. "label": "花山区"
  14134. }, {
  14135. "value": "雨山区",
  14136. "label": "雨山区"
  14137. }, {
  14138. "value": "博望区",
  14139. "label": "博望区"
  14140. }, {
  14141. "value": "当涂县",
  14142. "label": "当涂县"
  14143. }, {
  14144. "value": "含山县",
  14145. "label": "含山县"
  14146. }, {
  14147. "value": "和县",
  14148. "label": "和县"
  14149. }]
  14150. }, {
  14151. "value": "淮北市",
  14152. "label": "淮北市",
  14153. "children": [{
  14154. "value": "杜集区",
  14155. "label": "杜集区"
  14156. }, {
  14157. "value": "相山区",
  14158. "label": "相山区"
  14159. }, {
  14160. "value": "烈山区",
  14161. "label": "烈山区"
  14162. }, {
  14163. "value": "濉溪县",
  14164. "label": "濉溪县"
  14165. }]
  14166. }, {
  14167. "value": "铜陵市",
  14168. "label": "铜陵市",
  14169. "children": [{
  14170. "value": "铜官区",
  14171. "label": "铜官区"
  14172. }, {
  14173. "value": "义安区",
  14174. "label": "义安区"
  14175. }, {
  14176. "value": "郊区",
  14177. "label": "郊区"
  14178. }, {
  14179. "value": "枞阳县",
  14180. "label": "枞阳县"
  14181. }]
  14182. }, {
  14183. "value": "安庆市",
  14184. "label": "安庆市",
  14185. "children": [{
  14186. "value": "迎江区",
  14187. "label": "迎江区"
  14188. }, {
  14189. "value": "大观区",
  14190. "label": "大观区"
  14191. }, {
  14192. "value": "宜秀区",
  14193. "label": "宜秀区"
  14194. }, {
  14195. "value": "怀宁县",
  14196. "label": "怀宁县"
  14197. }, {
  14198. "value": "潜山县",
  14199. "label": "潜山县"
  14200. }, {
  14201. "value": "太湖县",
  14202. "label": "太湖县"
  14203. }, {
  14204. "value": "宿松县",
  14205. "label": "宿松县"
  14206. }, {
  14207. "value": "望江县",
  14208. "label": "望江县"
  14209. }, {
  14210. "value": "岳西县",
  14211. "label": "岳西县"
  14212. }, {
  14213. "value": "桐城市",
  14214. "label": "桐城市"
  14215. }]
  14216. }, {
  14217. "value": "黄山市",
  14218. "label": "黄山市",
  14219. "children": [{
  14220. "value": "屯溪区",
  14221. "label": "屯溪区"
  14222. }, {
  14223. "value": "黄山区",
  14224. "label": "黄山区"
  14225. }, {
  14226. "value": "徽州区",
  14227. "label": "徽州区"
  14228. }, {
  14229. "value": "歙县",
  14230. "label": "歙县"
  14231. }, {
  14232. "value": "休宁县",
  14233. "label": "休宁县"
  14234. }, {
  14235. "value": "黟县",
  14236. "label": "黟县"
  14237. }, {
  14238. "value": "祁门县",
  14239. "label": "祁门县"
  14240. }]
  14241. }, {
  14242. "value": "滁州市",
  14243. "label": "滁州市",
  14244. "children": [{
  14245. "value": "琅琊区",
  14246. "label": "琅琊区"
  14247. }, {
  14248. "value": "南谯区",
  14249. "label": "南谯区"
  14250. }, {
  14251. "value": "来安县",
  14252. "label": "来安县"
  14253. }, {
  14254. "value": "全椒县",
  14255. "label": "全椒县"
  14256. }, {
  14257. "value": "定远县",
  14258. "label": "定远县"
  14259. }, {
  14260. "value": "凤阳县",
  14261. "label": "凤阳县"
  14262. }, {
  14263. "value": "天长市",
  14264. "label": "天长市"
  14265. }, {
  14266. "value": "明光市",
  14267. "label": "明光市"
  14268. }]
  14269. }, {
  14270. "value": "阜阳市",
  14271. "label": "阜阳市",
  14272. "children": [{
  14273. "value": "颍州区",
  14274. "label": "颍州区"
  14275. }, {
  14276. "value": "颍东区",
  14277. "label": "颍东区"
  14278. }, {
  14279. "value": "颍泉区",
  14280. "label": "颍泉区"
  14281. }, {
  14282. "value": "临泉县",
  14283. "label": "临泉县"
  14284. }, {
  14285. "value": "太和县",
  14286. "label": "太和县"
  14287. }, {
  14288. "value": "阜南县",
  14289. "label": "阜南县"
  14290. }, {
  14291. "value": "颍上县",
  14292. "label": "颍上县"
  14293. }, {
  14294. "value": "界首市",
  14295. "label": "界首市"
  14296. }]
  14297. }, {
  14298. "value": "宿州市",
  14299. "label": "宿州市",
  14300. "children": [{
  14301. "value": "埇桥区",
  14302. "label": "埇桥区"
  14303. }, {
  14304. "value": "砀山县",
  14305. "label": "砀山县"
  14306. }, {
  14307. "value": "萧县",
  14308. "label": "萧县"
  14309. }, {
  14310. "value": "灵璧县",
  14311. "label": "灵璧县"
  14312. }, {
  14313. "value": "泗县",
  14314. "label": "泗县"
  14315. }]
  14316. }, {
  14317. "value": "六安市",
  14318. "label": "六安市",
  14319. "children": [{
  14320. "value": "金安区",
  14321. "label": "金安区"
  14322. }, {
  14323. "value": "裕安区",
  14324. "label": "裕安区"
  14325. }, {
  14326. "value": "叶集区",
  14327. "label": "叶集区"
  14328. }, {
  14329. "value": "霍邱县",
  14330. "label": "霍邱县"
  14331. }, {
  14332. "value": "舒城县",
  14333. "label": "舒城县"
  14334. }, {
  14335. "value": "金寨县",
  14336. "label": "金寨县"
  14337. }, {
  14338. "value": "霍山县",
  14339. "label": "霍山县"
  14340. }]
  14341. }, {
  14342. "value": "亳州市",
  14343. "label": "亳州市",
  14344. "children": [{
  14345. "value": "谯城区",
  14346. "label": "谯城区"
  14347. }, {
  14348. "value": "涡阳县",
  14349. "label": "涡阳县"
  14350. }, {
  14351. "value": "蒙城县",
  14352. "label": "蒙城县"
  14353. }, {
  14354. "value": "利辛县",
  14355. "label": "利辛县"
  14356. }]
  14357. }, {
  14358. "value": "池州市",
  14359. "label": "池州市",
  14360. "children": [{
  14361. "value": "贵池区",
  14362. "label": "贵池区"
  14363. }, {
  14364. "value": "东至县",
  14365. "label": "东至县"
  14366. }, {
  14367. "value": "石台县",
  14368. "label": "石台县"
  14369. }, {
  14370. "value": "青阳县",
  14371. "label": "青阳县"
  14372. }]
  14373. }, {
  14374. "value": "宣城市",
  14375. "label": "宣城市",
  14376. "children": [{
  14377. "value": "宣州区",
  14378. "label": "宣州区"
  14379. }, {
  14380. "value": "郎溪县",
  14381. "label": "郎溪县"
  14382. }, {
  14383. "value": "广德县",
  14384. "label": "广德县"
  14385. }, {
  14386. "value": "泾县",
  14387. "label": "泾县"
  14388. }, {
  14389. "value": "绩溪县",
  14390. "label": "绩溪县"
  14391. }, {
  14392. "value": "旌德县",
  14393. "label": "旌德县"
  14394. }, {
  14395. "value": "宁国市",
  14396. "label": "宁国市"
  14397. }]
  14398. }]
  14399. }, {
  14400. "value": "福建省",
  14401. "label": "福建省",
  14402. "children": [{
  14403. "value": "福州市",
  14404. "label": "福州市",
  14405. "children": [{
  14406. "value": "鼓楼区",
  14407. "label": "鼓楼区"
  14408. }, {
  14409. "value": "台江区",
  14410. "label": "台江区"
  14411. }, {
  14412. "value": "仓山区",
  14413. "label": "仓山区"
  14414. }, {
  14415. "value": "马尾区",
  14416. "label": "马尾区"
  14417. }, {
  14418. "value": "晋安区",
  14419. "label": "晋安区"
  14420. }, {
  14421. "value": "闽侯县",
  14422. "label": "闽侯县"
  14423. }, {
  14424. "value": "连江县",
  14425. "label": "连江县"
  14426. }, {
  14427. "value": "罗源县",
  14428. "label": "罗源县"
  14429. }, {
  14430. "value": "闽清县",
  14431. "label": "闽清县"
  14432. }, {
  14433. "value": "永泰县",
  14434. "label": "永泰县"
  14435. }, {
  14436. "value": "平潭县",
  14437. "label": "平潭县"
  14438. }, {
  14439. "value": "福清市",
  14440. "label": "福清市"
  14441. }, {
  14442. "value": "长乐市",
  14443. "label": "长乐市"
  14444. }]
  14445. }, {
  14446. "value": "厦门市",
  14447. "label": "厦门市",
  14448. "children": [{
  14449. "value": "思明区",
  14450. "label": "思明区"
  14451. }, {
  14452. "value": "海沧区",
  14453. "label": "海沧区"
  14454. }, {
  14455. "value": "湖里区",
  14456. "label": "湖里区"
  14457. }, {
  14458. "value": "集美区",
  14459. "label": "集美区"
  14460. }, {
  14461. "value": "同安区",
  14462. "label": "同安区"
  14463. }, {
  14464. "value": "翔安区",
  14465. "label": "翔安区"
  14466. }]
  14467. }, {
  14468. "value": "莆田市",
  14469. "label": "莆田市",
  14470. "children": [{
  14471. "value": "城厢区",
  14472. "label": "城厢区"
  14473. }, {
  14474. "value": "涵江区",
  14475. "label": "涵江区"
  14476. }, {
  14477. "value": "荔城区",
  14478. "label": "荔城区"
  14479. }, {
  14480. "value": "秀屿区",
  14481. "label": "秀屿区"
  14482. }, {
  14483. "value": "仙游县",
  14484. "label": "仙游县"
  14485. }]
  14486. }, {
  14487. "value": "三明市",
  14488. "label": "三明市",
  14489. "children": [{
  14490. "value": "梅列区",
  14491. "label": "梅列区"
  14492. }, {
  14493. "value": "三元区",
  14494. "label": "三元区"
  14495. }, {
  14496. "value": "明溪县",
  14497. "label": "明溪县"
  14498. }, {
  14499. "value": "清流县",
  14500. "label": "清流县"
  14501. }, {
  14502. "value": "宁化县",
  14503. "label": "宁化县"
  14504. }, {
  14505. "value": "大田县",
  14506. "label": "大田县"
  14507. }, {
  14508. "value": "尤溪县",
  14509. "label": "尤溪县"
  14510. }, {
  14511. "value": "沙县",
  14512. "label": "沙县"
  14513. }, {
  14514. "value": "将乐县",
  14515. "label": "将乐县"
  14516. }, {
  14517. "value": "泰宁县",
  14518. "label": "泰宁县"
  14519. }, {
  14520. "value": "建宁县",
  14521. "label": "建宁县"
  14522. }, {
  14523. "value": "永安市",
  14524. "label": "永安市"
  14525. }]
  14526. }, {
  14527. "value": "泉州市",
  14528. "label": "泉州市",
  14529. "children": [{
  14530. "value": "鲤城区",
  14531. "label": "鲤城区"
  14532. }, {
  14533. "value": "丰泽区",
  14534. "label": "丰泽区"
  14535. }, {
  14536. "value": "洛江区",
  14537. "label": "洛江区"
  14538. }, {
  14539. "value": "泉港区",
  14540. "label": "泉港区"
  14541. }, {
  14542. "value": "惠安县",
  14543. "label": "惠安县"
  14544. }, {
  14545. "value": "安溪县",
  14546. "label": "安溪县"
  14547. }, {
  14548. "value": "永春县",
  14549. "label": "永春县"
  14550. }, {
  14551. "value": "德化县",
  14552. "label": "德化县"
  14553. }, {
  14554. "value": "金门县",
  14555. "label": "金门县"
  14556. }, {
  14557. "value": "石狮市",
  14558. "label": "石狮市"
  14559. }, {
  14560. "value": "晋江市",
  14561. "label": "晋江市"
  14562. }, {
  14563. "value": "南安市",
  14564. "label": "南安市"
  14565. }]
  14566. }, {
  14567. "value": "漳州市",
  14568. "label": "漳州市",
  14569. "children": [{
  14570. "value": "芗城区",
  14571. "label": "芗城区"
  14572. }, {
  14573. "value": "龙文区",
  14574. "label": "龙文区"
  14575. }, {
  14576. "value": "云霄县",
  14577. "label": "云霄县"
  14578. }, {
  14579. "value": "漳浦县",
  14580. "label": "漳浦县"
  14581. }, {
  14582. "value": "诏安县",
  14583. "label": "诏安县"
  14584. }, {
  14585. "value": "长泰县",
  14586. "label": "长泰县"
  14587. }, {
  14588. "value": "东山县",
  14589. "label": "东山县"
  14590. }, {
  14591. "value": "南靖县",
  14592. "label": "南靖县"
  14593. }, {
  14594. "value": "平和县",
  14595. "label": "平和县"
  14596. }, {
  14597. "value": "华安县",
  14598. "label": "华安县"
  14599. }, {
  14600. "value": "龙海市",
  14601. "label": "龙海市"
  14602. }]
  14603. }, {
  14604. "value": "南平市",
  14605. "label": "南平市",
  14606. "children": [{
  14607. "value": "延平区",
  14608. "label": "延平区"
  14609. }, {
  14610. "value": "建阳区",
  14611. "label": "建阳区"
  14612. }, {
  14613. "value": "顺昌县",
  14614. "label": "顺昌县"
  14615. }, {
  14616. "value": "浦城县",
  14617. "label": "浦城县"
  14618. }, {
  14619. "value": "光泽县",
  14620. "label": "光泽县"
  14621. }, {
  14622. "value": "松溪县",
  14623. "label": "松溪县"
  14624. }, {
  14625. "value": "政和县",
  14626. "label": "政和县"
  14627. }, {
  14628. "value": "邵武市",
  14629. "label": "邵武市"
  14630. }, {
  14631. "value": "武夷山市",
  14632. "label": "武夷山市"
  14633. }, {
  14634. "value": "建瓯市",
  14635. "label": "建瓯市"
  14636. }]
  14637. }, {
  14638. "value": "龙岩市",
  14639. "label": "龙岩市",
  14640. "children": [{
  14641. "value": "新罗区",
  14642. "label": "新罗区"
  14643. }, {
  14644. "value": "永定区",
  14645. "label": "永定区"
  14646. }, {
  14647. "value": "长汀县",
  14648. "label": "长汀县"
  14649. }, {
  14650. "value": "上杭县",
  14651. "label": "上杭县"
  14652. }, {
  14653. "value": "武平县",
  14654. "label": "武平县"
  14655. }, {
  14656. "value": "连城县",
  14657. "label": "连城县"
  14658. }, {
  14659. "value": "漳平市",
  14660. "label": "漳平市"
  14661. }]
  14662. }, {
  14663. "value": "宁德市",
  14664. "label": "宁德市",
  14665. "children": [{
  14666. "value": "蕉城区",
  14667. "label": "蕉城区"
  14668. }, {
  14669. "value": "霞浦县",
  14670. "label": "霞浦县"
  14671. }, {
  14672. "value": "古田县",
  14673. "label": "古田县"
  14674. }, {
  14675. "value": "屏南县",
  14676. "label": "屏南县"
  14677. }, {
  14678. "value": "寿宁县",
  14679. "label": "寿宁县"
  14680. }, {
  14681. "value": "周宁县",
  14682. "label": "周宁县"
  14683. }, {
  14684. "value": "柘荣县",
  14685. "label": "柘荣县"
  14686. }, {
  14687. "value": "福安市",
  14688. "label": "福安市"
  14689. }, {
  14690. "value": "福鼎市",
  14691. "label": "福鼎市"
  14692. }]
  14693. }]
  14694. }, {
  14695. "value": "江西省",
  14696. "label": "江西省",
  14697. "children": [{
  14698. "value": "南昌市",
  14699. "label": "南昌市",
  14700. "children": [{
  14701. "value": "东湖区",
  14702. "label": "东湖区"
  14703. }, {
  14704. "value": "西湖区",
  14705. "label": "西湖区"
  14706. }, {
  14707. "value": "青云谱区",
  14708. "label": "青云谱区"
  14709. }, {
  14710. "value": "湾里区",
  14711. "label": "湾里区"
  14712. }, {
  14713. "value": "青山湖区",
  14714. "label": "青山湖区"
  14715. }, {
  14716. "value": "新建区",
  14717. "label": "新建区"
  14718. }, {
  14719. "value": "南昌县",
  14720. "label": "南昌县"
  14721. }, {
  14722. "value": "安义县",
  14723. "label": "安义县"
  14724. }, {
  14725. "value": "进贤县",
  14726. "label": "进贤县"
  14727. }]
  14728. }, {
  14729. "value": "景德镇市",
  14730. "label": "景德镇市",
  14731. "children": [{
  14732. "value": "昌江区",
  14733. "label": "昌江区"
  14734. }, {
  14735. "value": "珠山区",
  14736. "label": "珠山区"
  14737. }, {
  14738. "value": "浮梁县",
  14739. "label": "浮梁县"
  14740. }, {
  14741. "value": "乐平市",
  14742. "label": "乐平市"
  14743. }]
  14744. }, {
  14745. "value": "萍乡市",
  14746. "label": "萍乡市",
  14747. "children": [{
  14748. "value": "安源区",
  14749. "label": "安源区"
  14750. }, {
  14751. "value": "湘东区",
  14752. "label": "湘东区"
  14753. }, {
  14754. "value": "莲花县",
  14755. "label": "莲花县"
  14756. }, {
  14757. "value": "上栗县",
  14758. "label": "上栗县"
  14759. }, {
  14760. "value": "芦溪县",
  14761. "label": "芦溪县"
  14762. }]
  14763. }, {
  14764. "value": "九江市",
  14765. "label": "九江市",
  14766. "children": [{
  14767. "value": "濂溪区",
  14768. "label": "濂溪区"
  14769. }, {
  14770. "value": "浔阳区",
  14771. "label": "浔阳区"
  14772. }, {
  14773. "value": "九江县",
  14774. "label": "九江县"
  14775. }, {
  14776. "value": "武宁县",
  14777. "label": "武宁县"
  14778. }, {
  14779. "value": "修水县",
  14780. "label": "修水县"
  14781. }, {
  14782. "value": "永修县",
  14783. "label": "永修县"
  14784. }, {
  14785. "value": "德安县",
  14786. "label": "德安县"
  14787. }, {
  14788. "value": "都昌县",
  14789. "label": "都昌县"
  14790. }, {
  14791. "value": "湖口县",
  14792. "label": "湖口县"
  14793. }, {
  14794. "value": "彭泽县",
  14795. "label": "彭泽县"
  14796. }, {
  14797. "value": "瑞昌市",
  14798. "label": "瑞昌市"
  14799. }, {
  14800. "value": "共青城市",
  14801. "label": "共青城市"
  14802. }, {
  14803. "value": "庐山市",
  14804. "label": "庐山市"
  14805. }]
  14806. }, {
  14807. "value": "新余市",
  14808. "label": "新余市",
  14809. "children": [{
  14810. "value": "渝水区",
  14811. "label": "渝水区"
  14812. }, {
  14813. "value": "分宜县",
  14814. "label": "分宜县"
  14815. }]
  14816. }, {
  14817. "value": "鹰潭市",
  14818. "label": "鹰潭市",
  14819. "children": [{
  14820. "value": "月湖区",
  14821. "label": "月湖区"
  14822. }, {
  14823. "value": "余江县",
  14824. "label": "余江县"
  14825. }, {
  14826. "value": "贵溪市",
  14827. "label": "贵溪市"
  14828. }]
  14829. }, {
  14830. "value": "赣州市",
  14831. "label": "赣州市",
  14832. "children": [{
  14833. "value": "章贡区",
  14834. "label": "章贡区"
  14835. }, {
  14836. "value": "南康区",
  14837. "label": "南康区"
  14838. }, {
  14839. "value": "赣县",
  14840. "label": "赣县"
  14841. }, {
  14842. "value": "信丰县",
  14843. "label": "信丰县"
  14844. }, {
  14845. "value": "大余县",
  14846. "label": "大余县"
  14847. }, {
  14848. "value": "上犹县",
  14849. "label": "上犹县"
  14850. }, {
  14851. "value": "崇义县",
  14852. "label": "崇义县"
  14853. }, {
  14854. "value": "安远县",
  14855. "label": "安远县"
  14856. }, {
  14857. "value": "龙南县",
  14858. "label": "龙南县"
  14859. }, {
  14860. "value": "定南县",
  14861. "label": "定南县"
  14862. }, {
  14863. "value": "全南县",
  14864. "label": "全南县"
  14865. }, {
  14866. "value": "宁都县",
  14867. "label": "宁都县"
  14868. }, {
  14869. "value": "于都县",
  14870. "label": "于都县"
  14871. }, {
  14872. "value": "兴国县",
  14873. "label": "兴国县"
  14874. }, {
  14875. "value": "会昌县",
  14876. "label": "会昌县"
  14877. }, {
  14878. "value": "寻乌县",
  14879. "label": "寻乌县"
  14880. }, {
  14881. "value": "石城县",
  14882. "label": "石城县"
  14883. }, {
  14884. "value": "瑞金市",
  14885. "label": "瑞金市"
  14886. }]
  14887. }, {
  14888. "value": "吉安市",
  14889. "label": "吉安市",
  14890. "children": [{
  14891. "value": "吉州区",
  14892. "label": "吉州区"
  14893. }, {
  14894. "value": "青原区",
  14895. "label": "青原区"
  14896. }, {
  14897. "value": "吉安县",
  14898. "label": "吉安县"
  14899. }, {
  14900. "value": "吉水县",
  14901. "label": "吉水县"
  14902. }, {
  14903. "value": "峡江县",
  14904. "label": "峡江县"
  14905. }, {
  14906. "value": "新干县",
  14907. "label": "新干县"
  14908. }, {
  14909. "value": "永丰县",
  14910. "label": "永丰县"
  14911. }, {
  14912. "value": "泰和县",
  14913. "label": "泰和县"
  14914. }, {
  14915. "value": "遂川县",
  14916. "label": "遂川县"
  14917. }, {
  14918. "value": "万安县",
  14919. "label": "万安县"
  14920. }, {
  14921. "value": "安福县",
  14922. "label": "安福县"
  14923. }, {
  14924. "value": "永新县",
  14925. "label": "永新县"
  14926. }, {
  14927. "value": "井冈山市",
  14928. "label": "井冈山市"
  14929. }]
  14930. }, {
  14931. "value": "宜春市",
  14932. "label": "宜春市",
  14933. "children": [{
  14934. "value": "袁州区",
  14935. "label": "袁州区"
  14936. }, {
  14937. "value": "奉新县",
  14938. "label": "奉新县"
  14939. }, {
  14940. "value": "万载县",
  14941. "label": "万载县"
  14942. }, {
  14943. "value": "上高县",
  14944. "label": "上高县"
  14945. }, {
  14946. "value": "宜丰县",
  14947. "label": "宜丰县"
  14948. }, {
  14949. "value": "靖安县",
  14950. "label": "靖安县"
  14951. }, {
  14952. "value": "铜鼓县",
  14953. "label": "铜鼓县"
  14954. }, {
  14955. "value": "丰城市",
  14956. "label": "丰城市"
  14957. }, {
  14958. "value": "樟树市",
  14959. "label": "樟树市"
  14960. }, {
  14961. "value": "高安市",
  14962. "label": "高安市"
  14963. }]
  14964. }, {
  14965. "value": "抚州市",
  14966. "label": "抚州市",
  14967. "children": [{
  14968. "value": "临川区",
  14969. "label": "临川区"
  14970. }, {
  14971. "value": "南城县",
  14972. "label": "南城县"
  14973. }, {
  14974. "value": "黎川县",
  14975. "label": "黎川县"
  14976. }, {
  14977. "value": "南丰县",
  14978. "label": "南丰县"
  14979. }, {
  14980. "value": "崇仁县",
  14981. "label": "崇仁县"
  14982. }, {
  14983. "value": "乐安县",
  14984. "label": "乐安县"
  14985. }, {
  14986. "value": "宜黄县",
  14987. "label": "宜黄县"
  14988. }, {
  14989. "value": "金溪县",
  14990. "label": "金溪县"
  14991. }, {
  14992. "value": "资溪县",
  14993. "label": "资溪县"
  14994. }, {
  14995. "value": "东乡县",
  14996. "label": "东乡县"
  14997. }, {
  14998. "value": "广昌县",
  14999. "label": "广昌县"
  15000. }]
  15001. }, {
  15002. "value": "上饶市",
  15003. "label": "上饶市",
  15004. "children": [{
  15005. "value": "信州区",
  15006. "label": "信州区"
  15007. }, {
  15008. "value": "广丰区",
  15009. "label": "广丰区"
  15010. }, {
  15011. "value": "上饶县",
  15012. "label": "上饶县"
  15013. }, {
  15014. "value": "玉山县",
  15015. "label": "玉山县"
  15016. }, {
  15017. "value": "铅山县",
  15018. "label": "铅山县"
  15019. }, {
  15020. "value": "横峰县",
  15021. "label": "横峰县"
  15022. }, {
  15023. "value": "弋阳县",
  15024. "label": "弋阳县"
  15025. }, {
  15026. "value": "余干县",
  15027. "label": "余干县"
  15028. }, {
  15029. "value": "鄱阳县",
  15030. "label": "鄱阳县"
  15031. }, {
  15032. "value": "万年县",
  15033. "label": "万年县"
  15034. }, {
  15035. "value": "婺源县",
  15036. "label": "婺源县"
  15037. }, {
  15038. "value": "德兴市",
  15039. "label": "德兴市"
  15040. }]
  15041. }]
  15042. }, {
  15043. "value": "山东省",
  15044. "label": "山东省",
  15045. "children": [{
  15046. "value": "济南市",
  15047. "label": "济南市",
  15048. "children": [{
  15049. "value": "历下区",
  15050. "label": "历下区"
  15051. }, {
  15052. "value": "市中区",
  15053. "label": "市中区"
  15054. }, {
  15055. "value": "槐荫区",
  15056. "label": "槐荫区"
  15057. }, {
  15058. "value": "天桥区",
  15059. "label": "天桥区"
  15060. }, {
  15061. "value": "历城区",
  15062. "label": "历城区"
  15063. }, {
  15064. "value": "长清区",
  15065. "label": "长清区"
  15066. }, {
  15067. "value": "平阴县",
  15068. "label": "平阴县"
  15069. }, {
  15070. "value": "济阳县",
  15071. "label": "济阳县"
  15072. }, {
  15073. "value": "商河县",
  15074. "label": "商河县"
  15075. }, {
  15076. "value": "章丘市",
  15077. "label": "章丘市"
  15078. }]
  15079. }, {
  15080. "value": "青岛市",
  15081. "label": "青岛市",
  15082. "children": [{
  15083. "value": "市南区",
  15084. "label": "市南区"
  15085. }, {
  15086. "value": "市北区",
  15087. "label": "市北区"
  15088. }, {
  15089. "value": "黄岛区",
  15090. "label": "黄岛区"
  15091. }, {
  15092. "value": "崂山区",
  15093. "label": "崂山区"
  15094. }, {
  15095. "value": "李沧区",
  15096. "label": "李沧区"
  15097. }, {
  15098. "value": "城阳区",
  15099. "label": "城阳区"
  15100. }, {
  15101. "value": "胶州市",
  15102. "label": "胶州市"
  15103. }, {
  15104. "value": "即墨市",
  15105. "label": "即墨市"
  15106. }, {
  15107. "value": "平度市",
  15108. "label": "平度市"
  15109. }, {
  15110. "value": "莱西市",
  15111. "label": "莱西市"
  15112. }]
  15113. }, {
  15114. "value": "淄博市",
  15115. "label": "淄博市",
  15116. "children": [{
  15117. "value": "淄川区",
  15118. "label": "淄川区"
  15119. }, {
  15120. "value": "张店区",
  15121. "label": "张店区"
  15122. }, {
  15123. "value": "博山区",
  15124. "label": "博山区"
  15125. }, {
  15126. "value": "临淄区",
  15127. "label": "临淄区"
  15128. }, {
  15129. "value": "周村区",
  15130. "label": "周村区"
  15131. }, {
  15132. "value": "桓台县",
  15133. "label": "桓台县"
  15134. }, {
  15135. "value": "高青县",
  15136. "label": "高青县"
  15137. }, {
  15138. "value": "沂源县",
  15139. "label": "沂源县"
  15140. }]
  15141. }, {
  15142. "value": "枣庄市",
  15143. "label": "枣庄市",
  15144. "children": [{
  15145. "value": "市中区",
  15146. "label": "市中区"
  15147. }, {
  15148. "value": "薛城区",
  15149. "label": "薛城区"
  15150. }, {
  15151. "value": "峄城区",
  15152. "label": "峄城区"
  15153. }, {
  15154. "value": "台儿庄区",
  15155. "label": "台儿庄区"
  15156. }, {
  15157. "value": "山亭区",
  15158. "label": "山亭区"
  15159. }, {
  15160. "value": "滕州市",
  15161. "label": "滕州市"
  15162. }]
  15163. }, {
  15164. "value": "东营市",
  15165. "label": "东营市",
  15166. "children": [{
  15167. "value": "东营区",
  15168. "label": "东营区"
  15169. }, {
  15170. "value": "河口区",
  15171. "label": "河口区"
  15172. }, {
  15173. "value": "垦利区",
  15174. "label": "垦利区"
  15175. }, {
  15176. "value": "利津县",
  15177. "label": "利津县"
  15178. }, {
  15179. "value": "广饶县",
  15180. "label": "广饶县"
  15181. }]
  15182. }, {
  15183. "value": "烟台市",
  15184. "label": "烟台市",
  15185. "children": [{
  15186. "value": "芝罘区",
  15187. "label": "芝罘区"
  15188. }, {
  15189. "value": "福山区",
  15190. "label": "福山区"
  15191. }, {
  15192. "value": "牟平区",
  15193. "label": "牟平区"
  15194. }, {
  15195. "value": "莱山区",
  15196. "label": "莱山区"
  15197. }, {
  15198. "value": "长岛县",
  15199. "label": "长岛县"
  15200. }, {
  15201. "value": "龙口市",
  15202. "label": "龙口市"
  15203. }, {
  15204. "value": "莱阳市",
  15205. "label": "莱阳市"
  15206. }, {
  15207. "value": "莱州市",
  15208. "label": "莱州市"
  15209. }, {
  15210. "value": "蓬莱市",
  15211. "label": "蓬莱市"
  15212. }, {
  15213. "value": "招远市",
  15214. "label": "招远市"
  15215. }, {
  15216. "value": "栖霞市",
  15217. "label": "栖霞市"
  15218. }, {
  15219. "value": "海阳市",
  15220. "label": "海阳市"
  15221. }]
  15222. }, {
  15223. "value": "潍坊市",
  15224. "label": "潍坊市",
  15225. "children": [{
  15226. "value": "潍城区",
  15227. "label": "潍城区"
  15228. }, {
  15229. "value": "寒亭区",
  15230. "label": "寒亭区"
  15231. }, {
  15232. "value": "坊子区",
  15233. "label": "坊子区"
  15234. }, {
  15235. "value": "奎文区",
  15236. "label": "奎文区"
  15237. }, {
  15238. "value": "临朐县",
  15239. "label": "临朐县"
  15240. }, {
  15241. "value": "昌乐县",
  15242. "label": "昌乐县"
  15243. }, {
  15244. "value": "青州市",
  15245. "label": "青州市"
  15246. }, {
  15247. "value": "诸城市",
  15248. "label": "诸城市"
  15249. }, {
  15250. "value": "寿光市",
  15251. "label": "寿光市"
  15252. }, {
  15253. "value": "安丘市",
  15254. "label": "安丘市"
  15255. }, {
  15256. "value": "高密市",
  15257. "label": "高密市"
  15258. }, {
  15259. "value": "昌邑市",
  15260. "label": "昌邑市"
  15261. }]
  15262. }, {
  15263. "value": "济宁市",
  15264. "label": "济宁市",
  15265. "children": [{
  15266. "value": "任城区",
  15267. "label": "任城区"
  15268. }, {
  15269. "value": "兖州区",
  15270. "label": "兖州区"
  15271. }, {
  15272. "value": "微山县",
  15273. "label": "微山县"
  15274. }, {
  15275. "value": "鱼台县",
  15276. "label": "鱼台县"
  15277. }, {
  15278. "value": "金乡县",
  15279. "label": "金乡县"
  15280. }, {
  15281. "value": "嘉祥县",
  15282. "label": "嘉祥县"
  15283. }, {
  15284. "value": "汶上县",
  15285. "label": "汶上县"
  15286. }, {
  15287. "value": "泗水县",
  15288. "label": "泗水县"
  15289. }, {
  15290. "value": "梁山县",
  15291. "label": "梁山县"
  15292. }, {
  15293. "value": "曲阜市",
  15294. "label": "曲阜市"
  15295. }, {
  15296. "value": "邹城市",
  15297. "label": "邹城市"
  15298. }]
  15299. }, {
  15300. "value": "泰安市",
  15301. "label": "泰安市",
  15302. "children": [{
  15303. "value": "泰山区",
  15304. "label": "泰山区"
  15305. }, {
  15306. "value": "岱岳区",
  15307. "label": "岱岳区"
  15308. }, {
  15309. "value": "宁阳县",
  15310. "label": "宁阳县"
  15311. }, {
  15312. "value": "东平县",
  15313. "label": "东平县"
  15314. }, {
  15315. "value": "新泰市",
  15316. "label": "新泰市"
  15317. }, {
  15318. "value": "肥城市",
  15319. "label": "肥城市"
  15320. }]
  15321. }, {
  15322. "value": "威海市",
  15323. "label": "威海市",
  15324. "children": [{
  15325. "value": "环翠区",
  15326. "label": "环翠区"
  15327. }, {
  15328. "value": "文登区",
  15329. "label": "文登区"
  15330. }, {
  15331. "value": "荣成市",
  15332. "label": "荣成市"
  15333. }, {
  15334. "value": "乳山市",
  15335. "label": "乳山市"
  15336. }]
  15337. }, {
  15338. "value": "日照市",
  15339. "label": "日照市",
  15340. "children": [{
  15341. "value": "东港区",
  15342. "label": "东港区"
  15343. }, {
  15344. "value": "岚山区",
  15345. "label": "岚山区"
  15346. }, {
  15347. "value": "五莲县",
  15348. "label": "五莲县"
  15349. }, {
  15350. "value": "莒县",
  15351. "label": "莒县"
  15352. }]
  15353. }, {
  15354. "value": "莱芜市",
  15355. "label": "莱芜市",
  15356. "children": [{
  15357. "value": "莱城区",
  15358. "label": "莱城区"
  15359. }, {
  15360. "value": "钢城区",
  15361. "label": "钢城区"
  15362. }]
  15363. }, {
  15364. "value": "临沂市",
  15365. "label": "临沂市",
  15366. "children": [{
  15367. "value": "兰山区",
  15368. "label": "兰山区"
  15369. }, {
  15370. "value": "罗庄区",
  15371. "label": "罗庄区"
  15372. }, {
  15373. "value": "河东区",
  15374. "label": "河东区"
  15375. }, {
  15376. "value": "沂南县",
  15377. "label": "沂南县"
  15378. }, {
  15379. "value": "郯城县",
  15380. "label": "郯城县"
  15381. }, {
  15382. "value": "沂水县",
  15383. "label": "沂水县"
  15384. }, {
  15385. "value": "兰陵县",
  15386. "label": "兰陵县"
  15387. }, {
  15388. "value": "费县",
  15389. "label": "费县"
  15390. }, {
  15391. "value": "平邑县",
  15392. "label": "平邑县"
  15393. }, {
  15394. "value": "莒南县",
  15395. "label": "莒南县"
  15396. }, {
  15397. "value": "蒙阴县",
  15398. "label": "蒙阴县"
  15399. }, {
  15400. "value": "临沭县",
  15401. "label": "临沭县"
  15402. }]
  15403. }, {
  15404. "value": "德州市",
  15405. "label": "德州市",
  15406. "children": [{
  15407. "value": "德城区",
  15408. "label": "德城区"
  15409. }, {
  15410. "value": "陵城区",
  15411. "label": "陵城区"
  15412. }, {
  15413. "value": "宁津县",
  15414. "label": "宁津县"
  15415. }, {
  15416. "value": "庆云县",
  15417. "label": "庆云县"
  15418. }, {
  15419. "value": "临邑县",
  15420. "label": "临邑县"
  15421. }, {
  15422. "value": "齐河县",
  15423. "label": "齐河县"
  15424. }, {
  15425. "value": "平原县",
  15426. "label": "平原县"
  15427. }, {
  15428. "value": "夏津县",
  15429. "label": "夏津县"
  15430. }, {
  15431. "value": "武城县",
  15432. "label": "武城县"
  15433. }, {
  15434. "value": "乐陵市",
  15435. "label": "乐陵市"
  15436. }, {
  15437. "value": "禹城市",
  15438. "label": "禹城市"
  15439. }]
  15440. }, {
  15441. "value": "聊城市",
  15442. "label": "聊城市",
  15443. "children": [{
  15444. "value": "东昌府区",
  15445. "label": "东昌府区"
  15446. }, {
  15447. "value": "阳谷县",
  15448. "label": "阳谷县"
  15449. }, {
  15450. "value": "莘县",
  15451. "label": "莘县"
  15452. }, {
  15453. "value": "茌平县",
  15454. "label": "茌平县"
  15455. }, {
  15456. "value": "东阿县",
  15457. "label": "东阿县"
  15458. }, {
  15459. "value": "冠县",
  15460. "label": "冠县"
  15461. }, {
  15462. "value": "高唐县",
  15463. "label": "高唐县"
  15464. }, {
  15465. "value": "临清市",
  15466. "label": "临清市"
  15467. }]
  15468. }, {
  15469. "value": "滨州市",
  15470. "label": "滨州市",
  15471. "children": [{
  15472. "value": "滨城区",
  15473. "label": "滨城区"
  15474. }, {
  15475. "value": "沾化区",
  15476. "label": "沾化区"
  15477. }, {
  15478. "value": "惠民县",
  15479. "label": "惠民县"
  15480. }, {
  15481. "value": "阳信县",
  15482. "label": "阳信县"
  15483. }, {
  15484. "value": "无棣县",
  15485. "label": "无棣县"
  15486. }, {
  15487. "value": "博兴县",
  15488. "label": "博兴县"
  15489. }, {
  15490. "value": "邹平县",
  15491. "label": "邹平县"
  15492. }]
  15493. }, {
  15494. "value": "菏泽市",
  15495. "label": "菏泽市",
  15496. "children": [{
  15497. "value": "牡丹区",
  15498. "label": "牡丹区"
  15499. }, {
  15500. "value": "定陶区",
  15501. "label": "定陶区"
  15502. }, {
  15503. "value": "曹县",
  15504. "label": "曹县"
  15505. }, {
  15506. "value": "单县",
  15507. "label": "单县"
  15508. }, {
  15509. "value": "成武县",
  15510. "label": "成武县"
  15511. }, {
  15512. "value": "巨野县",
  15513. "label": "巨野县"
  15514. }, {
  15515. "value": "郓城县",
  15516. "label": "郓城县"
  15517. }, {
  15518. "value": "鄄城县",
  15519. "label": "鄄城县"
  15520. }, {
  15521. "value": "东明县",
  15522. "label": "东明县"
  15523. }]
  15524. }]
  15525. }, {
  15526. "value": "河南省",
  15527. "label": "河南省",
  15528. "children": [{
  15529. "value": "郑州市",
  15530. "label": "郑州市",
  15531. "children": [{
  15532. "value": "中原区",
  15533. "label": "中原区"
  15534. }, {
  15535. "value": "二七区",
  15536. "label": "二七区"
  15537. }, {
  15538. "value": "管城回族区",
  15539. "label": "管城回族区"
  15540. }, {
  15541. "value": "金水区",
  15542. "label": "金水区"
  15543. }, {
  15544. "value": "上街区",
  15545. "label": "上街区"
  15546. }, {
  15547. "value": "惠济区",
  15548. "label": "惠济区"
  15549. }, {
  15550. "value": "中牟县",
  15551. "label": "中牟县"
  15552. }, {
  15553. "value": "巩义市",
  15554. "label": "巩义市"
  15555. }, {
  15556. "value": "荥阳市",
  15557. "label": "荥阳市"
  15558. }, {
  15559. "value": "新密市",
  15560. "label": "新密市"
  15561. }, {
  15562. "value": "新郑市",
  15563. "label": "新郑市"
  15564. }, {
  15565. "value": "登封市",
  15566. "label": "登封市"
  15567. }]
  15568. }, {
  15569. "value": "开封市",
  15570. "label": "开封市",
  15571. "children": [{
  15572. "value": "龙亭区",
  15573. "label": "龙亭区"
  15574. }, {
  15575. "value": "顺河回族区",
  15576. "label": "顺河回族区"
  15577. }, {
  15578. "value": "鼓楼区",
  15579. "label": "鼓楼区"
  15580. }, {
  15581. "value": "禹王台区",
  15582. "label": "禹王台区"
  15583. }, {
  15584. "value": "金明区",
  15585. "label": "金明区"
  15586. }, {
  15587. "value": "祥符区",
  15588. "label": "祥符区"
  15589. }, {
  15590. "value": "杞县",
  15591. "label": "杞县"
  15592. }, {
  15593. "value": "通许县",
  15594. "label": "通许县"
  15595. }, {
  15596. "value": "尉氏县",
  15597. "label": "尉氏县"
  15598. }, {
  15599. "value": "兰考县",
  15600. "label": "兰考县"
  15601. }]
  15602. }, {
  15603. "value": "洛阳市",
  15604. "label": "洛阳市",
  15605. "children": [{
  15606. "value": "老城区",
  15607. "label": "老城区"
  15608. }, {
  15609. "value": "西工区",
  15610. "label": "西工区"
  15611. }, {
  15612. "value": "瀍河回族区",
  15613. "label": "瀍河回族区"
  15614. }, {
  15615. "value": "涧西区",
  15616. "label": "涧西区"
  15617. }, {
  15618. "value": "吉利区",
  15619. "label": "吉利区"
  15620. }, {
  15621. "value": "洛龙区",
  15622. "label": "洛龙区"
  15623. }, {
  15624. "value": "孟津县",
  15625. "label": "孟津县"
  15626. }, {
  15627. "value": "新安县",
  15628. "label": "新安县"
  15629. }, {
  15630. "value": "栾川县",
  15631. "label": "栾川县"
  15632. }, {
  15633. "value": "嵩县",
  15634. "label": "嵩县"
  15635. }, {
  15636. "value": "汝阳县",
  15637. "label": "汝阳县"
  15638. }, {
  15639. "value": "宜阳县",
  15640. "label": "宜阳县"
  15641. }, {
  15642. "value": "洛宁县",
  15643. "label": "洛宁县"
  15644. }, {
  15645. "value": "伊川县",
  15646. "label": "伊川县"
  15647. }, {
  15648. "value": "偃师市",
  15649. "label": "偃师市"
  15650. }]
  15651. }, {
  15652. "value": "平顶山市",
  15653. "label": "平顶山市",
  15654. "children": [{
  15655. "value": "新华区",
  15656. "label": "新华区"
  15657. }, {
  15658. "value": "卫东区",
  15659. "label": "卫东区"
  15660. }, {
  15661. "value": "石龙区",
  15662. "label": "石龙区"
  15663. }, {
  15664. "value": "湛河区",
  15665. "label": "湛河区"
  15666. }, {
  15667. "value": "宝丰县",
  15668. "label": "宝丰县"
  15669. }, {
  15670. "value": "叶县",
  15671. "label": "叶县"
  15672. }, {
  15673. "value": "鲁山县",
  15674. "label": "鲁山县"
  15675. }, {
  15676. "value": "郏县",
  15677. "label": "郏县"
  15678. }, {
  15679. "value": "舞钢市",
  15680. "label": "舞钢市"
  15681. }, {
  15682. "value": "汝州市",
  15683. "label": "汝州市"
  15684. }]
  15685. }, {
  15686. "value": "安阳市",
  15687. "label": "安阳市",
  15688. "children": [{
  15689. "value": "文峰区",
  15690. "label": "文峰区"
  15691. }, {
  15692. "value": "北关区",
  15693. "label": "北关区"
  15694. }, {
  15695. "value": "殷都区",
  15696. "label": "殷都区"
  15697. }, {
  15698. "value": "龙安区",
  15699. "label": "龙安区"
  15700. }, {
  15701. "value": "安阳县",
  15702. "label": "安阳县"
  15703. }, {
  15704. "value": "汤阴县",
  15705. "label": "汤阴县"
  15706. }, {
  15707. "value": "滑县",
  15708. "label": "滑县"
  15709. }, {
  15710. "value": "内黄县",
  15711. "label": "内黄县"
  15712. }, {
  15713. "value": "林州市",
  15714. "label": "林州市"
  15715. }]
  15716. }, {
  15717. "value": "鹤壁市",
  15718. "label": "鹤壁市",
  15719. "children": [{
  15720. "value": "鹤山区",
  15721. "label": "鹤山区"
  15722. }, {
  15723. "value": "山城区",
  15724. "label": "山城区"
  15725. }, {
  15726. "value": "淇滨区",
  15727. "label": "淇滨区"
  15728. }, {
  15729. "value": "浚县",
  15730. "label": "浚县"
  15731. }, {
  15732. "value": "淇县",
  15733. "label": "淇县"
  15734. }]
  15735. }, {
  15736. "value": "新乡市",
  15737. "label": "新乡市",
  15738. "children": [{
  15739. "value": "红旗区",
  15740. "label": "红旗区"
  15741. }, {
  15742. "value": "卫滨区",
  15743. "label": "卫滨区"
  15744. }, {
  15745. "value": "凤泉区",
  15746. "label": "凤泉区"
  15747. }, {
  15748. "value": "牧野区",
  15749. "label": "牧野区"
  15750. }, {
  15751. "value": "新乡县",
  15752. "label": "新乡县"
  15753. }, {
  15754. "value": "获嘉县",
  15755. "label": "获嘉县"
  15756. }, {
  15757. "value": "原阳县",
  15758. "label": "原阳县"
  15759. }, {
  15760. "value": "延津县",
  15761. "label": "延津县"
  15762. }, {
  15763. "value": "封丘县",
  15764. "label": "封丘县"
  15765. }, {
  15766. "value": "长垣县",
  15767. "label": "长垣县"
  15768. }, {
  15769. "value": "卫辉市",
  15770. "label": "卫辉市"
  15771. }, {
  15772. "value": "辉县市",
  15773. "label": "辉县市"
  15774. }]
  15775. }, {
  15776. "value": "焦作市",
  15777. "label": "焦作市",
  15778. "children": [{
  15779. "value": "解放区",
  15780. "label": "解放区"
  15781. }, {
  15782. "value": "中站区",
  15783. "label": "中站区"
  15784. }, {
  15785. "value": "马村区",
  15786. "label": "马村区"
  15787. }, {
  15788. "value": "山阳区",
  15789. "label": "山阳区"
  15790. }, {
  15791. "value": "修武县",
  15792. "label": "修武县"
  15793. }, {
  15794. "value": "博爱县",
  15795. "label": "博爱县"
  15796. }, {
  15797. "value": "武陟县",
  15798. "label": "武陟县"
  15799. }, {
  15800. "value": "温县",
  15801. "label": "温县"
  15802. }, {
  15803. "value": "沁阳市",
  15804. "label": "沁阳市"
  15805. }, {
  15806. "value": "孟州市",
  15807. "label": "孟州市"
  15808. }]
  15809. }, {
  15810. "value": "濮阳市",
  15811. "label": "濮阳市",
  15812. "children": [{
  15813. "value": "华龙区",
  15814. "label": "华龙区"
  15815. }, {
  15816. "value": "清丰县",
  15817. "label": "清丰县"
  15818. }, {
  15819. "value": "南乐县",
  15820. "label": "南乐县"
  15821. }, {
  15822. "value": "范县",
  15823. "label": "范县"
  15824. }, {
  15825. "value": "台前县",
  15826. "label": "台前县"
  15827. }, {
  15828. "value": "濮阳县",
  15829. "label": "濮阳县"
  15830. }]
  15831. }, {
  15832. "value": "许昌市",
  15833. "label": "许昌市",
  15834. "children": [{
  15835. "value": "魏都区",
  15836. "label": "魏都区"
  15837. }, {
  15838. "value": "许昌县",
  15839. "label": "许昌县"
  15840. }, {
  15841. "value": "鄢陵县",
  15842. "label": "鄢陵县"
  15843. }, {
  15844. "value": "襄城县",
  15845. "label": "襄城县"
  15846. }, {
  15847. "value": "禹州市",
  15848. "label": "禹州市"
  15849. }, {
  15850. "value": "长葛市",
  15851. "label": "长葛市"
  15852. }]
  15853. }, {
  15854. "value": "漯河市",
  15855. "label": "漯河市",
  15856. "children": [{
  15857. "value": "源汇区",
  15858. "label": "源汇区"
  15859. }, {
  15860. "value": "郾城区",
  15861. "label": "郾城区"
  15862. }, {
  15863. "value": "召陵区",
  15864. "label": "召陵区"
  15865. }, {
  15866. "value": "舞阳县",
  15867. "label": "舞阳县"
  15868. }, {
  15869. "value": "临颍县",
  15870. "label": "临颍县"
  15871. }]
  15872. }, {
  15873. "value": "三门峡市",
  15874. "label": "三门峡市",
  15875. "children": [{
  15876. "value": "湖滨区",
  15877. "label": "湖滨区"
  15878. }, {
  15879. "value": "陕州区",
  15880. "label": "陕州区"
  15881. }, {
  15882. "value": "渑池县",
  15883. "label": "渑池县"
  15884. }, {
  15885. "value": "卢氏县",
  15886. "label": "卢氏县"
  15887. }, {
  15888. "value": "义马市",
  15889. "label": "义马市"
  15890. }, {
  15891. "value": "灵宝市",
  15892. "label": "灵宝市"
  15893. }]
  15894. }, {
  15895. "value": "南阳市",
  15896. "label": "南阳市",
  15897. "children": [{
  15898. "value": "宛城区",
  15899. "label": "宛城区"
  15900. }, {
  15901. "value": "卧龙区",
  15902. "label": "卧龙区"
  15903. }, {
  15904. "value": "南召县",
  15905. "label": "南召县"
  15906. }, {
  15907. "value": "方城县",
  15908. "label": "方城县"
  15909. }, {
  15910. "value": "西峡县",
  15911. "label": "西峡县"
  15912. }, {
  15913. "value": "镇平县",
  15914. "label": "镇平县"
  15915. }, {
  15916. "value": "内乡县",
  15917. "label": "内乡县"
  15918. }, {
  15919. "value": "淅川县",
  15920. "label": "淅川县"
  15921. }, {
  15922. "value": "社旗县",
  15923. "label": "社旗县"
  15924. }, {
  15925. "value": "唐河县",
  15926. "label": "唐河县"
  15927. }, {
  15928. "value": "新野县",
  15929. "label": "新野县"
  15930. }, {
  15931. "value": "桐柏县",
  15932. "label": "桐柏县"
  15933. }, {
  15934. "value": "邓州市",
  15935. "label": "邓州市"
  15936. }]
  15937. }, {
  15938. "value": "商丘市",
  15939. "label": "商丘市",
  15940. "children": [{
  15941. "value": "梁园区",
  15942. "label": "梁园区"
  15943. }, {
  15944. "value": "睢阳区",
  15945. "label": "睢阳区"
  15946. }, {
  15947. "value": "民权县",
  15948. "label": "民权县"
  15949. }, {
  15950. "value": "睢县",
  15951. "label": "睢县"
  15952. }, {
  15953. "value": "宁陵县",
  15954. "label": "宁陵县"
  15955. }, {
  15956. "value": "柘城县",
  15957. "label": "柘城县"
  15958. }, {
  15959. "value": "虞城县",
  15960. "label": "虞城县"
  15961. }, {
  15962. "value": "夏邑县",
  15963. "label": "夏邑县"
  15964. }, {
  15965. "value": "永城市",
  15966. "label": "永城市"
  15967. }]
  15968. }, {
  15969. "value": "信阳市",
  15970. "label": "信阳市",
  15971. "children": [{
  15972. "value": "浉河区",
  15973. "label": "浉河区"
  15974. }, {
  15975. "value": "平桥区",
  15976. "label": "平桥区"
  15977. }, {
  15978. "value": "罗山县",
  15979. "label": "罗山县"
  15980. }, {
  15981. "value": "光山县",
  15982. "label": "光山县"
  15983. }, {
  15984. "value": "新县",
  15985. "label": "新县"
  15986. }, {
  15987. "value": "商城县",
  15988. "label": "商城县"
  15989. }, {
  15990. "value": "固始县",
  15991. "label": "固始县"
  15992. }, {
  15993. "value": "潢川县",
  15994. "label": "潢川县"
  15995. }, {
  15996. "value": "淮滨县",
  15997. "label": "淮滨县"
  15998. }, {
  15999. "value": "息县",
  16000. "label": "息县"
  16001. }]
  16002. }, {
  16003. "value": "周口市",
  16004. "label": "周口市",
  16005. "children": [{
  16006. "value": "川汇区",
  16007. "label": "川汇区"
  16008. }, {
  16009. "value": "扶沟县",
  16010. "label": "扶沟县"
  16011. }, {
  16012. "value": "西华县",
  16013. "label": "西华县"
  16014. }, {
  16015. "value": "商水县",
  16016. "label": "商水县"
  16017. }, {
  16018. "value": "沈丘县",
  16019. "label": "沈丘县"
  16020. }, {
  16021. "value": "郸城县",
  16022. "label": "郸城县"
  16023. }, {
  16024. "value": "淮阳县",
  16025. "label": "淮阳县"
  16026. }, {
  16027. "value": "太康县",
  16028. "label": "太康县"
  16029. }, {
  16030. "value": "鹿邑县",
  16031. "label": "鹿邑县"
  16032. }, {
  16033. "value": "项城市",
  16034. "label": "项城市"
  16035. }]
  16036. }, {
  16037. "value": "驻马店市",
  16038. "label": "驻马店市",
  16039. "children": [{
  16040. "value": "驿城区",
  16041. "label": "驿城区"
  16042. }, {
  16043. "value": "西平县",
  16044. "label": "西平县"
  16045. }, {
  16046. "value": "上蔡县",
  16047. "label": "上蔡县"
  16048. }, {
  16049. "value": "平舆县",
  16050. "label": "平舆县"
  16051. }, {
  16052. "value": "正阳县",
  16053. "label": "正阳县"
  16054. }, {
  16055. "value": "确山县",
  16056. "label": "确山县"
  16057. }, {
  16058. "value": "泌阳县",
  16059. "label": "泌阳县"
  16060. }, {
  16061. "value": "汝南县",
  16062. "label": "汝南县"
  16063. }, {
  16064. "value": "遂平县",
  16065. "label": "遂平县"
  16066. }, {
  16067. "value": "新蔡县",
  16068. "label": "新蔡县"
  16069. }]
  16070. }, {
  16071. "value": "省直辖县级行政区划",
  16072. "label": "省直辖县级行政区划",
  16073. "children": [{
  16074. "value": "济源市",
  16075. "label": "济源市"
  16076. }]
  16077. }]
  16078. }, {
  16079. "value": "湖北省",
  16080. "label": "湖北省",
  16081. "children": [{
  16082. "value": "武汉市",
  16083. "label": "武汉市",
  16084. "children": [{
  16085. "value": "江岸区",
  16086. "label": "江岸区"
  16087. }, {
  16088. "value": "江汉区",
  16089. "label": "江汉区"
  16090. }, {
  16091. "value": "硚口区",
  16092. "label": "硚口区"
  16093. }, {
  16094. "value": "汉阳区",
  16095. "label": "汉阳区"
  16096. }, {
  16097. "value": "武昌区",
  16098. "label": "武昌区"
  16099. }, {
  16100. "value": "青山区",
  16101. "label": "青山区"
  16102. }, {
  16103. "value": "洪山区",
  16104. "label": "洪山区"
  16105. }, {
  16106. "value": "东西湖区",
  16107. "label": "东西湖区"
  16108. }, {
  16109. "value": "汉南区",
  16110. "label": "汉南区"
  16111. }, {
  16112. "value": "蔡甸区",
  16113. "label": "蔡甸区"
  16114. }, {
  16115. "value": "江夏区",
  16116. "label": "江夏区"
  16117. }, {
  16118. "value": "黄陂区",
  16119. "label": "黄陂区"
  16120. }, {
  16121. "value": "新洲区",
  16122. "label": "新洲区"
  16123. }]
  16124. }, {
  16125. "value": "黄石市",
  16126. "label": "黄石市",
  16127. "children": [{
  16128. "value": "黄石港区",
  16129. "label": "黄石港区"
  16130. }, {
  16131. "value": "西塞山区",
  16132. "label": "西塞山区"
  16133. }, {
  16134. "value": "下陆区",
  16135. "label": "下陆区"
  16136. }, {
  16137. "value": "铁山区",
  16138. "label": "铁山区"
  16139. }, {
  16140. "value": "阳新县",
  16141. "label": "阳新县"
  16142. }, {
  16143. "value": "大冶市",
  16144. "label": "大冶市"
  16145. }]
  16146. }, {
  16147. "value": "十堰市",
  16148. "label": "十堰市",
  16149. "children": [{
  16150. "value": "茅箭区",
  16151. "label": "茅箭区"
  16152. }, {
  16153. "value": "张湾区",
  16154. "label": "张湾区"
  16155. }, {
  16156. "value": "郧阳区",
  16157. "label": "郧阳区"
  16158. }, {
  16159. "value": "郧西县",
  16160. "label": "郧西县"
  16161. }, {
  16162. "value": "竹山县",
  16163. "label": "竹山县"
  16164. }, {
  16165. "value": "竹溪县",
  16166. "label": "竹溪县"
  16167. }, {
  16168. "value": "房县",
  16169. "label": "房县"
  16170. }, {
  16171. "value": "丹江口市",
  16172. "label": "丹江口市"
  16173. }]
  16174. }, {
  16175. "value": "宜昌市",
  16176. "label": "宜昌市",
  16177. "children": [{
  16178. "value": "西陵区",
  16179. "label": "西陵区"
  16180. }, {
  16181. "value": "伍家岗区",
  16182. "label": "伍家岗区"
  16183. }, {
  16184. "value": "点军区",
  16185. "label": "点军区"
  16186. }, {
  16187. "value": "猇亭区",
  16188. "label": "猇亭区"
  16189. }, {
  16190. "value": "夷陵区",
  16191. "label": "夷陵区"
  16192. }, {
  16193. "value": "远安县",
  16194. "label": "远安县"
  16195. }, {
  16196. "value": "兴山县",
  16197. "label": "兴山县"
  16198. }, {
  16199. "value": "秭归县",
  16200. "label": "秭归县"
  16201. }, {
  16202. "value": "长阳土家族自治县",
  16203. "label": "长阳土家族自治县"
  16204. }, {
  16205. "value": "五峰土家族自治县",
  16206. "label": "五峰土家族自治县"
  16207. }, {
  16208. "value": "宜都市",
  16209. "label": "宜都市"
  16210. }, {
  16211. "value": "当阳市",
  16212. "label": "当阳市"
  16213. }, {
  16214. "value": "枝江市",
  16215. "label": "枝江市"
  16216. }]
  16217. }, {
  16218. "value": "襄阳市",
  16219. "label": "襄阳市",
  16220. "children": [{
  16221. "value": "襄城区",
  16222. "label": "襄城区"
  16223. }, {
  16224. "value": "樊城区",
  16225. "label": "樊城区"
  16226. }, {
  16227. "value": "襄州区",
  16228. "label": "襄州区"
  16229. }, {
  16230. "value": "南漳县",
  16231. "label": "南漳县"
  16232. }, {
  16233. "value": "谷城县",
  16234. "label": "谷城县"
  16235. }, {
  16236. "value": "保康县",
  16237. "label": "保康县"
  16238. }, {
  16239. "value": "老河口市",
  16240. "label": "老河口市"
  16241. }, {
  16242. "value": "枣阳市",
  16243. "label": "枣阳市"
  16244. }, {
  16245. "value": "宜城市",
  16246. "label": "宜城市"
  16247. }]
  16248. }, {
  16249. "value": "鄂州市",
  16250. "label": "鄂州市",
  16251. "children": [{
  16252. "value": "梁子湖区",
  16253. "label": "梁子湖区"
  16254. }, {
  16255. "value": "华容区",
  16256. "label": "华容区"
  16257. }, {
  16258. "value": "鄂城区",
  16259. "label": "鄂城区"
  16260. }]
  16261. }, {
  16262. "value": "荆门市",
  16263. "label": "荆门市",
  16264. "children": [{
  16265. "value": "东宝区",
  16266. "label": "东宝区"
  16267. }, {
  16268. "value": "掇刀区",
  16269. "label": "掇刀区"
  16270. }, {
  16271. "value": "京山县",
  16272. "label": "京山县"
  16273. }, {
  16274. "value": "沙洋县",
  16275. "label": "沙洋县"
  16276. }, {
  16277. "value": "钟祥市",
  16278. "label": "钟祥市"
  16279. }]
  16280. }, {
  16281. "value": "孝感市",
  16282. "label": "孝感市",
  16283. "children": [{
  16284. "value": "孝南区",
  16285. "label": "孝南区"
  16286. }, {
  16287. "value": "孝昌县",
  16288. "label": "孝昌县"
  16289. }, {
  16290. "value": "大悟县",
  16291. "label": "大悟县"
  16292. }, {
  16293. "value": "云梦县",
  16294. "label": "云梦县"
  16295. }, {
  16296. "value": "应城市",
  16297. "label": "应城市"
  16298. }, {
  16299. "value": "安陆市",
  16300. "label": "安陆市"
  16301. }, {
  16302. "value": "汉川市",
  16303. "label": "汉川市"
  16304. }]
  16305. }, {
  16306. "value": "荆州市",
  16307. "label": "荆州市",
  16308. "children": [{
  16309. "value": "沙市区",
  16310. "label": "沙市区"
  16311. }, {
  16312. "value": "荆州区",
  16313. "label": "荆州区"
  16314. }, {
  16315. "value": "公安县",
  16316. "label": "公安县"
  16317. }, {
  16318. "value": "监利县",
  16319. "label": "监利县"
  16320. }, {
  16321. "value": "江陵县",
  16322. "label": "江陵县"
  16323. }, {
  16324. "value": "石首市",
  16325. "label": "石首市"
  16326. }, {
  16327. "value": "洪湖市",
  16328. "label": "洪湖市"
  16329. }, {
  16330. "value": "松滋市",
  16331. "label": "松滋市"
  16332. }]
  16333. }, {
  16334. "value": "黄冈市",
  16335. "label": "黄冈市",
  16336. "children": [{
  16337. "value": "黄州区",
  16338. "label": "黄州区"
  16339. }, {
  16340. "value": "团风县",
  16341. "label": "团风县"
  16342. }, {
  16343. "value": "红安县",
  16344. "label": "红安县"
  16345. }, {
  16346. "value": "罗田县",
  16347. "label": "罗田县"
  16348. }, {
  16349. "value": "英山县",
  16350. "label": "英山县"
  16351. }, {
  16352. "value": "浠水县",
  16353. "label": "浠水县"
  16354. }, {
  16355. "value": "蕲春县",
  16356. "label": "蕲春县"
  16357. }, {
  16358. "value": "黄梅县",
  16359. "label": "黄梅县"
  16360. }, {
  16361. "value": "麻城市",
  16362. "label": "麻城市"
  16363. }, {
  16364. "value": "武穴市",
  16365. "label": "武穴市"
  16366. }]
  16367. }, {
  16368. "value": "咸宁市",
  16369. "label": "咸宁市",
  16370. "children": [{
  16371. "value": "咸安区",
  16372. "label": "咸安区"
  16373. }, {
  16374. "value": "嘉鱼县",
  16375. "label": "嘉鱼县"
  16376. }, {
  16377. "value": "通城县",
  16378. "label": "通城县"
  16379. }, {
  16380. "value": "崇阳县",
  16381. "label": "崇阳县"
  16382. }, {
  16383. "value": "通山县",
  16384. "label": "通山县"
  16385. }, {
  16386. "value": "赤壁市",
  16387. "label": "赤壁市"
  16388. }]
  16389. }, {
  16390. "value": "随州市",
  16391. "label": "随州市",
  16392. "children": [{
  16393. "value": "曾都区",
  16394. "label": "曾都区"
  16395. }, {
  16396. "value": "随县",
  16397. "label": "随县"
  16398. }, {
  16399. "value": "广水市",
  16400. "label": "广水市"
  16401. }]
  16402. }, {
  16403. "value": "恩施土家族苗族自治州",
  16404. "label": "恩施土家族苗族自治州",
  16405. "children": [{
  16406. "value": "恩施市",
  16407. "label": "恩施市"
  16408. }, {
  16409. "value": "利川市",
  16410. "label": "利川市"
  16411. }, {
  16412. "value": "建始县",
  16413. "label": "建始县"
  16414. }, {
  16415. "value": "巴东县",
  16416. "label": "巴东县"
  16417. }, {
  16418. "value": "宣恩县",
  16419. "label": "宣恩县"
  16420. }, {
  16421. "value": "咸丰县",
  16422. "label": "咸丰县"
  16423. }, {
  16424. "value": "来凤县",
  16425. "label": "来凤县"
  16426. }, {
  16427. "value": "鹤峰县",
  16428. "label": "鹤峰县"
  16429. }]
  16430. }, {
  16431. "value": "省直辖县级行政区划",
  16432. "label": "省直辖县级行政区划",
  16433. "children": [{
  16434. "value": "仙桃市",
  16435. "label": "仙桃市"
  16436. }, {
  16437. "value": "潜江市",
  16438. "label": "潜江市"
  16439. }, {
  16440. "value": "天门市",
  16441. "label": "天门市"
  16442. }, {
  16443. "value": "神农架林区",
  16444. "label": "神农架林区"
  16445. }]
  16446. }]
  16447. }, {
  16448. "value": "湖南省",
  16449. "label": "湖南省",
  16450. "children": [{
  16451. "value": "长沙市",
  16452. "label": "长沙市",
  16453. "children": [{
  16454. "value": "芙蓉区",
  16455. "label": "芙蓉区"
  16456. }, {
  16457. "value": "天心区",
  16458. "label": "天心区"
  16459. }, {
  16460. "value": "岳麓区",
  16461. "label": "岳麓区"
  16462. }, {
  16463. "value": "开福区",
  16464. "label": "开福区"
  16465. }, {
  16466. "value": "雨花区",
  16467. "label": "雨花区"
  16468. }, {
  16469. "value": "望城区",
  16470. "label": "望城区"
  16471. }, {
  16472. "value": "长沙县",
  16473. "label": "长沙县"
  16474. }, {
  16475. "value": "宁乡县",
  16476. "label": "宁乡县"
  16477. }, {
  16478. "value": "浏阳市",
  16479. "label": "浏阳市"
  16480. }]
  16481. }, {
  16482. "value": "株洲市",
  16483. "label": "株洲市",
  16484. "children": [{
  16485. "value": "荷塘区",
  16486. "label": "荷塘区"
  16487. }, {
  16488. "value": "芦淞区",
  16489. "label": "芦淞区"
  16490. }, {
  16491. "value": "石峰区",
  16492. "label": "石峰区"
  16493. }, {
  16494. "value": "天元区",
  16495. "label": "天元区"
  16496. }, {
  16497. "value": "株洲县",
  16498. "label": "株洲县"
  16499. }, {
  16500. "value": "攸县",
  16501. "label": "攸县"
  16502. }, {
  16503. "value": "茶陵县",
  16504. "label": "茶陵县"
  16505. }, {
  16506. "value": "炎陵县",
  16507. "label": "炎陵县"
  16508. }, {
  16509. "value": "醴陵市",
  16510. "label": "醴陵市"
  16511. }]
  16512. }, {
  16513. "value": "湘潭市",
  16514. "label": "湘潭市",
  16515. "children": [{
  16516. "value": "雨湖区",
  16517. "label": "雨湖区"
  16518. }, {
  16519. "value": "岳塘区",
  16520. "label": "岳塘区"
  16521. }, {
  16522. "value": "湘潭县",
  16523. "label": "湘潭县"
  16524. }, {
  16525. "value": "湘乡市",
  16526. "label": "湘乡市"
  16527. }, {
  16528. "value": "韶山市",
  16529. "label": "韶山市"
  16530. }]
  16531. }, {
  16532. "value": "衡阳市",
  16533. "label": "衡阳市",
  16534. "children": [{
  16535. "value": "珠晖区",
  16536. "label": "珠晖区"
  16537. }, {
  16538. "value": "雁峰区",
  16539. "label": "雁峰区"
  16540. }, {
  16541. "value": "石鼓区",
  16542. "label": "石鼓区"
  16543. }, {
  16544. "value": "蒸湘区",
  16545. "label": "蒸湘区"
  16546. }, {
  16547. "value": "南岳区",
  16548. "label": "南岳区"
  16549. }, {
  16550. "value": "衡阳县",
  16551. "label": "衡阳县"
  16552. }, {
  16553. "value": "衡南县",
  16554. "label": "衡南县"
  16555. }, {
  16556. "value": "衡山县",
  16557. "label": "衡山县"
  16558. }, {
  16559. "value": "衡东县",
  16560. "label": "衡东县"
  16561. }, {
  16562. "value": "祁东县",
  16563. "label": "祁东县"
  16564. }, {
  16565. "value": "耒阳市",
  16566. "label": "耒阳市"
  16567. }, {
  16568. "value": "常宁市",
  16569. "label": "常宁市"
  16570. }]
  16571. }, {
  16572. "value": "邵阳市",
  16573. "label": "邵阳市",
  16574. "children": [{
  16575. "value": "双清区",
  16576. "label": "双清区"
  16577. }, {
  16578. "value": "大祥区",
  16579. "label": "大祥区"
  16580. }, {
  16581. "value": "北塔区",
  16582. "label": "北塔区"
  16583. }, {
  16584. "value": "邵东县",
  16585. "label": "邵东县"
  16586. }, {
  16587. "value": "新邵县",
  16588. "label": "新邵县"
  16589. }, {
  16590. "value": "邵阳县",
  16591. "label": "邵阳县"
  16592. }, {
  16593. "value": "隆回县",
  16594. "label": "隆回县"
  16595. }, {
  16596. "value": "洞口县",
  16597. "label": "洞口县"
  16598. }, {
  16599. "value": "绥宁县",
  16600. "label": "绥宁县"
  16601. }, {
  16602. "value": "新宁县",
  16603. "label": "新宁县"
  16604. }, {
  16605. "value": "城步苗族自治县",
  16606. "label": "城步苗族自治县"
  16607. }, {
  16608. "value": "武冈市",
  16609. "label": "武冈市"
  16610. }]
  16611. }, {
  16612. "value": "岳阳市",
  16613. "label": "岳阳市",
  16614. "children": [{
  16615. "value": "岳阳楼区",
  16616. "label": "岳阳楼区"
  16617. }, {
  16618. "value": "云溪区",
  16619. "label": "云溪区"
  16620. }, {
  16621. "value": "君山区",
  16622. "label": "君山区"
  16623. }, {
  16624. "value": "岳阳县",
  16625. "label": "岳阳县"
  16626. }, {
  16627. "value": "华容县",
  16628. "label": "华容县"
  16629. }, {
  16630. "value": "湘阴县",
  16631. "label": "湘阴县"
  16632. }, {
  16633. "value": "平江县",
  16634. "label": "平江县"
  16635. }, {
  16636. "value": "汨罗市",
  16637. "label": "汨罗市"
  16638. }, {
  16639. "value": "临湘市",
  16640. "label": "临湘市"
  16641. }]
  16642. }, {
  16643. "value": "常德市",
  16644. "label": "常德市",
  16645. "children": [{
  16646. "value": "武陵区",
  16647. "label": "武陵区"
  16648. }, {
  16649. "value": "鼎城区",
  16650. "label": "鼎城区"
  16651. }, {
  16652. "value": "安乡县",
  16653. "label": "安乡县"
  16654. }, {
  16655. "value": "汉寿县",
  16656. "label": "汉寿县"
  16657. }, {
  16658. "value": "澧县",
  16659. "label": "澧县"
  16660. }, {
  16661. "value": "临澧县",
  16662. "label": "临澧县"
  16663. }, {
  16664. "value": "桃源县",
  16665. "label": "桃源县"
  16666. }, {
  16667. "value": "石门县",
  16668. "label": "石门县"
  16669. }, {
  16670. "value": "津市市",
  16671. "label": "津市市"
  16672. }]
  16673. }, {
  16674. "value": "张家界市",
  16675. "label": "张家界市",
  16676. "children": [{
  16677. "value": "永定区",
  16678. "label": "永定区"
  16679. }, {
  16680. "value": "武陵源区",
  16681. "label": "武陵源区"
  16682. }, {
  16683. "value": "慈利县",
  16684. "label": "慈利县"
  16685. }, {
  16686. "value": "桑植县",
  16687. "label": "桑植县"
  16688. }]
  16689. }, {
  16690. "value": "益阳市",
  16691. "label": "益阳市",
  16692. "children": [{
  16693. "value": "资阳区",
  16694. "label": "资阳区"
  16695. }, {
  16696. "value": "赫山区",
  16697. "label": "赫山区"
  16698. }, {
  16699. "value": "南县",
  16700. "label": "南县"
  16701. }, {
  16702. "value": "桃江县",
  16703. "label": "桃江县"
  16704. }, {
  16705. "value": "安化县",
  16706. "label": "安化县"
  16707. }, {
  16708. "value": "沅江市",
  16709. "label": "沅江市"
  16710. }]
  16711. }, {
  16712. "value": "郴州市",
  16713. "label": "郴州市",
  16714. "children": [{
  16715. "value": "北湖区",
  16716. "label": "北湖区"
  16717. }, {
  16718. "value": "苏仙区",
  16719. "label": "苏仙区"
  16720. }, {
  16721. "value": "桂阳县",
  16722. "label": "桂阳县"
  16723. }, {
  16724. "value": "宜章县",
  16725. "label": "宜章县"
  16726. }, {
  16727. "value": "永兴县",
  16728. "label": "永兴县"
  16729. }, {
  16730. "value": "嘉禾县",
  16731. "label": "嘉禾县"
  16732. }, {
  16733. "value": "临武县",
  16734. "label": "临武县"
  16735. }, {
  16736. "value": "汝城县",
  16737. "label": "汝城县"
  16738. }, {
  16739. "value": "桂东县",
  16740. "label": "桂东县"
  16741. }, {
  16742. "value": "安仁县",
  16743. "label": "安仁县"
  16744. }, {
  16745. "value": "资兴市",
  16746. "label": "资兴市"
  16747. }]
  16748. }, {
  16749. "value": "永州市",
  16750. "label": "永州市",
  16751. "children": [{
  16752. "value": "零陵区",
  16753. "label": "零陵区"
  16754. }, {
  16755. "value": "冷水滩区",
  16756. "label": "冷水滩区"
  16757. }, {
  16758. "value": "祁阳县",
  16759. "label": "祁阳县"
  16760. }, {
  16761. "value": "东安县",
  16762. "label": "东安县"
  16763. }, {
  16764. "value": "双牌县",
  16765. "label": "双牌县"
  16766. }, {
  16767. "value": "道县",
  16768. "label": "道县"
  16769. }, {
  16770. "value": "江永县",
  16771. "label": "江永县"
  16772. }, {
  16773. "value": "宁远县",
  16774. "label": "宁远县"
  16775. }, {
  16776. "value": "蓝山县",
  16777. "label": "蓝山县"
  16778. }, {
  16779. "value": "新田县",
  16780. "label": "新田县"
  16781. }, {
  16782. "value": "江华瑶族自治县",
  16783. "label": "江华瑶族自治县"
  16784. }]
  16785. }, {
  16786. "value": "怀化市",
  16787. "label": "怀化市",
  16788. "children": [{
  16789. "value": "鹤城区",
  16790. "label": "鹤城区"
  16791. }, {
  16792. "value": "中方县",
  16793. "label": "中方县"
  16794. }, {
  16795. "value": "沅陵县",
  16796. "label": "沅陵县"
  16797. }, {
  16798. "value": "辰溪县",
  16799. "label": "辰溪县"
  16800. }, {
  16801. "value": "溆浦县",
  16802. "label": "溆浦县"
  16803. }, {
  16804. "value": "会同县",
  16805. "label": "会同县"
  16806. }, {
  16807. "value": "麻阳苗族自治县",
  16808. "label": "麻阳苗族自治县"
  16809. }, {
  16810. "value": "新晃侗族自治县",
  16811. "label": "新晃侗族自治县"
  16812. }, {
  16813. "value": "芷江侗族自治县",
  16814. "label": "芷江侗族自治县"
  16815. }, {
  16816. "value": "靖州苗族侗族自治县",
  16817. "label": "靖州苗族侗族自治县"
  16818. }, {
  16819. "value": "通道侗族自治县",
  16820. "label": "通道侗族自治县"
  16821. }, {
  16822. "value": "洪江市",
  16823. "label": "洪江市"
  16824. }]
  16825. }, {
  16826. "value": "娄底市",
  16827. "label": "娄底市",
  16828. "children": [{
  16829. "value": "娄星区",
  16830. "label": "娄星区"
  16831. }, {
  16832. "value": "双峰县",
  16833. "label": "双峰县"
  16834. }, {
  16835. "value": "新化县",
  16836. "label": "新化县"
  16837. }, {
  16838. "value": "冷水江市",
  16839. "label": "冷水江市"
  16840. }, {
  16841. "value": "涟源市",
  16842. "label": "涟源市"
  16843. }]
  16844. }, {
  16845. "value": "湘西土家族苗族自治州",
  16846. "label": "湘西土家族苗族自治州",
  16847. "children": [{
  16848. "value": "吉首市",
  16849. "label": "吉首市"
  16850. }, {
  16851. "value": "泸溪县",
  16852. "label": "泸溪县"
  16853. }, {
  16854. "value": "凤凰县",
  16855. "label": "凤凰县"
  16856. }, {
  16857. "value": "花垣县",
  16858. "label": "花垣县"
  16859. }, {
  16860. "value": "保靖县",
  16861. "label": "保靖县"
  16862. }, {
  16863. "value": "古丈县",
  16864. "label": "古丈县"
  16865. }, {
  16866. "value": "永顺县",
  16867. "label": "永顺县"
  16868. }, {
  16869. "value": "龙山县",
  16870. "label": "龙山县"
  16871. }]
  16872. }]
  16873. }, {
  16874. "value": "广东省",
  16875. "label": "广东省",
  16876. "children": [{
  16877. "value": "广州市",
  16878. "label": "广州市",
  16879. "children": [{
  16880. "value": "荔湾区",
  16881. "label": "荔湾区"
  16882. }, {
  16883. "value": "越秀区",
  16884. "label": "越秀区"
  16885. }, {
  16886. "value": "海珠区",
  16887. "label": "海珠区"
  16888. }, {
  16889. "value": "天河区",
  16890. "label": "天河区"
  16891. }, {
  16892. "value": "白云区",
  16893. "label": "白云区"
  16894. }, {
  16895. "value": "黄埔区",
  16896. "label": "黄埔区"
  16897. }, {
  16898. "value": "番禺区",
  16899. "label": "番禺区"
  16900. }, {
  16901. "value": "花都区",
  16902. "label": "花都区"
  16903. }, {
  16904. "value": "南沙区",
  16905. "label": "南沙区"
  16906. }, {
  16907. "value": "从化区",
  16908. "label": "从化区"
  16909. }, {
  16910. "value": "增城区",
  16911. "label": "增城区"
  16912. }]
  16913. }, {
  16914. "value": "韶关市",
  16915. "label": "韶关市",
  16916. "children": [{
  16917. "value": "武江区",
  16918. "label": "武江区"
  16919. }, {
  16920. "value": "浈江区",
  16921. "label": "浈江区"
  16922. }, {
  16923. "value": "曲江区",
  16924. "label": "曲江区"
  16925. }, {
  16926. "value": "始兴县",
  16927. "label": "始兴县"
  16928. }, {
  16929. "value": "仁化县",
  16930. "label": "仁化县"
  16931. }, {
  16932. "value": "翁源县",
  16933. "label": "翁源县"
  16934. }, {
  16935. "value": "乳源瑶族自治县",
  16936. "label": "乳源瑶族自治县"
  16937. }, {
  16938. "value": "新丰县",
  16939. "label": "新丰县"
  16940. }, {
  16941. "value": "乐昌市",
  16942. "label": "乐昌市"
  16943. }, {
  16944. "value": "南雄市",
  16945. "label": "南雄市"
  16946. }]
  16947. }, {
  16948. "value": "深圳市",
  16949. "label": "深圳市",
  16950. "children": [{
  16951. "value": "罗湖区",
  16952. "label": "罗湖区"
  16953. }, {
  16954. "value": "福田区",
  16955. "label": "福田区"
  16956. }, {
  16957. "value": "南山区",
  16958. "label": "南山区"
  16959. }, {
  16960. "value": "宝安区",
  16961. "label": "宝安区"
  16962. }, {
  16963. "value": "龙岗区",
  16964. "label": "龙岗区"
  16965. }, {
  16966. "value": "盐田区",
  16967. "label": "盐田区"
  16968. }]
  16969. }, {
  16970. "value": "珠海市",
  16971. "label": "珠海市",
  16972. "children": [{
  16973. "value": "香洲区",
  16974. "label": "香洲区"
  16975. }, {
  16976. "value": "斗门区",
  16977. "label": "斗门区"
  16978. }, {
  16979. "value": "金湾区",
  16980. "label": "金湾区"
  16981. }]
  16982. }, {
  16983. "value": "汕头市",
  16984. "label": "汕头市",
  16985. "children": [{
  16986. "value": "龙湖区",
  16987. "label": "龙湖区"
  16988. }, {
  16989. "value": "金平区",
  16990. "label": "金平区"
  16991. }, {
  16992. "value": "濠江区",
  16993. "label": "濠江区"
  16994. }, {
  16995. "value": "潮阳区",
  16996. "label": "潮阳区"
  16997. }, {
  16998. "value": "潮南区",
  16999. "label": "潮南区"
  17000. }, {
  17001. "value": "澄海区",
  17002. "label": "澄海区"
  17003. }, {
  17004. "value": "南澳县",
  17005. "label": "南澳县"
  17006. }]
  17007. }, {
  17008. "value": "佛山市",
  17009. "label": "佛山市",
  17010. "children": [{
  17011. "value": "禅城区",
  17012. "label": "禅城区"
  17013. }, {
  17014. "value": "南海区",
  17015. "label": "南海区"
  17016. }, {
  17017. "value": "顺德区",
  17018. "label": "顺德区"
  17019. }, {
  17020. "value": "三水区",
  17021. "label": "三水区"
  17022. }, {
  17023. "value": "高明区",
  17024. "label": "高明区"
  17025. }]
  17026. }, {
  17027. "value": "江门市",
  17028. "label": "江门市",
  17029. "children": [{
  17030. "value": "蓬江区",
  17031. "label": "蓬江区"
  17032. }, {
  17033. "value": "江海区",
  17034. "label": "江海区"
  17035. }, {
  17036. "value": "新会区",
  17037. "label": "新会区"
  17038. }, {
  17039. "value": "台山市",
  17040. "label": "台山市"
  17041. }, {
  17042. "value": "开平市",
  17043. "label": "开平市"
  17044. }, {
  17045. "value": "鹤山市",
  17046. "label": "鹤山市"
  17047. }, {
  17048. "value": "恩平市",
  17049. "label": "恩平市"
  17050. }]
  17051. }, {
  17052. "value": "湛江市",
  17053. "label": "湛江市",
  17054. "children": [{
  17055. "value": "赤坎区",
  17056. "label": "赤坎区"
  17057. }, {
  17058. "value": "霞山区",
  17059. "label": "霞山区"
  17060. }, {
  17061. "value": "坡头区",
  17062. "label": "坡头区"
  17063. }, {
  17064. "value": "麻章区",
  17065. "label": "麻章区"
  17066. }, {
  17067. "value": "遂溪县",
  17068. "label": "遂溪县"
  17069. }, {
  17070. "value": "徐闻县",
  17071. "label": "徐闻县"
  17072. }, {
  17073. "value": "廉江市",
  17074. "label": "廉江市"
  17075. }, {
  17076. "value": "雷州市",
  17077. "label": "雷州市"
  17078. }, {
  17079. "value": "吴川市",
  17080. "label": "吴川市"
  17081. }]
  17082. }, {
  17083. "value": "茂名市",
  17084. "label": "茂名市",
  17085. "children": [{
  17086. "value": "茂南区",
  17087. "label": "茂南区"
  17088. }, {
  17089. "value": "电白区",
  17090. "label": "电白区"
  17091. }, {
  17092. "value": "高州市",
  17093. "label": "高州市"
  17094. }, {
  17095. "value": "化州市",
  17096. "label": "化州市"
  17097. }, {
  17098. "value": "信宜市",
  17099. "label": "信宜市"
  17100. }]
  17101. }, {
  17102. "value": "肇庆市",
  17103. "label": "肇庆市",
  17104. "children": [{
  17105. "value": "端州区",
  17106. "label": "端州区"
  17107. }, {
  17108. "value": "鼎湖区",
  17109. "label": "鼎湖区"
  17110. }, {
  17111. "value": "高要区",
  17112. "label": "高要区"
  17113. }, {
  17114. "value": "广宁县",
  17115. "label": "广宁县"
  17116. }, {
  17117. "value": "怀集县",
  17118. "label": "怀集县"
  17119. }, {
  17120. "value": "封开县",
  17121. "label": "封开县"
  17122. }, {
  17123. "value": "德庆县",
  17124. "label": "德庆县"
  17125. }, {
  17126. "value": "四会市",
  17127. "label": "四会市"
  17128. }]
  17129. }, {
  17130. "value": "惠州市",
  17131. "label": "惠州市",
  17132. "children": [{
  17133. "value": "惠城区",
  17134. "label": "惠城区"
  17135. }, {
  17136. "value": "惠阳区",
  17137. "label": "惠阳区"
  17138. }, {
  17139. "value": "博罗县",
  17140. "label": "博罗县"
  17141. }, {
  17142. "value": "惠东县",
  17143. "label": "惠东县"
  17144. }, {
  17145. "value": "龙门县",
  17146. "label": "龙门县"
  17147. }]
  17148. }, {
  17149. "value": "梅州市",
  17150. "label": "梅州市",
  17151. "children": [{
  17152. "value": "梅江区",
  17153. "label": "梅江区"
  17154. }, {
  17155. "value": "梅县区",
  17156. "label": "梅县区"
  17157. }, {
  17158. "value": "大埔县",
  17159. "label": "大埔县"
  17160. }, {
  17161. "value": "丰顺县",
  17162. "label": "丰顺县"
  17163. }, {
  17164. "value": "五华县",
  17165. "label": "五华县"
  17166. }, {
  17167. "value": "平远县",
  17168. "label": "平远县"
  17169. }, {
  17170. "value": "蕉岭县",
  17171. "label": "蕉岭县"
  17172. }, {
  17173. "value": "兴宁市",
  17174. "label": "兴宁市"
  17175. }]
  17176. }, {
  17177. "value": "汕尾市",
  17178. "label": "汕尾市",
  17179. "children": [{
  17180. "value": "城区",
  17181. "label": "城区"
  17182. }, {
  17183. "value": "海丰县",
  17184. "label": "海丰县"
  17185. }, {
  17186. "value": "陆河县",
  17187. "label": "陆河县"
  17188. }, {
  17189. "value": "陆丰市",
  17190. "label": "陆丰市"
  17191. }]
  17192. }, {
  17193. "value": "河源市",
  17194. "label": "河源市",
  17195. "children": [{
  17196. "value": "源城区",
  17197. "label": "源城区"
  17198. }, {
  17199. "value": "紫金县",
  17200. "label": "紫金县"
  17201. }, {
  17202. "value": "龙川县",
  17203. "label": "龙川县"
  17204. }, {
  17205. "value": "连平县",
  17206. "label": "连平县"
  17207. }, {
  17208. "value": "和平县",
  17209. "label": "和平县"
  17210. }, {
  17211. "value": "东源县",
  17212. "label": "东源县"
  17213. }]
  17214. }, {
  17215. "value": "阳江市",
  17216. "label": "阳江市",
  17217. "children": [{
  17218. "value": "江城区",
  17219. "label": "江城区"
  17220. }, {
  17221. "value": "阳东区",
  17222. "label": "阳东区"
  17223. }, {
  17224. "value": "阳西县",
  17225. "label": "阳西县"
  17226. }, {
  17227. "value": "阳春市",
  17228. "label": "阳春市"
  17229. }]
  17230. }, {
  17231. "value": "清远市",
  17232. "label": "清远市",
  17233. "children": [{
  17234. "value": "清城区",
  17235. "label": "清城区"
  17236. }, {
  17237. "value": "清新区",
  17238. "label": "清新区"
  17239. }, {
  17240. "value": "佛冈县",
  17241. "label": "佛冈县"
  17242. }, {
  17243. "value": "阳山县",
  17244. "label": "阳山县"
  17245. }, {
  17246. "value": "连山壮族瑶族自治县",
  17247. "label": "连山壮族瑶族自治县"
  17248. }, {
  17249. "value": "连南瑶族自治县",
  17250. "label": "连南瑶族自治县"
  17251. }, {
  17252. "value": "英德市",
  17253. "label": "英德市"
  17254. }, {
  17255. "value": "连州市",
  17256. "label": "连州市"
  17257. }]
  17258. }, {
  17259. "value": "东莞市",
  17260. "label": "东莞市",
  17261. "children": [{
  17262. "value": "东城街道",
  17263. "label": "东城街道"
  17264. }, {
  17265. "value": "南城街道",
  17266. "label": "南城街道"
  17267. }, {
  17268. "value": "万江街道",
  17269. "label": "万江街道"
  17270. }, {
  17271. "value": "莞城街道",
  17272. "label": "莞城街道"
  17273. }, {
  17274. "value": "石碣镇",
  17275. "label": "石碣镇"
  17276. }, {
  17277. "value": "石龙镇",
  17278. "label": "石龙镇"
  17279. }, {
  17280. "value": "茶山镇",
  17281. "label": "茶山镇"
  17282. }, {
  17283. "value": "石排镇",
  17284. "label": "石排镇"
  17285. }, {
  17286. "value": "企石镇",
  17287. "label": "企石镇"
  17288. }, {
  17289. "value": "横沥镇",
  17290. "label": "横沥镇"
  17291. }, {
  17292. "value": "桥头镇",
  17293. "label": "桥头镇"
  17294. }, {
  17295. "value": "谢岗镇",
  17296. "label": "谢岗镇"
  17297. }, {
  17298. "value": "东坑镇",
  17299. "label": "东坑镇"
  17300. }, {
  17301. "value": "常平镇",
  17302. "label": "常平镇"
  17303. }, {
  17304. "value": "寮步镇",
  17305. "label": "寮步镇"
  17306. }, {
  17307. "value": "樟木头镇",
  17308. "label": "樟木头镇"
  17309. }, {
  17310. "value": "大朗镇",
  17311. "label": "大朗镇"
  17312. }, {
  17313. "value": "黄江镇",
  17314. "label": "黄江镇"
  17315. }, {
  17316. "value": "清溪镇",
  17317. "label": "清溪镇"
  17318. }, {
  17319. "value": "塘厦镇",
  17320. "label": "塘厦镇"
  17321. }, {
  17322. "value": "凤岗镇",
  17323. "label": "凤岗镇"
  17324. }, {
  17325. "value": "大岭山镇",
  17326. "label": "大岭山镇"
  17327. }, {
  17328. "value": "长安镇",
  17329. "label": "长安镇"
  17330. }, {
  17331. "value": "虎门镇",
  17332. "label": "虎门镇"
  17333. }, {
  17334. "value": "厚街镇",
  17335. "label": "厚街镇"
  17336. }, {
  17337. "value": "沙田镇",
  17338. "label": "沙田镇"
  17339. }, {
  17340. "value": "道滘镇",
  17341. "label": "道滘镇"
  17342. }, {
  17343. "value": "洪梅镇",
  17344. "label": "洪梅镇"
  17345. }, {
  17346. "value": "麻涌镇",
  17347. "label": "麻涌镇"
  17348. }, {
  17349. "value": "望牛墩镇",
  17350. "label": "望牛墩镇"
  17351. }, {
  17352. "value": "中堂镇",
  17353. "label": "中堂镇"
  17354. }, {
  17355. "value": "高埗镇",
  17356. "label": "高埗镇"
  17357. }, {
  17358. "value": "松山湖管委会",
  17359. "label": "松山湖管委会"
  17360. }, {
  17361. "value": "虎门港管委会",
  17362. "label": "虎门港管委会"
  17363. }, {
  17364. "value": "东莞生态园",
  17365. "label": "东莞生态园"
  17366. }]
  17367. }, {
  17368. "value": "中山市",
  17369. "label": "中山市",
  17370. "children": [{
  17371. "value": "石岐区街道",
  17372. "label": "石岐区街道"
  17373. }, {
  17374. "value": "东区街道",
  17375. "label": "东区街道"
  17376. }, {
  17377. "value": "火炬开发区街道",
  17378. "label": "火炬开发区街道"
  17379. }, {
  17380. "value": "西区街道",
  17381. "label": "西区街道"
  17382. }, {
  17383. "value": "南区街道",
  17384. "label": "南区街道"
  17385. }, {
  17386. "value": "五桂山街道",
  17387. "label": "五桂山街道"
  17388. }, {
  17389. "value": "小榄镇",
  17390. "label": "小榄镇"
  17391. }, {
  17392. "value": "黄圃镇",
  17393. "label": "黄圃镇"
  17394. }, {
  17395. "value": "民众镇",
  17396. "label": "民众镇"
  17397. }, {
  17398. "value": "东凤镇",
  17399. "label": "东凤镇"
  17400. }, {
  17401. "value": "东升镇",
  17402. "label": "东升镇"
  17403. }, {
  17404. "value": "古镇镇",
  17405. "label": "古镇镇"
  17406. }, {
  17407. "value": "沙溪镇",
  17408. "label": "沙溪镇"
  17409. }, {
  17410. "value": "坦洲镇",
  17411. "label": "坦洲镇"
  17412. }, {
  17413. "value": "港口镇",
  17414. "label": "港口镇"
  17415. }, {
  17416. "value": "三角镇",
  17417. "label": "三角镇"
  17418. }, {
  17419. "value": "横栏镇",
  17420. "label": "横栏镇"
  17421. }, {
  17422. "value": "南头镇",
  17423. "label": "南头镇"
  17424. }, {
  17425. "value": "阜沙镇",
  17426. "label": "阜沙镇"
  17427. }, {
  17428. "value": "南朗镇",
  17429. "label": "南朗镇"
  17430. }, {
  17431. "value": "三乡镇",
  17432. "label": "三乡镇"
  17433. }, {
  17434. "value": "板芙镇",
  17435. "label": "板芙镇"
  17436. }, {
  17437. "value": "大涌镇",
  17438. "label": "大涌镇"
  17439. }, {
  17440. "value": "神湾镇",
  17441. "label": "神湾镇"
  17442. }]
  17443. }, {
  17444. "value": "潮州市",
  17445. "label": "潮州市",
  17446. "children": [{
  17447. "value": "湘桥区",
  17448. "label": "湘桥区"
  17449. }, {
  17450. "value": "潮安区",
  17451. "label": "潮安区"
  17452. }, {
  17453. "value": "饶平县",
  17454. "label": "饶平县"
  17455. }]
  17456. }, {
  17457. "value": "揭阳市",
  17458. "label": "揭阳市",
  17459. "children": [{
  17460. "value": "榕城区",
  17461. "label": "榕城区"
  17462. }, {
  17463. "value": "揭东区",
  17464. "label": "揭东区"
  17465. }, {
  17466. "value": "揭西县",
  17467. "label": "揭西县"
  17468. }, {
  17469. "value": "惠来县",
  17470. "label": "惠来县"
  17471. }, {
  17472. "value": "普宁市",
  17473. "label": "普宁市"
  17474. }]
  17475. }, {
  17476. "value": "云浮市",
  17477. "label": "云浮市",
  17478. "children": [{
  17479. "value": "云城区",
  17480. "label": "云城区"
  17481. }, {
  17482. "value": "云安区",
  17483. "label": "云安区"
  17484. }, {
  17485. "value": "新兴县",
  17486. "label": "新兴县"
  17487. }, {
  17488. "value": "郁南县",
  17489. "label": "郁南县"
  17490. }, {
  17491. "value": "罗定市",
  17492. "label": "罗定市"
  17493. }]
  17494. }]
  17495. }, {
  17496. "value": "广西壮族自治区",
  17497. "label": "广西壮族自治区",
  17498. "children": [{
  17499. "value": "南宁市",
  17500. "label": "南宁市",
  17501. "children": [{
  17502. "value": "兴宁区",
  17503. "label": "兴宁区"
  17504. }, {
  17505. "value": "青秀区",
  17506. "label": "青秀区"
  17507. }, {
  17508. "value": "江南区",
  17509. "label": "江南区"
  17510. }, {
  17511. "value": "西乡塘区",
  17512. "label": "西乡塘区"
  17513. }, {
  17514. "value": "良庆区",
  17515. "label": "良庆区"
  17516. }, {
  17517. "value": "邕宁区",
  17518. "label": "邕宁区"
  17519. }, {
  17520. "value": "武鸣区",
  17521. "label": "武鸣区"
  17522. }, {
  17523. "value": "隆安县",
  17524. "label": "隆安县"
  17525. }, {
  17526. "value": "马山县",
  17527. "label": "马山县"
  17528. }, {
  17529. "value": "上林县",
  17530. "label": "上林县"
  17531. }, {
  17532. "value": "宾阳县",
  17533. "label": "宾阳县"
  17534. }, {
  17535. "value": "横县",
  17536. "label": "横县"
  17537. }]
  17538. }, {
  17539. "value": "柳州市",
  17540. "label": "柳州市",
  17541. "children": [{
  17542. "value": "城中区",
  17543. "label": "城中区"
  17544. }, {
  17545. "value": "鱼峰区",
  17546. "label": "鱼峰区"
  17547. }, {
  17548. "value": "柳南区",
  17549. "label": "柳南区"
  17550. }, {
  17551. "value": "柳北区",
  17552. "label": "柳北区"
  17553. }, {
  17554. "value": "柳江区",
  17555. "label": "柳江区"
  17556. }, {
  17557. "value": "柳城县",
  17558. "label": "柳城县"
  17559. }, {
  17560. "value": "鹿寨县",
  17561. "label": "鹿寨县"
  17562. }, {
  17563. "value": "融安县",
  17564. "label": "融安县"
  17565. }, {
  17566. "value": "融水苗族自治县",
  17567. "label": "融水苗族自治县"
  17568. }, {
  17569. "value": "三江侗族自治县",
  17570. "label": "三江侗族自治县"
  17571. }]
  17572. }, {
  17573. "value": "桂林市",
  17574. "label": "桂林市",
  17575. "children": [{
  17576. "value": "秀峰区",
  17577. "label": "秀峰区"
  17578. }, {
  17579. "value": "叠彩区",
  17580. "label": "叠彩区"
  17581. }, {
  17582. "value": "象山区",
  17583. "label": "象山区"
  17584. }, {
  17585. "value": "七星区",
  17586. "label": "七星区"
  17587. }, {
  17588. "value": "雁山区",
  17589. "label": "雁山区"
  17590. }, {
  17591. "value": "临桂区",
  17592. "label": "临桂区"
  17593. }, {
  17594. "value": "阳朔县",
  17595. "label": "阳朔县"
  17596. }, {
  17597. "value": "灵川县",
  17598. "label": "灵川县"
  17599. }, {
  17600. "value": "全州县",
  17601. "label": "全州县"
  17602. }, {
  17603. "value": "兴安县",
  17604. "label": "兴安县"
  17605. }, {
  17606. "value": "永福县",
  17607. "label": "永福县"
  17608. }, {
  17609. "value": "灌阳县",
  17610. "label": "灌阳县"
  17611. }, {
  17612. "value": "龙胜各族自治县",
  17613. "label": "龙胜各族自治县"
  17614. }, {
  17615. "value": "资源县",
  17616. "label": "资源县"
  17617. }, {
  17618. "value": "平乐县",
  17619. "label": "平乐县"
  17620. }, {
  17621. "value": "荔浦县",
  17622. "label": "荔浦县"
  17623. }, {
  17624. "value": "恭城瑶族自治县",
  17625. "label": "恭城瑶族自治县"
  17626. }]
  17627. }, {
  17628. "value": "梧州市",
  17629. "label": "梧州市",
  17630. "children": [{
  17631. "value": "万秀区",
  17632. "label": "万秀区"
  17633. }, {
  17634. "value": "长洲区",
  17635. "label": "长洲区"
  17636. }, {
  17637. "value": "龙圩区",
  17638. "label": "龙圩区"
  17639. }, {
  17640. "value": "苍梧县",
  17641. "label": "苍梧县"
  17642. }, {
  17643. "value": "藤县",
  17644. "label": "藤县"
  17645. }, {
  17646. "value": "蒙山县",
  17647. "label": "蒙山县"
  17648. }, {
  17649. "value": "岑溪市",
  17650. "label": "岑溪市"
  17651. }]
  17652. }, {
  17653. "value": "北海市",
  17654. "label": "北海市",
  17655. "children": [{
  17656. "value": "海城区",
  17657. "label": "海城区"
  17658. }, {
  17659. "value": "银海区",
  17660. "label": "银海区"
  17661. }, {
  17662. "value": "铁山港区",
  17663. "label": "铁山港区"
  17664. }, {
  17665. "value": "合浦县",
  17666. "label": "合浦县"
  17667. }]
  17668. }, {
  17669. "value": "防城港市",
  17670. "label": "防城港市",
  17671. "children": [{
  17672. "value": "港口区",
  17673. "label": "港口区"
  17674. }, {
  17675. "value": "防城区",
  17676. "label": "防城区"
  17677. }, {
  17678. "value": "上思县",
  17679. "label": "上思县"
  17680. }, {
  17681. "value": "东兴市",
  17682. "label": "东兴市"
  17683. }]
  17684. }, {
  17685. "value": "钦州市",
  17686. "label": "钦州市",
  17687. "children": [{
  17688. "value": "钦南区",
  17689. "label": "钦南区"
  17690. }, {
  17691. "value": "钦北区",
  17692. "label": "钦北区"
  17693. }, {
  17694. "value": "灵山县",
  17695. "label": "灵山县"
  17696. }, {
  17697. "value": "浦北县",
  17698. "label": "浦北县"
  17699. }]
  17700. }, {
  17701. "value": "贵港市",
  17702. "label": "贵港市",
  17703. "children": [{
  17704. "value": "港北区",
  17705. "label": "港北区"
  17706. }, {
  17707. "value": "港南区",
  17708. "label": "港南区"
  17709. }, {
  17710. "value": "覃塘区",
  17711. "label": "覃塘区"
  17712. }, {
  17713. "value": "平南县",
  17714. "label": "平南县"
  17715. }, {
  17716. "value": "桂平市",
  17717. "label": "桂平市"
  17718. }]
  17719. }, {
  17720. "value": "玉林市",
  17721. "label": "玉林市",
  17722. "children": [{
  17723. "value": "玉州区",
  17724. "label": "玉州区"
  17725. }, {
  17726. "value": "福绵区",
  17727. "label": "福绵区"
  17728. }, {
  17729. "value": "容县",
  17730. "label": "容县"
  17731. }, {
  17732. "value": "陆川县",
  17733. "label": "陆川县"
  17734. }, {
  17735. "value": "博白县",
  17736. "label": "博白县"
  17737. }, {
  17738. "value": "兴业县",
  17739. "label": "兴业县"
  17740. }, {
  17741. "value": "北流市",
  17742. "label": "北流市"
  17743. }]
  17744. }, {
  17745. "value": "百色市",
  17746. "label": "百色市",
  17747. "children": [{
  17748. "value": "右江区",
  17749. "label": "右江区"
  17750. }, {
  17751. "value": "田阳县",
  17752. "label": "田阳县"
  17753. }, {
  17754. "value": "田东县",
  17755. "label": "田东县"
  17756. }, {
  17757. "value": "平果县",
  17758. "label": "平果县"
  17759. }, {
  17760. "value": "德保县",
  17761. "label": "德保县"
  17762. }, {
  17763. "value": "那坡县",
  17764. "label": "那坡县"
  17765. }, {
  17766. "value": "凌云县",
  17767. "label": "凌云县"
  17768. }, {
  17769. "value": "乐业县",
  17770. "label": "乐业县"
  17771. }, {
  17772. "value": "田林县",
  17773. "label": "田林县"
  17774. }, {
  17775. "value": "西林县",
  17776. "label": "西林县"
  17777. }, {
  17778. "value": "隆林各族自治县",
  17779. "label": "隆林各族自治县"
  17780. }, {
  17781. "value": "靖西市",
  17782. "label": "靖西市"
  17783. }]
  17784. }, {
  17785. "value": "贺州市",
  17786. "label": "贺州市",
  17787. "children": [{
  17788. "value": "八步区",
  17789. "label": "八步区"
  17790. }, {
  17791. "value": "平桂区",
  17792. "label": "平桂区"
  17793. }, {
  17794. "value": "昭平县",
  17795. "label": "昭平县"
  17796. }, {
  17797. "value": "钟山县",
  17798. "label": "钟山县"
  17799. }, {
  17800. "value": "富川瑶族自治县",
  17801. "label": "富川瑶族自治县"
  17802. }]
  17803. }, {
  17804. "value": "河池市",
  17805. "label": "河池市",
  17806. "children": [{
  17807. "value": "金城江区",
  17808. "label": "金城江区"
  17809. }, {
  17810. "value": "南丹县",
  17811. "label": "南丹县"
  17812. }, {
  17813. "value": "天峨县",
  17814. "label": "天峨县"
  17815. }, {
  17816. "value": "凤山县",
  17817. "label": "凤山县"
  17818. }, {
  17819. "value": "东兰县",
  17820. "label": "东兰县"
  17821. }, {
  17822. "value": "罗城仫佬族自治县",
  17823. "label": "罗城仫佬族自治县"
  17824. }, {
  17825. "value": "环江毛南族自治县",
  17826. "label": "环江毛南族自治县"
  17827. }, {
  17828. "value": "巴马瑶族自治县",
  17829. "label": "巴马瑶族自治县"
  17830. }, {
  17831. "value": "都安瑶族自治县",
  17832. "label": "都安瑶族自治县"
  17833. }, {
  17834. "value": "大化瑶族自治县",
  17835. "label": "大化瑶族自治县"
  17836. }, {
  17837. "value": "宜州市",
  17838. "label": "宜州市"
  17839. }]
  17840. }, {
  17841. "value": "来宾市",
  17842. "label": "来宾市",
  17843. "children": [{
  17844. "value": "兴宾区",
  17845. "label": "兴宾区"
  17846. }, {
  17847. "value": "忻城县",
  17848. "label": "忻城县"
  17849. }, {
  17850. "value": "象州县",
  17851. "label": "象州县"
  17852. }, {
  17853. "value": "武宣县",
  17854. "label": "武宣县"
  17855. }, {
  17856. "value": "金秀瑶族自治县",
  17857. "label": "金秀瑶族自治县"
  17858. }, {
  17859. "value": "合山市",
  17860. "label": "合山市"
  17861. }]
  17862. }, {
  17863. "value": "崇左市",
  17864. "label": "崇左市",
  17865. "children": [{
  17866. "value": "江州区",
  17867. "label": "江州区"
  17868. }, {
  17869. "value": "扶绥县",
  17870. "label": "扶绥县"
  17871. }, {
  17872. "value": "宁明县",
  17873. "label": "宁明县"
  17874. }, {
  17875. "value": "龙州县",
  17876. "label": "龙州县"
  17877. }, {
  17878. "value": "大新县",
  17879. "label": "大新县"
  17880. }, {
  17881. "value": "天等县",
  17882. "label": "天等县"
  17883. }, {
  17884. "value": "凭祥市",
  17885. "label": "凭祥市"
  17886. }]
  17887. }]
  17888. }, {
  17889. "value": "海南省",
  17890. "label": "海南省",
  17891. "children": [{
  17892. "value": "海口市",
  17893. "label": "海口市",
  17894. "children": [{
  17895. "value": "秀英区",
  17896. "label": "秀英区"
  17897. }, {
  17898. "value": "龙华区",
  17899. "label": "龙华区"
  17900. }, {
  17901. "value": "琼山区",
  17902. "label": "琼山区"
  17903. }, {
  17904. "value": "美兰区",
  17905. "label": "美兰区"
  17906. }]
  17907. }, {
  17908. "value": "三亚市",
  17909. "label": "三亚市",
  17910. "children": [{
  17911. "value": "市辖区",
  17912. "label": "市辖区"
  17913. }, {
  17914. "value": "海棠区",
  17915. "label": "海棠区"
  17916. }, {
  17917. "value": "吉阳区",
  17918. "label": "吉阳区"
  17919. }, {
  17920. "value": "天涯区",
  17921. "label": "天涯区"
  17922. }, {
  17923. "value": "崖州区",
  17924. "label": "崖州区"
  17925. }]
  17926. }, {
  17927. "value": "三沙市",
  17928. "label": "三沙市",
  17929. "children": [{
  17930. "value": "西沙群岛",
  17931. "label": "西沙群岛"
  17932. }, {
  17933. "value": "南沙群岛",
  17934. "label": "南沙群岛"
  17935. }, {
  17936. "value": "中沙群岛的岛礁及其海域",
  17937. "label": "中沙群岛的岛礁及其海域"
  17938. }]
  17939. }, {
  17940. "value": "儋州市",
  17941. "label": "儋州市",
  17942. "children": [{
  17943. "value": "那大镇",
  17944. "label": "那大镇"
  17945. }, {
  17946. "value": "和庆镇",
  17947. "label": "和庆镇"
  17948. }, {
  17949. "value": "南丰镇",
  17950. "label": "南丰镇"
  17951. }, {
  17952. "value": "大成镇",
  17953. "label": "大成镇"
  17954. }, {
  17955. "value": "雅星镇",
  17956. "label": "雅星镇"
  17957. }, {
  17958. "value": "兰洋镇",
  17959. "label": "兰洋镇"
  17960. }, {
  17961. "value": "光村镇",
  17962. "label": "光村镇"
  17963. }, {
  17964. "value": "木棠镇",
  17965. "label": "木棠镇"
  17966. }, {
  17967. "value": "海头镇",
  17968. "label": "海头镇"
  17969. }, {
  17970. "value": "峨蔓镇",
  17971. "label": "峨蔓镇"
  17972. }, {
  17973. "value": "三都镇",
  17974. "label": "三都镇"
  17975. }, {
  17976. "value": "王五镇",
  17977. "label": "王五镇"
  17978. }, {
  17979. "value": "白马井镇",
  17980. "label": "白马井镇"
  17981. }, {
  17982. "value": "中和镇",
  17983. "label": "中和镇"
  17984. }, {
  17985. "value": "排浦镇",
  17986. "label": "排浦镇"
  17987. }, {
  17988. "value": "东成镇",
  17989. "label": "东成镇"
  17990. }, {
  17991. "value": "新州镇",
  17992. "label": "新州镇"
  17993. }, {
  17994. "value": "国营西培农场",
  17995. "label": "国营西培农场"
  17996. }, {
  17997. "value": "国营西联农场",
  17998. "label": "国营西联农场"
  17999. }, {
  18000. "value": "国营蓝洋农场",
  18001. "label": "国营蓝洋农场"
  18002. }, {
  18003. "value": "国营八一农场",
  18004. "label": "国营八一农场"
  18005. }, {
  18006. "value": "洋浦经济开发区",
  18007. "label": "洋浦经济开发区"
  18008. }, {
  18009. "value": "华南热作学院",
  18010. "label": "华南热作学院"
  18011. }]
  18012. }, {
  18013. "value": "省直辖县级行政区划",
  18014. "label": "省直辖县级行政区划",
  18015. "children": [{
  18016. "value": "五指山市",
  18017. "label": "五指山市"
  18018. }, {
  18019. "value": "琼海市",
  18020. "label": "琼海市"
  18021. }, {
  18022. "value": "文昌市",
  18023. "label": "文昌市"
  18024. }, {
  18025. "value": "万宁市",
  18026. "label": "万宁市"
  18027. }, {
  18028. "value": "东方市",
  18029. "label": "东方市"
  18030. }, {
  18031. "value": "定安县",
  18032. "label": "定安县"
  18033. }, {
  18034. "value": "屯昌县",
  18035. "label": "屯昌县"
  18036. }, {
  18037. "value": "澄迈县",
  18038. "label": "澄迈县"
  18039. }, {
  18040. "value": "临高县",
  18041. "label": "临高县"
  18042. }, {
  18043. "value": "白沙黎族自治县",
  18044. "label": "白沙黎族自治县"
  18045. }, {
  18046. "value": "昌江黎族自治县",
  18047. "label": "昌江黎族自治县"
  18048. }, {
  18049. "value": "乐东黎族自治县",
  18050. "label": "乐东黎族自治县"
  18051. }, {
  18052. "value": "陵水黎族自治县",
  18053. "label": "陵水黎族自治县"
  18054. }, {
  18055. "value": "保亭黎族苗族自治县",
  18056. "label": "保亭黎族苗族自治县"
  18057. }, {
  18058. "value": "琼中黎族苗族自治县",
  18059. "label": "琼中黎族苗族自治县"
  18060. }]
  18061. }]
  18062. }, {
  18063. "value": "重庆市",
  18064. "label": "重庆市",
  18065. "children": [{
  18066. "value": "市辖区",
  18067. "label": "市辖区",
  18068. "children": [{
  18069. "value": "万州区",
  18070. "label": "万州区"
  18071. }, {
  18072. "value": "涪陵区",
  18073. "label": "涪陵区"
  18074. }, {
  18075. "value": "渝中区",
  18076. "label": "渝中区"
  18077. }, {
  18078. "value": "大渡口区",
  18079. "label": "大渡口区"
  18080. }, {
  18081. "value": "江北区",
  18082. "label": "江北区"
  18083. }, {
  18084. "value": "沙坪坝区",
  18085. "label": "沙坪坝区"
  18086. }, {
  18087. "value": "九龙坡区",
  18088. "label": "九龙坡区"
  18089. }, {
  18090. "value": "南岸区",
  18091. "label": "南岸区"
  18092. }, {
  18093. "value": "北碚区",
  18094. "label": "北碚区"
  18095. }, {
  18096. "value": "綦江区",
  18097. "label": "綦江区"
  18098. }, {
  18099. "value": "大足区",
  18100. "label": "大足区"
  18101. }, {
  18102. "value": "渝北区",
  18103. "label": "渝北区"
  18104. }, {
  18105. "value": "巴南区",
  18106. "label": "巴南区"
  18107. }, {
  18108. "value": "黔江区",
  18109. "label": "黔江区"
  18110. }, {
  18111. "value": "长寿区",
  18112. "label": "长寿区"
  18113. }, {
  18114. "value": "江津区",
  18115. "label": "江津区"
  18116. }, {
  18117. "value": "合川区",
  18118. "label": "合川区"
  18119. }, {
  18120. "value": "永川区",
  18121. "label": "永川区"
  18122. }, {
  18123. "value": "南川区",
  18124. "label": "南川区"
  18125. }, {
  18126. "value": "璧山区",
  18127. "label": "璧山区"
  18128. }, {
  18129. "value": "铜梁区",
  18130. "label": "铜梁区"
  18131. }, {
  18132. "value": "潼南区",
  18133. "label": "潼南区"
  18134. }, {
  18135. "value": "荣昌区",
  18136. "label": "荣昌区"
  18137. }, {
  18138. "value": "开州区",
  18139. "label": "开州区"
  18140. }]
  18141. }, {
  18142. "value": "县",
  18143. "label": "县",
  18144. "children": [{
  18145. "value": "梁平县",
  18146. "label": "梁平县"
  18147. }, {
  18148. "value": "城口县",
  18149. "label": "城口县"
  18150. }, {
  18151. "value": "丰都县",
  18152. "label": "丰都县"
  18153. }, {
  18154. "value": "垫江县",
  18155. "label": "垫江县"
  18156. }, {
  18157. "value": "武隆县",
  18158. "label": "武隆县"
  18159. }, {
  18160. "value": "忠县",
  18161. "label": "忠县"
  18162. }, {
  18163. "value": "云阳县",
  18164. "label": "云阳县"
  18165. }, {
  18166. "value": "奉节县",
  18167. "label": "奉节县"
  18168. }, {
  18169. "value": "巫山县",
  18170. "label": "巫山县"
  18171. }, {
  18172. "value": "巫溪县",
  18173. "label": "巫溪县"
  18174. }, {
  18175. "value": "石柱土家族自治县",
  18176. "label": "石柱土家族自治县"
  18177. }, {
  18178. "value": "秀山土家族苗族自治县",
  18179. "label": "秀山土家族苗族自治县"
  18180. }, {
  18181. "value": "酉阳土家族苗族自治县",
  18182. "label": "酉阳土家族苗族自治县"
  18183. }, {
  18184. "value": "彭水苗族土家族自治县",
  18185. "label": "彭水苗族土家族自治县"
  18186. }]
  18187. }]
  18188. }, {
  18189. "value": "四川省",
  18190. "label": "四川省",
  18191. "children": [{
  18192. "value": "成都市",
  18193. "label": "成都市",
  18194. "children": [{
  18195. "value": "锦江区",
  18196. "label": "锦江区"
  18197. }, {
  18198. "value": "青羊区",
  18199. "label": "青羊区"
  18200. }, {
  18201. "value": "金牛区",
  18202. "label": "金牛区"
  18203. }, {
  18204. "value": "武侯区",
  18205. "label": "武侯区"
  18206. }, {
  18207. "value": "成华区",
  18208. "label": "成华区"
  18209. }, {
  18210. "value": "龙泉驿区",
  18211. "label": "龙泉驿区"
  18212. }, {
  18213. "value": "青白江区",
  18214. "label": "青白江区"
  18215. }, {
  18216. "value": "新都区",
  18217. "label": "新都区"
  18218. }, {
  18219. "value": "温江区",
  18220. "label": "温江区"
  18221. }, {
  18222. "value": "双流区",
  18223. "label": "双流区"
  18224. }, {
  18225. "value": "金堂县",
  18226. "label": "金堂县"
  18227. }, {
  18228. "value": "郫县",
  18229. "label": "郫县"
  18230. }, {
  18231. "value": "大邑县",
  18232. "label": "大邑县"
  18233. }, {
  18234. "value": "蒲江县",
  18235. "label": "蒲江县"
  18236. }, {
  18237. "value": "新津县",
  18238. "label": "新津县"
  18239. }, {
  18240. "value": "都江堰市",
  18241. "label": "都江堰市"
  18242. }, {
  18243. "value": "彭州市",
  18244. "label": "彭州市"
  18245. }, {
  18246. "value": "邛崃市",
  18247. "label": "邛崃市"
  18248. }, {
  18249. "value": "崇州市",
  18250. "label": "崇州市"
  18251. }, {
  18252. "value": "简阳市",
  18253. "label": "简阳市"
  18254. }]
  18255. }, {
  18256. "value": "自贡市",
  18257. "label": "自贡市",
  18258. "children": [{
  18259. "value": "自流井区",
  18260. "label": "自流井区"
  18261. }, {
  18262. "value": "贡井区",
  18263. "label": "贡井区"
  18264. }, {
  18265. "value": "大安区",
  18266. "label": "大安区"
  18267. }, {
  18268. "value": "沿滩区",
  18269. "label": "沿滩区"
  18270. }, {
  18271. "value": "荣县",
  18272. "label": "荣县"
  18273. }, {
  18274. "value": "富顺县",
  18275. "label": "富顺县"
  18276. }]
  18277. }, {
  18278. "value": "攀枝花市",
  18279. "label": "攀枝花市",
  18280. "children": [{
  18281. "value": "东区",
  18282. "label": "东区"
  18283. }, {
  18284. "value": "西区",
  18285. "label": "西区"
  18286. }, {
  18287. "value": "仁和区",
  18288. "label": "仁和区"
  18289. }, {
  18290. "value": "米易县",
  18291. "label": "米易县"
  18292. }, {
  18293. "value": "盐边县",
  18294. "label": "盐边县"
  18295. }]
  18296. }, {
  18297. "value": "泸州市",
  18298. "label": "泸州市",
  18299. "children": [{
  18300. "value": "江阳区",
  18301. "label": "江阳区"
  18302. }, {
  18303. "value": "纳溪区",
  18304. "label": "纳溪区"
  18305. }, {
  18306. "value": "龙马潭区",
  18307. "label": "龙马潭区"
  18308. }, {
  18309. "value": "泸县",
  18310. "label": "泸县"
  18311. }, {
  18312. "value": "合江县",
  18313. "label": "合江县"
  18314. }, {
  18315. "value": "叙永县",
  18316. "label": "叙永县"
  18317. }, {
  18318. "value": "古蔺县",
  18319. "label": "古蔺县"
  18320. }]
  18321. }, {
  18322. "value": "德阳市",
  18323. "label": "德阳市",
  18324. "children": [{
  18325. "value": "旌阳区",
  18326. "label": "旌阳区"
  18327. }, {
  18328. "value": "中江县",
  18329. "label": "中江县"
  18330. }, {
  18331. "value": "罗江县",
  18332. "label": "罗江县"
  18333. }, {
  18334. "value": "广汉市",
  18335. "label": "广汉市"
  18336. }, {
  18337. "value": "什邡市",
  18338. "label": "什邡市"
  18339. }, {
  18340. "value": "绵竹市",
  18341. "label": "绵竹市"
  18342. }]
  18343. }, {
  18344. "value": "绵阳市",
  18345. "label": "绵阳市",
  18346. "children": [{
  18347. "value": "涪城区",
  18348. "label": "涪城区"
  18349. }, {
  18350. "value": "游仙区",
  18351. "label": "游仙区"
  18352. }, {
  18353. "value": "安州区",
  18354. "label": "安州区"
  18355. }, {
  18356. "value": "三台县",
  18357. "label": "三台县"
  18358. }, {
  18359. "value": "盐亭县",
  18360. "label": "盐亭县"
  18361. }, {
  18362. "value": "梓潼县",
  18363. "label": "梓潼县"
  18364. }, {
  18365. "value": "北川羌族自治县",
  18366. "label": "北川羌族自治县"
  18367. }, {
  18368. "value": "平武县",
  18369. "label": "平武县"
  18370. }, {
  18371. "value": "江油市",
  18372. "label": "江油市"
  18373. }]
  18374. }, {
  18375. "value": "广元市",
  18376. "label": "广元市",
  18377. "children": [{
  18378. "value": "利州区",
  18379. "label": "利州区"
  18380. }, {
  18381. "value": "昭化区",
  18382. "label": "昭化区"
  18383. }, {
  18384. "value": "朝天区",
  18385. "label": "朝天区"
  18386. }, {
  18387. "value": "旺苍县",
  18388. "label": "旺苍县"
  18389. }, {
  18390. "value": "青川县",
  18391. "label": "青川县"
  18392. }, {
  18393. "value": "剑阁县",
  18394. "label": "剑阁县"
  18395. }, {
  18396. "value": "苍溪县",
  18397. "label": "苍溪县"
  18398. }]
  18399. }, {
  18400. "value": "遂宁市",
  18401. "label": "遂宁市",
  18402. "children": [{
  18403. "value": "船山区",
  18404. "label": "船山区"
  18405. }, {
  18406. "value": "安居区",
  18407. "label": "安居区"
  18408. }, {
  18409. "value": "蓬溪县",
  18410. "label": "蓬溪县"
  18411. }, {
  18412. "value": "射洪县",
  18413. "label": "射洪县"
  18414. }, {
  18415. "value": "大英县",
  18416. "label": "大英县"
  18417. }]
  18418. }, {
  18419. "value": "内江市",
  18420. "label": "内江市",
  18421. "children": [{
  18422. "value": "市中区",
  18423. "label": "市中区"
  18424. }, {
  18425. "value": "东兴区",
  18426. "label": "东兴区"
  18427. }, {
  18428. "value": "威远县",
  18429. "label": "威远县"
  18430. }, {
  18431. "value": "资中县",
  18432. "label": "资中县"
  18433. }, {
  18434. "value": "隆昌县",
  18435. "label": "隆昌县"
  18436. }]
  18437. }, {
  18438. "value": "乐山市",
  18439. "label": "乐山市",
  18440. "children": [{
  18441. "value": "市中区",
  18442. "label": "市中区"
  18443. }, {
  18444. "value": "沙湾区",
  18445. "label": "沙湾区"
  18446. }, {
  18447. "value": "五通桥区",
  18448. "label": "五通桥区"
  18449. }, {
  18450. "value": "金口河区",
  18451. "label": "金口河区"
  18452. }, {
  18453. "value": "犍为县",
  18454. "label": "犍为县"
  18455. }, {
  18456. "value": "井研县",
  18457. "label": "井研县"
  18458. }, {
  18459. "value": "夹江县",
  18460. "label": "夹江县"
  18461. }, {
  18462. "value": "沐川县",
  18463. "label": "沐川县"
  18464. }, {
  18465. "value": "峨边彝族自治县",
  18466. "label": "峨边彝族自治县"
  18467. }, {
  18468. "value": "马边彝族自治县",
  18469. "label": "马边彝族自治县"
  18470. }, {
  18471. "value": "峨眉山市",
  18472. "label": "峨眉山市"
  18473. }]
  18474. }, {
  18475. "value": "南充市",
  18476. "label": "南充市",
  18477. "children": [{
  18478. "value": "顺庆区",
  18479. "label": "顺庆区"
  18480. }, {
  18481. "value": "高坪区",
  18482. "label": "高坪区"
  18483. }, {
  18484. "value": "嘉陵区",
  18485. "label": "嘉陵区"
  18486. }, {
  18487. "value": "南部县",
  18488. "label": "南部县"
  18489. }, {
  18490. "value": "营山县",
  18491. "label": "营山县"
  18492. }, {
  18493. "value": "蓬安县",
  18494. "label": "蓬安县"
  18495. }, {
  18496. "value": "仪陇县",
  18497. "label": "仪陇县"
  18498. }, {
  18499. "value": "西充县",
  18500. "label": "西充县"
  18501. }, {
  18502. "value": "阆中市",
  18503. "label": "阆中市"
  18504. }]
  18505. }, {
  18506. "value": "眉山市",
  18507. "label": "眉山市",
  18508. "children": [{
  18509. "value": "东坡区",
  18510. "label": "东坡区"
  18511. }, {
  18512. "value": "彭山区",
  18513. "label": "彭山区"
  18514. }, {
  18515. "value": "仁寿县",
  18516. "label": "仁寿县"
  18517. }, {
  18518. "value": "洪雅县",
  18519. "label": "洪雅县"
  18520. }, {
  18521. "value": "丹棱县",
  18522. "label": "丹棱县"
  18523. }, {
  18524. "value": "青神县",
  18525. "label": "青神县"
  18526. }]
  18527. }, {
  18528. "value": "宜宾市",
  18529. "label": "宜宾市",
  18530. "children": [{
  18531. "value": "翠屏区",
  18532. "label": "翠屏区"
  18533. }, {
  18534. "value": "南溪区",
  18535. "label": "南溪区"
  18536. }, {
  18537. "value": "宜宾县",
  18538. "label": "宜宾县"
  18539. }, {
  18540. "value": "江安县",
  18541. "label": "江安县"
  18542. }, {
  18543. "value": "长宁县",
  18544. "label": "长宁县"
  18545. }, {
  18546. "value": "高县",
  18547. "label": "高县"
  18548. }, {
  18549. "value": "珙县",
  18550. "label": "珙县"
  18551. }, {
  18552. "value": "筠连县",
  18553. "label": "筠连县"
  18554. }, {
  18555. "value": "兴文县",
  18556. "label": "兴文县"
  18557. }, {
  18558. "value": "屏山县",
  18559. "label": "屏山县"
  18560. }]
  18561. }, {
  18562. "value": "广安市",
  18563. "label": "广安市",
  18564. "children": [{
  18565. "value": "广安区",
  18566. "label": "广安区"
  18567. }, {
  18568. "value": "前锋区",
  18569. "label": "前锋区"
  18570. }, {
  18571. "value": "岳池县",
  18572. "label": "岳池县"
  18573. }, {
  18574. "value": "武胜县",
  18575. "label": "武胜县"
  18576. }, {
  18577. "value": "邻水县",
  18578. "label": "邻水县"
  18579. }, {
  18580. "value": "华蓥市",
  18581. "label": "华蓥市"
  18582. }]
  18583. }, {
  18584. "value": "达州市",
  18585. "label": "达州市",
  18586. "children": [{
  18587. "value": "通川区",
  18588. "label": "通川区"
  18589. }, {
  18590. "value": "达川区",
  18591. "label": "达川区"
  18592. }, {
  18593. "value": "宣汉县",
  18594. "label": "宣汉县"
  18595. }, {
  18596. "value": "开江县",
  18597. "label": "开江县"
  18598. }, {
  18599. "value": "大竹县",
  18600. "label": "大竹县"
  18601. }, {
  18602. "value": "渠县",
  18603. "label": "渠县"
  18604. }, {
  18605. "value": "万源市",
  18606. "label": "万源市"
  18607. }]
  18608. }, {
  18609. "value": "雅安市",
  18610. "label": "雅安市",
  18611. "children": [{
  18612. "value": "雨城区",
  18613. "label": "雨城区"
  18614. }, {
  18615. "value": "名山区",
  18616. "label": "名山区"
  18617. }, {
  18618. "value": "荥经县",
  18619. "label": "荥经县"
  18620. }, {
  18621. "value": "汉源县",
  18622. "label": "汉源县"
  18623. }, {
  18624. "value": "石棉县",
  18625. "label": "石棉县"
  18626. }, {
  18627. "value": "天全县",
  18628. "label": "天全县"
  18629. }, {
  18630. "value": "芦山县",
  18631. "label": "芦山县"
  18632. }, {
  18633. "value": "宝兴县",
  18634. "label": "宝兴县"
  18635. }]
  18636. }, {
  18637. "value": "巴中市",
  18638. "label": "巴中市",
  18639. "children": [{
  18640. "value": "巴州区",
  18641. "label": "巴州区"
  18642. }, {
  18643. "value": "恩阳区",
  18644. "label": "恩阳区"
  18645. }, {
  18646. "value": "通江县",
  18647. "label": "通江县"
  18648. }, {
  18649. "value": "南江县",
  18650. "label": "南江县"
  18651. }, {
  18652. "value": "平昌县",
  18653. "label": "平昌县"
  18654. }]
  18655. }, {
  18656. "value": "资阳市",
  18657. "label": "资阳市",
  18658. "children": [{
  18659. "value": "雁江区",
  18660. "label": "雁江区"
  18661. }, {
  18662. "value": "安岳县",
  18663. "label": "安岳县"
  18664. }, {
  18665. "value": "乐至县",
  18666. "label": "乐至县"
  18667. }]
  18668. }, {
  18669. "value": "阿坝藏族羌族自治州",
  18670. "label": "阿坝藏族羌族自治州",
  18671. "children": [{
  18672. "value": "马尔康市",
  18673. "label": "马尔康市"
  18674. }, {
  18675. "value": "汶川县",
  18676. "label": "汶川县"
  18677. }, {
  18678. "value": "理县",
  18679. "label": "理县"
  18680. }, {
  18681. "value": "茂县",
  18682. "label": "茂县"
  18683. }, {
  18684. "value": "松潘县",
  18685. "label": "松潘县"
  18686. }, {
  18687. "value": "九寨沟县",
  18688. "label": "九寨沟县"
  18689. }, {
  18690. "value": "金川县",
  18691. "label": "金川县"
  18692. }, {
  18693. "value": "小金县",
  18694. "label": "小金县"
  18695. }, {
  18696. "value": "黑水县",
  18697. "label": "黑水县"
  18698. }, {
  18699. "value": "壤塘县",
  18700. "label": "壤塘县"
  18701. }, {
  18702. "value": "阿坝县",
  18703. "label": "阿坝县"
  18704. }, {
  18705. "value": "若尔盖县",
  18706. "label": "若尔盖县"
  18707. }, {
  18708. "value": "红原县",
  18709. "label": "红原县"
  18710. }]
  18711. }, {
  18712. "value": "甘孜藏族自治州",
  18713. "label": "甘孜藏族自治州",
  18714. "children": [{
  18715. "value": "康定市",
  18716. "label": "康定市"
  18717. }, {
  18718. "value": "泸定县",
  18719. "label": "泸定县"
  18720. }, {
  18721. "value": "丹巴县",
  18722. "label": "丹巴县"
  18723. }, {
  18724. "value": "九龙县",
  18725. "label": "九龙县"
  18726. }, {
  18727. "value": "雅江县",
  18728. "label": "雅江县"
  18729. }, {
  18730. "value": "道孚县",
  18731. "label": "道孚县"
  18732. }, {
  18733. "value": "炉霍县",
  18734. "label": "炉霍县"
  18735. }, {
  18736. "value": "甘孜县",
  18737. "label": "甘孜县"
  18738. }, {
  18739. "value": "新龙县",
  18740. "label": "新龙县"
  18741. }, {
  18742. "value": "德格县",
  18743. "label": "德格县"
  18744. }, {
  18745. "value": "白玉县",
  18746. "label": "白玉县"
  18747. }, {
  18748. "value": "石渠县",
  18749. "label": "石渠县"
  18750. }, {
  18751. "value": "色达县",
  18752. "label": "色达县"
  18753. }, {
  18754. "value": "理塘县",
  18755. "label": "理塘县"
  18756. }, {
  18757. "value": "巴塘县",
  18758. "label": "巴塘县"
  18759. }, {
  18760. "value": "乡城县",
  18761. "label": "乡城县"
  18762. }, {
  18763. "value": "稻城县",
  18764. "label": "稻城县"
  18765. }, {
  18766. "value": "得荣县",
  18767. "label": "得荣县"
  18768. }]
  18769. }, {
  18770. "value": "凉山彝族自治州",
  18771. "label": "凉山彝族自治州",
  18772. "children": [{
  18773. "value": "西昌市",
  18774. "label": "西昌市"
  18775. }, {
  18776. "value": "木里藏族自治县",
  18777. "label": "木里藏族自治县"
  18778. }, {
  18779. "value": "盐源县",
  18780. "label": "盐源县"
  18781. }, {
  18782. "value": "德昌县",
  18783. "label": "德昌县"
  18784. }, {
  18785. "value": "会理县",
  18786. "label": "会理县"
  18787. }, {
  18788. "value": "会东县",
  18789. "label": "会东县"
  18790. }, {
  18791. "value": "宁南县",
  18792. "label": "宁南县"
  18793. }, {
  18794. "value": "普格县",
  18795. "label": "普格县"
  18796. }, {
  18797. "value": "布拖县",
  18798. "label": "布拖县"
  18799. }, {
  18800. "value": "金阳县",
  18801. "label": "金阳县"
  18802. }, {
  18803. "value": "昭觉县",
  18804. "label": "昭觉县"
  18805. }, {
  18806. "value": "喜德县",
  18807. "label": "喜德县"
  18808. }, {
  18809. "value": "冕宁县",
  18810. "label": "冕宁县"
  18811. }, {
  18812. "value": "越西县",
  18813. "label": "越西县"
  18814. }, {
  18815. "value": "甘洛县",
  18816. "label": "甘洛县"
  18817. }, {
  18818. "value": "美姑县",
  18819. "label": "美姑县"
  18820. }, {
  18821. "value": "雷波县",
  18822. "label": "雷波县"
  18823. }]
  18824. }]
  18825. }, {
  18826. "value": "贵州省",
  18827. "label": "贵州省",
  18828. "children": [{
  18829. "value": "贵阳市",
  18830. "label": "贵阳市",
  18831. "children": [{
  18832. "value": "南明区",
  18833. "label": "南明区"
  18834. }, {
  18835. "value": "云岩区",
  18836. "label": "云岩区"
  18837. }, {
  18838. "value": "花溪区",
  18839. "label": "花溪区"
  18840. }, {
  18841. "value": "乌当区",
  18842. "label": "乌当区"
  18843. }, {
  18844. "value": "白云区",
  18845. "label": "白云区"
  18846. }, {
  18847. "value": "观山湖区",
  18848. "label": "观山湖区"
  18849. }, {
  18850. "value": "开阳县",
  18851. "label": "开阳县"
  18852. }, {
  18853. "value": "息烽县",
  18854. "label": "息烽县"
  18855. }, {
  18856. "value": "修文县",
  18857. "label": "修文县"
  18858. }, {
  18859. "value": "清镇市",
  18860. "label": "清镇市"
  18861. }]
  18862. }, {
  18863. "value": "六盘水市",
  18864. "label": "六盘水市",
  18865. "children": [{
  18866. "value": "钟山区",
  18867. "label": "钟山区"
  18868. }, {
  18869. "value": "六枝特区",
  18870. "label": "六枝特区"
  18871. }, {
  18872. "value": "水城县",
  18873. "label": "水城县"
  18874. }, {
  18875. "value": "盘县",
  18876. "label": "盘县"
  18877. }]
  18878. }, {
  18879. "value": "遵义市",
  18880. "label": "遵义市",
  18881. "children": [{
  18882. "value": "红花岗区",
  18883. "label": "红花岗区"
  18884. }, {
  18885. "value": "汇川区",
  18886. "label": "汇川区"
  18887. }, {
  18888. "value": "播州区",
  18889. "label": "播州区"
  18890. }, {
  18891. "value": "桐梓县",
  18892. "label": "桐梓县"
  18893. }, {
  18894. "value": "绥阳县",
  18895. "label": "绥阳县"
  18896. }, {
  18897. "value": "正安县",
  18898. "label": "正安县"
  18899. }, {
  18900. "value": "道真仡佬族苗族自治县",
  18901. "label": "道真仡佬族苗族自治县"
  18902. }, {
  18903. "value": "务川仡佬族苗族自治县",
  18904. "label": "务川仡佬族苗族自治县"
  18905. }, {
  18906. "value": "凤冈县",
  18907. "label": "凤冈县"
  18908. }, {
  18909. "value": "湄潭县",
  18910. "label": "湄潭县"
  18911. }, {
  18912. "value": "余庆县",
  18913. "label": "余庆县"
  18914. }, {
  18915. "value": "习水县",
  18916. "label": "习水县"
  18917. }, {
  18918. "value": "赤水市",
  18919. "label": "赤水市"
  18920. }, {
  18921. "value": "仁怀市",
  18922. "label": "仁怀市"
  18923. }]
  18924. }, {
  18925. "value": "安顺市",
  18926. "label": "安顺市",
  18927. "children": [{
  18928. "value": "西秀区",
  18929. "label": "西秀区"
  18930. }, {
  18931. "value": "平坝区",
  18932. "label": "平坝区"
  18933. }, {
  18934. "value": "普定县",
  18935. "label": "普定县"
  18936. }, {
  18937. "value": "镇宁布依族苗族自治县",
  18938. "label": "镇宁布依族苗族自治县"
  18939. }, {
  18940. "value": "关岭布依族苗族自治县",
  18941. "label": "关岭布依族苗族自治县"
  18942. }, {
  18943. "value": "紫云苗族布依族自治县",
  18944. "label": "紫云苗族布依族自治县"
  18945. }]
  18946. }, {
  18947. "value": "毕节市",
  18948. "label": "毕节市",
  18949. "children": [{
  18950. "value": "七星关区",
  18951. "label": "七星关区"
  18952. }, {
  18953. "value": "大方县",
  18954. "label": "大方县"
  18955. }, {
  18956. "value": "黔西县",
  18957. "label": "黔西县"
  18958. }, {
  18959. "value": "金沙县",
  18960. "label": "金沙县"
  18961. }, {
  18962. "value": "织金县",
  18963. "label": "织金县"
  18964. }, {
  18965. "value": "纳雍县",
  18966. "label": "纳雍县"
  18967. }, {
  18968. "value": "威宁彝族回族苗族自治县",
  18969. "label": "威宁彝族回族苗族自治县"
  18970. }, {
  18971. "value": "赫章县",
  18972. "label": "赫章县"
  18973. }]
  18974. }, {
  18975. "value": "铜仁市",
  18976. "label": "铜仁市",
  18977. "children": [{
  18978. "value": "碧江区",
  18979. "label": "碧江区"
  18980. }, {
  18981. "value": "万山区",
  18982. "label": "万山区"
  18983. }, {
  18984. "value": "江口县",
  18985. "label": "江口县"
  18986. }, {
  18987. "value": "玉屏侗族自治县",
  18988. "label": "玉屏侗族自治县"
  18989. }, {
  18990. "value": "石阡县",
  18991. "label": "石阡县"
  18992. }, {
  18993. "value": "思南县",
  18994. "label": "思南县"
  18995. }, {
  18996. "value": "印江土家族苗族自治县",
  18997. "label": "印江土家族苗族自治县"
  18998. }, {
  18999. "value": "德江县",
  19000. "label": "德江县"
  19001. }, {
  19002. "value": "沿河土家族自治县",
  19003. "label": "沿河土家族自治县"
  19004. }, {
  19005. "value": "松桃苗族自治县",
  19006. "label": "松桃苗族自治县"
  19007. }]
  19008. }, {
  19009. "value": "黔西南布依族苗族自治州",
  19010. "label": "黔西南布依族苗族自治州",
  19011. "children": [{
  19012. "value": "兴义市",
  19013. "label": "兴义市"
  19014. }, {
  19015. "value": "兴仁县",
  19016. "label": "兴仁县"
  19017. }, {
  19018. "value": "普安县",
  19019. "label": "普安县"
  19020. }, {
  19021. "value": "晴隆县",
  19022. "label": "晴隆县"
  19023. }, {
  19024. "value": "贞丰县",
  19025. "label": "贞丰县"
  19026. }, {
  19027. "value": "望谟县",
  19028. "label": "望谟县"
  19029. }, {
  19030. "value": "册亨县",
  19031. "label": "册亨县"
  19032. }, {
  19033. "value": "安龙县",
  19034. "label": "安龙县"
  19035. }]
  19036. }, {
  19037. "value": "黔东南苗族侗族自治州",
  19038. "label": "黔东南苗族侗族自治州",
  19039. "children": [{
  19040. "value": "凯里市",
  19041. "label": "凯里市"
  19042. }, {
  19043. "value": "黄平县",
  19044. "label": "黄平县"
  19045. }, {
  19046. "value": "施秉县",
  19047. "label": "施秉县"
  19048. }, {
  19049. "value": "三穗县",
  19050. "label": "三穗县"
  19051. }, {
  19052. "value": "镇远县",
  19053. "label": "镇远县"
  19054. }, {
  19055. "value": "岑巩县",
  19056. "label": "岑巩县"
  19057. }, {
  19058. "value": "天柱县",
  19059. "label": "天柱县"
  19060. }, {
  19061. "value": "锦屏县",
  19062. "label": "锦屏县"
  19063. }, {
  19064. "value": "剑河县",
  19065. "label": "剑河县"
  19066. }, {
  19067. "value": "台江县",
  19068. "label": "台江县"
  19069. }, {
  19070. "value": "黎平县",
  19071. "label": "黎平县"
  19072. }, {
  19073. "value": "榕江县",
  19074. "label": "榕江县"
  19075. }, {
  19076. "value": "从江县",
  19077. "label": "从江县"
  19078. }, {
  19079. "value": "雷山县",
  19080. "label": "雷山县"
  19081. }, {
  19082. "value": "麻江县",
  19083. "label": "麻江县"
  19084. }, {
  19085. "value": "丹寨县",
  19086. "label": "丹寨县"
  19087. }]
  19088. }, {
  19089. "value": "黔南布依族苗族自治州",
  19090. "label": "黔南布依族苗族自治州",
  19091. "children": [{
  19092. "value": "都匀市",
  19093. "label": "都匀市"
  19094. }, {
  19095. "value": "福泉市",
  19096. "label": "福泉市"
  19097. }, {
  19098. "value": "荔波县",
  19099. "label": "荔波县"
  19100. }, {
  19101. "value": "贵定县",
  19102. "label": "贵定县"
  19103. }, {
  19104. "value": "瓮安县",
  19105. "label": "瓮安县"
  19106. }, {
  19107. "value": "独山县",
  19108. "label": "独山县"
  19109. }, {
  19110. "value": "平塘县",
  19111. "label": "平塘县"
  19112. }, {
  19113. "value": "罗甸县",
  19114. "label": "罗甸县"
  19115. }, {
  19116. "value": "长顺县",
  19117. "label": "长顺县"
  19118. }, {
  19119. "value": "龙里县",
  19120. "label": "龙里县"
  19121. }, {
  19122. "value": "惠水县",
  19123. "label": "惠水县"
  19124. }, {
  19125. "value": "三都水族自治县",
  19126. "label": "三都水族自治县"
  19127. }]
  19128. }]
  19129. }, {
  19130. "value": "云南省",
  19131. "label": "云南省",
  19132. "children": [{
  19133. "value": "昆明市",
  19134. "label": "昆明市",
  19135. "children": [{
  19136. "value": "五华区",
  19137. "label": "五华区"
  19138. }, {
  19139. "value": "盘龙区",
  19140. "label": "盘龙区"
  19141. }, {
  19142. "value": "官渡区",
  19143. "label": "官渡区"
  19144. }, {
  19145. "value": "西山区",
  19146. "label": "西山区"
  19147. }, {
  19148. "value": "东川区",
  19149. "label": "东川区"
  19150. }, {
  19151. "value": "呈贡区",
  19152. "label": "呈贡区"
  19153. }, {
  19154. "value": "晋宁县",
  19155. "label": "晋宁县"
  19156. }, {
  19157. "value": "富民县",
  19158. "label": "富民县"
  19159. }, {
  19160. "value": "宜良县",
  19161. "label": "宜良县"
  19162. }, {
  19163. "value": "石林彝族自治县",
  19164. "label": "石林彝族自治县"
  19165. }, {
  19166. "value": "嵩明县",
  19167. "label": "嵩明县"
  19168. }, {
  19169. "value": "禄劝彝族苗族自治县",
  19170. "label": "禄劝彝族苗族自治县"
  19171. }, {
  19172. "value": "寻甸回族彝族自治县",
  19173. "label": "寻甸回族彝族自治县"
  19174. }, {
  19175. "value": "安宁市",
  19176. "label": "安宁市"
  19177. }]
  19178. }, {
  19179. "value": "曲靖市",
  19180. "label": "曲靖市",
  19181. "children": [{
  19182. "value": "麒麟区",
  19183. "label": "麒麟区"
  19184. }, {
  19185. "value": "沾益区",
  19186. "label": "沾益区"
  19187. }, {
  19188. "value": "马龙县",
  19189. "label": "马龙县"
  19190. }, {
  19191. "value": "陆良县",
  19192. "label": "陆良县"
  19193. }, {
  19194. "value": "师宗县",
  19195. "label": "师宗县"
  19196. }, {
  19197. "value": "罗平县",
  19198. "label": "罗平县"
  19199. }, {
  19200. "value": "富源县",
  19201. "label": "富源县"
  19202. }, {
  19203. "value": "会泽县",
  19204. "label": "会泽县"
  19205. }, {
  19206. "value": "宣威市",
  19207. "label": "宣威市"
  19208. }]
  19209. }, {
  19210. "value": "玉溪市",
  19211. "label": "玉溪市",
  19212. "children": [{
  19213. "value": "红塔区",
  19214. "label": "红塔区"
  19215. }, {
  19216. "value": "江川区",
  19217. "label": "江川区"
  19218. }, {
  19219. "value": "澄江县",
  19220. "label": "澄江县"
  19221. }, {
  19222. "value": "通海县",
  19223. "label": "通海县"
  19224. }, {
  19225. "value": "华宁县",
  19226. "label": "华宁县"
  19227. }, {
  19228. "value": "易门县",
  19229. "label": "易门县"
  19230. }, {
  19231. "value": "峨山彝族自治县",
  19232. "label": "峨山彝族自治县"
  19233. }, {
  19234. "value": "新平彝族傣族自治县",
  19235. "label": "新平彝族傣族自治县"
  19236. }, {
  19237. "value": "元江哈尼族彝族傣族自治县",
  19238. "label": "元江哈尼族彝族傣族自治县"
  19239. }]
  19240. }, {
  19241. "value": "保山市",
  19242. "label": "保山市",
  19243. "children": [{
  19244. "value": "隆阳区",
  19245. "label": "隆阳区"
  19246. }, {
  19247. "value": "施甸县",
  19248. "label": "施甸县"
  19249. }, {
  19250. "value": "龙陵县",
  19251. "label": "龙陵县"
  19252. }, {
  19253. "value": "昌宁县",
  19254. "label": "昌宁县"
  19255. }, {
  19256. "value": "腾冲市",
  19257. "label": "腾冲市"
  19258. }]
  19259. }, {
  19260. "value": "昭通市",
  19261. "label": "昭通市",
  19262. "children": [{
  19263. "value": "昭阳区",
  19264. "label": "昭阳区"
  19265. }, {
  19266. "value": "鲁甸县",
  19267. "label": "鲁甸县"
  19268. }, {
  19269. "value": "巧家县",
  19270. "label": "巧家县"
  19271. }, {
  19272. "value": "盐津县",
  19273. "label": "盐津县"
  19274. }, {
  19275. "value": "大关县",
  19276. "label": "大关县"
  19277. }, {
  19278. "value": "永善县",
  19279. "label": "永善县"
  19280. }, {
  19281. "value": "绥江县",
  19282. "label": "绥江县"
  19283. }, {
  19284. "value": "镇雄县",
  19285. "label": "镇雄县"
  19286. }, {
  19287. "value": "彝良县",
  19288. "label": "彝良县"
  19289. }, {
  19290. "value": "威信县",
  19291. "label": "威信县"
  19292. }, {
  19293. "value": "水富县",
  19294. "label": "水富县"
  19295. }]
  19296. }, {
  19297. "value": "丽江市",
  19298. "label": "丽江市",
  19299. "children": [{
  19300. "value": "古城区",
  19301. "label": "古城区"
  19302. }, {
  19303. "value": "玉龙纳西族自治县",
  19304. "label": "玉龙纳西族自治县"
  19305. }, {
  19306. "value": "永胜县",
  19307. "label": "永胜县"
  19308. }, {
  19309. "value": "华坪县",
  19310. "label": "华坪县"
  19311. }, {
  19312. "value": "宁蒗彝族自治县",
  19313. "label": "宁蒗彝族自治县"
  19314. }]
  19315. }, {
  19316. "value": "普洱市",
  19317. "label": "普洱市",
  19318. "children": [{
  19319. "value": "思茅区",
  19320. "label": "思茅区"
  19321. }, {
  19322. "value": "宁洱哈尼族彝族自治县",
  19323. "label": "宁洱哈尼族彝族自治县"
  19324. }, {
  19325. "value": "墨江哈尼族自治县",
  19326. "label": "墨江哈尼族自治县"
  19327. }, {
  19328. "value": "景东彝族自治县",
  19329. "label": "景东彝族自治县"
  19330. }, {
  19331. "value": "景谷傣族彝族自治县",
  19332. "label": "景谷傣族彝族自治县"
  19333. }, {
  19334. "value": "镇沅彝族哈尼族拉祜族自治县",
  19335. "label": "镇沅彝族哈尼族拉祜族自治县"
  19336. }, {
  19337. "value": "江城哈尼族彝族自治县",
  19338. "label": "江城哈尼族彝族自治县"
  19339. }, {
  19340. "value": "孟连傣族拉祜族佤族自治县",
  19341. "label": "孟连傣族拉祜族佤族自治县"
  19342. }, {
  19343. "value": "澜沧拉祜族自治县",
  19344. "label": "澜沧拉祜族自治县"
  19345. }, {
  19346. "value": "西盟佤族自治县",
  19347. "label": "西盟佤族自治县"
  19348. }]
  19349. }, {
  19350. "value": "临沧市",
  19351. "label": "临沧市",
  19352. "children": [{
  19353. "value": "临翔区",
  19354. "label": "临翔区"
  19355. }, {
  19356. "value": "凤庆县",
  19357. "label": "凤庆县"
  19358. }, {
  19359. "value": "云县",
  19360. "label": "云县"
  19361. }, {
  19362. "value": "永德县",
  19363. "label": "永德县"
  19364. }, {
  19365. "value": "镇康县",
  19366. "label": "镇康县"
  19367. }, {
  19368. "value": "双江拉祜族佤族布朗族傣族自治县",
  19369. "label": "双江拉祜族佤族布朗族傣族自治县"
  19370. }, {
  19371. "value": "耿马傣族佤族自治县",
  19372. "label": "耿马傣族佤族自治县"
  19373. }, {
  19374. "value": "沧源佤族自治县",
  19375. "label": "沧源佤族自治县"
  19376. }]
  19377. }, {
  19378. "value": "楚雄彝族自治州",
  19379. "label": "楚雄彝族自治州",
  19380. "children": [{
  19381. "value": "楚雄市",
  19382. "label": "楚雄市"
  19383. }, {
  19384. "value": "双柏县",
  19385. "label": "双柏县"
  19386. }, {
  19387. "value": "牟定县",
  19388. "label": "牟定县"
  19389. }, {
  19390. "value": "南华县",
  19391. "label": "南华县"
  19392. }, {
  19393. "value": "姚安县",
  19394. "label": "姚安县"
  19395. }, {
  19396. "value": "大姚县",
  19397. "label": "大姚县"
  19398. }, {
  19399. "value": "永仁县",
  19400. "label": "永仁县"
  19401. }, {
  19402. "value": "元谋县",
  19403. "label": "元谋县"
  19404. }, {
  19405. "value": "武定县",
  19406. "label": "武定县"
  19407. }, {
  19408. "value": "禄丰县",
  19409. "label": "禄丰县"
  19410. }]
  19411. }, {
  19412. "value": "红河哈尼族彝族自治州",
  19413. "label": "红河哈尼族彝族自治州",
  19414. "children": [{
  19415. "value": "个旧市",
  19416. "label": "个旧市"
  19417. }, {
  19418. "value": "开远市",
  19419. "label": "开远市"
  19420. }, {
  19421. "value": "蒙自市",
  19422. "label": "蒙自市"
  19423. }, {
  19424. "value": "弥勒市",
  19425. "label": "弥勒市"
  19426. }, {
  19427. "value": "屏边苗族自治县",
  19428. "label": "屏边苗族自治县"
  19429. }, {
  19430. "value": "建水县",
  19431. "label": "建水县"
  19432. }, {
  19433. "value": "石屏县",
  19434. "label": "石屏县"
  19435. }, {
  19436. "value": "泸西县",
  19437. "label": "泸西县"
  19438. }, {
  19439. "value": "元阳县",
  19440. "label": "元阳县"
  19441. }, {
  19442. "value": "红河县",
  19443. "label": "红河县"
  19444. }, {
  19445. "value": "金平苗族瑶族傣族自治县",
  19446. "label": "金平苗族瑶族傣族自治县"
  19447. }, {
  19448. "value": "绿春县",
  19449. "label": "绿春县"
  19450. }, {
  19451. "value": "河口瑶族自治县",
  19452. "label": "河口瑶族自治县"
  19453. }]
  19454. }, {
  19455. "value": "文山壮族苗族自治州",
  19456. "label": "文山壮族苗族自治州",
  19457. "children": [{
  19458. "value": "文山市",
  19459. "label": "文山市"
  19460. }, {
  19461. "value": "砚山县",
  19462. "label": "砚山县"
  19463. }, {
  19464. "value": "西畴县",
  19465. "label": "西畴县"
  19466. }, {
  19467. "value": "麻栗坡县",
  19468. "label": "麻栗坡县"
  19469. }, {
  19470. "value": "马关县",
  19471. "label": "马关县"
  19472. }, {
  19473. "value": "丘北县",
  19474. "label": "丘北县"
  19475. }, {
  19476. "value": "广南县",
  19477. "label": "广南县"
  19478. }, {
  19479. "value": "富宁县",
  19480. "label": "富宁县"
  19481. }]
  19482. }, {
  19483. "value": "西双版纳傣族自治州",
  19484. "label": "西双版纳傣族自治州",
  19485. "children": [{
  19486. "value": "景洪市",
  19487. "label": "景洪市"
  19488. }, {
  19489. "value": "勐海县",
  19490. "label": "勐海县"
  19491. }, {
  19492. "value": "勐腊县",
  19493. "label": "勐腊县"
  19494. }]
  19495. }, {
  19496. "value": "大理白族自治州",
  19497. "label": "大理白族自治州",
  19498. "children": [{
  19499. "value": "大理市",
  19500. "label": "大理市"
  19501. }, {
  19502. "value": "漾濞彝族自治县",
  19503. "label": "漾濞彝族自治县"
  19504. }, {
  19505. "value": "祥云县",
  19506. "label": "祥云县"
  19507. }, {
  19508. "value": "宾川县",
  19509. "label": "宾川县"
  19510. }, {
  19511. "value": "弥渡县",
  19512. "label": "弥渡县"
  19513. }, {
  19514. "value": "南涧彝族自治县",
  19515. "label": "南涧彝族自治县"
  19516. }, {
  19517. "value": "巍山彝族回族自治县",
  19518. "label": "巍山彝族回族自治县"
  19519. }, {
  19520. "value": "永平县",
  19521. "label": "永平县"
  19522. }, {
  19523. "value": "云龙县",
  19524. "label": "云龙县"
  19525. }, {
  19526. "value": "洱源县",
  19527. "label": "洱源县"
  19528. }, {
  19529. "value": "剑川县",
  19530. "label": "剑川县"
  19531. }, {
  19532. "value": "鹤庆县",
  19533. "label": "鹤庆县"
  19534. }]
  19535. }, {
  19536. "value": "德宏傣族景颇族自治州",
  19537. "label": "德宏傣族景颇族自治州",
  19538. "children": [{
  19539. "value": "瑞丽市",
  19540. "label": "瑞丽市"
  19541. }, {
  19542. "value": "芒市",
  19543. "label": "芒市"
  19544. }, {
  19545. "value": "梁河县",
  19546. "label": "梁河县"
  19547. }, {
  19548. "value": "盈江县",
  19549. "label": "盈江县"
  19550. }, {
  19551. "value": "陇川县",
  19552. "label": "陇川县"
  19553. }]
  19554. }, {
  19555. "value": "怒江傈僳族自治州",
  19556. "label": "怒江傈僳族自治州",
  19557. "children": [{
  19558. "value": "泸水市",
  19559. "label": "泸水市"
  19560. }, {
  19561. "value": "福贡县",
  19562. "label": "福贡县"
  19563. }, {
  19564. "value": "贡山独龙族怒族自治县",
  19565. "label": "贡山独龙族怒族自治县"
  19566. }, {
  19567. "value": "兰坪白族普米族自治县",
  19568. "label": "兰坪白族普米族自治县"
  19569. }]
  19570. }, {
  19571. "value": "迪庆藏族自治州",
  19572. "label": "迪庆藏族自治州",
  19573. "children": [{
  19574. "value": "香格里拉市",
  19575. "label": "香格里拉市"
  19576. }, {
  19577. "value": "德钦县",
  19578. "label": "德钦县"
  19579. }, {
  19580. "value": "维西傈僳族自治县",
  19581. "label": "维西傈僳族自治县"
  19582. }]
  19583. }]
  19584. }, {
  19585. "value": "西藏自治区",
  19586. "label": "西藏自治区",
  19587. "children": [{
  19588. "value": "拉萨市",
  19589. "label": "拉萨市",
  19590. "children": [{
  19591. "value": "城关区",
  19592. "label": "城关区"
  19593. }, {
  19594. "value": "堆龙德庆区",
  19595. "label": "堆龙德庆区"
  19596. }, {
  19597. "value": "林周县",
  19598. "label": "林周县"
  19599. }, {
  19600. "value": "当雄县",
  19601. "label": "当雄县"
  19602. }, {
  19603. "value": "尼木县",
  19604. "label": "尼木县"
  19605. }, {
  19606. "value": "曲水县",
  19607. "label": "曲水县"
  19608. }, {
  19609. "value": "达孜县",
  19610. "label": "达孜县"
  19611. }, {
  19612. "value": "墨竹工卡县",
  19613. "label": "墨竹工卡县"
  19614. }]
  19615. }, {
  19616. "value": "日喀则市",
  19617. "label": "日喀则市",
  19618. "children": [{
  19619. "value": "桑珠孜区",
  19620. "label": "桑珠孜区"
  19621. }, {
  19622. "value": "南木林县",
  19623. "label": "南木林县"
  19624. }, {
  19625. "value": "江孜县",
  19626. "label": "江孜县"
  19627. }, {
  19628. "value": "定日县",
  19629. "label": "定日县"
  19630. }, {
  19631. "value": "萨迦县",
  19632. "label": "萨迦县"
  19633. }, {
  19634. "value": "拉孜县",
  19635. "label": "拉孜县"
  19636. }, {
  19637. "value": "昂仁县",
  19638. "label": "昂仁县"
  19639. }, {
  19640. "value": "谢通门县",
  19641. "label": "谢通门县"
  19642. }, {
  19643. "value": "白朗县",
  19644. "label": "白朗县"
  19645. }, {
  19646. "value": "仁布县",
  19647. "label": "仁布县"
  19648. }, {
  19649. "value": "康马县",
  19650. "label": "康马县"
  19651. }, {
  19652. "value": "定结县",
  19653. "label": "定结县"
  19654. }, {
  19655. "value": "仲巴县",
  19656. "label": "仲巴县"
  19657. }, {
  19658. "value": "亚东县",
  19659. "label": "亚东县"
  19660. }, {
  19661. "value": "吉隆县",
  19662. "label": "吉隆县"
  19663. }, {
  19664. "value": "聂拉木县",
  19665. "label": "聂拉木县"
  19666. }, {
  19667. "value": "萨嘎县",
  19668. "label": "萨嘎县"
  19669. }, {
  19670. "value": "岗巴县",
  19671. "label": "岗巴县"
  19672. }]
  19673. }, {
  19674. "value": "昌都市",
  19675. "label": "昌都市",
  19676. "children": [{
  19677. "value": "卡若区",
  19678. "label": "卡若区"
  19679. }, {
  19680. "value": "江达县",
  19681. "label": "江达县"
  19682. }, {
  19683. "value": "贡觉县",
  19684. "label": "贡觉县"
  19685. }, {
  19686. "value": "类乌齐县",
  19687. "label": "类乌齐县"
  19688. }, {
  19689. "value": "丁青县",
  19690. "label": "丁青县"
  19691. }, {
  19692. "value": "察雅县",
  19693. "label": "察雅县"
  19694. }, {
  19695. "value": "八宿县",
  19696. "label": "八宿县"
  19697. }, {
  19698. "value": "左贡县",
  19699. "label": "左贡县"
  19700. }, {
  19701. "value": "芒康县",
  19702. "label": "芒康县"
  19703. }, {
  19704. "value": "洛隆县",
  19705. "label": "洛隆县"
  19706. }, {
  19707. "value": "边坝县",
  19708. "label": "边坝县"
  19709. }]
  19710. }, {
  19711. "value": "林芝市",
  19712. "label": "林芝市",
  19713. "children": [{
  19714. "value": "巴宜区",
  19715. "label": "巴宜区"
  19716. }, {
  19717. "value": "工布江达县",
  19718. "label": "工布江达县"
  19719. }, {
  19720. "value": "米林县",
  19721. "label": "米林县"
  19722. }, {
  19723. "value": "墨脱县",
  19724. "label": "墨脱县"
  19725. }, {
  19726. "value": "波密县",
  19727. "label": "波密县"
  19728. }, {
  19729. "value": "察隅县",
  19730. "label": "察隅县"
  19731. }, {
  19732. "value": "朗县",
  19733. "label": "朗县"
  19734. }]
  19735. }, {
  19736. "value": "山南市",
  19737. "label": "山南市",
  19738. "children": [{
  19739. "value": "乃东区",
  19740. "label": "乃东区"
  19741. }, {
  19742. "value": "扎囊县",
  19743. "label": "扎囊县"
  19744. }, {
  19745. "value": "贡嘎县",
  19746. "label": "贡嘎县"
  19747. }, {
  19748. "value": "桑日县",
  19749. "label": "桑日县"
  19750. }, {
  19751. "value": "琼结县",
  19752. "label": "琼结县"
  19753. }, {
  19754. "value": "曲松县",
  19755. "label": "曲松县"
  19756. }, {
  19757. "value": "措美县",
  19758. "label": "措美县"
  19759. }, {
  19760. "value": "洛扎县",
  19761. "label": "洛扎县"
  19762. }, {
  19763. "value": "加查县",
  19764. "label": "加查县"
  19765. }, {
  19766. "value": "隆子县",
  19767. "label": "隆子县"
  19768. }, {
  19769. "value": "错那县",
  19770. "label": "错那县"
  19771. }, {
  19772. "value": "浪卡子县",
  19773. "label": "浪卡子县"
  19774. }]
  19775. }, {
  19776. "value": "那曲地区",
  19777. "label": "那曲地区",
  19778. "children": [{
  19779. "value": "那曲县",
  19780. "label": "那曲县"
  19781. }, {
  19782. "value": "嘉黎县",
  19783. "label": "嘉黎县"
  19784. }, {
  19785. "value": "比如县",
  19786. "label": "比如县"
  19787. }, {
  19788. "value": "聂荣县",
  19789. "label": "聂荣县"
  19790. }, {
  19791. "value": "安多县",
  19792. "label": "安多县"
  19793. }, {
  19794. "value": "申扎县",
  19795. "label": "申扎县"
  19796. }, {
  19797. "value": "索县",
  19798. "label": "索县"
  19799. }, {
  19800. "value": "班戈县",
  19801. "label": "班戈县"
  19802. }, {
  19803. "value": "巴青县",
  19804. "label": "巴青县"
  19805. }, {
  19806. "value": "尼玛县",
  19807. "label": "尼玛县"
  19808. }, {
  19809. "value": "双湖县",
  19810. "label": "双湖县"
  19811. }]
  19812. }, {
  19813. "value": "阿里地区",
  19814. "label": "阿里地区",
  19815. "children": [{
  19816. "value": "普兰县",
  19817. "label": "普兰县"
  19818. }, {
  19819. "value": "札达县",
  19820. "label": "札达县"
  19821. }, {
  19822. "value": "噶尔县",
  19823. "label": "噶尔县"
  19824. }, {
  19825. "value": "日土县",
  19826. "label": "日土县"
  19827. }, {
  19828. "value": "革吉县",
  19829. "label": "革吉县"
  19830. }, {
  19831. "value": "改则县",
  19832. "label": "改则县"
  19833. }, {
  19834. "value": "措勤县",
  19835. "label": "措勤县"
  19836. }]
  19837. }]
  19838. }, {
  19839. "value": "陕西省",
  19840. "label": "陕西省",
  19841. "children": [{
  19842. "value": "西安市",
  19843. "label": "西安市",
  19844. "children": [{
  19845. "value": "新城区",
  19846. "label": "新城区"
  19847. }, {
  19848. "value": "碑林区",
  19849. "label": "碑林区"
  19850. }, {
  19851. "value": "莲湖区",
  19852. "label": "莲湖区"
  19853. }, {
  19854. "value": "灞桥区",
  19855. "label": "灞桥区"
  19856. }, {
  19857. "value": "未央区",
  19858. "label": "未央区"
  19859. }, {
  19860. "value": "雁塔区",
  19861. "label": "雁塔区"
  19862. }, {
  19863. "value": "阎良区",
  19864. "label": "阎良区"
  19865. }, {
  19866. "value": "临潼区",
  19867. "label": "临潼区"
  19868. }, {
  19869. "value": "长安区",
  19870. "label": "长安区"
  19871. }, {
  19872. "value": "高陵区",
  19873. "label": "高陵区"
  19874. }, {
  19875. "value": "蓝田县",
  19876. "label": "蓝田县"
  19877. }, {
  19878. "value": "周至县",
  19879. "label": "周至县"
  19880. }, {
  19881. "value": "户县",
  19882. "label": "户县"
  19883. }]
  19884. }, {
  19885. "value": "铜川市",
  19886. "label": "铜川市",
  19887. "children": [{
  19888. "value": "王益区",
  19889. "label": "王益区"
  19890. }, {
  19891. "value": "印台区",
  19892. "label": "印台区"
  19893. }, {
  19894. "value": "耀州区",
  19895. "label": "耀州区"
  19896. }, {
  19897. "value": "宜君县",
  19898. "label": "宜君县"
  19899. }]
  19900. }, {
  19901. "value": "宝鸡市",
  19902. "label": "宝鸡市",
  19903. "children": [{
  19904. "value": "渭滨区",
  19905. "label": "渭滨区"
  19906. }, {
  19907. "value": "金台区",
  19908. "label": "金台区"
  19909. }, {
  19910. "value": "陈仓区",
  19911. "label": "陈仓区"
  19912. }, {
  19913. "value": "凤翔县",
  19914. "label": "凤翔县"
  19915. }, {
  19916. "value": "岐山县",
  19917. "label": "岐山县"
  19918. }, {
  19919. "value": "扶风县",
  19920. "label": "扶风县"
  19921. }, {
  19922. "value": "眉县",
  19923. "label": "眉县"
  19924. }, {
  19925. "value": "陇县",
  19926. "label": "陇县"
  19927. }, {
  19928. "value": "千阳县",
  19929. "label": "千阳县"
  19930. }, {
  19931. "value": "麟游县",
  19932. "label": "麟游县"
  19933. }, {
  19934. "value": "凤县",
  19935. "label": "凤县"
  19936. }, {
  19937. "value": "太白县",
  19938. "label": "太白县"
  19939. }]
  19940. }, {
  19941. "value": "咸阳市",
  19942. "label": "咸阳市",
  19943. "children": [{
  19944. "value": "秦都区",
  19945. "label": "秦都区"
  19946. }, {
  19947. "value": "杨陵区",
  19948. "label": "杨陵区"
  19949. }, {
  19950. "value": "渭城区",
  19951. "label": "渭城区"
  19952. }, {
  19953. "value": "三原县",
  19954. "label": "三原县"
  19955. }, {
  19956. "value": "泾阳县",
  19957. "label": "泾阳县"
  19958. }, {
  19959. "value": "乾县",
  19960. "label": "乾县"
  19961. }, {
  19962. "value": "礼泉县",
  19963. "label": "礼泉县"
  19964. }, {
  19965. "value": "永寿县",
  19966. "label": "永寿县"
  19967. }, {
  19968. "value": "彬县",
  19969. "label": "彬县"
  19970. }, {
  19971. "value": "长武县",
  19972. "label": "长武县"
  19973. }, {
  19974. "value": "旬邑县",
  19975. "label": "旬邑县"
  19976. }, {
  19977. "value": "淳化县",
  19978. "label": "淳化县"
  19979. }, {
  19980. "value": "武功县",
  19981. "label": "武功县"
  19982. }, {
  19983. "value": "兴平市",
  19984. "label": "兴平市"
  19985. }]
  19986. }, {
  19987. "value": "渭南市",
  19988. "label": "渭南市",
  19989. "children": [{
  19990. "value": "临渭区",
  19991. "label": "临渭区"
  19992. }, {
  19993. "value": "华州区",
  19994. "label": "华州区"
  19995. }, {
  19996. "value": "潼关县",
  19997. "label": "潼关县"
  19998. }, {
  19999. "value": "大荔县",
  20000. "label": "大荔县"
  20001. }, {
  20002. "value": "合阳县",
  20003. "label": "合阳县"
  20004. }, {
  20005. "value": "澄城县",
  20006. "label": "澄城县"
  20007. }, {
  20008. "value": "蒲城县",
  20009. "label": "蒲城县"
  20010. }, {
  20011. "value": "白水县",
  20012. "label": "白水县"
  20013. }, {
  20014. "value": "富平县",
  20015. "label": "富平县"
  20016. }, {
  20017. "value": "韩城市",
  20018. "label": "韩城市"
  20019. }, {
  20020. "value": "华阴市",
  20021. "label": "华阴市"
  20022. }]
  20023. }, {
  20024. "value": "延安市",
  20025. "label": "延安市",
  20026. "children": [{
  20027. "value": "宝塔区",
  20028. "label": "宝塔区"
  20029. }, {
  20030. "value": "安塞区",
  20031. "label": "安塞区"
  20032. }, {
  20033. "value": "延长县",
  20034. "label": "延长县"
  20035. }, {
  20036. "value": "延川县",
  20037. "label": "延川县"
  20038. }, {
  20039. "value": "子长县",
  20040. "label": "子长县"
  20041. }, {
  20042. "value": "志丹县",
  20043. "label": "志丹县"
  20044. }, {
  20045. "value": "吴起县",
  20046. "label": "吴起县"
  20047. }, {
  20048. "value": "甘泉县",
  20049. "label": "甘泉县"
  20050. }, {
  20051. "value": "富县",
  20052. "label": "富县"
  20053. }, {
  20054. "value": "洛川县",
  20055. "label": "洛川县"
  20056. }, {
  20057. "value": "宜川县",
  20058. "label": "宜川县"
  20059. }, {
  20060. "value": "黄龙县",
  20061. "label": "黄龙县"
  20062. }, {
  20063. "value": "黄陵县",
  20064. "label": "黄陵县"
  20065. }]
  20066. }, {
  20067. "value": "汉中市",
  20068. "label": "汉中市",
  20069. "children": [{
  20070. "value": "汉台区",
  20071. "label": "汉台区"
  20072. }, {
  20073. "value": "南郑县",
  20074. "label": "南郑县"
  20075. }, {
  20076. "value": "城固县",
  20077. "label": "城固县"
  20078. }, {
  20079. "value": "洋县",
  20080. "label": "洋县"
  20081. }, {
  20082. "value": "西乡县",
  20083. "label": "西乡县"
  20084. }, {
  20085. "value": "勉县",
  20086. "label": "勉县"
  20087. }, {
  20088. "value": "宁强县",
  20089. "label": "宁强县"
  20090. }, {
  20091. "value": "略阳县",
  20092. "label": "略阳县"
  20093. }, {
  20094. "value": "镇巴县",
  20095. "label": "镇巴县"
  20096. }, {
  20097. "value": "留坝县",
  20098. "label": "留坝县"
  20099. }, {
  20100. "value": "佛坪县",
  20101. "label": "佛坪县"
  20102. }]
  20103. }, {
  20104. "value": "榆林市",
  20105. "label": "榆林市",
  20106. "children": [{
  20107. "value": "榆阳区",
  20108. "label": "榆阳区"
  20109. }, {
  20110. "value": "横山区",
  20111. "label": "横山区"
  20112. }, {
  20113. "value": "神木县",
  20114. "label": "神木县"
  20115. }, {
  20116. "value": "府谷县",
  20117. "label": "府谷县"
  20118. }, {
  20119. "value": "靖边县",
  20120. "label": "靖边县"
  20121. }, {
  20122. "value": "定边县",
  20123. "label": "定边县"
  20124. }, {
  20125. "value": "绥德县",
  20126. "label": "绥德县"
  20127. }, {
  20128. "value": "米脂县",
  20129. "label": "米脂县"
  20130. }, {
  20131. "value": "佳县",
  20132. "label": "佳县"
  20133. }, {
  20134. "value": "吴堡县",
  20135. "label": "吴堡县"
  20136. }, {
  20137. "value": "清涧县",
  20138. "label": "清涧县"
  20139. }, {
  20140. "value": "子洲县",
  20141. "label": "子洲县"
  20142. }]
  20143. }, {
  20144. "value": "安康市",
  20145. "label": "安康市",
  20146. "children": [{
  20147. "value": "汉滨区",
  20148. "label": "汉滨区"
  20149. }, {
  20150. "value": "汉阴县",
  20151. "label": "汉阴县"
  20152. }, {
  20153. "value": "石泉县",
  20154. "label": "石泉县"
  20155. }, {
  20156. "value": "宁陕县",
  20157. "label": "宁陕县"
  20158. }, {
  20159. "value": "紫阳县",
  20160. "label": "紫阳县"
  20161. }, {
  20162. "value": "岚皋县",
  20163. "label": "岚皋县"
  20164. }, {
  20165. "value": "平利县",
  20166. "label": "平利县"
  20167. }, {
  20168. "value": "镇坪县",
  20169. "label": "镇坪县"
  20170. }, {
  20171. "value": "旬阳县",
  20172. "label": "旬阳县"
  20173. }, {
  20174. "value": "白河县",
  20175. "label": "白河县"
  20176. }]
  20177. }, {
  20178. "value": "商洛市",
  20179. "label": "商洛市",
  20180. "children": [{
  20181. "value": "商州区",
  20182. "label": "商州区"
  20183. }, {
  20184. "value": "洛南县",
  20185. "label": "洛南县"
  20186. }, {
  20187. "value": "丹凤县",
  20188. "label": "丹凤县"
  20189. }, {
  20190. "value": "商南县",
  20191. "label": "商南县"
  20192. }, {
  20193. "value": "山阳县",
  20194. "label": "山阳县"
  20195. }, {
  20196. "value": "镇安县",
  20197. "label": "镇安县"
  20198. }, {
  20199. "value": "柞水县",
  20200. "label": "柞水县"
  20201. }]
  20202. }]
  20203. }, {
  20204. "value": "甘肃省",
  20205. "label": "甘肃省",
  20206. "children": [{
  20207. "value": "兰州市",
  20208. "label": "兰州市",
  20209. "children": [{
  20210. "value": "城关区",
  20211. "label": "城关区"
  20212. }, {
  20213. "value": "七里河区",
  20214. "label": "七里河区"
  20215. }, {
  20216. "value": "西固区",
  20217. "label": "西固区"
  20218. }, {
  20219. "value": "安宁区",
  20220. "label": "安宁区"
  20221. }, {
  20222. "value": "红古区",
  20223. "label": "红古区"
  20224. }, {
  20225. "value": "永登县",
  20226. "label": "永登县"
  20227. }, {
  20228. "value": "皋兰县",
  20229. "label": "皋兰县"
  20230. }, {
  20231. "value": "榆中县",
  20232. "label": "榆中县"
  20233. }]
  20234. }, {
  20235. "value": "嘉峪关市",
  20236. "label": "嘉峪关市",
  20237. "children": [{
  20238. "value": "新城镇",
  20239. "label": "新城镇"
  20240. }, {
  20241. "value": "峪泉镇",
  20242. "label": "峪泉镇"
  20243. }, {
  20244. "value": "文殊镇",
  20245. "label": "文殊镇"
  20246. }, {
  20247. "value": "雄关区",
  20248. "label": "雄关区"
  20249. }, {
  20250. "value": "镜铁区",
  20251. "label": "镜铁区"
  20252. }, {
  20253. "value": "长城区",
  20254. "label": "长城区"
  20255. }]
  20256. }, {
  20257. "value": "金昌市",
  20258. "label": "金昌市",
  20259. "children": [{
  20260. "value": "金川区",
  20261. "label": "金川区"
  20262. }, {
  20263. "value": "永昌县",
  20264. "label": "永昌县"
  20265. }]
  20266. }, {
  20267. "value": "白银市",
  20268. "label": "白银市",
  20269. "children": [{
  20270. "value": "白银区",
  20271. "label": "白银区"
  20272. }, {
  20273. "value": "平川区",
  20274. "label": "平川区"
  20275. }, {
  20276. "value": "靖远县",
  20277. "label": "靖远县"
  20278. }, {
  20279. "value": "会宁县",
  20280. "label": "会宁县"
  20281. }, {
  20282. "value": "景泰县",
  20283. "label": "景泰县"
  20284. }]
  20285. }, {
  20286. "value": "天水市",
  20287. "label": "天水市",
  20288. "children": [{
  20289. "value": "秦州区",
  20290. "label": "秦州区"
  20291. }, {
  20292. "value": "麦积区",
  20293. "label": "麦积区"
  20294. }, {
  20295. "value": "清水县",
  20296. "label": "清水县"
  20297. }, {
  20298. "value": "秦安县",
  20299. "label": "秦安县"
  20300. }, {
  20301. "value": "甘谷县",
  20302. "label": "甘谷县"
  20303. }, {
  20304. "value": "武山县",
  20305. "label": "武山县"
  20306. }, {
  20307. "value": "张家川回族自治县",
  20308. "label": "张家川回族自治县"
  20309. }]
  20310. }, {
  20311. "value": "武威市",
  20312. "label": "武威市",
  20313. "children": [{
  20314. "value": "凉州区",
  20315. "label": "凉州区"
  20316. }, {
  20317. "value": "民勤县",
  20318. "label": "民勤县"
  20319. }, {
  20320. "value": "古浪县",
  20321. "label": "古浪县"
  20322. }, {
  20323. "value": "天祝藏族自治县",
  20324. "label": "天祝藏族自治县"
  20325. }]
  20326. }, {
  20327. "value": "张掖市",
  20328. "label": "张掖市",
  20329. "children": [{
  20330. "value": "甘州区",
  20331. "label": "甘州区"
  20332. }, {
  20333. "value": "肃南裕固族自治县",
  20334. "label": "肃南裕固族自治县"
  20335. }, {
  20336. "value": "民乐县",
  20337. "label": "民乐县"
  20338. }, {
  20339. "value": "临泽县",
  20340. "label": "临泽县"
  20341. }, {
  20342. "value": "高台县",
  20343. "label": "高台县"
  20344. }, {
  20345. "value": "山丹县",
  20346. "label": "山丹县"
  20347. }]
  20348. }, {
  20349. "value": "平凉市",
  20350. "label": "平凉市",
  20351. "children": [{
  20352. "value": "崆峒区",
  20353. "label": "崆峒区"
  20354. }, {
  20355. "value": "泾川县",
  20356. "label": "泾川县"
  20357. }, {
  20358. "value": "灵台县",
  20359. "label": "灵台县"
  20360. }, {
  20361. "value": "崇信县",
  20362. "label": "崇信县"
  20363. }, {
  20364. "value": "华亭县",
  20365. "label": "华亭县"
  20366. }, {
  20367. "value": "庄浪县",
  20368. "label": "庄浪县"
  20369. }, {
  20370. "value": "静宁县",
  20371. "label": "静宁县"
  20372. }]
  20373. }, {
  20374. "value": "酒泉市",
  20375. "label": "酒泉市",
  20376. "children": [{
  20377. "value": "肃州区",
  20378. "label": "肃州区"
  20379. }, {
  20380. "value": "金塔县",
  20381. "label": "金塔县"
  20382. }, {
  20383. "value": "瓜州县",
  20384. "label": "瓜州县"
  20385. }, {
  20386. "value": "肃北蒙古族自治县",
  20387. "label": "肃北蒙古族自治县"
  20388. }, {
  20389. "value": "阿克塞哈萨克族自治县",
  20390. "label": "阿克塞哈萨克族自治县"
  20391. }, {
  20392. "value": "玉门市",
  20393. "label": "玉门市"
  20394. }, {
  20395. "value": "敦煌市",
  20396. "label": "敦煌市"
  20397. }]
  20398. }, {
  20399. "value": "庆阳市",
  20400. "label": "庆阳市",
  20401. "children": [{
  20402. "value": "西峰区",
  20403. "label": "西峰区"
  20404. }, {
  20405. "value": "庆城县",
  20406. "label": "庆城县"
  20407. }, {
  20408. "value": "环县",
  20409. "label": "环县"
  20410. }, {
  20411. "value": "华池县",
  20412. "label": "华池县"
  20413. }, {
  20414. "value": "合水县",
  20415. "label": "合水县"
  20416. }, {
  20417. "value": "正宁县",
  20418. "label": "正宁县"
  20419. }, {
  20420. "value": "宁县",
  20421. "label": "宁县"
  20422. }, {
  20423. "value": "镇原县",
  20424. "label": "镇原县"
  20425. }]
  20426. }, {
  20427. "value": "定西市",
  20428. "label": "定西市",
  20429. "children": [{
  20430. "value": "安定区",
  20431. "label": "安定区"
  20432. }, {
  20433. "value": "通渭县",
  20434. "label": "通渭县"
  20435. }, {
  20436. "value": "陇西县",
  20437. "label": "陇西县"
  20438. }, {
  20439. "value": "渭源县",
  20440. "label": "渭源县"
  20441. }, {
  20442. "value": "临洮县",
  20443. "label": "临洮县"
  20444. }, {
  20445. "value": "漳县",
  20446. "label": "漳县"
  20447. }, {
  20448. "value": "岷县",
  20449. "label": "岷县"
  20450. }]
  20451. }, {
  20452. "value": "陇南市",
  20453. "label": "陇南市",
  20454. "children": [{
  20455. "value": "武都区",
  20456. "label": "武都区"
  20457. }, {
  20458. "value": "成县",
  20459. "label": "成县"
  20460. }, {
  20461. "value": "文县",
  20462. "label": "文县"
  20463. }, {
  20464. "value": "宕昌县",
  20465. "label": "宕昌县"
  20466. }, {
  20467. "value": "康县",
  20468. "label": "康县"
  20469. }, {
  20470. "value": "西和县",
  20471. "label": "西和县"
  20472. }, {
  20473. "value": "礼县",
  20474. "label": "礼县"
  20475. }, {
  20476. "value": "徽县",
  20477. "label": "徽县"
  20478. }, {
  20479. "value": "两当县",
  20480. "label": "两当县"
  20481. }]
  20482. }, {
  20483. "value": "临夏回族自治州",
  20484. "label": "临夏回族自治州",
  20485. "children": [{
  20486. "value": "临夏市",
  20487. "label": "临夏市"
  20488. }, {
  20489. "value": "临夏县",
  20490. "label": "临夏县"
  20491. }, {
  20492. "value": "康乐县",
  20493. "label": "康乐县"
  20494. }, {
  20495. "value": "永靖县",
  20496. "label": "永靖县"
  20497. }, {
  20498. "value": "广河县",
  20499. "label": "广河县"
  20500. }, {
  20501. "value": "和政县",
  20502. "label": "和政县"
  20503. }, {
  20504. "value": "东乡族自治县",
  20505. "label": "东乡族自治县"
  20506. }, {
  20507. "value": "积石山保安族东乡族撒拉族自治县",
  20508. "label": "积石山保安族东乡族撒拉族自治县"
  20509. }]
  20510. }, {
  20511. "value": "甘南藏族自治州",
  20512. "label": "甘南藏族自治州",
  20513. "children": [{
  20514. "value": "合作市",
  20515. "label": "合作市"
  20516. }, {
  20517. "value": "临潭县",
  20518. "label": "临潭县"
  20519. }, {
  20520. "value": "卓尼县",
  20521. "label": "卓尼县"
  20522. }, {
  20523. "value": "舟曲县",
  20524. "label": "舟曲县"
  20525. }, {
  20526. "value": "迭部县",
  20527. "label": "迭部县"
  20528. }, {
  20529. "value": "玛曲县",
  20530. "label": "玛曲县"
  20531. }, {
  20532. "value": "碌曲县",
  20533. "label": "碌曲县"
  20534. }, {
  20535. "value": "夏河县",
  20536. "label": "夏河县"
  20537. }]
  20538. }]
  20539. }, {
  20540. "value": "青海省",
  20541. "label": "青海省",
  20542. "children": [{
  20543. "value": "西宁市",
  20544. "label": "西宁市",
  20545. "children": [{
  20546. "value": "城东区",
  20547. "label": "城东区"
  20548. }, {
  20549. "value": "城中区",
  20550. "label": "城中区"
  20551. }, {
  20552. "value": "城西区",
  20553. "label": "城西区"
  20554. }, {
  20555. "value": "城北区",
  20556. "label": "城北区"
  20557. }, {
  20558. "value": "大通回族土族自治县",
  20559. "label": "大通回族土族自治县"
  20560. }, {
  20561. "value": "湟中县",
  20562. "label": "湟中县"
  20563. }, {
  20564. "value": "湟源县",
  20565. "label": "湟源县"
  20566. }]
  20567. }, {
  20568. "value": "海东市",
  20569. "label": "海东市",
  20570. "children": [{
  20571. "value": "乐都区",
  20572. "label": "乐都区"
  20573. }, {
  20574. "value": "平安区",
  20575. "label": "平安区"
  20576. }, {
  20577. "value": "民和回族土族自治县",
  20578. "label": "民和回族土族自治县"
  20579. }, {
  20580. "value": "互助土族自治县",
  20581. "label": "互助土族自治县"
  20582. }, {
  20583. "value": "化隆回族自治县",
  20584. "label": "化隆回族自治县"
  20585. }, {
  20586. "value": "循化撒拉族自治县",
  20587. "label": "循化撒拉族自治县"
  20588. }]
  20589. }, {
  20590. "value": "海北藏族自治州",
  20591. "label": "海北藏族自治州",
  20592. "children": [{
  20593. "value": "门源回族自治县",
  20594. "label": "门源回族自治县"
  20595. }, {
  20596. "value": "祁连县",
  20597. "label": "祁连县"
  20598. }, {
  20599. "value": "海晏县",
  20600. "label": "海晏县"
  20601. }, {
  20602. "value": "刚察县",
  20603. "label": "刚察县"
  20604. }]
  20605. }, {
  20606. "value": "黄南藏族自治州",
  20607. "label": "黄南藏族自治州",
  20608. "children": [{
  20609. "value": "同仁县",
  20610. "label": "同仁县"
  20611. }, {
  20612. "value": "尖扎县",
  20613. "label": "尖扎县"
  20614. }, {
  20615. "value": "泽库县",
  20616. "label": "泽库县"
  20617. }, {
  20618. "value": "河南蒙古族自治县",
  20619. "label": "河南蒙古族自治县"
  20620. }]
  20621. }, {
  20622. "value": "海南藏族自治州",
  20623. "label": "海南藏族自治州",
  20624. "children": [{
  20625. "value": "共和县",
  20626. "label": "共和县"
  20627. }, {
  20628. "value": "同德县",
  20629. "label": "同德县"
  20630. }, {
  20631. "value": "贵德县",
  20632. "label": "贵德县"
  20633. }, {
  20634. "value": "兴海县",
  20635. "label": "兴海县"
  20636. }, {
  20637. "value": "贵南县",
  20638. "label": "贵南县"
  20639. }]
  20640. }, {
  20641. "value": "果洛藏族自治州",
  20642. "label": "果洛藏族自治州",
  20643. "children": [{
  20644. "value": "玛沁县",
  20645. "label": "玛沁县"
  20646. }, {
  20647. "value": "班玛县",
  20648. "label": "班玛县"
  20649. }, {
  20650. "value": "甘德县",
  20651. "label": "甘德县"
  20652. }, {
  20653. "value": "达日县",
  20654. "label": "达日县"
  20655. }, {
  20656. "value": "久治县",
  20657. "label": "久治县"
  20658. }, {
  20659. "value": "玛多县",
  20660. "label": "玛多县"
  20661. }]
  20662. }, {
  20663. "value": "玉树藏族自治州",
  20664. "label": "玉树藏族自治州",
  20665. "children": [{
  20666. "value": "玉树市",
  20667. "label": "玉树市"
  20668. }, {
  20669. "value": "杂多县",
  20670. "label": "杂多县"
  20671. }, {
  20672. "value": "称多县",
  20673. "label": "称多县"
  20674. }, {
  20675. "value": "治多县",
  20676. "label": "治多县"
  20677. }, {
  20678. "value": "囊谦县",
  20679. "label": "囊谦县"
  20680. }, {
  20681. "value": "曲麻莱县",
  20682. "label": "曲麻莱县"
  20683. }]
  20684. }, {
  20685. "value": "海西蒙古族藏族自治州",
  20686. "label": "海西蒙古族藏族自治州",
  20687. "children": [{
  20688. "value": "格尔木市",
  20689. "label": "格尔木市"
  20690. }, {
  20691. "value": "德令哈市",
  20692. "label": "德令哈市"
  20693. }, {
  20694. "value": "乌兰县",
  20695. "label": "乌兰县"
  20696. }, {
  20697. "value": "都兰县",
  20698. "label": "都兰县"
  20699. }, {
  20700. "value": "天峻县",
  20701. "label": "天峻县"
  20702. }]
  20703. }]
  20704. }, {
  20705. "value": "宁夏回族自治区",
  20706. "label": "宁夏回族自治区",
  20707. "children": [{
  20708. "value": "银川市",
  20709. "label": "银川市",
  20710. "children": [{
  20711. "value": "兴庆区",
  20712. "label": "兴庆区"
  20713. }, {
  20714. "value": "西夏区",
  20715. "label": "西夏区"
  20716. }, {
  20717. "value": "金凤区",
  20718. "label": "金凤区"
  20719. }, {
  20720. "value": "永宁县",
  20721. "label": "永宁县"
  20722. }, {
  20723. "value": "贺兰县",
  20724. "label": "贺兰县"
  20725. }, {
  20726. "value": "灵武市",
  20727. "label": "灵武市"
  20728. }]
  20729. }, {
  20730. "value": "石嘴山市",
  20731. "label": "石嘴山市",
  20732. "children": [{
  20733. "value": "大武口区",
  20734. "label": "大武口区"
  20735. }, {
  20736. "value": "惠农区",
  20737. "label": "惠农区"
  20738. }, {
  20739. "value": "平罗县",
  20740. "label": "平罗县"
  20741. }]
  20742. }, {
  20743. "value": "吴忠市",
  20744. "label": "吴忠市",
  20745. "children": [{
  20746. "value": "利通区",
  20747. "label": "利通区"
  20748. }, {
  20749. "value": "红寺堡区",
  20750. "label": "红寺堡区"
  20751. }, {
  20752. "value": "盐池县",
  20753. "label": "盐池县"
  20754. }, {
  20755. "value": "同心县",
  20756. "label": "同心县"
  20757. }, {
  20758. "value": "青铜峡市",
  20759. "label": "青铜峡市"
  20760. }]
  20761. }, {
  20762. "value": "固原市",
  20763. "label": "固原市",
  20764. "children": [{
  20765. "value": "原州区",
  20766. "label": "原州区"
  20767. }, {
  20768. "value": "西吉县",
  20769. "label": "西吉县"
  20770. }, {
  20771. "value": "隆德县",
  20772. "label": "隆德县"
  20773. }, {
  20774. "value": "泾源县",
  20775. "label": "泾源县"
  20776. }, {
  20777. "value": "彭阳县",
  20778. "label": "彭阳县"
  20779. }]
  20780. }, {
  20781. "value": "中卫市",
  20782. "label": "中卫市",
  20783. "children": [{
  20784. "value": "沙坡头区",
  20785. "label": "沙坡头区"
  20786. }, {
  20787. "value": "中宁县",
  20788. "label": "中宁县"
  20789. }, {
  20790. "value": "海原县",
  20791. "label": "海原县"
  20792. }]
  20793. }]
  20794. }, {
  20795. "value": "新疆维吾尔自治区",
  20796. "label": "新疆维吾尔自治区",
  20797. "children": [{
  20798. "value": "乌鲁木齐市",
  20799. "label": "乌鲁木齐市",
  20800. "children": [{
  20801. "value": "天山区",
  20802. "label": "天山区"
  20803. }, {
  20804. "value": "沙依巴克区",
  20805. "label": "沙依巴克区"
  20806. }, {
  20807. "value": "新市区",
  20808. "label": "新市区"
  20809. }, {
  20810. "value": "水磨沟区",
  20811. "label": "水磨沟区"
  20812. }, {
  20813. "value": "头屯河区",
  20814. "label": "头屯河区"
  20815. }, {
  20816. "value": "达坂城区",
  20817. "label": "达坂城区"
  20818. }, {
  20819. "value": "米东区",
  20820. "label": "米东区"
  20821. }, {
  20822. "value": "乌鲁木齐县",
  20823. "label": "乌鲁木齐县"
  20824. }]
  20825. }, {
  20826. "value": "克拉玛依市",
  20827. "label": "克拉玛依市",
  20828. "children": [{
  20829. "value": "独山子区",
  20830. "label": "独山子区"
  20831. }, {
  20832. "value": "克拉玛依区",
  20833. "label": "克拉玛依区"
  20834. }, {
  20835. "value": "白碱滩区",
  20836. "label": "白碱滩区"
  20837. }, {
  20838. "value": "乌尔禾区",
  20839. "label": "乌尔禾区"
  20840. }]
  20841. }, {
  20842. "value": "吐鲁番市",
  20843. "label": "吐鲁番市",
  20844. "children": [{
  20845. "value": "高昌区",
  20846. "label": "高昌区"
  20847. }, {
  20848. "value": "鄯善县",
  20849. "label": "鄯善县"
  20850. }, {
  20851. "value": "托克逊县",
  20852. "label": "托克逊县"
  20853. }]
  20854. }, {
  20855. "value": "哈密市",
  20856. "label": "哈密市",
  20857. "children": [{
  20858. "value": "伊州区",
  20859. "label": "伊州区"
  20860. }, {
  20861. "value": "巴里坤哈萨克自治县",
  20862. "label": "巴里坤哈萨克自治县"
  20863. }, {
  20864. "value": "伊吾县",
  20865. "label": "伊吾县"
  20866. }]
  20867. }, {
  20868. "value": "昌吉回族自治州",
  20869. "label": "昌吉回族自治州",
  20870. "children": [{
  20871. "value": "昌吉市",
  20872. "label": "昌吉市"
  20873. }, {
  20874. "value": "阜康市",
  20875. "label": "阜康市"
  20876. }, {
  20877. "value": "呼图壁县",
  20878. "label": "呼图壁县"
  20879. }, {
  20880. "value": "玛纳斯县",
  20881. "label": "玛纳斯县"
  20882. }, {
  20883. "value": "奇台县",
  20884. "label": "奇台县"
  20885. }, {
  20886. "value": "吉木萨尔县",
  20887. "label": "吉木萨尔县"
  20888. }, {
  20889. "value": "木垒哈萨克自治县",
  20890. "label": "木垒哈萨克自治县"
  20891. }]
  20892. }, {
  20893. "value": "博尔塔拉蒙古自治州",
  20894. "label": "博尔塔拉蒙古自治州",
  20895. "children": [{
  20896. "value": "博乐市",
  20897. "label": "博乐市"
  20898. }, {
  20899. "value": "阿拉山口市",
  20900. "label": "阿拉山口市"
  20901. }, {
  20902. "value": "精河县",
  20903. "label": "精河县"
  20904. }, {
  20905. "value": "温泉县",
  20906. "label": "温泉县"
  20907. }]
  20908. }, {
  20909. "value": "巴音郭楞蒙古自治州",
  20910. "label": "巴音郭楞蒙古自治州",
  20911. "children": [{
  20912. "value": "库尔勒市",
  20913. "label": "库尔勒市"
  20914. }, {
  20915. "value": "轮台县",
  20916. "label": "轮台县"
  20917. }, {
  20918. "value": "尉犁县",
  20919. "label": "尉犁县"
  20920. }, {
  20921. "value": "若羌县",
  20922. "label": "若羌县"
  20923. }, {
  20924. "value": "且末县",
  20925. "label": "且末县"
  20926. }, {
  20927. "value": "焉耆回族自治县",
  20928. "label": "焉耆回族自治县"
  20929. }, {
  20930. "value": "和静县",
  20931. "label": "和静县"
  20932. }, {
  20933. "value": "和硕县",
  20934. "label": "和硕县"
  20935. }, {
  20936. "value": "博湖县",
  20937. "label": "博湖县"
  20938. }]
  20939. }, {
  20940. "value": "阿克苏地区",
  20941. "label": "阿克苏地区",
  20942. "children": [{
  20943. "value": "阿克苏市",
  20944. "label": "阿克苏市"
  20945. }, {
  20946. "value": "温宿县",
  20947. "label": "温宿县"
  20948. }, {
  20949. "value": "库车县",
  20950. "label": "库车县"
  20951. }, {
  20952. "value": "沙雅县",
  20953. "label": "沙雅县"
  20954. }, {
  20955. "value": "新和县",
  20956. "label": "新和县"
  20957. }, {
  20958. "value": "拜城县",
  20959. "label": "拜城县"
  20960. }, {
  20961. "value": "乌什县",
  20962. "label": "乌什县"
  20963. }, {
  20964. "value": "阿瓦提县",
  20965. "label": "阿瓦提县"
  20966. }, {
  20967. "value": "柯坪县",
  20968. "label": "柯坪县"
  20969. }]
  20970. }, {
  20971. "value": "克孜勒苏柯尔克孜自治州",
  20972. "label": "克孜勒苏柯尔克孜自治州",
  20973. "children": [{
  20974. "value": "阿图什市",
  20975. "label": "阿图什市"
  20976. }, {
  20977. "value": "阿克陶县",
  20978. "label": "阿克陶县"
  20979. }, {
  20980. "value": "阿合奇县",
  20981. "label": "阿合奇县"
  20982. }, {
  20983. "value": "乌恰县",
  20984. "label": "乌恰县"
  20985. }]
  20986. }, {
  20987. "value": "喀什地区",
  20988. "label": "喀什地区",
  20989. "children": [{
  20990. "value": "喀什市",
  20991. "label": "喀什市"
  20992. }, {
  20993. "value": "疏附县",
  20994. "label": "疏附县"
  20995. }, {
  20996. "value": "疏勒县",
  20997. "label": "疏勒县"
  20998. }, {
  20999. "value": "英吉沙县",
  21000. "label": "英吉沙县"
  21001. }, {
  21002. "value": "泽普县",
  21003. "label": "泽普县"
  21004. }, {
  21005. "value": "莎车县",
  21006. "label": "莎车县"
  21007. }, {
  21008. "value": "叶城县",
  21009. "label": "叶城县"
  21010. }, {
  21011. "value": "麦盖提县",
  21012. "label": "麦盖提县"
  21013. }, {
  21014. "value": "岳普湖县",
  21015. "label": "岳普湖县"
  21016. }, {
  21017. "value": "伽师县",
  21018. "label": "伽师县"
  21019. }, {
  21020. "value": "巴楚县",
  21021. "label": "巴楚县"
  21022. }, {
  21023. "value": "塔什库尔干塔吉克自治县",
  21024. "label": "塔什库尔干塔吉克自治县"
  21025. }]
  21026. }, {
  21027. "value": "和田地区",
  21028. "label": "和田地区",
  21029. "children": [{
  21030. "value": "和田市",
  21031. "label": "和田市"
  21032. }, {
  21033. "value": "和田县",
  21034. "label": "和田县"
  21035. }, {
  21036. "value": "墨玉县",
  21037. "label": "墨玉县"
  21038. }, {
  21039. "value": "皮山县",
  21040. "label": "皮山县"
  21041. }, {
  21042. "value": "洛浦县",
  21043. "label": "洛浦县"
  21044. }, {
  21045. "value": "策勒县",
  21046. "label": "策勒县"
  21047. }, {
  21048. "value": "于田县",
  21049. "label": "于田县"
  21050. }, {
  21051. "value": "民丰县",
  21052. "label": "民丰县"
  21053. }]
  21054. }, {
  21055. "value": "伊犁哈萨克自治州",
  21056. "label": "伊犁哈萨克自治州",
  21057. "children": [{
  21058. "value": "伊宁市",
  21059. "label": "伊宁市"
  21060. }, {
  21061. "value": "奎屯市",
  21062. "label": "奎屯市"
  21063. }, {
  21064. "value": "霍尔果斯市",
  21065. "label": "霍尔果斯市"
  21066. }, {
  21067. "value": "伊宁县",
  21068. "label": "伊宁县"
  21069. }, {
  21070. "value": "察布查尔锡伯自治县",
  21071. "label": "察布查尔锡伯自治县"
  21072. }, {
  21073. "value": "霍城县",
  21074. "label": "霍城县"
  21075. }, {
  21076. "value": "巩留县",
  21077. "label": "巩留县"
  21078. }, {
  21079. "value": "新源县",
  21080. "label": "新源县"
  21081. }, {
  21082. "value": "昭苏县",
  21083. "label": "昭苏县"
  21084. }, {
  21085. "value": "特克斯县",
  21086. "label": "特克斯县"
  21087. }, {
  21088. "value": "尼勒克县",
  21089. "label": "尼勒克县"
  21090. }]
  21091. }, {
  21092. "value": "塔城地区",
  21093. "label": "塔城地区",
  21094. "children": [{
  21095. "value": "塔城市",
  21096. "label": "塔城市"
  21097. }, {
  21098. "value": "乌苏市",
  21099. "label": "乌苏市"
  21100. }, {
  21101. "value": "额敏县",
  21102. "label": "额敏县"
  21103. }, {
  21104. "value": "沙湾县",
  21105. "label": "沙湾县"
  21106. }, {
  21107. "value": "托里县",
  21108. "label": "托里县"
  21109. }, {
  21110. "value": "裕民县",
  21111. "label": "裕民县"
  21112. }, {
  21113. "value": "和布克赛尔蒙古自治县",
  21114. "label": "和布克赛尔蒙古自治县"
  21115. }]
  21116. }, {
  21117. "value": "阿勒泰地区",
  21118. "label": "阿勒泰地区",
  21119. "children": [{
  21120. "value": "阿勒泰市",
  21121. "label": "阿勒泰市"
  21122. }, {
  21123. "value": "布尔津县",
  21124. "label": "布尔津县"
  21125. }, {
  21126. "value": "富蕴县",
  21127. "label": "富蕴县"
  21128. }, {
  21129. "value": "福海县",
  21130. "label": "福海县"
  21131. }, {
  21132. "value": "哈巴河县",
  21133. "label": "哈巴河县"
  21134. }, {
  21135. "value": "青河县",
  21136. "label": "青河县"
  21137. }, {
  21138. "value": "吉木乃县",
  21139. "label": "吉木乃县"
  21140. }]
  21141. }, {
  21142. "value": "自治区直辖县级行政区划",
  21143. "label": "自治区直辖县级行政区划",
  21144. "children": [{
  21145. "value": "石河子市",
  21146. "label": "石河子市"
  21147. }, {
  21148. "value": "阿拉尔市",
  21149. "label": "阿拉尔市"
  21150. }, {
  21151. "value": "图木舒克市",
  21152. "label": "图木舒克市"
  21153. }, {
  21154. "value": "五家渠市",
  21155. "label": "五家渠市"
  21156. }, {
  21157. "value": "铁门关市",
  21158. "label": "铁门关市"
  21159. }]
  21160. }]
  21161. }];
  21162. exports.default = _default;
  21163. /***/ }),
  21164. /***/ 38:
  21165. /*!**********************************************************!*\
  21166. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/request/index.js ***!
  21167. \**********************************************************/
  21168. /*! no static exports found */
  21169. /***/ (function(module, exports, __webpack_require__) {
  21170. "use strict";
  21171. /* WEBPACK VAR INJECTION */(function(uni) {
  21172. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21173. Object.defineProperty(exports, "__esModule", {
  21174. value: true
  21175. });
  21176. exports.default = void 0;
  21177. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  21178. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  21179. var _deepMerge = _interopRequireDefault(__webpack_require__(/*! ../function/deepMerge */ 39));
  21180. var _test = _interopRequireDefault(__webpack_require__(/*! ../function/test */ 41));
  21181. var Request = /*#__PURE__*/function () {
  21182. function Request() {
  21183. var _this = this;
  21184. (0, _classCallCheck2.default)(this, Request);
  21185. this.config = {
  21186. baseUrl: '',
  21187. // 请求的根域名
  21188. // 默认的请求头
  21189. header: {},
  21190. method: 'POST',
  21191. // 设置为json,返回后uni.request会对数据进行一次JSON.parse
  21192. dataType: 'json',
  21193. // 此参数无需处理,因为5+和支付宝小程序不支持,默认为text即可
  21194. responseType: 'text',
  21195. showLoading: true,
  21196. // 是否显示请求中的loading
  21197. loadingText: '请求中...',
  21198. loadingTime: 800,
  21199. // 在此时间内,请求还没回来的话,就显示加载中动画,单位ms
  21200. timer: null,
  21201. // 定时器
  21202. originalData: false,
  21203. // 是否在拦截器中返回服务端的原始数据,见文档说明
  21204. loadingMask: true // 展示loading的时候,是否给一个透明的蒙层,防止触摸穿透
  21205. };
  21206. // 拦截器
  21207. this.interceptor = {
  21208. // 请求前的拦截
  21209. request: null,
  21210. // 请求后的拦截
  21211. response: null
  21212. };
  21213. // get请求
  21214. this.get = function (url) {
  21215. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  21216. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  21217. return _this.request({
  21218. method: 'GET',
  21219. url: url,
  21220. header: header,
  21221. data: data
  21222. });
  21223. };
  21224. // post请求
  21225. this.post = function (url) {
  21226. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  21227. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  21228. return _this.request({
  21229. url: url,
  21230. method: 'POST',
  21231. header: header,
  21232. data: data
  21233. });
  21234. };
  21235. // put请求,不支持支付宝小程序(HX2.6.15)
  21236. this.put = function (url) {
  21237. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  21238. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  21239. return _this.request({
  21240. url: url,
  21241. method: 'PUT',
  21242. header: header,
  21243. data: data
  21244. });
  21245. };
  21246. // delete请求,不支持支付宝和头条小程序(HX2.6.15)
  21247. this.delete = function (url) {
  21248. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  21249. var header = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  21250. return _this.request({
  21251. url: url,
  21252. method: 'DELETE',
  21253. header: header,
  21254. data: data
  21255. });
  21256. };
  21257. }
  21258. (0, _createClass2.default)(Request, [{
  21259. key: "setConfig",
  21260. value:
  21261. // 设置全局默认配置
  21262. function setConfig(customConfig) {
  21263. // 深度合并对象,否则会造成对象深层属性丢失
  21264. this.config = (0, _deepMerge.default)(this.config, customConfig);
  21265. }
  21266. // 主要请求部分
  21267. }, {
  21268. key: "request",
  21269. value: function request() {
  21270. var _this2 = this;
  21271. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  21272. // 检查请求拦截
  21273. if (this.interceptor.request && typeof this.interceptor.request === 'function') {
  21274. var tmpConfig = {};
  21275. var interceptorRequest = this.interceptor.request(options);
  21276. if (interceptorRequest === false) {
  21277. // 返回一个处于pending状态中的Promise,来取消原promise,避免进入then()回调
  21278. return new Promise(function () {});
  21279. }
  21280. this.options = interceptorRequest;
  21281. }
  21282. options.dataType = options.dataType || this.config.dataType;
  21283. options.responseType = options.responseType || this.config.responseType;
  21284. options.url = options.url || '';
  21285. options.params = options.params || {};
  21286. options.header = Object.assign({}, this.config.header, options.header);
  21287. options.method = options.method || this.config.method;
  21288. return new Promise(function (resolve, reject) {
  21289. options.complete = function (response) {
  21290. // 请求返回后,隐藏loading(如果请求返回快的话,可能会没有loading)
  21291. uni.hideLoading();
  21292. // 清除定时器,如果请求回来了,就无需loading
  21293. clearTimeout(_this2.config.timer);
  21294. _this2.config.timer = null;
  21295. // 判断用户对拦截返回数据的要求,如果originalData为true,返回所有的数据(response)到拦截器,否则只返回response.data
  21296. if (_this2.config.originalData) {
  21297. // 判断是否存在拦截器
  21298. if (_this2.interceptor.response && typeof _this2.interceptor.response === 'function') {
  21299. var resInterceptors = _this2.interceptor.response(response);
  21300. // 如果拦截器不返回false,就将拦截器返回的内容给this.$u.post的then回调
  21301. if (resInterceptors !== false) {
  21302. resolve(resInterceptors);
  21303. } else {
  21304. // 如果拦截器返回false,意味着拦截器定义者认为返回有问题,直接接入catch回调
  21305. reject(response);
  21306. }
  21307. } else {
  21308. // 如果要求返回原始数据,就算没有拦截器,也返回最原始的数据
  21309. resolve(response);
  21310. }
  21311. } else {
  21312. if (response.statusCode == 200) {
  21313. if (_this2.interceptor.response && typeof _this2.interceptor.response === 'function') {
  21314. var _resInterceptors = _this2.interceptor.response(response.data);
  21315. if (_resInterceptors !== false) {
  21316. resolve(_resInterceptors);
  21317. } else {
  21318. reject(response.data);
  21319. }
  21320. } else {
  21321. // 如果不是返回原始数据(originalData=false),且没有拦截器的情况下,返回纯数据给then回调
  21322. resolve(response.data);
  21323. }
  21324. } else {
  21325. // 不返回原始数据的情况下,服务器状态码不为200,modal弹框提示
  21326. // if(response.errMsg) {
  21327. // uni.showModal({
  21328. // title: response.errMsg
  21329. // });
  21330. // }
  21331. reject(response);
  21332. }
  21333. }
  21334. };
  21335. // 判断用户传递的URL是否/开头,如果不是,加上/,这里使用了uView的test.js验证库的url()方法
  21336. options.url = _test.default.url(options.url) ? options.url : _this2.config.baseUrl + (options.url.indexOf('/') == 0 ? options.url : '/' + options.url);
  21337. // 是否显示loading
  21338. // 加一个是否已有timer定时器的判断,否则有两个同时请求的时候,后者会清除前者的定时器id
  21339. // 而没有清除前者的定时器,导致前者超时,一直显示loading
  21340. if (_this2.config.showLoading && !_this2.config.timer) {
  21341. _this2.config.timer = setTimeout(function () {
  21342. uni.showLoading({
  21343. title: _this2.config.loadingText,
  21344. mask: _this2.config.loadingMask
  21345. });
  21346. _this2.config.timer = null;
  21347. }, _this2.config.loadingTime);
  21348. }
  21349. uni.request(options);
  21350. });
  21351. // .catch(res => {
  21352. // // 如果返回reject(),不让其进入this.$u.post().then().catch()后面的catct()
  21353. // // 因为很多人都会忘了写后面的catch(),导致报错捕获不到catch
  21354. // return new Promise(()=>{});
  21355. // })
  21356. }
  21357. }]);
  21358. return Request;
  21359. }();
  21360. var _default = new Request();
  21361. exports.default = _default;
  21362. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21363. /***/ }),
  21364. /***/ 39:
  21365. /*!***************************************************************!*\
  21366. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/deepMerge.js ***!
  21367. \***************************************************************/
  21368. /*! no static exports found */
  21369. /***/ (function(module, exports, __webpack_require__) {
  21370. "use strict";
  21371. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21372. Object.defineProperty(exports, "__esModule", {
  21373. value: true
  21374. });
  21375. exports.default = void 0;
  21376. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  21377. var _deepClone = _interopRequireDefault(__webpack_require__(/*! ./deepClone */ 40));
  21378. // JS对象深度合并
  21379. function deepMerge() {
  21380. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  21381. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  21382. target = (0, _deepClone.default)(target);
  21383. if ((0, _typeof2.default)(target) !== 'object' || (0, _typeof2.default)(source) !== 'object') return false;
  21384. for (var prop in source) {
  21385. if (!source.hasOwnProperty(prop)) continue;
  21386. if (prop in target) {
  21387. if ((0, _typeof2.default)(target[prop]) !== 'object') {
  21388. target[prop] = source[prop];
  21389. } else {
  21390. if ((0, _typeof2.default)(source[prop]) !== 'object') {
  21391. target[prop] = source[prop];
  21392. } else {
  21393. if (target[prop].concat && source[prop].concat) {
  21394. target[prop] = target[prop].concat(source[prop]);
  21395. } else {
  21396. target[prop] = deepMerge(target[prop], source[prop]);
  21397. }
  21398. }
  21399. }
  21400. } else {
  21401. target[prop] = source[prop];
  21402. }
  21403. }
  21404. return target;
  21405. }
  21406. var _default = deepMerge;
  21407. exports.default = _default;
  21408. /***/ }),
  21409. /***/ 4:
  21410. /*!**********************************************************************!*\
  21411. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  21412. \**********************************************************************/
  21413. /*! no static exports found */
  21414. /***/ (function(module, exports) {
  21415. function _interopRequireDefault(obj) {
  21416. return obj && obj.__esModule ? obj : {
  21417. "default": obj
  21418. };
  21419. }
  21420. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  21421. /***/ }),
  21422. /***/ 40:
  21423. /*!***************************************************************!*\
  21424. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/deepClone.js ***!
  21425. \***************************************************************/
  21426. /*! no static exports found */
  21427. /***/ (function(module, exports, __webpack_require__) {
  21428. "use strict";
  21429. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21430. Object.defineProperty(exports, "__esModule", {
  21431. value: true
  21432. });
  21433. exports.default = void 0;
  21434. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  21435. // 判断arr是否为一个数组,返回一个bool值
  21436. function isArray(arr) {
  21437. return Object.prototype.toString.call(arr) === '[object Array]';
  21438. }
  21439. // 深度克隆
  21440. function deepClone(obj) {
  21441. // 对常见的“非”值,直接返回原来值
  21442. if ([null, undefined, NaN, false].includes(obj)) return obj;
  21443. if ((0, _typeof2.default)(obj) !== "object" && typeof obj !== 'function') {
  21444. //原始类型直接返回
  21445. return obj;
  21446. }
  21447. var o = isArray(obj) ? [] : {};
  21448. for (var i in obj) {
  21449. if (obj.hasOwnProperty(i)) {
  21450. o[i] = (0, _typeof2.default)(obj[i]) === "object" ? deepClone(obj[i]) : obj[i];
  21451. }
  21452. }
  21453. return o;
  21454. }
  21455. var _default = deepClone;
  21456. exports.default = _default;
  21457. /***/ }),
  21458. /***/ 404:
  21459. /*!*********************************************************!*\
  21460. !*** D:/工作/项目2/华景美业/hjmy/components/uni-icons/icons.js ***!
  21461. \*********************************************************/
  21462. /*! no static exports found */
  21463. /***/ (function(module, exports, __webpack_require__) {
  21464. "use strict";
  21465. Object.defineProperty(exports, "__esModule", {
  21466. value: true
  21467. });
  21468. exports.default = void 0;
  21469. var _default = {
  21470. 'contact': "\uE100",
  21471. 'person': "\uE101",
  21472. 'personadd': "\uE102",
  21473. 'contact-filled': "\uE130",
  21474. 'person-filled': "\uE131",
  21475. 'personadd-filled': "\uE132",
  21476. 'phone': "\uE200",
  21477. 'email': "\uE201",
  21478. 'chatbubble': "\uE202",
  21479. 'chatboxes': "\uE203",
  21480. 'phone-filled': "\uE230",
  21481. 'email-filled': "\uE231",
  21482. 'chatbubble-filled': "\uE232",
  21483. 'chatboxes-filled': "\uE233",
  21484. 'weibo': "\uE260",
  21485. 'weixin': "\uE261",
  21486. 'pengyouquan': "\uE262",
  21487. 'chat': "\uE263",
  21488. 'qq': "\uE264",
  21489. 'videocam': "\uE300",
  21490. 'camera': "\uE301",
  21491. 'mic': "\uE302",
  21492. 'location': "\uE303",
  21493. 'mic-filled': "\uE332",
  21494. 'speech': "\uE332",
  21495. 'location-filled': "\uE333",
  21496. 'micoff': "\uE360",
  21497. 'image': "\uE363",
  21498. 'map': "\uE364",
  21499. 'compose': "\uE400",
  21500. 'trash': "\uE401",
  21501. 'upload': "\uE402",
  21502. 'download': "\uE403",
  21503. 'close': "\uE404",
  21504. 'redo': "\uE405",
  21505. 'undo': "\uE406",
  21506. 'refresh': "\uE407",
  21507. 'star': "\uE408",
  21508. 'plus': "\uE409",
  21509. 'minus': "\uE410",
  21510. 'circle': "\uE411",
  21511. 'checkbox': "\uE411",
  21512. 'close-filled': "\uE434",
  21513. 'clear': "\uE434",
  21514. 'refresh-filled': "\uE437",
  21515. 'star-filled': "\uE438",
  21516. 'plus-filled': "\uE439",
  21517. 'minus-filled': "\uE440",
  21518. 'circle-filled': "\uE441",
  21519. 'checkbox-filled': "\uE442",
  21520. 'closeempty': "\uE460",
  21521. 'refreshempty': "\uE461",
  21522. 'reload': "\uE462",
  21523. 'starhalf': "\uE463",
  21524. 'spinner': "\uE464",
  21525. 'spinner-cycle': "\uE465",
  21526. 'search': "\uE466",
  21527. 'plusempty': "\uE468",
  21528. 'forward': "\uE470",
  21529. 'back': "\uE471",
  21530. 'left-nav': "\uE471",
  21531. 'checkmarkempty': "\uE472",
  21532. 'home': "\uE500",
  21533. 'navigate': "\uE501",
  21534. 'gear': "\uE502",
  21535. 'paperplane': "\uE503",
  21536. 'info': "\uE504",
  21537. 'help': "\uE505",
  21538. 'locked': "\uE506",
  21539. 'more': "\uE507",
  21540. 'flag': "\uE508",
  21541. 'home-filled': "\uE530",
  21542. 'gear-filled': "\uE532",
  21543. 'info-filled': "\uE534",
  21544. 'help-filled': "\uE535",
  21545. 'more-filled': "\uE537",
  21546. 'settings': "\uE560",
  21547. 'list': "\uE562",
  21548. 'bars': "\uE563",
  21549. 'loop': "\uE565",
  21550. 'paperclip': "\uE567",
  21551. 'eye': "\uE568",
  21552. 'arrowup': "\uE580",
  21553. 'arrowdown': "\uE581",
  21554. 'arrowleft': "\uE582",
  21555. 'arrowright': "\uE583",
  21556. 'arrowthinup': "\uE584",
  21557. 'arrowthindown': "\uE585",
  21558. 'arrowthinleft': "\uE586",
  21559. 'arrowthinright': "\uE587",
  21560. 'pulldown': "\uE588",
  21561. 'closefill': "\uE589",
  21562. 'sound': "\uE590",
  21563. 'scan': "\uE612"
  21564. };
  21565. exports.default = _default;
  21566. /***/ }),
  21567. /***/ 41:
  21568. /*!**********************************************************!*\
  21569. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/test.js ***!
  21570. \**********************************************************/
  21571. /*! no static exports found */
  21572. /***/ (function(module, exports, __webpack_require__) {
  21573. "use strict";
  21574. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21575. Object.defineProperty(exports, "__esModule", {
  21576. value: true
  21577. });
  21578. exports.default = void 0;
  21579. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  21580. /**
  21581. * 验证电子邮箱格式
  21582. */
  21583. function email(value) {
  21584. return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
  21585. }
  21586. /**
  21587. * 验证手机格式
  21588. */
  21589. function mobile(value) {
  21590. return /^1[3-9]\d{9}$/.test(value);
  21591. }
  21592. /**
  21593. * 验证URL格式
  21594. */
  21595. function url(value) {
  21596. return /http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w-.\/?%&=]*)?/.test(value);
  21597. }
  21598. /**
  21599. * 验证日期格式
  21600. */
  21601. function date(value) {
  21602. return !/Invalid|NaN/.test(new Date(value).toString());
  21603. }
  21604. /**
  21605. * 验证ISO类型的日期格式
  21606. */
  21607. function dateISO(value) {
  21608. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  21609. }
  21610. /**
  21611. * 验证十进制数字
  21612. */
  21613. function number(value) {
  21614. return /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(value);
  21615. }
  21616. /**
  21617. * 验证整数
  21618. */
  21619. function digits(value) {
  21620. return /^\d+$/.test(value);
  21621. }
  21622. /**
  21623. * 验证身份证号码
  21624. */
  21625. function idCard(value) {
  21626. return /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value);
  21627. }
  21628. /**
  21629. * 是否车牌号
  21630. */
  21631. function carNo(value) {
  21632. // 新能源车牌
  21633. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  21634. // 旧车牌
  21635. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  21636. if (value.length === 7) {
  21637. return creg.test(value);
  21638. } else if (value.length === 8) {
  21639. return xreg.test(value);
  21640. } else {
  21641. return false;
  21642. }
  21643. }
  21644. /**
  21645. * 金额,只允许2位小数
  21646. */
  21647. function amount(value) {
  21648. //金额,只允许保留两位小数
  21649. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  21650. }
  21651. /**
  21652. * 中文
  21653. */
  21654. function chinese(value) {
  21655. var reg = /^[\u4e00-\u9fa5]+$/gi;
  21656. return reg.test(value);
  21657. }
  21658. /**
  21659. * 只能输入字母
  21660. */
  21661. function letter(value) {
  21662. return /^[a-zA-Z]*$/.test(value);
  21663. }
  21664. /**
  21665. * 只能是字母或者数字
  21666. */
  21667. function enOrNum(value) {
  21668. //英文或者数字
  21669. var reg = /^[0-9a-zA-Z]*$/g;
  21670. return reg.test(value);
  21671. }
  21672. /**
  21673. * 验证是否包含某个值
  21674. */
  21675. function contains(value, param) {
  21676. return value.indexOf(param) >= 0;
  21677. }
  21678. /**
  21679. * 验证一个值范围[min, max]
  21680. */
  21681. function range(value, param) {
  21682. return value >= param[0] && value <= param[1];
  21683. }
  21684. /**
  21685. * 验证一个长度范围[min, max]
  21686. */
  21687. function rangeLength(value, param) {
  21688. return value.length >= param[0] && value.length <= param[1];
  21689. }
  21690. /**
  21691. * 是否固定电话
  21692. */
  21693. function landline(value) {
  21694. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  21695. return reg.test(value);
  21696. }
  21697. /**
  21698. * 判断是否为空
  21699. */
  21700. function empty(value) {
  21701. switch ((0, _typeof2.default)(value)) {
  21702. case 'undefined':
  21703. return true;
  21704. case 'string':
  21705. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  21706. break;
  21707. case 'boolean':
  21708. if (!value) return true;
  21709. break;
  21710. case 'number':
  21711. if (0 === value || isNaN(value)) return true;
  21712. break;
  21713. case 'object':
  21714. if (null === value || value.length === 0) return true;
  21715. for (var i in value) {
  21716. return false;
  21717. }
  21718. return true;
  21719. }
  21720. return false;
  21721. }
  21722. /**
  21723. * 是否json字符串
  21724. */
  21725. function jsonString(value) {
  21726. if (typeof value == 'string') {
  21727. try {
  21728. var obj = JSON.parse(value);
  21729. if ((0, _typeof2.default)(obj) == 'object' && obj) {
  21730. return true;
  21731. } else {
  21732. return false;
  21733. }
  21734. } catch (e) {
  21735. return false;
  21736. }
  21737. }
  21738. return false;
  21739. }
  21740. /**
  21741. * 是否数组
  21742. */
  21743. function array(value) {
  21744. if (typeof Array.isArray === "function") {
  21745. return Array.isArray(value);
  21746. } else {
  21747. return Object.prototype.toString.call(value) === "[object Array]";
  21748. }
  21749. }
  21750. /**
  21751. * 是否对象
  21752. */
  21753. function object(value) {
  21754. return Object.prototype.toString.call(value) === '[object Object]';
  21755. }
  21756. /**
  21757. * 是否短信验证码
  21758. */
  21759. function code(value) {
  21760. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  21761. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  21762. }
  21763. var _default = {
  21764. email: email,
  21765. mobile: mobile,
  21766. url: url,
  21767. date: date,
  21768. dateISO: dateISO,
  21769. number: number,
  21770. digits: digits,
  21771. idCard: idCard,
  21772. carNo: carNo,
  21773. amount: amount,
  21774. chinese: chinese,
  21775. letter: letter,
  21776. enOrNum: enOrNum,
  21777. contains: contains,
  21778. range: range,
  21779. rangeLength: rangeLength,
  21780. empty: empty,
  21781. isEmpty: empty,
  21782. jsonString: jsonString,
  21783. landline: landline,
  21784. object: object,
  21785. array: array,
  21786. code: code
  21787. };
  21788. exports.default = _default;
  21789. /***/ }),
  21790. /***/ 42:
  21791. /*!*****************************************************************!*\
  21792. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/queryParams.js ***!
  21793. \*****************************************************************/
  21794. /*! no static exports found */
  21795. /***/ (function(module, exports, __webpack_require__) {
  21796. "use strict";
  21797. Object.defineProperty(exports, "__esModule", {
  21798. value: true
  21799. });
  21800. exports.default = void 0;
  21801. /**
  21802. * 对象转url参数
  21803. * @param {*} data,对象
  21804. * @param {*} isPrefix,是否自动加上"?"
  21805. */
  21806. function queryParams() {
  21807. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  21808. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  21809. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  21810. var prefix = isPrefix ? '?' : '';
  21811. var _result = [];
  21812. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  21813. var _loop = function _loop(key) {
  21814. var value = data[key];
  21815. // 去掉为空的参数
  21816. if (['', undefined, null].indexOf(value) >= 0) {
  21817. return "continue";
  21818. }
  21819. // 如果值为数组,另行处理
  21820. if (value.constructor === Array) {
  21821. // e.g. {ids: [1, 2, 3]}
  21822. switch (arrayFormat) {
  21823. case 'indices':
  21824. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  21825. for (var i = 0; i < value.length; i++) {
  21826. _result.push(key + '[' + i + ']=' + value[i]);
  21827. }
  21828. break;
  21829. case 'brackets':
  21830. // 结果: ids[]=1&ids[]=2&ids[]=3
  21831. value.forEach(function (_value) {
  21832. _result.push(key + '[]=' + _value);
  21833. });
  21834. break;
  21835. case 'repeat':
  21836. // 结果: ids=1&ids=2&ids=3
  21837. value.forEach(function (_value) {
  21838. _result.push(key + '=' + _value);
  21839. });
  21840. break;
  21841. case 'comma':
  21842. // 结果: ids=1,2,3
  21843. var commaStr = "";
  21844. value.forEach(function (_value) {
  21845. commaStr += (commaStr ? "," : "") + _value;
  21846. });
  21847. _result.push(key + '=' + commaStr);
  21848. break;
  21849. default:
  21850. value.forEach(function (_value) {
  21851. _result.push(key + '[]=' + _value);
  21852. });
  21853. }
  21854. } else {
  21855. _result.push(key + '=' + value);
  21856. }
  21857. };
  21858. for (var key in data) {
  21859. var _ret = _loop(key);
  21860. if (_ret === "continue") continue;
  21861. }
  21862. return _result.length ? prefix + _result.join('&') : '';
  21863. }
  21864. var _default = queryParams;
  21865. exports.default = _default;
  21866. /***/ }),
  21867. /***/ 43:
  21868. /*!***********************************************************!*\
  21869. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/route.js ***!
  21870. \***********************************************************/
  21871. /*! no static exports found */
  21872. /***/ (function(module, exports, __webpack_require__) {
  21873. "use strict";
  21874. /* WEBPACK VAR INJECTION */(function(uni) {
  21875. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21876. Object.defineProperty(exports, "__esModule", {
  21877. value: true
  21878. });
  21879. exports.default = void 0;
  21880. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 44));
  21881. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 46));
  21882. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  21883. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  21884. /**
  21885. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  21886. * 并且带有路由拦截功能
  21887. */
  21888. var Router = /*#__PURE__*/function () {
  21889. function Router() {
  21890. (0, _classCallCheck2.default)(this, Router);
  21891. // 原始属性定义
  21892. this.config = {
  21893. type: 'navigateTo',
  21894. url: '',
  21895. delta: 1,
  21896. // navigateBack页面后退时,回退的层数
  21897. params: {},
  21898. // 传递的参数
  21899. animationType: 'pop-in',
  21900. // 窗口动画,只在APP有效
  21901. animationDuration: 300,
  21902. // 窗口动画持续时间,单位毫秒,只在APP有效
  21903. intercept: false // 是否需要拦截
  21904. };
  21905. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  21906. // 这里在构造函数中进行this绑定
  21907. this.route = this.route.bind(this);
  21908. }
  21909. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  21910. (0, _createClass2.default)(Router, [{
  21911. key: "addRootPath",
  21912. value: function addRootPath(url) {
  21913. return url[0] === '/' ? url : "/".concat(url);
  21914. }
  21915. // 整合路由参数
  21916. }, {
  21917. key: "mixinParam",
  21918. value: function mixinParam(url, params) {
  21919. url = url && this.addRootPath(url);
  21920. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  21921. // 如果有url中有get参数,转换后无需带上"?"
  21922. var query = '';
  21923. if (/.*\/.*\?.*=.*/.test(url)) {
  21924. // object对象转为get类型的参数
  21925. query = uni.$u.queryParams(params, false);
  21926. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  21927. return url += "&" + query;
  21928. } else {
  21929. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  21930. query = uni.$u.queryParams(params);
  21931. return url += query;
  21932. }
  21933. }
  21934. // 对外的方法名称
  21935. }, {
  21936. key: "route",
  21937. value: function () {
  21938. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  21939. var options,
  21940. params,
  21941. mergeConfig,
  21942. isNext,
  21943. _args = arguments;
  21944. return _regenerator.default.wrap(function _callee$(_context) {
  21945. while (1) {
  21946. switch (_context.prev = _context.next) {
  21947. case 0:
  21948. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  21949. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  21950. // 合并用户的配置和内部的默认配置
  21951. mergeConfig = {};
  21952. if (typeof options === 'string') {
  21953. // 如果options为字符串,则为route(url, params)的形式
  21954. mergeConfig.url = this.mixinParam(options, params);
  21955. mergeConfig.type = 'navigateTo';
  21956. } else {
  21957. mergeConfig = uni.$u.deepClone(options, this.config);
  21958. // 否则正常使用mergeConfig中的url和params进行拼接
  21959. mergeConfig.url = this.mixinParam(options.url, options.params);
  21960. }
  21961. if (params.intercept) {
  21962. this.config.intercept = params.intercept;
  21963. }
  21964. // params参数也带给拦截器
  21965. mergeConfig.params = params;
  21966. // 合并内外部参数
  21967. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  21968. // 判断用户是否定义了拦截器
  21969. if (!(typeof uni.$u.routeIntercept === 'function')) {
  21970. _context.next = 14;
  21971. break;
  21972. }
  21973. _context.next = 10;
  21974. return new Promise(function (resolve, reject) {
  21975. uni.$u.routeIntercept(mergeConfig, resolve);
  21976. });
  21977. case 10:
  21978. isNext = _context.sent;
  21979. // 如果isNext为true,则执行路由跳转
  21980. isNext && this.openPage(mergeConfig);
  21981. _context.next = 15;
  21982. break;
  21983. case 14:
  21984. this.openPage(mergeConfig);
  21985. case 15:
  21986. case "end":
  21987. return _context.stop();
  21988. }
  21989. }
  21990. }, _callee, this);
  21991. }));
  21992. function route() {
  21993. return _route.apply(this, arguments);
  21994. }
  21995. return route;
  21996. }() // 执行路由跳转
  21997. }, {
  21998. key: "openPage",
  21999. value: function openPage(config) {
  22000. // 解构参数
  22001. var url = config.url,
  22002. type = config.type,
  22003. delta = config.delta,
  22004. animationType = config.animationType,
  22005. animationDuration = config.animationDuration;
  22006. if (config.type == 'navigateTo' || config.type == 'to') {
  22007. uni.navigateTo({
  22008. url: url,
  22009. animationType: animationType,
  22010. animationDuration: animationDuration
  22011. });
  22012. }
  22013. if (config.type == 'redirectTo' || config.type == 'redirect') {
  22014. uni.redirectTo({
  22015. url: url
  22016. });
  22017. }
  22018. if (config.type == 'switchTab' || config.type == 'tab') {
  22019. uni.switchTab({
  22020. url: url
  22021. });
  22022. }
  22023. if (config.type == 'reLaunch' || config.type == 'launch') {
  22024. uni.reLaunch({
  22025. url: url
  22026. });
  22027. }
  22028. if (config.type == 'navigateBack' || config.type == 'back') {
  22029. uni.navigateBack({
  22030. delta: delta
  22031. });
  22032. }
  22033. }
  22034. }]);
  22035. return Router;
  22036. }();
  22037. var _default = new Router().route;
  22038. exports.default = _default;
  22039. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22040. /***/ }),
  22041. /***/ 44:
  22042. /*!************************************************************************************************!*\
  22043. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  22044. \************************************************************************************************/
  22045. /*! no static exports found */
  22046. /***/ (function(module, exports, __webpack_require__) {
  22047. // TODO(Babel 8): Remove this file.
  22048. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 45)();
  22049. module.exports = runtime;
  22050. /***/ }),
  22051. /***/ 45:
  22052. /*!*******************************************************************!*\
  22053. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  22054. \*******************************************************************/
  22055. /*! no static exports found */
  22056. /***/ (function(module, exports, __webpack_require__) {
  22057. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  22058. function _regeneratorRuntime() {
  22059. "use strict";
  22060. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  22061. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  22062. return exports;
  22063. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22064. var exports = {},
  22065. Op = Object.prototype,
  22066. hasOwn = Op.hasOwnProperty,
  22067. defineProperty = Object.defineProperty || function (obj, key, desc) {
  22068. obj[key] = desc.value;
  22069. },
  22070. $Symbol = "function" == typeof Symbol ? Symbol : {},
  22071. iteratorSymbol = $Symbol.iterator || "@@iterator",
  22072. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  22073. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  22074. function define(obj, key, value) {
  22075. return Object.defineProperty(obj, key, {
  22076. value: value,
  22077. enumerable: !0,
  22078. configurable: !0,
  22079. writable: !0
  22080. }), obj[key];
  22081. }
  22082. try {
  22083. define({}, "");
  22084. } catch (err) {
  22085. define = function define(obj, key, value) {
  22086. return obj[key] = value;
  22087. };
  22088. }
  22089. function wrap(innerFn, outerFn, self, tryLocsList) {
  22090. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  22091. generator = Object.create(protoGenerator.prototype),
  22092. context = new Context(tryLocsList || []);
  22093. return defineProperty(generator, "_invoke", {
  22094. value: makeInvokeMethod(innerFn, self, context)
  22095. }), generator;
  22096. }
  22097. function tryCatch(fn, obj, arg) {
  22098. try {
  22099. return {
  22100. type: "normal",
  22101. arg: fn.call(obj, arg)
  22102. };
  22103. } catch (err) {
  22104. return {
  22105. type: "throw",
  22106. arg: err
  22107. };
  22108. }
  22109. }
  22110. exports.wrap = wrap;
  22111. var ContinueSentinel = {};
  22112. function Generator() {}
  22113. function GeneratorFunction() {}
  22114. function GeneratorFunctionPrototype() {}
  22115. var IteratorPrototype = {};
  22116. define(IteratorPrototype, iteratorSymbol, function () {
  22117. return this;
  22118. });
  22119. var getProto = Object.getPrototypeOf,
  22120. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  22121. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  22122. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  22123. function defineIteratorMethods(prototype) {
  22124. ["next", "throw", "return"].forEach(function (method) {
  22125. define(prototype, method, function (arg) {
  22126. return this._invoke(method, arg);
  22127. });
  22128. });
  22129. }
  22130. function AsyncIterator(generator, PromiseImpl) {
  22131. function invoke(method, arg, resolve, reject) {
  22132. var record = tryCatch(generator[method], generator, arg);
  22133. if ("throw" !== record.type) {
  22134. var result = record.arg,
  22135. value = result.value;
  22136. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  22137. invoke("next", value, resolve, reject);
  22138. }, function (err) {
  22139. invoke("throw", err, resolve, reject);
  22140. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  22141. result.value = unwrapped, resolve(result);
  22142. }, function (error) {
  22143. return invoke("throw", error, resolve, reject);
  22144. });
  22145. }
  22146. reject(record.arg);
  22147. }
  22148. var previousPromise;
  22149. defineProperty(this, "_invoke", {
  22150. value: function value(method, arg) {
  22151. function callInvokeWithMethodAndArg() {
  22152. return new PromiseImpl(function (resolve, reject) {
  22153. invoke(method, arg, resolve, reject);
  22154. });
  22155. }
  22156. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  22157. }
  22158. });
  22159. }
  22160. function makeInvokeMethod(innerFn, self, context) {
  22161. var state = "suspendedStart";
  22162. return function (method, arg) {
  22163. if ("executing" === state) throw new Error("Generator is already running");
  22164. if ("completed" === state) {
  22165. if ("throw" === method) throw arg;
  22166. return doneResult();
  22167. }
  22168. for (context.method = method, context.arg = arg;;) {
  22169. var delegate = context.delegate;
  22170. if (delegate) {
  22171. var delegateResult = maybeInvokeDelegate(delegate, context);
  22172. if (delegateResult) {
  22173. if (delegateResult === ContinueSentinel) continue;
  22174. return delegateResult;
  22175. }
  22176. }
  22177. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  22178. if ("suspendedStart" === state) throw state = "completed", context.arg;
  22179. context.dispatchException(context.arg);
  22180. } else "return" === context.method && context.abrupt("return", context.arg);
  22181. state = "executing";
  22182. var record = tryCatch(innerFn, self, context);
  22183. if ("normal" === record.type) {
  22184. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  22185. return {
  22186. value: record.arg,
  22187. done: context.done
  22188. };
  22189. }
  22190. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  22191. }
  22192. };
  22193. }
  22194. function maybeInvokeDelegate(delegate, context) {
  22195. var methodName = context.method,
  22196. method = delegate.iterator[methodName];
  22197. if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
  22198. var record = tryCatch(method, delegate.iterator, context.arg);
  22199. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  22200. var info = record.arg;
  22201. return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
  22202. }
  22203. function pushTryEntry(locs) {
  22204. var entry = {
  22205. tryLoc: locs[0]
  22206. };
  22207. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  22208. }
  22209. function resetTryEntry(entry) {
  22210. var record = entry.completion || {};
  22211. record.type = "normal", delete record.arg, entry.completion = record;
  22212. }
  22213. function Context(tryLocsList) {
  22214. this.tryEntries = [{
  22215. tryLoc: "root"
  22216. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  22217. }
  22218. function values(iterable) {
  22219. if (iterable) {
  22220. var iteratorMethod = iterable[iteratorSymbol];
  22221. if (iteratorMethod) return iteratorMethod.call(iterable);
  22222. if ("function" == typeof iterable.next) return iterable;
  22223. if (!isNaN(iterable.length)) {
  22224. var i = -1,
  22225. next = function next() {
  22226. for (; ++i < iterable.length;) {
  22227. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  22228. }
  22229. return next.value = undefined, next.done = !0, next;
  22230. };
  22231. return next.next = next;
  22232. }
  22233. }
  22234. return {
  22235. next: doneResult
  22236. };
  22237. }
  22238. function doneResult() {
  22239. return {
  22240. value: undefined,
  22241. done: !0
  22242. };
  22243. }
  22244. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  22245. value: GeneratorFunctionPrototype,
  22246. configurable: !0
  22247. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  22248. value: GeneratorFunction,
  22249. configurable: !0
  22250. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  22251. var ctor = "function" == typeof genFun && genFun.constructor;
  22252. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  22253. }, exports.mark = function (genFun) {
  22254. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  22255. }, exports.awrap = function (arg) {
  22256. return {
  22257. __await: arg
  22258. };
  22259. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  22260. return this;
  22261. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  22262. void 0 === PromiseImpl && (PromiseImpl = Promise);
  22263. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  22264. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  22265. return result.done ? result.value : iter.next();
  22266. });
  22267. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  22268. return this;
  22269. }), define(Gp, "toString", function () {
  22270. return "[object Generator]";
  22271. }), exports.keys = function (val) {
  22272. var object = Object(val),
  22273. keys = [];
  22274. for (var key in object) {
  22275. keys.push(key);
  22276. }
  22277. return keys.reverse(), function next() {
  22278. for (; keys.length;) {
  22279. var key = keys.pop();
  22280. if (key in object) return next.value = key, next.done = !1, next;
  22281. }
  22282. return next.done = !0, next;
  22283. };
  22284. }, exports.values = values, Context.prototype = {
  22285. constructor: Context,
  22286. reset: function reset(skipTempReset) {
  22287. if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
  22288. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  22289. }
  22290. },
  22291. stop: function stop() {
  22292. this.done = !0;
  22293. var rootRecord = this.tryEntries[0].completion;
  22294. if ("throw" === rootRecord.type) throw rootRecord.arg;
  22295. return this.rval;
  22296. },
  22297. dispatchException: function dispatchException(exception) {
  22298. if (this.done) throw exception;
  22299. var context = this;
  22300. function handle(loc, caught) {
  22301. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  22302. }
  22303. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  22304. var entry = this.tryEntries[i],
  22305. record = entry.completion;
  22306. if ("root" === entry.tryLoc) return handle("end");
  22307. if (entry.tryLoc <= this.prev) {
  22308. var hasCatch = hasOwn.call(entry, "catchLoc"),
  22309. hasFinally = hasOwn.call(entry, "finallyLoc");
  22310. if (hasCatch && hasFinally) {
  22311. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  22312. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  22313. } else if (hasCatch) {
  22314. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  22315. } else {
  22316. if (!hasFinally) throw new Error("try statement without catch or finally");
  22317. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  22318. }
  22319. }
  22320. }
  22321. },
  22322. abrupt: function abrupt(type, arg) {
  22323. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  22324. var entry = this.tryEntries[i];
  22325. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  22326. var finallyEntry = entry;
  22327. break;
  22328. }
  22329. }
  22330. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  22331. var record = finallyEntry ? finallyEntry.completion : {};
  22332. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  22333. },
  22334. complete: function complete(record, afterLoc) {
  22335. if ("throw" === record.type) throw record.arg;
  22336. return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
  22337. },
  22338. finish: function finish(finallyLoc) {
  22339. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  22340. var entry = this.tryEntries[i];
  22341. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  22342. }
  22343. },
  22344. "catch": function _catch(tryLoc) {
  22345. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  22346. var entry = this.tryEntries[i];
  22347. if (entry.tryLoc === tryLoc) {
  22348. var record = entry.completion;
  22349. if ("throw" === record.type) {
  22350. var thrown = record.arg;
  22351. resetTryEntry(entry);
  22352. }
  22353. return thrown;
  22354. }
  22355. }
  22356. throw new Error("illegal catch attempt");
  22357. },
  22358. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  22359. return this.delegate = {
  22360. iterator: values(iterable),
  22361. resultName: resultName,
  22362. nextLoc: nextLoc
  22363. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  22364. }
  22365. }, exports;
  22366. }
  22367. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22368. /***/ }),
  22369. /***/ 46:
  22370. /*!*****************************************************************!*\
  22371. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  22372. \*****************************************************************/
  22373. /*! no static exports found */
  22374. /***/ (function(module, exports) {
  22375. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  22376. try {
  22377. var info = gen[key](arg);
  22378. var value = info.value;
  22379. } catch (error) {
  22380. reject(error);
  22381. return;
  22382. }
  22383. if (info.done) {
  22384. resolve(value);
  22385. } else {
  22386. Promise.resolve(value).then(_next, _throw);
  22387. }
  22388. }
  22389. function _asyncToGenerator(fn) {
  22390. return function () {
  22391. var self = this,
  22392. args = arguments;
  22393. return new Promise(function (resolve, reject) {
  22394. var gen = fn.apply(self, args);
  22395. function _next(value) {
  22396. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  22397. }
  22398. function _throw(err) {
  22399. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  22400. }
  22401. _next(undefined);
  22402. });
  22403. };
  22404. }
  22405. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22406. /***/ }),
  22407. /***/ 47:
  22408. /*!****************************************************************!*\
  22409. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/timeFormat.js ***!
  22410. \****************************************************************/
  22411. /*! no static exports found */
  22412. /***/ (function(module, exports, __webpack_require__) {
  22413. "use strict";
  22414. Object.defineProperty(exports, "__esModule", {
  22415. value: true
  22416. });
  22417. exports.default = void 0;
  22418. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  22419. // 所以这里做一个兼容polyfill的兼容处理
  22420. if (!String.prototype.padStart) {
  22421. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  22422. String.prototype.padStart = function (maxLength) {
  22423. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  22424. if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError('fillString must be String');
  22425. var str = this;
  22426. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  22427. if (str.length >= maxLength) return String(str);
  22428. var fillLength = maxLength - str.length,
  22429. times = Math.ceil(fillLength / fillString.length);
  22430. while (times >>= 1) {
  22431. fillString += fillString;
  22432. if (times === 1) {
  22433. fillString += fillString;
  22434. }
  22435. }
  22436. return fillString.slice(0, fillLength) + str;
  22437. };
  22438. }
  22439. // 其他更多是格式化有如下:
  22440. // yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
  22441. function timeFormat() {
  22442. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  22443. var fmt = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  22444. // 如果为null,则格式化当前时间
  22445. if (!dateTime) dateTime = Number(new Date());
  22446. // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
  22447. if (dateTime.toString().length == 10) dateTime *= 1000;
  22448. var date = new Date(dateTime);
  22449. var ret;
  22450. var opt = {
  22451. "y+": date.getFullYear().toString(),
  22452. // 年
  22453. "m+": (date.getMonth() + 1).toString(),
  22454. // 月
  22455. "d+": date.getDate().toString(),
  22456. // 日
  22457. "h+": date.getHours().toString(),
  22458. // 时
  22459. "M+": date.getMinutes().toString(),
  22460. // 分
  22461. "s+": date.getSeconds().toString() // 秒
  22462. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  22463. };
  22464. for (var k in opt) {
  22465. ret = new RegExp("(" + k + ")").exec(fmt);
  22466. if (ret) {
  22467. fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
  22468. }
  22469. ;
  22470. }
  22471. ;
  22472. return fmt;
  22473. }
  22474. var _default = timeFormat;
  22475. exports.default = _default;
  22476. /***/ }),
  22477. /***/ 48:
  22478. /*!**************************************************************!*\
  22479. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/timeFrom.js ***!
  22480. \**************************************************************/
  22481. /*! no static exports found */
  22482. /***/ (function(module, exports, __webpack_require__) {
  22483. "use strict";
  22484. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22485. Object.defineProperty(exports, "__esModule", {
  22486. value: true
  22487. });
  22488. exports.default = void 0;
  22489. var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 47));
  22490. /**
  22491. * 时间戳转为多久之前
  22492. * @param String timestamp 时间戳
  22493. * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  22494. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  22495. */
  22496. function timeFrom() {
  22497. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  22498. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  22499. // 如果为null,则格式化当前时间
  22500. if (!dateTime) dateTime = Number(new Date());
  22501. // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
  22502. if (dateTime.toString().length == 10) dateTime *= 1000;
  22503. var timestamp = +new Date(Number(dateTime));
  22504. var timer = (Number(new Date()) - timestamp) / 1000;
  22505. // 如果小于5分钟,则返回"刚刚",其他以此类推
  22506. var tips = '';
  22507. switch (true) {
  22508. case timer < 300:
  22509. tips = '刚刚';
  22510. break;
  22511. case timer >= 300 && timer < 3600:
  22512. tips = parseInt(timer / 60) + '分钟前';
  22513. break;
  22514. case timer >= 3600 && timer < 86400:
  22515. tips = parseInt(timer / 3600) + '小时前';
  22516. break;
  22517. case timer >= 86400 && timer < 2592000:
  22518. tips = parseInt(timer / 86400) + '天前';
  22519. break;
  22520. default:
  22521. // 如果format为false,则无论什么时间戳,都显示xx之前
  22522. if (format === false) {
  22523. if (timer >= 2592000 && timer < 365 * 86400) {
  22524. tips = parseInt(timer / (86400 * 30)) + '个月前';
  22525. } else {
  22526. tips = parseInt(timer / (86400 * 365)) + '年前';
  22527. }
  22528. } else {
  22529. tips = (0, _timeFormat.default)(timestamp, format);
  22530. }
  22531. }
  22532. return tips;
  22533. }
  22534. var _default = timeFrom;
  22535. exports.default = _default;
  22536. /***/ }),
  22537. /***/ 49:
  22538. /*!*******************************************************************!*\
  22539. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/colorGradient.js ***!
  22540. \*******************************************************************/
  22541. /*! no static exports found */
  22542. /***/ (function(module, exports, __webpack_require__) {
  22543. "use strict";
  22544. Object.defineProperty(exports, "__esModule", {
  22545. value: true
  22546. });
  22547. exports.default = void 0;
  22548. /**
  22549. * 求两个颜色之间的渐变值
  22550. * @param {string} startColor 开始的颜色
  22551. * @param {string} endColor 结束的颜色
  22552. * @param {number} step 颜色等分的份额
  22553. * */
  22554. function colorGradient() {
  22555. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  22556. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  22557. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  22558. var startRGB = hexToRgb(startColor, false); //转换为rgb数组模式
  22559. var startR = startRGB[0];
  22560. var startG = startRGB[1];
  22561. var startB = startRGB[2];
  22562. var endRGB = hexToRgb(endColor, false);
  22563. var endR = endRGB[0];
  22564. var endG = endRGB[1];
  22565. var endB = endRGB[2];
  22566. var sR = (endR - startR) / step; //总差值
  22567. var sG = (endG - startG) / step;
  22568. var sB = (endB - startB) / step;
  22569. var colorArr = [];
  22570. for (var i = 0; i < step; i++) {
  22571. //计算每一步的hex值
  22572. var hex = rgbToHex('rgb(' + Math.round(sR * i + startR) + ',' + Math.round(sG * i + startG) + ',' + Math.round(sB * i + startB) + ')');
  22573. colorArr.push(hex);
  22574. }
  22575. return colorArr;
  22576. }
  22577. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  22578. function hexToRgb(sColor) {
  22579. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  22580. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22581. sColor = sColor.toLowerCase();
  22582. if (sColor && reg.test(sColor)) {
  22583. if (sColor.length === 4) {
  22584. var sColorNew = "#";
  22585. for (var i = 1; i < 4; i += 1) {
  22586. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  22587. }
  22588. sColor = sColorNew;
  22589. }
  22590. //处理六位的颜色值
  22591. var sColorChange = [];
  22592. for (var _i = 1; _i < 7; _i += 2) {
  22593. sColorChange.push(parseInt("0x" + sColor.slice(_i, _i + 2)));
  22594. }
  22595. if (!str) {
  22596. return sColorChange;
  22597. } else {
  22598. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  22599. }
  22600. } else if (/^(rgb|RGB)/.test(sColor)) {
  22601. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",");
  22602. return arr.map(function (val) {
  22603. return Number(val);
  22604. });
  22605. } else {
  22606. return sColor;
  22607. }
  22608. }
  22609. ;
  22610. // 将rgb表示方式转换为hex表示方式
  22611. function rgbToHex(rgb) {
  22612. var _this = rgb;
  22613. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22614. if (/^(rgb|RGB)/.test(_this)) {
  22615. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, "").split(",");
  22616. var strHex = "#";
  22617. for (var i = 0; i < aColor.length; i++) {
  22618. var hex = Number(aColor[i]).toString(16);
  22619. hex = String(hex).length == 1 ? 0 + '' + hex : hex; // 保证每个rgb的值为2位
  22620. if (hex === "0") {
  22621. hex += hex;
  22622. }
  22623. strHex += hex;
  22624. }
  22625. if (strHex.length !== 7) {
  22626. strHex = _this;
  22627. }
  22628. return strHex;
  22629. } else if (reg.test(_this)) {
  22630. var aNum = _this.replace(/#/, "").split("");
  22631. if (aNum.length === 6) {
  22632. return _this;
  22633. } else if (aNum.length === 3) {
  22634. var numHex = "#";
  22635. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  22636. numHex += aNum[_i2] + aNum[_i2];
  22637. }
  22638. return numHex;
  22639. }
  22640. } else {
  22641. return _this;
  22642. }
  22643. }
  22644. /**
  22645. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  22646. * sHex为传入的十六进制的色值
  22647. * alpha为rgba的透明度
  22648. */
  22649. function colorToRgba(color) {
  22650. var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.3;
  22651. color = rgbToHex(color);
  22652. // 十六进制颜色值的正则表达式
  22653. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  22654. /* 16进制颜色转为RGB格式 */
  22655. var sColor = color.toLowerCase();
  22656. if (sColor && reg.test(sColor)) {
  22657. if (sColor.length === 4) {
  22658. var sColorNew = '#';
  22659. for (var i = 1; i < 4; i += 1) {
  22660. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  22661. }
  22662. sColor = sColorNew;
  22663. }
  22664. // 处理六位的颜色值
  22665. var sColorChange = [];
  22666. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  22667. sColorChange.push(parseInt('0x' + sColor.slice(_i3, _i3 + 2)));
  22668. }
  22669. // return sColorChange.join(',')
  22670. return 'rgba(' + sColorChange.join(',') + ',' + alpha + ')';
  22671. } else {
  22672. return sColor;
  22673. }
  22674. }
  22675. var _default = {
  22676. colorGradient: colorGradient,
  22677. hexToRgb: hexToRgb,
  22678. rgbToHex: rgbToHex,
  22679. colorToRgba: colorToRgba
  22680. };
  22681. exports.default = _default;
  22682. /***/ }),
  22683. /***/ 5:
  22684. /*!**************************************************************!*\
  22685. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  22686. \**************************************************************/
  22687. /*! no static exports found */
  22688. /***/ (function(module, exports, __webpack_require__) {
  22689. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  22690. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  22691. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  22692. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  22693. function _slicedToArray(arr, i) {
  22694. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  22695. }
  22696. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  22697. /***/ }),
  22698. /***/ 50:
  22699. /*!**********************************************************!*\
  22700. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/guid.js ***!
  22701. \**********************************************************/
  22702. /*! no static exports found */
  22703. /***/ (function(module, exports, __webpack_require__) {
  22704. "use strict";
  22705. Object.defineProperty(exports, "__esModule", {
  22706. value: true
  22707. });
  22708. exports.default = void 0;
  22709. /**
  22710. * 本算法来源于简书开源代码,详见:https://www.jianshu.com/p/fdbf293d0a85
  22711. * 全局唯一标识符(uuid,Globally Unique Identifier),也称作 uuid(Universally Unique IDentifier)
  22712. * 一般用于多个组件之间,给它一个唯一的标识符,或者v-for循环的时候,如果使用数组的index可能会导致更新列表出现问题
  22713. * 最可能的情况是左滑删除item或者对某条信息流"不喜欢"并去掉它的时候,会导致组件内的数据可能出现错乱
  22714. * v-for的时候,推荐使用后端返回的id而不是循环的index
  22715. * @param {Number} len uuid的长度
  22716. * @param {Boolean} firstU 将返回的首字母置为"u"
  22717. * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  22718. */
  22719. function guid() {
  22720. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  22721. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  22722. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  22723. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  22724. var uuid = [];
  22725. radix = radix || chars.length;
  22726. if (len) {
  22727. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  22728. for (var i = 0; i < len; i++) {
  22729. uuid[i] = chars[0 | Math.random() * radix];
  22730. }
  22731. } else {
  22732. var r;
  22733. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  22734. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  22735. uuid[14] = '4';
  22736. for (var _i = 0; _i < 36; _i++) {
  22737. if (!uuid[_i]) {
  22738. r = 0 | Math.random() * 16;
  22739. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  22740. }
  22741. }
  22742. }
  22743. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class
  22744. if (firstU) {
  22745. uuid.shift();
  22746. return 'u' + uuid.join('');
  22747. } else {
  22748. return uuid.join('');
  22749. }
  22750. }
  22751. var _default = guid;
  22752. exports.default = _default;
  22753. /***/ }),
  22754. /***/ 51:
  22755. /*!***********************************************************!*\
  22756. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/color.js ***!
  22757. \***********************************************************/
  22758. /*! no static exports found */
  22759. /***/ (function(module, exports, __webpack_require__) {
  22760. "use strict";
  22761. Object.defineProperty(exports, "__esModule", {
  22762. value: true
  22763. });
  22764. exports.default = void 0;
  22765. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  22766. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  22767. var color = {
  22768. primary: "#2979ff",
  22769. primaryDark: "#2b85e4",
  22770. primaryDisabled: "#a0cfff",
  22771. primaryLight: "#ecf5ff",
  22772. bgColor: "#f3f4f6",
  22773. info: "#909399",
  22774. infoDark: "#82848a",
  22775. infoDisabled: "#c8c9cc",
  22776. infoLight: "#f4f4f5",
  22777. warning: "#ff9900",
  22778. warningDark: "#f29100",
  22779. warningDisabled: "#fcbd71",
  22780. warningLight: "#fdf6ec",
  22781. error: "#fa3534",
  22782. errorDark: "#dd6161",
  22783. errorDisabled: "#fab6b6",
  22784. errorLight: "#fef0f0",
  22785. success: "#19be6b",
  22786. successDark: "#18b566",
  22787. successDisabled: "#71d5a1",
  22788. successLight: "#dbf1e1",
  22789. mainColor: "#303133",
  22790. contentColor: "#606266",
  22791. tipsColor: "#909399",
  22792. lightColor: "#c0c4cc",
  22793. borderColor: "#e4e7ed"
  22794. };
  22795. var _default = color;
  22796. exports.default = _default;
  22797. /***/ }),
  22798. /***/ 52:
  22799. /*!***************************************************************!*\
  22800. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/type2icon.js ***!
  22801. \***************************************************************/
  22802. /*! no static exports found */
  22803. /***/ (function(module, exports, __webpack_require__) {
  22804. "use strict";
  22805. Object.defineProperty(exports, "__esModule", {
  22806. value: true
  22807. });
  22808. exports.default = void 0;
  22809. /**
  22810. * 根据主题type值,获取对应的图标
  22811. * @param String type 主题名称,primary|info|error|warning|success
  22812. * @param String fill 是否使用fill填充实体的图标
  22813. */
  22814. function type2icon() {
  22815. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  22816. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  22817. // 如果非预置值,默认为success
  22818. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  22819. var iconName = '';
  22820. // 目前(2019-12-12),info和primary使用同一个图标
  22821. switch (type) {
  22822. case 'primary':
  22823. iconName = 'info-circle';
  22824. break;
  22825. case 'info':
  22826. iconName = 'info-circle';
  22827. break;
  22828. case 'error':
  22829. iconName = 'close-circle';
  22830. break;
  22831. case 'warning':
  22832. iconName = 'error-circle';
  22833. break;
  22834. case 'success':
  22835. iconName = 'checkmark-circle';
  22836. break;
  22837. default:
  22838. iconName = 'checkmark-circle';
  22839. }
  22840. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  22841. if (fill) iconName += '-fill';
  22842. return iconName;
  22843. }
  22844. var _default = type2icon;
  22845. exports.default = _default;
  22846. /***/ }),
  22847. /***/ 53:
  22848. /*!*****************************************************************!*\
  22849. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/randomArray.js ***!
  22850. \*****************************************************************/
  22851. /*! no static exports found */
  22852. /***/ (function(module, exports, __webpack_require__) {
  22853. "use strict";
  22854. Object.defineProperty(exports, "__esModule", {
  22855. value: true
  22856. });
  22857. exports.default = void 0;
  22858. // 打乱数组
  22859. function randomArray() {
  22860. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  22861. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  22862. return array.sort(function () {
  22863. return Math.random() - 0.5;
  22864. });
  22865. }
  22866. var _default = randomArray;
  22867. exports.default = _default;
  22868. /***/ }),
  22869. /***/ 54:
  22870. /*!*************************************************************!*\
  22871. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/addUnit.js ***!
  22872. \*************************************************************/
  22873. /*! no static exports found */
  22874. /***/ (function(module, exports, __webpack_require__) {
  22875. "use strict";
  22876. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22877. Object.defineProperty(exports, "__esModule", {
  22878. value: true
  22879. });
  22880. exports.default = addUnit;
  22881. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 41));
  22882. // 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾
  22883. function addUnit() {
  22884. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  22885. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rpx';
  22886. value = String(value);
  22887. // 用uView内置验证规则中的number判断是否为数值
  22888. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  22889. }
  22890. /***/ }),
  22891. /***/ 55:
  22892. /*!************************************************************!*\
  22893. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/random.js ***!
  22894. \************************************************************/
  22895. /*! no static exports found */
  22896. /***/ (function(module, exports, __webpack_require__) {
  22897. "use strict";
  22898. Object.defineProperty(exports, "__esModule", {
  22899. value: true
  22900. });
  22901. exports.default = void 0;
  22902. function random(min, max) {
  22903. if (min >= 0 && max > 0 && max >= min) {
  22904. var gab = max - min + 1;
  22905. return Math.floor(Math.random() * gab + min);
  22906. } else {
  22907. return 0;
  22908. }
  22909. }
  22910. var _default = random;
  22911. exports.default = _default;
  22912. /***/ }),
  22913. /***/ 56:
  22914. /*!**********************************************************!*\
  22915. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/trim.js ***!
  22916. \**********************************************************/
  22917. /*! no static exports found */
  22918. /***/ (function(module, exports, __webpack_require__) {
  22919. "use strict";
  22920. Object.defineProperty(exports, "__esModule", {
  22921. value: true
  22922. });
  22923. exports.default = void 0;
  22924. function trim(str) {
  22925. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  22926. if (pos == 'both') {
  22927. return str.replace(/^\s+|\s+$/g, "");
  22928. } else if (pos == "left") {
  22929. return str.replace(/^\s*/, '');
  22930. } else if (pos == 'right') {
  22931. return str.replace(/(\s*$)/g, "");
  22932. } else if (pos == 'all') {
  22933. return str.replace(/\s+/g, "");
  22934. } else {
  22935. return str;
  22936. }
  22937. }
  22938. var _default = trim;
  22939. exports.default = _default;
  22940. /***/ }),
  22941. /***/ 57:
  22942. /*!***********************************************************!*\
  22943. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/toast.js ***!
  22944. \***********************************************************/
  22945. /*! no static exports found */
  22946. /***/ (function(module, exports, __webpack_require__) {
  22947. "use strict";
  22948. /* WEBPACK VAR INJECTION */(function(uni) {
  22949. Object.defineProperty(exports, "__esModule", {
  22950. value: true
  22951. });
  22952. exports.default = void 0;
  22953. function toast(title) {
  22954. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1500;
  22955. uni.showToast({
  22956. title: title,
  22957. icon: 'none',
  22958. duration: duration
  22959. });
  22960. }
  22961. var _default = toast;
  22962. exports.default = _default;
  22963. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22964. /***/ }),
  22965. /***/ 58:
  22966. /*!***************************************************************!*\
  22967. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/getParent.js ***!
  22968. \***************************************************************/
  22969. /*! no static exports found */
  22970. /***/ (function(module, exports, __webpack_require__) {
  22971. "use strict";
  22972. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22973. Object.defineProperty(exports, "__esModule", {
  22974. value: true
  22975. });
  22976. exports.default = getParent;
  22977. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22978. // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  22979. // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  22980. function getParent(name, keys) {
  22981. var parent = this.$parent;
  22982. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  22983. while (parent) {
  22984. // 父组件
  22985. if (parent.$options.name !== name) {
  22986. // 如果组件的name不相等,继续上一级寻找
  22987. parent = parent.$parent;
  22988. } else {
  22989. var _ret = function () {
  22990. var data = {};
  22991. // 判断keys是否数组,如果传过来的是一个数组,那么直接使用数组元素值当做键值去父组件寻找
  22992. if (Array.isArray(keys)) {
  22993. keys.map(function (val) {
  22994. data[val] = parent[val] ? parent[val] : '';
  22995. });
  22996. } else {
  22997. // 历遍传过来的对象参数
  22998. for (var i in keys) {
  22999. // 如果子组件有此值则用,无此值则用父组件的值
  23000. // 判断是否空数组,如果是,则用父组件的值,否则用子组件的值
  23001. if (Array.isArray(keys[i])) {
  23002. if (keys[i].length) {
  23003. data[i] = keys[i];
  23004. } else {
  23005. data[i] = parent[i];
  23006. }
  23007. } else if (keys[i].constructor === Object) {
  23008. // 判断是否对象,如果是对象,且有属性,那么使用子组件的值,否则使用父组件的值
  23009. if (Object.keys(keys[i]).length) {
  23010. data[i] = keys[i];
  23011. } else {
  23012. data[i] = parent[i];
  23013. }
  23014. } else {
  23015. // 只要子组件有传值,即使是false值,也是“传值”了,也需要覆盖父组件的同名参数
  23016. data[i] = keys[i] || keys[i] === false ? keys[i] : parent[i];
  23017. }
  23018. }
  23019. }
  23020. return {
  23021. v: data
  23022. };
  23023. }();
  23024. if ((0, _typeof2.default)(_ret) === "object") return _ret.v;
  23025. }
  23026. }
  23027. return {};
  23028. }
  23029. /***/ }),
  23030. /***/ 59:
  23031. /*!*************************************************************!*\
  23032. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/$parent.js ***!
  23033. \*************************************************************/
  23034. /*! no static exports found */
  23035. /***/ (function(module, exports, __webpack_require__) {
  23036. "use strict";
  23037. Object.defineProperty(exports, "__esModule", {
  23038. value: true
  23039. });
  23040. exports.default = $parent;
  23041. // 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  23042. // this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  23043. // 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  23044. // 值(默认为undefined),就是查找最顶层的$parent
  23045. function $parent() {
  23046. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  23047. var parent = this.$parent;
  23048. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  23049. while (parent) {
  23050. // 父组件
  23051. if (parent.$options && parent.$options.name !== name) {
  23052. // 如果组件的name不相等,继续上一级寻找
  23053. parent = parent.$parent;
  23054. } else {
  23055. return parent;
  23056. }
  23057. }
  23058. return false;
  23059. }
  23060. /***/ }),
  23061. /***/ 6:
  23062. /*!***************************************************************!*\
  23063. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  23064. \***************************************************************/
  23065. /*! no static exports found */
  23066. /***/ (function(module, exports) {
  23067. function _arrayWithHoles(arr) {
  23068. if (Array.isArray(arr)) return arr;
  23069. }
  23070. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23071. /***/ }),
  23072. /***/ 60:
  23073. /*!*********************************************************!*\
  23074. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/sys.js ***!
  23075. \*********************************************************/
  23076. /*! no static exports found */
  23077. /***/ (function(module, exports, __webpack_require__) {
  23078. "use strict";
  23079. /* WEBPACK VAR INJECTION */(function(uni) {
  23080. Object.defineProperty(exports, "__esModule", {
  23081. value: true
  23082. });
  23083. exports.os = os;
  23084. exports.sys = sys;
  23085. function os() {
  23086. return uni.getSystemInfoSync().platform;
  23087. }
  23088. ;
  23089. function sys() {
  23090. return uni.getSystemInfoSync();
  23091. }
  23092. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23093. /***/ }),
  23094. /***/ 61:
  23095. /*!**************************************************************!*\
  23096. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/debounce.js ***!
  23097. \**************************************************************/
  23098. /*! no static exports found */
  23099. /***/ (function(module, exports, __webpack_require__) {
  23100. "use strict";
  23101. Object.defineProperty(exports, "__esModule", {
  23102. value: true
  23103. });
  23104. exports.default = void 0;
  23105. var timeout = null;
  23106. /**
  23107. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  23108. *
  23109. * @param {Function} func 要执行的回调函数
  23110. * @param {Number} wait 延时的时间
  23111. * @param {Boolean} immediate 是否立即执行
  23112. * @return null
  23113. */
  23114. function debounce(func) {
  23115. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  23116. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  23117. // 清除定时器
  23118. if (timeout !== null) clearTimeout(timeout);
  23119. // 立即执行,此类情况一般用不到
  23120. if (immediate) {
  23121. var callNow = !timeout;
  23122. timeout = setTimeout(function () {
  23123. timeout = null;
  23124. }, wait);
  23125. if (callNow) typeof func === 'function' && func();
  23126. } else {
  23127. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  23128. timeout = setTimeout(function () {
  23129. typeof func === 'function' && func();
  23130. }, wait);
  23131. }
  23132. }
  23133. var _default = debounce;
  23134. exports.default = _default;
  23135. /***/ }),
  23136. /***/ 62:
  23137. /*!**************************************************************!*\
  23138. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/function/throttle.js ***!
  23139. \**************************************************************/
  23140. /*! no static exports found */
  23141. /***/ (function(module, exports, __webpack_require__) {
  23142. "use strict";
  23143. Object.defineProperty(exports, "__esModule", {
  23144. value: true
  23145. });
  23146. exports.default = void 0;
  23147. var timer, flag;
  23148. /**
  23149. * 节流原理:在一定时间内,只能触发一次
  23150. *
  23151. * @param {Function} func 要执行的回调函数
  23152. * @param {Number} wait 延时的时间
  23153. * @param {Boolean} immediate 是否立即执行
  23154. * @return null
  23155. */
  23156. function throttle(func) {
  23157. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  23158. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  23159. if (immediate) {
  23160. if (!flag) {
  23161. flag = true;
  23162. // 如果是立即执行,则在wait毫秒内开始时执行
  23163. typeof func === 'function' && func();
  23164. timer = setTimeout(function () {
  23165. flag = false;
  23166. }, wait);
  23167. }
  23168. } else {
  23169. if (!flag) {
  23170. flag = true;
  23171. // 如果是非立即执行,则在wait毫秒内的结束处执行
  23172. timer = setTimeout(function () {
  23173. flag = false;
  23174. typeof func === 'function' && func();
  23175. }, wait);
  23176. }
  23177. }
  23178. }
  23179. ;
  23180. var _default = throttle;
  23181. exports.default = _default;
  23182. /***/ }),
  23183. /***/ 63:
  23184. /*!**********************************************************!*\
  23185. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/config/config.js ***!
  23186. \**********************************************************/
  23187. /*! no static exports found */
  23188. /***/ (function(module, exports, __webpack_require__) {
  23189. "use strict";
  23190. Object.defineProperty(exports, "__esModule", {
  23191. value: true
  23192. });
  23193. exports.default = void 0;
  23194. // 此版本发布于2020-03-17
  23195. var version = '1.8.4';
  23196. var _default = {
  23197. v: version,
  23198. version: version,
  23199. // 主题名称
  23200. type: ['primary', 'success', 'info', 'error', 'warning']
  23201. };
  23202. exports.default = _default;
  23203. /***/ }),
  23204. /***/ 64:
  23205. /*!**********************************************************!*\
  23206. !*** D:/工作/项目2/华景美业/hjmy/uview-ui/libs/config/zIndex.js ***!
  23207. \**********************************************************/
  23208. /*! no static exports found */
  23209. /***/ (function(module, exports, __webpack_require__) {
  23210. "use strict";
  23211. Object.defineProperty(exports, "__esModule", {
  23212. value: true
  23213. });
  23214. exports.default = void 0;
  23215. // uniapp在H5中各API的z-index值如下:
  23216. /**
  23217. * actionsheet: 999
  23218. * modal: 999
  23219. * navigate: 998
  23220. * tabbar: 998
  23221. * toast: 999
  23222. */
  23223. var _default = {
  23224. toast: 10090,
  23225. noNetwork: 10080,
  23226. // popup包含popup,actionsheet,keyboard,picker的值
  23227. popup: 10075,
  23228. mask: 10070,
  23229. navbar: 980,
  23230. topTips: 975,
  23231. sticky: 970,
  23232. indexListSticky: 965
  23233. };
  23234. exports.default = _default;
  23235. /***/ }),
  23236. /***/ 7:
  23237. /*!*********************************************************************!*\
  23238. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  23239. \*********************************************************************/
  23240. /*! no static exports found */
  23241. /***/ (function(module, exports) {
  23242. function _iterableToArrayLimit(arr, i) {
  23243. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  23244. if (null != _i) {
  23245. var _s,
  23246. _e,
  23247. _x,
  23248. _r,
  23249. _arr = [],
  23250. _n = !0,
  23251. _d = !1;
  23252. try {
  23253. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  23254. if (Object(_i) !== _i) return;
  23255. _n = !1;
  23256. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  23257. ;
  23258. }
  23259. } catch (err) {
  23260. _d = !0, _e = err;
  23261. } finally {
  23262. try {
  23263. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  23264. } finally {
  23265. if (_d) throw _e;
  23266. }
  23267. }
  23268. return _arr;
  23269. }
  23270. }
  23271. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  23272. /***/ }),
  23273. /***/ 71:
  23274. /*!****************************************!*\
  23275. !*** D:/工作/项目2/华景美业/hjmy/api/index.js ***!
  23276. \****************************************/
  23277. /*! no static exports found */
  23278. /***/ (function(module, exports, __webpack_require__) {
  23279. "use strict";
  23280. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23281. Object.defineProperty(exports, "__esModule", {
  23282. value: true
  23283. });
  23284. exports.groom1 = groom1;
  23285. exports.groom3 = groom3;
  23286. exports.groom4 = groom4;
  23287. exports.loadIndexs = loadIndexs;
  23288. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  23289. // 促销商品
  23290. function groom4(data) {
  23291. return (0, _request.default)({
  23292. url: '/api/groom/list/4',
  23293. method: 'get',
  23294. data: data
  23295. });
  23296. }
  23297. // 精品推荐
  23298. function groom1(data) {
  23299. return (0, _request.default)({
  23300. url: '/api/groom/list/1',
  23301. method: 'get',
  23302. data: data
  23303. });
  23304. }
  23305. // 新品首发
  23306. function groom3(data) {
  23307. return (0, _request.default)({
  23308. url: '/api/groom/list/3',
  23309. method: 'get',
  23310. data: data
  23311. });
  23312. }
  23313. // 获取首页信息
  23314. function loadIndexs(data) {
  23315. return (0, _request.default)({
  23316. url: '/api/index',
  23317. method: 'get',
  23318. data: data
  23319. });
  23320. }
  23321. /***/ }),
  23322. /***/ 72:
  23323. /*!********************************************!*\
  23324. !*** D:/工作/项目2/华景美业/hjmy/utils/request.js ***!
  23325. \********************************************/
  23326. /*! no static exports found */
  23327. /***/ (function(module, exports, __webpack_require__) {
  23328. "use strict";
  23329. /* WEBPACK VAR INJECTION */(function(uni) {
  23330. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23331. Object.defineProperty(exports, "__esModule", {
  23332. value: true
  23333. });
  23334. exports.upFilse = exports.default = void 0;
  23335. var _newRequest = _interopRequireDefault(__webpack_require__(/*! ./newRequest.js */ 73));
  23336. var _store = _interopRequireDefault(__webpack_require__(/*! ../store */ 27));
  23337. var _loginUtils = __webpack_require__(/*! @/utils/loginUtils.js */ 74);
  23338. // 请求完成后拦截
  23339. _newRequest.default.interceptors.response(function (response) {
  23340. try {
  23341. var res = response.data;
  23342. // 解析字符串为数字
  23343. if (res.status !== 200) {
  23344. console.log(res.status);
  23345. if (res.status == 410000) {
  23346. // 调用退出登录方法清空用户信息
  23347. _store.default.commit('user/logout');
  23348. // 判断是否开启强制登录
  23349. uni.showModal({
  23350. title: "登陆",
  23351. content: '您未登录!是否马上登录?',
  23352. success: function success(e) {
  23353. // 判断是否点击确认按钮
  23354. if (e.confirm) {
  23355. // 保存当前页面地址
  23356. (0, _loginUtils.saveUrl)();
  23357. // 跳转页面
  23358. (0, _loginUtils.interceptor)();
  23359. }
  23360. }
  23361. });
  23362. } else {
  23363. if (res.msg != '系统出现异常') {
  23364. uni.showToast({
  23365. title: res.msg,
  23366. duration: 1500,
  23367. mask: false,
  23368. icon: 'none'
  23369. });
  23370. }
  23371. }
  23372. return Promise.reject(res);
  23373. } else {
  23374. return res;
  23375. }
  23376. } catch (e) {
  23377. console.log(e);
  23378. }
  23379. }, function (error) {
  23380. uni.showToast({
  23381. title: "加载错误请重试",
  23382. duration: 1500,
  23383. mask: false,
  23384. icon: 'none'
  23385. });
  23386. return Promise.reject(error);
  23387. });
  23388. // 请求前拦截器
  23389. _newRequest.default.interceptors.request(function (config) {
  23390. var token = uni.getStorageSync('token') || '';
  23391. // console.log(config);
  23392. if (!config.header) {
  23393. config.header = {
  23394. "Authori-zation": 'Bearer ' + token
  23395. };
  23396. } else {
  23397. // 添加key请求头
  23398. config.header["Authori-zation"] = 'Bearer ' + token;
  23399. }
  23400. return config;
  23401. }, function (error) {
  23402. // 错误处理
  23403. console.log(error);
  23404. return Promise.reject(error);
  23405. });
  23406. var upFilse = _newRequest.default.upFilse;
  23407. exports.upFilse = upFilse;
  23408. var _default = _newRequest.default.open;
  23409. exports.default = _default;
  23410. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23411. /***/ }),
  23412. /***/ 73:
  23413. /*!***********************************************!*\
  23414. !*** D:/工作/项目2/华景美业/hjmy/utils/newRequest.js ***!
  23415. \***********************************************/
  23416. /*! no static exports found */
  23417. /***/ (function(module, exports, __webpack_require__) {
  23418. "use strict";
  23419. /* WEBPACK VAR INJECTION */(function(uni) {
  23420. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23421. Object.defineProperty(exports, "__esModule", {
  23422. value: true
  23423. });
  23424. exports.default = void 0;
  23425. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 44));
  23426. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 46));
  23427. var _store = _interopRequireDefault(__webpack_require__(/*! ../store */ 27));
  23428. var service = {
  23429. baseURL: _store.default.state.baseURL,
  23430. // 请求头
  23431. header: {
  23432. 'Content-Type': "application/x-www-form-urlencoded"
  23433. },
  23434. // 请求拦截器
  23435. interceptors: {
  23436. // 安装请求前拦截
  23437. request: function request(success, iserror) {
  23438. service.request.success = success;
  23439. service.request.error = iserror;
  23440. },
  23441. // 安装请求完成后拦截
  23442. response: function response(success, iserror) {
  23443. service.response.success = success;
  23444. service.response.error = iserror;
  23445. }
  23446. },
  23447. // 请求前拦截
  23448. request: {
  23449. // 回调成功执行方法
  23450. success: function success(e) {
  23451. return e;
  23452. },
  23453. // 回调失败
  23454. error: function error(e) {
  23455. return e;
  23456. }
  23457. },
  23458. // 请求完成后拦截
  23459. response: {
  23460. // 回调成功执行方法
  23461. success: function success(e) {
  23462. return e;
  23463. },
  23464. // 回调失败
  23465. error: function error(e) {
  23466. return e;
  23467. }
  23468. },
  23469. // 开始请求
  23470. open: function () {
  23471. var _open = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(data) {
  23472. return _regenerator.default.wrap(function _callee$(_context) {
  23473. while (1) {
  23474. switch (_context.prev = _context.next) {
  23475. case 0:
  23476. _context.next = 2;
  23477. return new Promise(function (resolve, reject) {
  23478. var requestData = ''; //保存处理完成后请求数据
  23479. var url = ''; //保存链接地址
  23480. //console.log(data);
  23481. // 请求前数据处理
  23482. requestData = service.request.success(data);
  23483. url = service.baseURL + requestData.url;
  23484. // 数据复制用于请求
  23485. uni.request({
  23486. url: url,
  23487. method: requestData.method || 'GET',
  23488. data: requestData.data,
  23489. header: data.header || service.header,
  23490. success: function success(res) {
  23491. if (res.statusCode == 200) {
  23492. try {
  23493. resolve(service.response.success(res));
  23494. } catch (e) {
  23495. service.response.error(e);
  23496. }
  23497. }
  23498. },
  23499. // 请求失败数据处理
  23500. fail: function fail(err) {
  23501. service.response.error(err);
  23502. }
  23503. });
  23504. });
  23505. case 2:
  23506. return _context.abrupt("return", _context.sent);
  23507. case 3:
  23508. case "end":
  23509. return _context.stop();
  23510. }
  23511. }
  23512. }, _callee);
  23513. }));
  23514. function open(_x) {
  23515. return _open.apply(this, arguments);
  23516. }
  23517. return open;
  23518. }(),
  23519. // 上传文件
  23520. upFilse: function () {
  23521. var _upFilse = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(data) {
  23522. return _regenerator.default.wrap(function _callee4$(_context4) {
  23523. while (1) {
  23524. switch (_context4.prev = _context4.next) {
  23525. case 0:
  23526. _context4.next = 2;
  23527. return new Promise(function (resolve, reject) {
  23528. var requestData = ''; //保存处理完成后请求数据
  23529. var url = ''; //保存请求地址
  23530. try {
  23531. // 请求前数据处理
  23532. requestData = service.request.success(data);
  23533. } catch (e) {
  23534. // 请求报错拦截
  23535. service.request.error(e);
  23536. }
  23537. url = service.baseURL + requestData.url;
  23538. var config = {
  23539. // 上传图片的API
  23540. upload_img_url: url
  23541. };
  23542. var Uploader = {
  23543. // 选择图片
  23544. choose: function choose(num) {
  23545. return new Promise(function (resolve, reject) {
  23546. uni.chooseImage({
  23547. count: num,
  23548. success: function success(res) {
  23549. // console.log(res);
  23550. // 缓存文件路径
  23551. resolve(res.tempFilePaths);
  23552. },
  23553. fail: function fail(err) {
  23554. console.log(err);
  23555. reject(err);
  23556. }
  23557. });
  23558. });
  23559. },
  23560. // 上传图片
  23561. upload_one: function upload_one(path) {
  23562. return new Promise(function (resolve, reject) {
  23563. uni.showLoading({
  23564. title: '上传中'
  23565. });
  23566. uni.uploadFile({
  23567. url: config.upload_img_url,
  23568. //仅为示例,非真实的接口地址
  23569. filePath: path,
  23570. name: 'file',
  23571. header: {
  23572. "Authori-zation": 'Bearer ' + uni.getStorageSync('token')
  23573. },
  23574. success: function success(uploadFileRes) {
  23575. if ("string" === typeof uploadFileRes.data) {
  23576. resolve(JSON.parse(uploadFileRes.data).data);
  23577. } else {
  23578. resolve(uploadFileRes.data.data);
  23579. }
  23580. },
  23581. complete: function complete() {
  23582. uni.hideLoading();
  23583. }
  23584. });
  23585. });
  23586. },
  23587. // 上传多个图片
  23588. upload: function upload(path_arr) {
  23589. var _this = this;
  23590. var num = path_arr.length;
  23591. return new Promise( /*#__PURE__*/function () {
  23592. var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(resolve, reject) {
  23593. var img_urls, i, img_url;
  23594. return _regenerator.default.wrap(function _callee2$(_context2) {
  23595. while (1) {
  23596. switch (_context2.prev = _context2.next) {
  23597. case 0:
  23598. img_urls = [];
  23599. i = 0;
  23600. case 2:
  23601. if (!(i < num)) {
  23602. _context2.next = 10;
  23603. break;
  23604. }
  23605. _context2.next = 5;
  23606. return _this.upload_one(path_arr[i]);
  23607. case 5:
  23608. img_url = _context2.sent;
  23609. img_urls.push(img_url);
  23610. case 7:
  23611. i++;
  23612. _context2.next = 2;
  23613. break;
  23614. case 10:
  23615. ;
  23616. resolve(img_urls);
  23617. case 12:
  23618. case "end":
  23619. return _context2.stop();
  23620. }
  23621. }
  23622. }, _callee2);
  23623. }));
  23624. return function (_x3, _x4) {
  23625. return _ref.apply(this, arguments);
  23626. };
  23627. }());
  23628. },
  23629. // 触发上传图片事件
  23630. choose_and_upload: function choose_and_upload(num) {
  23631. var _this2 = this;
  23632. return new Promise( /*#__PURE__*/function () {
  23633. var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(resolve, reject) {
  23634. var path_arr;
  23635. return _regenerator.default.wrap(function _callee3$(_context3) {
  23636. while (1) {
  23637. switch (_context3.prev = _context3.next) {
  23638. case 0:
  23639. _context3.next = 2;
  23640. return _this2.choose(num);
  23641. case 2:
  23642. path_arr = _context3.sent;
  23643. _context3.next = 5;
  23644. return _this2.upload(path_arr).then(function (e) {
  23645. resolve(e);
  23646. }).catch(function (e) {
  23647. reject(e);
  23648. });
  23649. case 5:
  23650. case "end":
  23651. return _context3.stop();
  23652. }
  23653. }
  23654. }, _callee3);
  23655. }));
  23656. return function (_x5, _x6) {
  23657. return _ref2.apply(this, arguments);
  23658. };
  23659. }());
  23660. }
  23661. };
  23662. Uploader.choose_and_upload(1).then(function (e) {
  23663. resolve(e);
  23664. }).catch(function (e) {
  23665. console.log(e);
  23666. });
  23667. });
  23668. case 2:
  23669. return _context4.abrupt("return", _context4.sent);
  23670. case 3:
  23671. case "end":
  23672. return _context4.stop();
  23673. }
  23674. }
  23675. }, _callee4);
  23676. }));
  23677. function upFilse(_x2) {
  23678. return _upFilse.apply(this, arguments);
  23679. }
  23680. return upFilse;
  23681. }()
  23682. };
  23683. var _default = service;
  23684. exports.default = _default;
  23685. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23686. /***/ }),
  23687. /***/ 74:
  23688. /*!***********************************************!*\
  23689. !*** D:/工作/项目2/华景美业/hjmy/utils/loginUtils.js ***!
  23690. \***********************************************/
  23691. /*! no static exports found */
  23692. /***/ (function(module, exports, __webpack_require__) {
  23693. "use strict";
  23694. /* WEBPACK VAR INJECTION */(function(uni) {
  23695. Object.defineProperty(exports, "__esModule", {
  23696. value: true
  23697. });
  23698. exports.getActionPage = getActionPage;
  23699. exports.getPageUrl = getPageUrl;
  23700. exports.interceptor = interceptor;
  23701. exports.saveUrl = saveUrl;
  23702. function getActionPage() {
  23703. var pages = getCurrentPages();
  23704. return pages[pages.length - 1];
  23705. }
  23706. //登录拦截
  23707. function interceptor() {
  23708. var pages = getActionPage();
  23709. // 获取当前页面
  23710. var pageUrl = '/' + pages.route;
  23711. var url = '/pages/public/login';
  23712. url = '/pages/public/wxLogin';
  23713. if (pageUrl != url) {
  23714. uni.navigateTo({
  23715. url: url
  23716. });
  23717. }
  23718. }
  23719. // 保存页面
  23720. function saveUrl() {
  23721. var path = getPageUrl(true);
  23722. uni.setStorageSync('present', path);
  23723. }
  23724. // 处理分享链接地址
  23725. function getPageUrl() {
  23726. var showSpeard = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
  23727. var page = getActionPage();
  23728. var path = '/' + page.route;
  23729. var url = '';
  23730. // 获取对象可枚举键值列表
  23731. var objKeys = Object.keys(page.options);
  23732. // 判断有无传值
  23733. if (objKeys.length > 0) {
  23734. // 循环赋值对象数据
  23735. for (var a in page.options) {
  23736. // 判断有无邀请人
  23737. if (a != 'speard') {
  23738. url += a + "=" + page.options[a] + "&";
  23739. } else {
  23740. // 判断是否需要存储邀请人
  23741. if (showSpeard) {
  23742. url += a + "=" + page.options[a] + "&";
  23743. }
  23744. }
  23745. }
  23746. path += '?' + url.substr(0, url.length - 1);
  23747. }
  23748. // 返回处理邀请人后的邀请地址
  23749. return path;
  23750. }
  23751. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23752. /***/ }),
  23753. /***/ 75:
  23754. /*!***************************************!*\
  23755. !*** D:/工作/项目2/华景美业/hjmy/api/user.js ***!
  23756. \***************************************/
  23757. /*! no static exports found */
  23758. /***/ (function(module, exports, __webpack_require__) {
  23759. "use strict";
  23760. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23761. Object.defineProperty(exports, "__esModule", {
  23762. value: true
  23763. });
  23764. exports.addressDel = addressDel;
  23765. exports.addressEdit = addressEdit;
  23766. exports.article = article;
  23767. exports.cartDel = cartDel;
  23768. exports.delcollect = delcollect;
  23769. exports.details = details;
  23770. exports.getAddressList = getAddressList;
  23771. exports.getCartList = getCartList;
  23772. exports.getCartNum = getCartNum;
  23773. exports.getUserInfo = getUserInfo;
  23774. exports.getcollectList = getcollectList;
  23775. exports.myteam = myteam;
  23776. exports.orderData = orderData;
  23777. exports.setAddressDefault = setAddressDefault;
  23778. exports.spread = spread;
  23779. exports.spreadBanner = spreadBanner;
  23780. exports.sqdl = sqdl;
  23781. exports.version = version;
  23782. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  23783. // 订单统计信息
  23784. function orderData(data) {
  23785. return (0, _request.default)({
  23786. url: '/api/order/data',
  23787. method: 'get',
  23788. data: data
  23789. });
  23790. }
  23791. // 获取用户信息
  23792. function getUserInfo(data) {
  23793. return (0, _request.default)({
  23794. url: '/api/userinfo',
  23795. method: 'get',
  23796. data: data
  23797. });
  23798. }
  23799. // 用户分享图
  23800. function spreadBanner(data) {
  23801. return (0, _request.default)({
  23802. url: '/api/spread/banner',
  23803. method: 'get',
  23804. data: data
  23805. });
  23806. }
  23807. // 获取地址列表
  23808. function getAddressList(data) {
  23809. return (0, _request.default)({
  23810. url: '/api/address/list',
  23811. method: 'get',
  23812. data: data
  23813. });
  23814. }
  23815. // 修改地址
  23816. function addressEdit(data) {
  23817. return (0, _request.default)({
  23818. url: '/api/address/edit',
  23819. method: 'post',
  23820. data: data
  23821. });
  23822. }
  23823. // 删除地址
  23824. function addressDel(data) {
  23825. return (0, _request.default)({
  23826. url: '/api/address/del',
  23827. method: 'post',
  23828. data: data
  23829. });
  23830. }
  23831. // 设为默认地址
  23832. function setAddressDefault(data) {
  23833. return (0, _request.default)({
  23834. url: '/api/address/default/set',
  23835. method: 'post',
  23836. data: data
  23837. });
  23838. }
  23839. // 购物车列表
  23840. function getCartList(data) {
  23841. return (0, _request.default)({
  23842. url: '/api/cart/list',
  23843. method: 'get',
  23844. data: data
  23845. });
  23846. }
  23847. // 修改购物车数量
  23848. function getCartNum(data) {
  23849. return (0, _request.default)({
  23850. url: '/api/cart/num',
  23851. method: 'post',
  23852. data: data
  23853. });
  23854. }
  23855. //删除购物车
  23856. function cartDel(data) {
  23857. return (0, _request.default)({
  23858. url: '/api/cart/del',
  23859. method: 'post',
  23860. data: data
  23861. });
  23862. }
  23863. //获取收藏夹列表
  23864. function getcollectList(data) {
  23865. return (0, _request.default)({
  23866. url: '/api/collect/user',
  23867. method: 'get',
  23868. data: data
  23869. });
  23870. }
  23871. // 取消收藏
  23872. function delcollect(data) {
  23873. return (0, _request.default)({
  23874. url: '/api/collect/del',
  23875. method: 'post',
  23876. data: data
  23877. });
  23878. }
  23879. //我的推广
  23880. function spread(data) {
  23881. return (0, _request.default)({
  23882. url: '/api/spread/people',
  23883. method: 'POST',
  23884. data: data
  23885. });
  23886. }
  23887. //
  23888. function sqdl(data) {
  23889. return (0, _request.default)({
  23890. url: '/api/user/apply',
  23891. method: 'POST',
  23892. data: data
  23893. });
  23894. }
  23895. //文章列表
  23896. function article(data, id) {
  23897. return (0, _request.default)({
  23898. url: '/api/article/list/' + id,
  23899. method: 'GET',
  23900. data: data
  23901. });
  23902. }
  23903. function details(data, id) {
  23904. return (0, _request.default)({
  23905. url: '/api/article/details/' + id,
  23906. method: 'get',
  23907. data: data
  23908. });
  23909. }
  23910. function myteam(data) {
  23911. return (0, _request.default)({
  23912. url: '/api/user/team',
  23913. method: 'get',
  23914. data: data
  23915. });
  23916. }
  23917. // 是否过审
  23918. function version(data) {
  23919. return (0, _request.default)({
  23920. url: '/api/version',
  23921. method: 'get',
  23922. data: data
  23923. });
  23924. }
  23925. /***/ }),
  23926. /***/ 76:
  23927. /*!******************************************!*\
  23928. !*** D:/工作/项目2/华景美业/hjmy/api/product.js ***!
  23929. \******************************************/
  23930. /*! no static exports found */
  23931. /***/ (function(module, exports, __webpack_require__) {
  23932. "use strict";
  23933. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23934. Object.defineProperty(exports, "__esModule", {
  23935. value: true
  23936. });
  23937. exports.cartAdd = cartAdd;
  23938. exports.collectAdd = collectAdd;
  23939. exports.collectDel = collectDel;
  23940. exports.getBargainList = getBargainList;
  23941. exports.getCategoryList = getCategoryList;
  23942. exports.getCombinationLisPink = getCombinationLisPink;
  23943. exports.getCombinationLisRemove = getCombinationLisRemove;
  23944. exports.getCombinationList = getCombinationList;
  23945. exports.getCombinationPoster = getCombinationPoster;
  23946. exports.getProducts = getProducts;
  23947. exports.getSeckillClass = getSeckillClass;
  23948. exports.getSeckillList = getSeckillList;
  23949. exports.goodsDetail = goodsDetail;
  23950. exports.groomList = groomList;
  23951. exports.groupGoods = groupGoods;
  23952. exports.poster = poster;
  23953. exports.reply_config = reply_config;
  23954. exports.reply_list = reply_list;
  23955. exports.searchKeyword = searchKeyword;
  23956. exports.seckillGoods = seckillGoods;
  23957. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 72));
  23958. // 获取商品列表
  23959. function getProducts(data) {
  23960. // {
  23961. // 参数名称 是否必须 示例 备注
  23962. // sid 否 二级分类编号
  23963. // cid 否 一级分类编号(!)
  23964. // keyword 否 搜索
  23965. // priceOrder 否 价格排序
  23966. // salesOrder 否 销量排序
  23967. // news 否 是否新品
  23968. // page 否 分页参数起始值
  23969. // limit 否 分页数步长值
  23970. // }
  23971. return (0, _request.default)({
  23972. url: '/api/products',
  23973. method: 'get',
  23974. data: data
  23975. });
  23976. }
  23977. // 获取商品详情
  23978. function goodsDetail(data, id) {
  23979. return (0, _request.default)({
  23980. url: '/api/product/detail/' + id,
  23981. method: 'get',
  23982. data: data
  23983. });
  23984. }
  23985. // 砍价列表
  23986. function getBargainList(data) {
  23987. return (0, _request.default)({
  23988. url: '/api/bargain/list',
  23989. method: 'get',
  23990. data: data
  23991. });
  23992. }
  23993. // 加入购物车
  23994. function cartAdd(data) {
  23995. return (0, _request.default)({
  23996. url: '/api/cart/add',
  23997. method: 'post',
  23998. data: data
  23999. });
  24000. }
  24001. // 收藏商品
  24002. function collectAdd(data) {
  24003. return (0, _request.default)({
  24004. url: '/api/collect/add',
  24005. method: 'post',
  24006. data: data
  24007. });
  24008. }
  24009. // 取消收藏商品
  24010. function collectDel(data) {
  24011. return (0, _request.default)({
  24012. url: '/api/collect/del',
  24013. method: 'post',
  24014. data: data
  24015. });
  24016. }
  24017. // 获取搜搜关键字
  24018. function searchKeyword(data) {
  24019. return (0, _request.default)({
  24020. url: '/api/search/keyword',
  24021. method: 'get',
  24022. data: data
  24023. });
  24024. }
  24025. // 获取热门分类信息
  24026. function groomList(data, type) {
  24027. // 获取产品类型 1 精品推荐 2 热门榜单 3首发新品 4促销单品
  24028. return (0, _request.default)({
  24029. url: '/api/groom/list/' + type,
  24030. method: 'get',
  24031. data: data
  24032. });
  24033. }
  24034. // 获取秒杀商品详细
  24035. function seckillGoods(data, id) {
  24036. return (0, _request.default)({
  24037. url: '/api/seckill/detail/' + id,
  24038. method: 'get',
  24039. data: data
  24040. });
  24041. }
  24042. // 获取拼团商品详细
  24043. function groupGoods(data, id) {
  24044. return (0, _request.default)({
  24045. url: '/api/combination/detail/' + id,
  24046. method: 'get',
  24047. data: data
  24048. });
  24049. }
  24050. // 获取商品分类
  24051. function getCategoryList(data) {
  24052. return (0, _request.default)({
  24053. url: '/api/category',
  24054. method: 'get',
  24055. data: data
  24056. });
  24057. }
  24058. // 获取拼团列表
  24059. function getCombinationList(data) {
  24060. return (0, _request.default)({
  24061. url: '/api/combination/list',
  24062. method: 'get',
  24063. data: data
  24064. });
  24065. }
  24066. //取消拼团
  24067. function getCombinationLisRemove(data, id) {
  24068. return (0, _request.default)({
  24069. url: '/api/combination/remove' + id,
  24070. method: 'get',
  24071. data: data
  24072. });
  24073. }
  24074. //拼团开团页面数据
  24075. function getCombinationLisPink(data, id) {
  24076. return (0, _request.default)({
  24077. url: '/api/combination/pink/' + id,
  24078. method: 'get',
  24079. data: data
  24080. });
  24081. }
  24082. // 获取拼团海报
  24083. function getCombinationPoster(data) {
  24084. return (0, _request.default)({
  24085. url: '/api/combination/poster',
  24086. method: 'post',
  24087. data: data
  24088. });
  24089. }
  24090. // 获取秒杀分类
  24091. function getSeckillClass(data) {
  24092. return (0, _request.default)({
  24093. url: '/api/seckill/index',
  24094. method: 'get',
  24095. data: data
  24096. });
  24097. }
  24098. // 获取秒杀列表
  24099. function getSeckillList(data, id) {
  24100. return (0, _request.default)({
  24101. url: '/api/seckill/list/' + id,
  24102. method: 'get',
  24103. data: data
  24104. });
  24105. }
  24106. // 产品评价数量和好评度
  24107. function reply_config(data, id) {
  24108. return (0, _request.default)({
  24109. url: '/api/reply/config/' + id,
  24110. method: 'get',
  24111. data: data
  24112. });
  24113. }
  24114. // 获取产品评论
  24115. function reply_list(data, id) {
  24116. return (0, _request.default)({
  24117. url: '/api/reply/list/' + id,
  24118. method: 'get',
  24119. data: data
  24120. });
  24121. }
  24122. // 分享海报
  24123. function poster(data) {
  24124. return (0, _request.default)({
  24125. url: '/api/product/poster',
  24126. method: 'post',
  24127. data: data
  24128. });
  24129. }
  24130. /***/ }),
  24131. /***/ 8:
  24132. /*!***************************************************************************!*\
  24133. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  24134. \***************************************************************************/
  24135. /*! no static exports found */
  24136. /***/ (function(module, exports, __webpack_require__) {
  24137. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  24138. function _unsupportedIterableToArray(o, minLen) {
  24139. if (!o) return;
  24140. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  24141. var n = Object.prototype.toString.call(o).slice(8, -1);
  24142. if (n === "Object" && o.constructor) n = o.constructor.name;
  24143. if (n === "Map" || n === "Set") return Array.from(o);
  24144. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  24145. }
  24146. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  24147. /***/ }),
  24148. /***/ 9:
  24149. /*!*****************************************************************!*\
  24150. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  24151. \*****************************************************************/
  24152. /*! no static exports found */
  24153. /***/ (function(module, exports) {
  24154. function _arrayLikeToArray(arr, len) {
  24155. if (len == null || len > arr.length) len = arr.length;
  24156. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  24157. arr2[i] = arr[i];
  24158. }
  24159. return arr2;
  24160. }
  24161. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  24162. /***/ })
  24163. }]);
  24164. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map