| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439 |
- (function(t) {
- function e(e) {
- for (var i, a, r = e[0], s = e[1], u = e[2], d = 0, l = []; d < r.length; d++) a = r[d], Object.prototype
- .hasOwnProperty.call(o, a) && o[a] && l.push(o[a][0]), o[a] = 0;
- for (i in s) Object.prototype.hasOwnProperty.call(s, i) && (t[i] = s[i]);
- f && f(e);
- while (l.length) l.shift()();
- return c.push.apply(c, u || []), n()
- }
- function n() {
- for (var t, e = 0; e < c.length; e++) {
- for (var n = c[e], i = !0, a = 1; a < n.length; a++) {
- var r = n[a];
- 0 !== o[r] && (i = !1)
- }
- i && (c.splice(e--, 1), t = s(s.s = n[0]))
- }
- return t
- }
- var i = {},
- a = {
- app: 0
- },
- o = {
- app: 0
- },
- c = [];
- function r(t) {
- return s.p + "assets/js/" + ({} [t] || t) + "." + {
- "chunk-08082167": "3808c2ec",
- "chunk-0dcfb504": "22ffeddf",
- "chunk-10070652": "8f5304b2",
- "chunk-10077050": "c2af75c3",
- "chunk-14bff537": "cb9ea21d",
- "chunk-1537327e": "d6b74696",
- "chunk-158197fa": "1f51cbb6",
- "chunk-17f37f0a": "68ba22d5",
- "chunk-1b1b4cc8": "60678930",
- "chunk-22f71328": "6fe0593c",
- "chunk-2bba375c": "47a4fc11",
- "chunk-2c2626c2": "8ae7c95e",
- "chunk-2d0c113d": "5eef7495",
- "chunk-2d0c8685": "cbc97825",
- "chunk-2d0d5bd2": "8e0d3762",
- "chunk-2d0d655f": "4768bfaf",
- "chunk-2d0e9768": "0dc4e614",
- "chunk-2d2268ca": "5b2ede6d",
- "chunk-308b1aba": "e442cd84",
- "chunk-309ae035": "f3a7ff49",
- "chunk-4eb03f9a": "176f7289",
- "chunk-6eafa282": "cfb524c6",
- "chunk-7c714112": "1172752c",
- "chunk-32c10bd0": "ab25dc45",
- "chunk-334d76f2": "bcd0ca8d",
- "chunk-356c4a0b": "68aa6c41",
- "chunk-38891612": "dfb2832a",
- "chunk-38a28ebe": "e1c13403",
- "chunk-398b88dd": "c5c670ad",
- "chunk-3cba2654": "5e67471a",
- "chunk-443f1e32": "98c452bf",
- "chunk-4b860706": "9bc160c4",
- "chunk-4e1791c8": "9c172bfe",
- "chunk-4e4676de": "4132253a",
- "chunk-4f9fccb0": "40264462",
- "chunk-4ffb9190": "6fb84663",
- "chunk-53fdb42e": "95fea697",
- "chunk-6541c192": "c22c995c",
- "chunk-66c08c81": "1981a058",
- "chunk-67998c52": "20cf7060",
- "chunk-6cd2c081": "ca3f9e5e",
- "chunk-6def4394": "cd7e2f84",
- "chunk-7068634c": "a3b8cca0",
- "chunk-7074eacb": "e94ba487",
- "chunk-75a1b943": "31b9d4e6",
- "chunk-764e0207": "23ad6529",
- "chunk-77d28e2c": "0569da40",
- "chunk-7d3e2867": "462ba4f5",
- "chunk-84ec278e": "8d82887b",
- "chunk-85202ab0": "bf57953d",
- "chunk-95ceafe8": "4e37cd21",
- "chunk-c164c6a6": "30e0e717",
- "chunk-c4831fe4": "cc8eb6e0",
- "chunk-ce48d11a": "d9a8bf4d",
- "chunk-d0ac84c2": "82eb0973",
- "chunk-d3081916": "c7ec3f8e",
- "chunk-d34de39c": "f2ad02b3",
- "chunk-d661926e": "9cee915d",
- "chunk-d7a05dc6": "e639cc25",
- "chunk-db0e182c": "f85f0a2d",
- "chunk-dced0454": "83edb0ad",
- "chunk-e2fa9b3e": "8fdc6104",
- "chunk-e5655e1c": "b129766f",
- "chunk-eb7a9d84": "92f37ec9",
- "chunk-f1051e5e": "653321b8",
- "chunk-f499361e": "7e262c61",
- "chunk-f5c86434": "13b24041"
- } [t] + ".js"
- }
- function s(e) {
- if (i[e]) return i[e].exports;
- var n = i[e] = {
- i: e,
- l: !1,
- exports: {}
- };
- return t[e].call(n.exports, n, n.exports, s), n.l = !0, n.exports
- }
- s.e = function(t) {
- var e = [],
- n = {
- "chunk-08082167": 1,
- "chunk-0dcfb504": 1,
- "chunk-10070652": 1,
- "chunk-10077050": 1,
- "chunk-14bff537": 1,
- "chunk-1537327e": 1,
- "chunk-158197fa": 1,
- "chunk-17f37f0a": 1,
- "chunk-1b1b4cc8": 1,
- "chunk-22f71328": 1,
- "chunk-2bba375c": 1,
- "chunk-2c2626c2": 1,
- "chunk-308b1aba": 1,
- "chunk-309ae035": 1,
- "chunk-4eb03f9a": 1,
- "chunk-6eafa282": 1,
- "chunk-7c714112": 1,
- "chunk-32c10bd0": 1,
- "chunk-334d76f2": 1,
- "chunk-356c4a0b": 1,
- "chunk-38891612": 1,
- "chunk-38a28ebe": 1,
- "chunk-398b88dd": 1,
- "chunk-3cba2654": 1,
- "chunk-443f1e32": 1,
- "chunk-4b860706": 1,
- "chunk-4e1791c8": 1,
- "chunk-4e4676de": 1,
- "chunk-4f9fccb0": 1,
- "chunk-4ffb9190": 1,
- "chunk-53fdb42e": 1,
- "chunk-6541c192": 1,
- "chunk-66c08c81": 1,
- "chunk-67998c52": 1,
- "chunk-6cd2c081": 1,
- "chunk-6def4394": 1,
- "chunk-7068634c": 1,
- "chunk-7074eacb": 1,
- "chunk-75a1b943": 1,
- "chunk-764e0207": 1,
- "chunk-77d28e2c": 1,
- "chunk-7d3e2867": 1,
- "chunk-84ec278e": 1,
- "chunk-85202ab0": 1,
- "chunk-95ceafe8": 1,
- "chunk-c164c6a6": 1,
- "chunk-c4831fe4": 1,
- "chunk-ce48d11a": 1,
- "chunk-d0ac84c2": 1,
- "chunk-d3081916": 1,
- "chunk-d34de39c": 1,
- "chunk-d661926e": 1,
- "chunk-d7a05dc6": 1,
- "chunk-db0e182c": 1,
- "chunk-dced0454": 1,
- "chunk-e2fa9b3e": 1,
- "chunk-e5655e1c": 1,
- "chunk-eb7a9d84": 1,
- "chunk-f1051e5e": 1,
- "chunk-f499361e": 1,
- "chunk-f5c86434": 1
- };
- a[t] ? e.push(a[t]) : 0 !== a[t] && n[t] && e.push(a[t] = new Promise((function(e, n) {
- for (var i = "assets/css/" + ({} [t] || t) + "." + {
- "chunk-08082167": "236e06f4",
- "chunk-0dcfb504": "fae9da3b",
- "chunk-10070652": "4c22f509",
- "chunk-10077050": "dde3a9d5",
- "chunk-14bff537": "b1f2ec01",
- "chunk-1537327e": "03ce0351",
- "chunk-158197fa": "4ddc4db8",
- "chunk-17f37f0a": "bbfbc0c9",
- "chunk-1b1b4cc8": "c7c0803e",
- "chunk-22f71328": "18b1331a",
- "chunk-2bba375c": "71b110af",
- "chunk-2c2626c2": "02bccfb9",
- "chunk-2d0c113d": "31d6cfe0",
- "chunk-2d0c8685": "31d6cfe0",
- "chunk-2d0d5bd2": "31d6cfe0",
- "chunk-2d0d655f": "31d6cfe0",
- "chunk-2d0e9768": "31d6cfe0",
- "chunk-2d2268ca": "31d6cfe0",
- "chunk-308b1aba": "b6735dba",
- "chunk-309ae035": "a418e275",
- "chunk-4eb03f9a": "968f985d",
- "chunk-6eafa282": "b6569c27",
- "chunk-7c714112": "a173580e",
- "chunk-32c10bd0": "7a75d3b7",
- "chunk-334d76f2": "c41d1e2f",
- "chunk-356c4a0b": "e3919388",
- "chunk-38891612": "3c1baf4b",
- "chunk-38a28ebe": "aad45fe7",
- "chunk-398b88dd": "d8014d94",
- "chunk-3cba2654": "455c6961",
- "chunk-443f1e32": "982b9994",
- "chunk-4b860706": "a33ee86e",
- "chunk-4e1791c8": "884fb956",
- "chunk-4e4676de": "09a2039e",
- "chunk-4f9fccb0": "cd81c654",
- "chunk-4ffb9190": "2e4cb036",
- "chunk-53fdb42e": "94243db9",
- "chunk-6541c192": "cb7e452c",
- "chunk-66c08c81": "6e811a3a",
- "chunk-67998c52": "35e8a84b",
- "chunk-6cd2c081": "84d2ffdd",
- "chunk-6def4394": "d1b1db42",
- "chunk-7068634c": "e66180e8",
- "chunk-7074eacb": "002bacc6",
- "chunk-75a1b943": "fe6ce703",
- "chunk-764e0207": "530d3a53",
- "chunk-77d28e2c": "ec1a188a",
- "chunk-7d3e2867": "1ee8ac77",
- "chunk-84ec278e": "2940c436",
- "chunk-85202ab0": "df4e2f37",
- "chunk-95ceafe8": "1fa7bd65",
- "chunk-c164c6a6": "7e458d92",
- "chunk-c4831fe4": "2771ff89",
- "chunk-ce48d11a": "41f75882",
- "chunk-d0ac84c2": "b6b1948c",
- "chunk-d3081916": "365772bf",
- "chunk-d34de39c": "dbb10845",
- "chunk-d661926e": "dc3e8364",
- "chunk-d7a05dc6": "b8c2c7e2",
- "chunk-db0e182c": "2f7b7409",
- "chunk-dced0454": "22565e28",
- "chunk-e2fa9b3e": "23e5b7fc",
- "chunk-e5655e1c": "1bdf8d7d",
- "chunk-eb7a9d84": "df8110c1",
- "chunk-f1051e5e": "ab0ad8bc",
- "chunk-f499361e": "93a018ba",
- "chunk-f5c86434": "964d629f"
- } [t] + ".css", o = s.p + i, c = document.getElementsByTagName("link"), r =
- 0; r < c.length; r++) {
- var u = c[r],
- d = u.getAttribute("data-href") || u.getAttribute("href");
- if ("stylesheet" === u.rel && (d === i || d === o)) return e()
- }
- var l = document.getElementsByTagName("style");
- for (r = 0; r < l.length; r++) {
- u = l[r], d = u.getAttribute("data-href");
- if (d === i || d === o) return e()
- }
- var f = document.createElement("link");
- f.rel = "stylesheet", f.type = "text/css", f.onload = e, f.onerror = function(e) {
- var i = e && e.target && e.target.src || o,
- c = new Error("Loading CSS chunk " + t + " failed.\n(" + i + ")");
- c.code = "CSS_CHUNK_LOAD_FAILED", c.request = i, delete a[t], f.parentNode
- .removeChild(f), n(c)
- }, f.href = o;
- var m = document.getElementsByTagName("head")[0];
- m.appendChild(f)
- })).then((function() {
- a[t] = 0
- })));
- var i = o[t];
- if (0 !== i)
- if (i) e.push(i[2]);
- else {
- var c = new Promise((function(e, n) {
- i = o[t] = [e, n]
- }));
- e.push(i[2] = c);
- var u, d = document.createElement("script");
- d.charset = "utf-8", d.timeout = 120, s.nc && d.setAttribute("nonce", s.nc), d.src = r(t);
- var l = new Error;
- u = function(e) {
- d.onerror = d.onload = null, clearTimeout(f);
- var n = o[t];
- if (0 !== n) {
- if (n) {
- var i = e && ("load" === e.type ? "missing" : e.type),
- a = e && e.target && e.target.src;
- l.message = "Loading chunk " + t + " failed.\n(" + i + ": " + a + ")", l.name =
- "ChunkLoadError", l.type = i, l.request = a, n[1](l)
- }
- o[t] = void 0
- }
- };
- var f = setTimeout((function() {
- u({
- type: "timeout",
- target: d
- })
- }), 12e4);
- d.onerror = d.onload = u, document.head.appendChild(d)
- } return Promise.all(e)
- }, s.m = t, s.c = i, s.d = function(t, e, n) {
- s.o(t, e) || Object.defineProperty(t, e, {
- enumerable: !0,
- get: n
- })
- }, s.r = function(t) {
- "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
- value: "Module"
- }), Object.defineProperty(t, "__esModule", {
- value: !0
- })
- }, s.t = function(t, e) {
- if (1 & e && (t = s(t)), 8 & e) return t;
- if (4 & e && "object" === typeof t && t && t.__esModule) return t;
- var n = Object.create(null);
- if (s.r(n), Object.defineProperty(n, "default", {
- enumerable: !0,
- value: t
- }), 2 & e && "string" != typeof t)
- for (var i in t) s.d(n, i, function(e) {
- return t[e]
- }.bind(null, i));
- return n
- }, s.n = function(t) {
- var e = t && t.__esModule ? function() {
- return t["default"]
- } : function() {
- return t
- };
- return s.d(e, "a", e), e
- }, s.o = function(t, e) {
- return Object.prototype.hasOwnProperty.call(t, e)
- }, s.p = "/web/", s.oe = function(t) {
- throw console.error(t), t
- };
- var u = window["webpackJsonp"] = window["webpackJsonp"] || [],
- d = u.push.bind(u);
- u.push = e, u = u.slice();
- for (var l = 0; l < u.length; l++) e(u[l]);
- var f = d;
- c.push([0, "chunk-vendors"]), n()
- })({
- 0: function(t, e, n) {
- t.exports = n("56d7")
- },
- "01ea": function(t, e, n) {
- "use strict";
- e["a"] = {
- baseUrl: "{{$baseUrl}}",
- imgDomain: "{{$imgDomain}}",
- webDomain: "{{$webDomain}}",
- mpKey: "{{$mpKey}}",
- webSocket: "{{$webSocket}}",
- pingInterval: 1500
- }
- },
- "02eb": function(t, e, n) {
- "use strict";
- n("e2cb")
- },
- "03b7": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "余额提现"
- }
- },
- "06c5": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "待付款订单"
- }
- },
- "0818": function(t, e, n) {},
- "0aea": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "商品列表"
- }
- },
- 1: function(t, e) {},
- 1368: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "待付款订单"
- }
- },
- "159f": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "我的足迹"
- }
- },
- 1694: function(t, e, n) {},
- "19ca": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "账户安全"
- }
- },
- "1a03": function(t, e, n) {
- "use strict";
- n("1694")
- },
- "1b90": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "订单列表"
- }
- },
- "1ddd": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "品牌专区"
- }
- },
- "236f": function(t, e, n) {},
- "26ae": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- common: {
- name: "中文"
- }
- }
- },
- 2786: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "账户列表"
- }
- },
- "2c08": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "找回密码"
- }
- },
- "2c65": function(t, e, n) {},
- "2f94": function(t, e, n) {
- "use strict";
- n.d(e, "a", (function() {
- return a
- })), n.d(e, "b", (function() {
- return o
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/address/lists",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/address/city",
- data: t
- })
- }
- },
- "2fb4": function(t, e, n) {},
- 3177: function(t, e, n) {
- "use strict";
- n.d(e, "a", (function() {
- return a
- })), n.d(e, "b", (function() {
- return o
- })), n.d(e, "c", (function() {
- return c
- })), n.d(e, "d", (function() {
- return r
- })), n.d(e, "e", (function() {
- return s
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- data: t,
- url: "/api/cart/add",
- forceLogin: !0
- })
- }
- function o(t) {
- return Object(i["a"])({
- data: t,
- url: "/api/cart/goodslists"
- })
- }
- function c(t) {
- return Object(i["a"])({
- data: t,
- url: "/api/cart/delete",
- forceLogin: !0
- })
- }
- function r(t) {
- return Object(i["a"])({
- data: t,
- url: "/api/cart/edit",
- forceLogin: !0
- })
- }
- function s(t) {
- return Object(i["a"])({
- data: t,
- url: "/api/cart/count"
- })
- }
- },
- "33dd": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "公告列表"
- }
- },
- "37cb": function(t, e, n) {
- "use strict";
- n.d(e, "l", (function() {
- return a
- })), n.d(e, "c", (function() {
- return o
- })), n.d(e, "j", (function() {
- return c
- })), n.d(e, "i", (function() {
- return r
- })), n.d(e, "k", (function() {
- return s
- })), n.d(e, "a", (function() {
- return u
- })), n.d(e, "g", (function() {
- return d
- })), n.d(e, "d", (function() {
- return l
- })), n.d(e, "f", (function() {
- return f
- })), n.d(e, "b", (function() {
- return m
- })), n.d(e, "e", (function() {
- return h
- })), n.d(e, "h", (function() {
- return p
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/site/info",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/config/copyright",
- data: t
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/site/wapqrcode",
- data: t
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/config/defaultimg",
- data: t
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "weapp/api/weapp/qrcode",
- data: t
- })
- }
- function u(t) {
- return Object(i["a"])({
- url: "/api/adv/detail",
- data: t
- })
- }
- function d(t) {
- return Object(i["a"])({
- url: "/api/goods/service",
- data: t
- })
- }
- function l(t) {
- return Object(i["a"])({
- url: "/api/pc/friendlyLink",
- data: t
- })
- }
- function f(t) {
- return Object(i["a"])({
- url: "/api/pc/navList",
- data: t
- })
- }
- function m(t) {
- return Object(i["a"])({
- url: "/api/captcha/captcha",
- data: t
- })
- }
- function h() {
- return Object(i["a"])({
- url: "/api/site/status"
- })
- }
- function p(t) {
- return Object(i["a"])({
- url: "/api/config/servicer",
- data: t
- })
- }
- },
- 3828: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "我的等级"
- }
- },
- "3bad": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "我的优惠券"
- }
- },
- 4256: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "帮助中心"
- }
- },
- "46b0": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "收货地址"
- }
- },
- "47e7": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "店铺商品列表"
- }
- },
- "485b": function(t, e, n) {
- "use strict";
- n.d(e, "a", (function() {
- return a
- })), n.d(e, "b", (function() {
- return o
- })), n.d(e, "c", (function() {
- return c
- })), n.d(e, "e", (function() {
- return r
- })), n.d(e, "f", (function() {
- return s
- })), n.d(e, "d", (function() {
- return u
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/register/aggrement",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/memberregister/api/Config/Config",
- data: t
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/register/username",
- data: t
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/register/mobile",
- data: t
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "/api/register/mobileCode",
- data: t
- })
- }
- function u(t) {
- return Object(i["a"])({
- url: "/api/register/config",
- data: t
- })
- }
- },
- "49f4": function(t, e, n) {},
- "4a08": function(t, e, n) {
- var i = {
- "./en-us/common.js": "daea",
- "./zh-cn/combo/combo.js": "57a2",
- "./zh-cn/combo/combo_payment.js": "06c5",
- "./zh-cn/common.js": "26ae",
- "./zh-cn/goods/brand.js": "1ddd",
- "./zh-cn/goods/cart.js": "768e",
- "./zh-cn/goods/category.js": "4b1d",
- "./zh-cn/goods/coupon.js": "df77",
- "./zh-cn/goods/detail.js": "e5a0",
- "./zh-cn/goods/list.js": "0aea",
- "./zh-cn/groupbuy/groupbuy.js": "b973",
- "./zh-cn/groupbuy/groupbuy_detail.js": "599e",
- "./zh-cn/groupbuy/groupbuy_payment.js": "1368",
- "./zh-cn/help/help.js": "4256",
- "./zh-cn/help/help_detail.js": "5859",
- "./zh-cn/help/list_other.js": "dcfe",
- "./zh-cn/index/change_city.js": "aa79",
- "./zh-cn/index/closed.js": "d5d3",
- "./zh-cn/index/error.js": "c0f4",
- "./zh-cn/index/index.js": "71a9",
- "./zh-cn/login/find_pass.js": "2c08",
- "./zh-cn/login/login.js": "ad66",
- "./zh-cn/login/register.js": "4f52",
- "./zh-cn/member/account.js": "a2ac",
- "./zh-cn/member/account_edit.js": "b171",
- "./zh-cn/member/account_list.js": "2786",
- "./zh-cn/member/activist.js": "ac32",
- "./zh-cn/member/address_edit.js": "997d",
- "./zh-cn/member/apply_withdrawal.js": "03b7",
- "./zh-cn/member/collection.js": "8010",
- "./zh-cn/member/delivery_address.js": "46b0",
- "./zh-cn/member/footprint.js": "159f",
- "./zh-cn/member/info.js": "561a",
- "./zh-cn/member/level.js": "3828",
- "./zh-cn/member/member.js": "6970",
- "./zh-cn/member/my_coupon.js": "3bad",
- "./zh-cn/member/my_point.js": "ab4d",
- "./zh-cn/member/recharge_detail.js": "a3d9",
- "./zh-cn/member/recharge_list.js": "4b9e",
- "./zh-cn/member/recharge_order.js": "fd26",
- "./zh-cn/member/security.js": "19ca",
- "./zh-cn/member/signin.js": "f6fb",
- "./zh-cn/member/withdrawal.js": "de55",
- "./zh-cn/member/withdrawal_detail.js": "fc19",
- "./zh-cn/notice/notice.js": "33dd",
- "./zh-cn/notice/notice_detail.js": "5536",
- "./zh-cn/order/complain.js": "d5a1",
- "./zh-cn/order/evaluate.js": "abb4",
- "./zh-cn/order/logistics.js": "599d",
- "./zh-cn/order/order_detail.js": "bda5",
- "./zh-cn/order/order_detail_local_delivery.js": "e2ff",
- "./zh-cn/order/order_detail_pickup.js": "d57a",
- "./zh-cn/order/order_detail_virtual.js": "4f16",
- "./zh-cn/order/order_list.js": "1b90",
- "./zh-cn/order/payment.js": "f5d4",
- "./zh-cn/order/refund_detail.js": "e0c0",
- "./zh-cn/order/verification.js": "ce59",
- "./zh-cn/order/verification_detail.js": "f9d7",
- "./zh-cn/order/verification_list.js": "d6a6",
- "./zh-cn/pay/pay.js": "69bb",
- "./zh-cn/pay/pay_result.js": "e6b0",
- "./zh-cn/seckill/seckill.js": "8f1a",
- "./zh-cn/seckill/seckill_detail.js": "9ec1",
- "./zh-cn/seckill/seckill_payment.js": "55f3",
- "./zh-cn/shop/shop_index.js": "bf3b",
- "./zh-cn/shop/shop_list.js": "47e7",
- "./zh-cn/shop/street.js": "7ec7",
- "./zh-cn/topic/topic.js": "d850",
- "./zh-cn/topic/topic_detail.js": "8045",
- "./zh-cn/topic/topic_goods_detail.js": "f5c0",
- "./zh-cn/topic/topic_payment.js": "fe84"
- };
- function a(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- a.keys = function() {
- return Object.keys(i)
- }, a.resolve = o, t.exports = a, a.id = "4a08"
- },
- "4b1d": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "商品分类"
- }
- },
- "4b9e": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "充值列表"
- }
- },
- "4f16": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "订单详情"
- }
- },
- "4f52": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "注册"
- }
- },
- "4f527": function(t, e, n) {
- "use strict";
- n("adb8")
- },
- 5315: function(t, e, n) {
- "use strict";
- n.d(e, "d", (function() {
- return a
- })), n.d(e, "e", (function() {
- return o
- })), n.d(e, "a", (function() {
- return c
- })), n.d(e, "b", (function() {
- return r
- })), n.d(e, "c", (function() {
- return s
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/member/info",
- data: t,
- forceLogin: !0
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/order/num",
- data: t,
- forceLogin: !0
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/coupon/api/coupon/num",
- data: t,
- forceLogin: !0
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/goodsbrowse/page",
- data: t,
- forceLogin: !0
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "/api/memberlevel/lists",
- data: t,
- forceLogin: !0
- })
- }
- },
- 5536: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "公告详情"
- }
- },
- "55f3": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "待付款订单"
- }
- },
- "561a": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "个人资料"
- }
- },
- "56d7": function(t, e, n) {
- "use strict";
- n.r(e);
- n("e260"), n("e6cf"), n("cca6"), n("a79d");
- var i, a = n("2b0e"),
- o = (n("d3b7"), n("3ca3"), n("ddb0"), n("99af"), n("8c4f")),
- c = (n("b0c0"), n("ac1f"), n("1276"), n("5319"), ["zh-cn", "en-us"]),
- r = "zh-cn",
- s = {
- langList: ["zh-cn", "en-us"],
- lang: function(t, e) {
- var i = "",
- a = "";
- if (e ? (i = e.name, a = e.meta.module, "/" != e.path && "index" != e.name || (i =
- "index", a = "index")) : (i = vue.$route.name, a = vue.$route.meta.module), i &&
- a) {
- var o = "";
- try {
- var c = n("8c8f")("./" + r + "/common.js").lang,
- s = n("4a08")("./" + r + "/" + a + "/" + i + ".js").lang;
- Object.assign(c, s);
- var u = t.split(".");
- if (u.length > 1)
- for (var d in u) {
- var l = parseInt(d) + 1;
- l < u.length && (o = c[u[d]][u[l]])
- } else o = c[t]
- } catch (m) {
- o = t
- }
- if (arguments.length > 1)
- for (var f = 1; f < arguments.length; f++) o = o.replace("{" + (f - 1) + "}",
- arguments[f]);
- return (void 0 == o || "title" == o && "title" == t) && (o = ""), o
- }
- },
- change: function(t) {
- vue && (vue.$store.commit("lang", t), r = vue.$store.state.lang, this.refresh())
- },
- refresh: function(t) {
- window.document.title = this.lang("title", t)
- },
- list: function() {
- var t = [];
- try {
- for (var e = 0; e < c.length; e++) {
- var i = n("8c8f")("./" + c[e] + "/common.js").lang;
- t.push({
- name: i.common.name,
- value: c[e]
- })
- }
- } catch (a) {}
- return t
- },
- getLangField: function(t, e) {
- return this.lang(t, e) || ""
- }
- },
- u = n("323e"),
- d = n.n(u),
- l = (n("a5d8"), function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("el-container", [t.is_show ? n("div", {
- directives: [{
- name: "loading",
- rawName: "v-loading",
- value: t.loadingAd,
- expression: "loadingAd"
- }],
- staticClass: "banner"
- }, [n("el-carousel", {
- attrs: {
- height: "70px",
- arrow: "hover",
- direction: "vertical",
- "indicator-position": "none"
- }
- }, t._l(t.adList, (function(e) {
- return n("el-carousel-item", {
- key: e.adv_id,
- style: {
- backgroundColor: e.background
- }
- }, [n("el-image", {
- attrs: {
- src: t.$img(e.adv_image),
- fit: "cover"
- },
- on: {
- click: function(n) {
- return t.$router
- .pushToTab(e.adv_url
- .url)
- }
- }
- })], 1)
- })), 1), n("i", {
- staticClass: "el-icon-circle-close",
- on: {
- click: t.closeAd
- }
- })], 1) : t._e(), n("el-header", [n("ns-header")], 1), n("el-main", [n(
- "transition", {
- attrs: {
- name: "slide"
- }
- }, [n("router-view")], 1), n("ns-aside")], 1), n("el-footer", [n(
- "ns-footer")], 1)], 1)
- }),
- f = [],
- m = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "header"
- }, [n("ns-header-top"), n("ns-header-mid"), n("div", {
- staticClass: "nav"
- }, [n("div", {
- staticClass: "shop-sort",
- on: {
- mouseover: t.shopHover,
- mouseleave: t.shopLeave
- }
- }, [n("router-link", {
- attrs: {
- to: "/category"
- }
- }, [t._v("所有商品分类")]), n("i", {
- staticClass: "iconfont iconweibiaoti35"
- })], 1), n("div", {
- staticClass: "shop-list-content",
- class: t.forceExpand || t.isShopHover || t.isIndex ?
- "shop-list-active" : "shadow"
- }, [1 == t.categoryConfig.category ? n("div", {
- staticClass: "shop-list",
- on: {
- mouseover: t.shopHover,
- mouseleave: t.shopLeave
- }
- }, t._l(t.goodsCategoryTree, (function(e, i) {
- return n("div", {
- key: i,
- staticClass: "list-item",
- on: {
- mouseover: function(n) {
- t.selectedCategory = e
- .category_id
- },
- mouseleave: function(e) {
- t.selectedCategory = -1
- }
- }
- }, [n("router-link", {
- attrs: {
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e.level
- }
- },
- target: "_blank"
- }
- }, [n("div", [1 == t.categoryConfig
- .img ? n("img", {
- staticClass: "category-img",
- attrs: {
- src: t.$util
- .img(e
- .image
- )
- }
- }) : t._e(), n("p", {
- staticClass: "category-name"
- }, [t._v(t._s(e
- .category_name
- ))])
- ]), n("i", {
- staticClass: "el-icon-arrow-right",
- attrs: {
- "aria-hidden": "true"
- }
- })])], 1)
- })), 0) : 2 == t.categoryConfig.category ? n("div", {
- staticClass: "shop-list",
- class: t.forceExpand || t.isShopHover || t.isIndex ?
- "shop-list-active" : "shadow",
- on: {
- mouseover: t.shopHover,
- mouseleave: t.shopLeave
- }
- }, t._l(t.goodsCategoryTree, (function(e, i) {
- return n("div", {
- key: i,
- staticClass: "list-item",
- on: {
- mouseover: function(n) {
- t.selectedCategory = e
- .category_id
- },
- mouseleave: function(e) {
- t.selectedCategory = -1
- }
- }
- }, [n("router-link", {
- attrs: {
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e.level
- }
- },
- target: "_blank"
- }
- }, [n("div", [1 == t.categoryConfig
- .img ? n("img", {
- staticClass: "category-img",
- attrs: {
- src: t.$util
- .img(e
- .image
- )
- }
- }) : t._e(), n("p", {
- staticClass: "category-name"
- }, [t._v(t._s(e
- .category_name
- ))])
- ]), n("i", {
- staticClass: "el-icon-arrow-right",
- attrs: {
- "aria-hidden": "true"
- }
- })]), e.child_list ? n("div", {
- staticClass: "cate-part",
- class: {
- show: t.selectedCategory ==
- e.category_id
- }
- }, [n("div", {
- staticClass: "cate-part-col1"
- }, [n("div", {
- staticClass: "cate-detail"
- }, [n("div", {
- staticClass: "cate-detail-item"
- }, [n("div", {
- staticClass: "cate-detail-con"
- }, t
- ._l(e
- .child_list,
- (function(
- e,
- i
- ) {
- return n(
- "router-link", {
- key: i,
- attrs: {
- target: "_blank",
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e
- .level
- }
- }
- }
- },
- [1 ==
- t
- .categoryConfig
- .img ?
- n("img", {
- staticClass: "cate-detail-img",
- attrs: {
- src: t
- .$util
- .img(
- e
- .image
- )
- }
- }) :
- t
- ._e(),
- n("p", {
- staticClass: "category-name"
- },
- [t._v(t._s(e
- .category_name))]
- )
- ]
- )
- })
- ),
- 1)])])])]) : t._e()], 1)
- })), 0) : 3 == t.categoryConfig.category ? n("div", {
- staticClass: "shop-list",
- class: t.forceExpand || t.isShopHover || t.isIndex ?
- "shop-list-active" : "shadow",
- on: {
- mouseover: t.shopHover,
- mouseleave: t.shopLeave
- }
- }, t._l(t.goodsCategoryTree, (function(e, i) {
- return n("div", {
- key: i,
- staticClass: "list-item",
- on: {
- mouseover: function(n) {
- t.selectedCategory = e
- .category_id
- },
- mouseleave: function(e) {
- t.selectedCategory = -1
- }
- }
- }, [n("router-link", {
- attrs: {
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e.level
- }
- },
- target: "_blank"
- }
- }, [n("div", {
- staticClass: "list-item-left"
- }, [1 == t.categoryConfig
- .img ? n("img", {
- staticClass: "category-img",
- attrs: {
- src: t.$util
- .img(e
- .image
- )
- }
- }) : t._e(), n("p", {
- staticClass: "category-name"
- }, [t._v(t._s(e
- .category_name
- ))])
- ])]), n("div", {
- staticClass: "item-itm ",
- class: {
- "item-itm-img": 1 == t
- .categoryConfig.img
- }
- }, t._l(e.child_list, (function(e,
- i) {
- return n(
- "router-link", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: i <
- 3,
- expression: "second_index < 3"
- }],
- key: i,
- staticStyle: {
- display: "inline-block"
- },
- attrs: {
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e
- .level
- }
- },
- target: "_blank"
- }
- }, [t._v(" " + t
- ._s(e
- .short_name ?
- e
- .short_name :
- e
- .category_name
- ) +
- " ")])
- })), 1), e.child_list ? n("div", {
- staticClass: "cate-part",
- class: {
- show: t.selectedCategory ==
- e.category_id
- }
- }, [n("div", {
- staticClass: "cate-part-col1"
- }, [n("div", {
- staticClass: "cate-detail"
- }, t._l(e
- .child_list, (
- function(e,
- i) {
- return n(
- "dl", {
- key: i,
- staticClass: "cate-detail-item"
- },
- [n("dt", {
- staticClass: "cate-detail-tit"
- },
- [n("router-link", {
- attrs: {
- target: "_blank",
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e
- .level
- }
- }
- }
- },
- [t._v(" " +
- t
- ._s(e
- .category_name
- ) +
- " "
- )]
- )],
- 1
- ),
- e
- .child_list ?
- n("dd", {
- staticClass: "cate-detail-con"
- },
- t
- ._l(e
- .child_list,
- (function(
- e,
- i
- ) {
- return n(
- "router-link", {
- key: i,
- attrs: {
- target: "_blank",
- to: {
- path: "/list",
- query: {
- category_id: e
- .category_id,
- level: e
- .level
- }
- }
- }
- },
- [1 ==
- t
- .categoryConfig
- .img ?
- n("img", {
- staticClass: "cate-detail-img",
- attrs: {
- src: t
- .$util
- .img(
- e
- .image
- )
- }
- }) :
- t
- ._e(),
- n("p", {
- staticClass: "category-name"
- },
- [t._v(t._s(e
- .category_name))]
- )
- ]
- )
- })
- ),
- 1
- ) :
- t
- ._e()
- ]
- )
- })), 0)])]) : t._e()], 1)
- })), 0) : t._e()]), n("nav", [n("ul", t._l(t.navList, (function(e, i) {
- return n("li", {
- key: i,
- class: e.url == t.navSelect ?
- "router-link-active" : "",
- on: {
- click: function(n) {
- return t.navUrl(e.url, e
- .is_blank)
- }
- }
- }, [n("span", [t._v(t._s(e.nav_title))])])
- })), 0)])])], 1)
- },
- h = [],
- p = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", [n("div", {
- staticClass: "header-top"
- }, [n("div", {
- staticClass: "top-content"
- }, [n("div", {
- staticClass: "top-right"
- }, [t.logined ? t._e() : n("router-link", {
- staticClass: "ns-text-color",
- attrs: {
- to: "/login"
- }
- }, [t._v("您好,请登录")]), t.logined ? n("div", {
- staticClass: "member-info"
- }, [n("router-link", {
- attrs: {
- to: "/member/index"
- }
- }, [t._v(t._s(t.member.nickname || t.member
- .username))]), n("span", {
- on: {
- click: t.logout
- }
- }, [t._v("退出")])], 1) : t._e(), t.logined ? t._e() : n(
- "router-link", {
- attrs: {
- to: "/register"
- }
- }, [t._v("免费注册")]), n("router-link", {
- attrs: {
- to: "/member/order_list"
- }
- }, [t._v("我的订单")]), n("router-link", {
- attrs: {
- to: "/member/footprint"
- }
- }, [t._v("我的足迹")]), n("router-link", {
- attrs: {
- to: "/member/collection"
- }
- }, [t._v("我的关注")]), n("router-link", {
- attrs: {
- to: "/cms/help"
- }
- }, [t._v("帮助中心")]), n("router-link", {
- attrs: {
- to: "/cms/notice"
- }
- }, [t._v("公告")]), t.qrcode ? n("el-dropdown", [n("span", {
- staticClass: "el-dropdown-link"
- }, [t._v(" 手机商城 "), n("i", {
- staticClass: "el-icon-arrow-down el-icon--right"
- })]), n("el-dropdown-menu", {
- attrs: {
- slot: "dropdown"
- },
- slot: "dropdown"
- }, [n("el-dropdown-item", [n("div", {
- staticClass: "mobile-qrcode"
- }, [n("img", {
- attrs: {
- src: t.$img(t
- .qrcode)
- }
- })])])], 1)], 1) : t._e()], 1)])])])
- },
- g = [],
- b = n("5530"),
- _ = n("2f62"),
- v = n("5f87"),
- k = {
- props: {},
- data: function() {
- return {}
- },
- created: function() {
- this.$store.dispatch("site/qrCodes"), this.$store.dispatch("member/member_detail"), this
- .$store.dispatch("site/defaultFiles"), this.$store.dispatch("site/addons")
- },
- mounted: function() {},
- watch: {},
- methods: {
- logout: function() {
- this.$store.dispatch("member/logout")
- }
- },
- components: {},
- computed: Object(b["a"])(Object(b["a"])({}, Object(_["b"])(["wapQrcode", "member",
- "addonIsExit"])), {}, {
- qrcode: function() {
- return "" === this.wapQrcode ? "" : this.wapQrcode.path.h5.img
- },
- logined: function() {
- return void 0 !== this.member && "" !== this.member && this.member !== {}
- }
- })
- },
- y = k,
- j = (n("8ca5"), n("2877")),
- C = Object(j["a"])(y, p, g, !1, null, "1ede96fa", null),
- O = C.exports,
- w = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "header-in"
- }, [n("el-row", [n("el-col", {
- attrs: {
- span: 6
- }
- }, [n("router-link", {
- staticClass: "logo-wrap",
- attrs: {
- to: "/"
- }
- }, [t.siteInfo.logo ? n("img", {
- attrs: {
- src: t.$img(t.siteInfo.logo)
- }
- }) : n("img", {
- attrs: {
- src: t.$img(
- "upload/default/default_img/login.png")
- }
- })])], 1), n("el-col", {
- attrs: {
- span: 13
- }
- }, [n("div", {
- staticClass: "in-sousuo"
- }, [n("div", {
- staticClass: "sousuo-box"
- }, [n("el-dropdown", {
- attrs: {
- trigger: "click"
- },
- on: {
- command: t.handleCommand
- }
- }, [n("span", {
- staticClass: "el-dropdown-link"
- }, [t._v(" " + t._s(t.searchTypeText) +
- " "), n("i", {
- staticClass: "el-icon-arrow-down"
- })]), n("el-dropdown-menu", {
- attrs: {
- slot: "dropdown"
- },
- slot: "dropdown"
- }, [n("el-dropdown-item", {
- attrs: {
- command: "goods"
- }
- }, [t._v("商品")])], 1)], 1), n("input", {
- directives: [{
- name: "model",
- rawName: "v-model",
- value: t.keyword,
- expression: "keyword"
- }],
- attrs: {
- type: "text",
- placeholder: t.defaultSearchWords,
- maxlength: "50"
- },
- domProps: {
- value: t.keyword
- },
- on: {
- keyup: function(e) {
- return !e.type.indexOf("key") &&
- t._k(e.keyCode, "enter", 13,
- e.key, "Enter") ? null :
- t.search(e)
- },
- input: function(e) {
- e.target.composing || (t
- .keyword = e.target
- .value)
- }
- }
- }), n("el-button", {
- attrs: {
- type: "primary",
- size: "small"
- },
- on: {
- click: t.search
- }
- }, [t._v("搜索")])], 1), t.hotSearchWords.length ? n("div", {
- staticClass: "hot-search-words"
- }, [n("span", [t._v("热门搜索:")]), n("ul", t._l(t
- .hotSearchWords, (function(e, i) {
- return n("li", {
- key: i,
- on: {
- click: function(n) {
- return t
- .$router
- .push({
- path: "/list",
- query: {
- keyword: e,
- search_type: "goods"
- }
- })
- }
- }
- }, [t._v(" " + t._s(e) +
- " ")])
- })), 0)]) : t._e()])]), n("el-col", {
- attrs: {
- span: 5
- }
- }, [n("div", {
- staticClass: "cart-wrap"
- }, [n("router-link", {
- staticClass: "cart",
- attrs: {
- to: "/cart"
- }
- }, [n("span", [t._v("我的购物车")]), t.cartCount ? n(
- "el-badge", {
- attrs: {
- value: t.cartCount,
- type: "primary"
- }
- }, [n("i", {
- staticClass: "iconfont icon-gouwuche"
- })]) : n("i", {
- staticClass: "iconfont icon-gouwuche"
- })], 1), n("div", {
- staticClass: "list"
- }, [t.cartList.length ? [n("h4", [t._v("最新加入的商品")]), n(
- "div", {
- staticClass: "overflow-wrap"
- }, [n("ul", {
- class: {
- overflow: t.cartList
- .length > 5
- }
- }, t._l(t.cartList, (function(e,
- i) {
- return n("li", {
- key: i,
- staticClass: "item"
- }, [n("div", {
- staticClass: "img-wrap"
- }, [n("img", {
- attrs: {
- src: t
- .$img(
- e
- .sku_image, {
- size: "mid"
- }
- ),
- alt: e
- .sku_name
- },
- on: {
- error: function(
- e
- ) {
- return t
- .imageError(
- i
- )
- }
- }
- })]), n(
- "div", {
- staticClass: "goods-name"
- }, [t
- ._v(t
- ._s(e
- .sku_name
- )
- )
- ]), n(
- "div", {
- staticClass: "operation"
- }, [n("p",
- [t._v("¥" +
- t
- ._s(e
- .discount_price
- ) +
- "x" +
- t
- ._s(e
- .num
- )
- )]
- ),
- n("span", {
- on: {
- click: function(
- e
- ) {
- return t
- .deleteCart(
- i
- )
- }
- }
- },
- [t._v(
- "删除")]
- )
- ])])
- })), 0)]), n("div", {
- staticClass: "total"
- }, [n("span", [t._v(" 共 "), n("strong", [t
- ._v(t._s(t.cartList
- .length))
- ]), t._v(" 种商品,总金额 "), n(
- "strong", [t._v(t._s(t
- .cartTotalPrice
- ))]), t._v(" 元 ")]), n(
- "el-button", {
- attrs: {
- type: "primary",
- size: "mini"
- },
- on: {
- click: function(e) {
- return t.$router
- .push("/cart")
- }
- }
- }, [t._v("去购物车")])], 1)] : n("div", {
- staticClass: "empty"
- }, [n("i", {
- staticClass: "iconfont icon-gouwuche"
- }), n("span", [t._v(
- "您的购物车是空的,赶快去逛逛,挑选商品吧!")])])], 2)], 1)])], 1)], 1)
- },
- T = [],
- E = (n("159b"), n("b680"), n("25f0"), n("a434"), n("e6f0")),
- I = n("3177"),
- S = {
- props: {},
- data: function() {
- return {
- searchType: "goods",
- searchTypeText: "商品",
- keyword: "",
- hotSearchWords: [],
- defaultSearchWords: "",
- cartList: [],
- cartTotalPrice: 0
- }
- },
- components: {},
- computed: Object(b["a"])({}, Object(_["b"])(["cartCount", "siteInfo", "defaultGoodsImage",
- "member"
- ])),
- created: function() {
- this.keyword = this.$route.query.keyword || "", "street" == this.$route.name ? this
- .searchType = "shop" : this.searchType = "goods", this.$store.dispatch(
- "site/siteInfo"), this.getHotSearchWords(), this.getDefaultSearchWords(), this
- .getCartList()
- },
- watch: {
- searchType: function() {
- this.searchTypeText = "goods" == this.searchType ? "商品" : "店铺"
- },
- $route: function(t) {
- this.keyword !== t.query.keyword && (this.keyword = t.query.keyword), "street" ==
- this.$route.name ? this.searchType = "shop" : this.searchType = "goods"
- },
- cartCount: function() {
- this.member && this.getCartList()
- },
- member: function() {
- this.member || (this.$store.commit("cart/SET_CART_COUNT", 0), this.cartList = [],
- this.cartTotalPrice = 0)
- }
- },
- methods: {
- handleCommand: function(t) {
- this.searchType = t
- },
- search: function() {
- "goods" == this.searchType ? this.$router.push({
- path: "/list",
- query: {
- keyword: this.keyword ? this.keyword : this.defaultSearchWords
- }
- }) : this.$router.push({
- path: "/street",
- query: {
- keyword: this.keyword
- }
- })
- },
- getHotSearchWords: function() {
- var t = this;
- Object(E["b"])({}).then((function(e) {
- 0 == e.code && e.data.words && (t.hotSearchWords = e.data.words
- .split(","))
- }))
- },
- getDefaultSearchWords: function() {
- var t = this;
- Object(E["a"])({}).then((function(e) {
- 0 == e.code && e.data.words && (t.defaultSearchWords = e.data.words)
- }))
- },
- getCartList: function() {
- var t = this;
- Object(I["b"])({}).then((function(e) {
- e.code >= 0 && e.data.length && (t.cartList = e.data, t
- .cartTotalPrice = 0, t.cartList.forEach((function(e) {
- console.log(e.discount_price, "单价");
- var n = parseFloat(e.discount_price) * parseInt(
- e.num);
- t.cartTotalPrice += parseFloat(n), console.log(t
- .cartTotalPrice)
- })), t.cartTotalPrice = t.cartTotalPrice.toFixed(2))
- })).catch((function(t) {}))
- },
- imageError: function(t) {
- this.cartList[t].sku_image = this.defaultGoodsImage
- },
- deleteCart: function(t) {
- var e = this;
- this.$store.dispatch("cart/delete_cart", {
- cart_id: this.cartList[t].cart_id.toString()
- }).then((function(n) {
- n.code >= 0 && (e.cartList.splice(t, 1), e.cartList.forEach((
- function(t) {
- var n = parseFloat(t.discount_price) *
- parseFloat(t.num);
- e.cartTotalPrice += parseFloat(n)
- })), console.log(e.cartTotalPrice), e.cartTotalPrice = e
- .cartTotalPrice.toFixed(2), e.$forceUpdate())
- })).catch((function(t) {}))
- }
- }
- },
- L = S,
- A = (n("74df"), Object(j["a"])(L, w, T, !1, null, "1e7a07af", null)),
- x = A.exports,
- R = n("8894"),
- N = n("37cb"),
- z = {
- props: {
- forceExpand: {
- type: Boolean,
- default: !1
- }
- },
- data: function() {
- return {
- isShopHover: !1,
- isIndex: !1,
- thisRoute: "",
- goodsCategoryTree: [],
- categoryConfig: {},
- selectedCategory: -1,
- navList: [],
- navSelect: "",
- isHide: !1
- }
- },
- components: {
- NsHeaderTop: O,
- NsHeaderMid: x
- },
- computed: {},
- beforeCreate: function() {},
- created: function() {
- this.$store.dispatch("cart/cart_count"), this.getCategoryConfig(), this.nav(), "/" !=
- this.$route.path && "/index" != this.$route.path || (this.isIndex = !0)
- },
- mounted: function() {},
- watch: {
- $route: function(t) {
- this.initNav(t.path), "/" == t.path || "/index" == t.path ? this.isIndex = !0 : this
- .isIndex = !1, "/list" == t.path && (this.navSelect = "")
- }
- },
- methods: {
- getCategoryConfig: function() {
- var t = this;
- Object(R["a"])({}).then((function(e) {
- 0 == e.code && e.data && (t.categoryConfig = e.data, t.getTree(e
- .data))
- })).catch((function(e) {
- t.$message.error(e.message)
- }))
- },
- getTree: function(t) {
- var e = this;
- Object(R["c"])({
- level: 3,
- template: 2
- }).then((function(t) {
- if (0 == t.code && t.data) {
- e.goodsCategoryTree = t.data || [];
- for (var n = 0; n < e.goodsCategoryTree.length; n++) e
- .goodsCategoryTree[n].child_list > 3 && (e.isHide = !0)
- }
- })).catch((function(t) {
- e.$message.error(t.message)
- }))
- },
- nav: function() {
- var t = this;
- Object(N["f"])({}).then((function(e) {
- if (0 == e.code && e.data) {
- for (var n in t.navList = e.data, t.navList) t.navList[n][
- "url"] = JSON.parse(t.navList[n]["nav_url"]).url;
- t.initNav(t.$route.path)
- }
- })).catch((function(e) {
- t.$message.error(e.message)
- }))
- },
- navUrl: function(t, e) {
- t && (-1 == t.indexOf("http") ? e ? this.$router.pushToTab({
- path: t
- }) : this.$router.push({
- path: t
- }) : e ? window.open(t) : window.location.href = t)
- },
- initNav: function(t) {
- for (var e in this.navList) this.navList[e]["url"] != t || (this.navSelect = t)
- },
- shopHover: function() {
- this.isShopHover = !0
- },
- shopLeave: function() {
- this.isShopHover = !1
- }
- }
- },
- M = z,
- D = (n("8b5f"), Object(j["a"])(M, m, h, !1, null, "1c529e69", null)),
- P = D.exports,
- $ = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "footer"
- }, [t.linkList.length > 0 ? n("el-tabs", {
- staticClass: "friendly-link",
- model: {
- value: t.activeName,
- callback: function(e) {
- t.activeName = e
- },
- expression: "activeName"
- }
- }, [n("el-tab-pane", {
- attrs: {
- label: "友情链接",
- name: "first"
- }
- }, [n("div", [t._l(t.linkList, (function(e, i) {
- return n("div", {
- key: i,
- staticClass: "link-item",
- attrs: {
- title: e.link_title
- }
- }, [n("span", {
- on: {
- click: function(n) {
- return t
- .linkUrl(e
- .link_url,
- e
- .is_blank
- )
- }
- }
- }, [n("img", {
- attrs: {
- src: t.$img(e
- .link_pic
- )
- }
- })])])
- })), n("div", {
- staticClass: "clear"
- })], 2)])], 1) : t._e(), t.shopServiceList.length > 0 ? n("div", {
- staticClass: "footer-top"
- }, [n("ul", {
- staticClass: "service"
- }, t._l(t.shopServiceList, (function(e, i) {
- return n("li", {
- key: i
- }, [n("div", [e.icon ? n("img", {
- attrs: {
- src: t.$img(e.icon),
- alt: ""
- }
- }) : t._e()]), n("p", [t._v(t._s(e
- .service_name))])])
- })), 0)]) : t._e(), n("div", {
- staticClass: "footer-center"
- }, [t.siteInfo.web_phone || t.siteInfo.web_email ? n("div", {
- staticClass: "left"
- }, [n("div", [t.siteInfo.web_phone ? n("p", {
- staticClass: "left-phone"
- }, [t._v(t._s(t.siteInfo.web_phone))]) : t._e(), n("p", {
- staticClass: "left-email"
- }, [t._v(t._s(t.siteInfo.web_email))])])]) : t._e(), t.helpList.length ? n(
- "div", {
- staticClass: "center"
- }, [n("div", {
- staticClass: "help"
- }, [n("p", [t._v("服务热线")]), n("span", {
- staticClass: "help-phone"
- }, [t._v(t._s(t.websiteInfo.site_tel))])]), t._l(t.helpList, (
- function(e, i) {
- return n("div", {
- key: i,
- staticClass: "help"
- }, [n("p", {
- on: {
- click: function(n) {
- return t.clickToHelp(e
- .class_id)
- }
- }
- }, [t._v(t._s(e.class_name))]), n("ul", {
- staticClass: "help-ul"
- }, t._l(e.child_list, (function(e, i) {
- return n("block", {
- key: i
- }, [e.link_address ?
- n("li", {
- staticClass: "help-li",
- on: {
- click: function(
- n
- ) {
- return t
- .clickJump(
- e
- .link_address
- )
- }
- }
- }, [t._v(t
- ._s(e
- .title
- )
- )]) : n(
- "li", {
- staticClass: "help-li",
- on: {
- click: function(
- n
- ) {
- return t
- .clickToHelpDetail(
- e
- .id
- )
- }
- }
- }, [t._v(t
- ._s(e
- .title
- )
- )])
- ])
- })), 1)])
- }))], 2) : t._e(), n("div", {
- staticClass: "right"
- }, [t.qrcode ? n("el-image", {
- attrs: {
- src: t.$img(t.qrcode)
- },
- on: {
- error: t.imageError
- }
- }, [n("div", {
- staticClass: "image-slot",
- attrs: {
- slot: "error"
- },
- slot: "error"
- }, [n("img", {
- attrs: {
- src: t.$img(
- "upload/default/default_img/wxewm.png"
- )
- }
- })])]) : n("el-image", {
- attrs: {
- src: t.$img("upload/default/default_img/wxewm.png")
- }
- }), n("p", [t._v("微信小程序")])], 1)]), n("div", {
- staticClass: "footer-bot"
- }, [n("copy-right")], 1)], 1)
- },
- F = [],
- U = (n("9911"), n("fb6a"), function() {
- var t = this,
- e = t.$createElement,
- i = t._self._c || e;
- return i("div", {
- staticClass: "footer-bottom"
- }, [i("div", {
- staticClass: "site-info"
- }, [t.siteInfo.web_phone ? i("p", [i("i", {
- staticClass: "iconfont icondianhua"
- }), t._v(t._s(t.siteInfo.web_phone))]) : t._e(), t.siteInfo.web_email ?
- i("p", [i("i", {
- staticClass: "iconfont iconyouxiang"
- }), i("el-link", {
- attrs: {
- href: "mailto:" + t.siteInfo.web_email
- }
- }, [t._v(t._s(t.siteInfo.web_email))])], 1) : t._e()
- ]), i("p", [t._v(" " + t._s(t.copyRight.copyright_desc) + " "), t.copyRight
- .icp ? i("a", {
- staticClass: "footer-link",
- attrs: {
- href: "https://beian.miit.gov.cn",
- target: "_blank"
- }
- }, [t._v("备案号:" + t._s(t.copyRight.icp))]) : t._e()
- ]), i("p", [t.copyRight.gov_record ? i("a", {
- staticClass: "footer-link",
- attrs: {
- href: t.copyRight.gov_url,
- target: "_blank"
- }
- }, [i("img", {
- attrs: {
- src: n("618d"),
- alt: "公安备案"
- }
- }), i("span", [t._v(t._s(t.copyRight.gov_record))])]) : t._e()])])
- }),
- H = [],
- G = n("ade3"),
- B = Object(G["a"])({
- props: {},
- data: function() {
- return {}
- },
- computed: {},
- created: function() {
- this.$store.dispatch("site/copyRight")
- },
- mounted: function() {},
- watch: {},
- methods: {}
- }, "computed", Object(b["a"])({}, Object(_["b"])(["copyRight", "siteInfo"]))),
- W = B,
- q = (n("8ffa"), Object(j["a"])(W, U, H, !1, null, "7a0b4eb4", null)),
- K = q.exports,
- Q = n("5c6b"),
- X = {
- props: {},
- data: function() {
- return {
- shopServiceList: [],
- linkList: [],
- helpList: [],
- ishide: !1,
- activeName: "first",
- qrcode: "",
- websiteInfo: ""
- }
- },
- computed: Object(b["a"])({}, Object(_["b"])(["siteInfo"])),
- created: function() {
- this.getShopServiceLists(), this.link(), this.getHelpList(), this.getqrcodeimg(), this
- .getWebSiteInfo()
- },
- mounted: function() {},
- watch: {},
- methods: {
- getqrcodeimg: function() {
- var t = this;
- Object(N["k"])({}).then((function(e) {
- 0 == e.code && e.data && (t.qrcode = e.data)
- })).catch((function(e) {
- t.$message.error(e.message)
- }))
- },
- getShopServiceLists: function() {
- var t = this;
- Object(N["g"])({}).then((function(e) {
- 0 == e.code && e.data && (t.shopServiceList = e.data)
- })).catch((function(e) {
- t.shopServiceList = []
- }))
- },
- link: function() {
- var t = this;
- Object(N["d"])({}).then((function(e) {
- 0 == e.code && e.data && (t.linkList = e.data)
- })).catch((function(e) {
- t.$message.error(e.message)
- }))
- },
- linkUrl: function(t, e) {
- t && (-1 == t.indexOf("http") ? e ? this.$router.pushToTab({
- path: t
- }) : this.$router.push({
- path: t
- }) : e ? window.open(t) : window.location.href = t)
- },
- getHelpList: function() {
- var t = this;
- Object(Q["b"])().then((function(e) {
- if (0 == e.code && e.data) {
- var n = [];
- n = e.data.slice(0, 4), console.log(n);
- for (var i = 0; i < n.length; i++) n[i].child_list = n[i]
- .child_list.slice(0, 4);
- t.helpList = n, console.log(Q["b"])
- }
- })).catch((function(t) {}))
- },
- getWebSiteInfo: function() {
- var t = this;
- Object(N["l"])().then((function(e) {
- t.websiteInfo = e.data
- })).catch((function(t) {}))
- },
- imageError: function() {
- this.siteInfo.web_qrcode = "../../assets/images/wxewm.png"
- },
- clickToHelp: function(t) {
- this.$router.push("/cms/help/listother-" + t)
- },
- clickToHelpDetail: function(t) {
- this.$router.push("/cms/help-" + t)
- },
- clickJump: function(t) {
- location.href = t
- }
- },
- components: {
- CopyRight: K
- }
- },
- Y = X,
- V = (n("02eb"), n("8f3d"), Object(j["a"])(Y, $, F, !1, null, "8895379e", null)),
- J = V.exports,
- Z = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("aside", {
- staticClass: "main-sidebar clearfix"
- }, [n("div", {
- staticClass: "main-sidebar-body"
- }, [n("ul", [n("li", {
- on: {
- click: function(e) {
- return t.$router.push("/cart")
- }
- }
- }, [n("div", {
- staticClass: "cart"
- }, [n("i", {
- staticClass: "el-icon-shopping-cart-2"
- }), n("span", [t._v("购物车")]), n("em", {
- directives: [{
- name: "show",
- rawName: "v-show",
- value: t.cartCount,
- expression: "cartCount"
- }]
- }, [t._v(t._s(t.cartCount))])])]), n("li", {
- on: {
- click: function(e) {
- return t.$router.push("/member/order_list")
- }
- }
- }, [n("el-tooltip", {
- staticClass: "item",
- attrs: {
- effect: "dark",
- content: "我的订单",
- placement: "left"
- }
- }, [n("el-button", [n("i", {
- staticClass: "el-icon-tickets"
- })])], 1)], 1), n("li", {
- on: {
- click: function(e) {
- return t.$router.push("/member/footprint")
- }
- }
- }, [n("el-tooltip", {
- staticClass: "item",
- attrs: {
- effect: "dark",
- content: "我的足迹",
- placement: "left"
- }
- }, [n("el-button", [n("i", {
- staticClass: "iconfont icon-zuji"
- })])], 1)], 1), n("li", {
- on: {
- click: function(e) {
- return t.$router.push("/member/collection")
- }
- }
- }, [n("el-tooltip", {
- staticClass: "item",
- attrs: {
- effect: "dark",
- content: "我的关注",
- placement: "left"
- }
- }, [n("el-button", [n("i", {
- staticClass: "iconfont icon-like"
- })])], 1)], 1), n("li", {
- on: {
- click: function(e) {
- return t.$router.push("/member/my_coupon")
- }
- }
- }, [n("el-tooltip", {
- staticClass: "item",
- attrs: {
- effect: "dark",
- content: "我的优惠券",
- placement: "left"
- }
- }, [n("el-button", [n("i", {
- staticClass: "iconfont icon-youhuiquan"
- })])], 1)], 1), n("li", {
- staticClass: "kefuTip"
- }, [n("div", {
- staticClass: "tip"
- }, [n("div", {
- staticClass: "tip_item"
- }, [t._m(0), n("div", {
- staticClass: "text item",
- staticStyle: {
- cursor: "pointer"
- },
- on: {
- click: function(e) {
- return t.showServiceFn()
- }
- }
- }, [t._v("客服")])])]), n("el-button", {
- attrs: {
- slot: "reference"
- },
- slot: "reference"
- }, [n("i", {
- staticClass: "el-icon-phone-outline"
- })])], 1)]), n("a", {
- staticClass: "back-top",
- class: {
- showBtn: t.visible
- },
- attrs: {
- title: "返回顶部"
- },
- on: {
- click: t.toTop
- }
- }, [n("i", {
- staticClass: "el-icon-top"
- })])]), t._m(1), n("servicerMessage", {
- ref: "servicer",
- staticClass: "kefu",
- attrs: {
- shop: {
- shop_id: 0,
- logo: t.siteInfo.logo,
- shop_name: "平台客服"
- }
- }
- })], 1)
- },
- tt = [function() {
- var t = this,
- e = t.$createElement,
- i = t._self._c || e;
- return i("div", {
- staticClass: "kefu_logo"
- }, [i("img", {
- attrs: {
- src: n("7e62")
- }
- })])
- }, function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "main-sidebar-right"
- }, [n("div", {
- staticClass: "history-product",
- attrs: {
- id: "mainSidebarHistoryProduct"
- }
- })])
- }],
- et = n("628a"),
- nt = {
- props: {},
- data: function() {
- return {
- visible: !1,
- hackReset: !1,
- serviceConfig: {}
- }
- },
- components: {
- servicerMessage: et["a"]
- },
- computed: Object(b["a"])(Object(b["a"])({}, Object(_["b"])(["cartCount", "siteInfo",
- "member"])), {}, {
- logined: function() {
- return void 0 !== this.member && "" !== this.member && this.member !== {}
- }
- }),
- created: function() {
- this.shopServiceOpen()
- },
- mounted: function() {
- window.addEventListener("scroll", this.handleScroll)
- },
- beforeDestroy: function() {
- window.removeEventListener("scroll", this.handleScroll)
- },
- watch: {},
- methods: {
- handleScroll: function() {
- this.visible = window.pageYOffset > 300
- },
- shopServiceOpen: function() {
- var t = this;
- Object(N["h"])().then((function(e) {
- 0 == e.code && (t.serviceConfig = e.data)
- }))
- },
- toTop: function() {
- var t = setInterval((function() {
- var e = document.documentElement.scrollTop || document.body
- .scrollTop,
- n = Math.floor(-e / 5);
- document.documentElement.scrollTop = document.body.scrollTop = e +
- n, this.isTop = !0, 0 === e && clearInterval(t)
- }), 20)
- },
- showServiceFn: function() {
- this.logined ? 0 == this.serviceConfig.system && 1 == this.serviceConfig.open_pc ?
- window.open(this.serviceConfig.open_url, "_blank") : 1 == this.serviceConfig
- .system && (this.hackReset = !0, this.$refs.servicer.show()) : this.$message({
- message: "您还未登录",
- type: "warning"
- })
- }
- }
- },
- it = nt,
- at = (n("ac37"), Object(j["a"])(it, Z, tt, !1, null, "66784171", null)),
- ot = at.exports,
- ct = {
- name: "Layout",
- components: {
- NsHeader: P,
- NsFooter: J,
- NsAside: ot
- },
- created: function() {
- this.getAdList()
- },
- data: function() {
- return {
- loadingAd: !0,
- adList: [],
- is_show: !0,
- indexTopAdNum: 0
- }
- },
- mounted: function() {},
- computed: {},
- watch: {},
- methods: {
- getAdList: function() {
- var t = this;
- if (this.$store.state.app.indexTopAdNum >= 3) return this.loadingAd = !1, void(this
- .is_show = !1);
- Object(N["a"])({
- keyword: "NS_PC_INDEX_TOP"
- }).then((function(e) {
- t.adList = e.data.adv_list;
- for (var n = 0; n < t.adList.length; n++) t.adList[n].adv_url && (t
- .adList[n].adv_url = JSON.parse(t.adList[n].adv_url));
- t.loadingAd = !1
- })).catch((function(e) {
- t.loadingAd = !1
- }))
- },
- closeAd: function() {
- this.is_show = !1, this.indexTopAdNum = this.$store.state.app.indexTopAdNum, this
- .indexTopAdNum++, this.$store.commit("app/SET_INDEXTOPADNUM", this
- .indexTopAdNum)
- }
- }
- },
- rt = ct,
- st = (n("5d80"), Object(j["a"])(rt, l, f, !1, null, "172375d5", null)),
- ut = st.exports,
- dt = [{
- path: "/promotion/combo-*",
- name: "combo",
- meta: {
- module: "combo"
- },
- component: function() {
- return n.e("chunk-1b1b4cc8").then(n.bind(null, "959e"))
- }
- }, {
- path: "/promotion/combo_payment",
- name: "combo_payment",
- meta: {
- module: "combo",
- auth: !0
- },
- component: function() {
- return n.e("chunk-14bff537").then(n.bind(null, "334f"))
- }
- }, {
- path: "/promotion/seckill-*",
- name: "seckill_detail",
- meta: {
- module: "seckill",
- backgroundColor: "#fff"
- },
- component: function() {
- return Promise.all([n.e("chunk-309ae035"), n.e("chunk-6eafa282")]).then(n.bind(null,
- "ab4a"))
- }
- }, {
- path: "/promotion/seckill",
- name: "seckill",
- meta: {
- module: "seckill",
- mainCss: {
- width: "100%"
- }
- },
- component: function() {
- return n.e("chunk-2bba375c").then(n.bind(null, "12f2a"))
- }
- }, {
- path: "/promotion/seckill_payment",
- name: "seckill_payment",
- meta: {
- module: "seckill",
- auth: !0
- },
- component: function() {
- return n.e("chunk-08082167").then(n.bind(null, "2300"))
- }
- }, {
- path: "/promotion/groupbuy-*",
- name: "groupbuy_detail",
- meta: {
- module: "groupbuy",
- backgroundColor: "#fff"
- },
- component: function() {
- return Promise.all([n.e("chunk-309ae035"), n.e("chunk-7c714112")]).then(n.bind(null,
- "ee3a"))
- }
- }, {
- path: "/promotion/groupbuy",
- name: "groupbuy",
- meta: {
- module: "groupbuy",
- mainCss: {
- width: "100%"
- }
- },
- component: function() {
- return n.e("chunk-7068634c").then(n.bind(null, "d3d0"))
- }
- }, {
- path: "/promotion/groupbuy_payment",
- name: "groupbuy_payment",
- meta: {
- module: "groupbuy",
- auth: !0
- },
- component: function() {
- return n.e("chunk-443f1e32").then(n.bind(null, "a095"))
- }
- }, {
- path: "/promotion/topic-*",
- name: "topic_detail",
- meta: {
- module: "topic"
- },
- component: function() {
- return n.e("chunk-2d0d655f").then(n.bind(null, "71b1"))
- }
- }, {
- path: "/promotion/topic",
- name: "topic",
- meta: {
- module: "topic"
- },
- component: function() {
- return n.e("chunk-2d2268ca").then(n.bind(null, "e8ab"))
- }
- }, {
- path: "/promotion/topic-goods-*",
- name: "topic_goods_detail",
- meta: {
- module: "topic",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-2d0e9768").then(n.bind(null, "8e49"))
- }
- }, {
- path: "/promotion/topic_payment",
- name: "topic_payment",
- meta: {
- module: "topic",
- auth: !0
- },
- component: function() {
- return n.e("chunk-2d0c113d").then(n.bind(null, "4506"))
- }
- }],
- lt = [{
- path: "/cms/notice",
- name: "notice",
- meta: {
- module: "notice",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-eb7a9d84").then(n.bind(null, "d976"))
- }
- }, {
- path: "/cms/notice-*",
- name: "notice_detail",
- meta: {
- module: "notice",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-f1051e5e").then(n.bind(null, "6db2"))
- }
- }, {
- path: "/cms/help",
- name: "help",
- meta: {
- module: "help",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-10070652").then(n.bind(null, "0dd4"))
- },
- children: [{
- path: "/cms/help/listother-*",
- name: "list_other",
- meta: {
- module: "help",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-85202ab0").then(n.bind(null, "255f"))
- }
- }]
- }, {
- path: "/cms/help-*",
- name: "help_detail",
- meta: {
- module: "help",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-d661926e").then(n.bind(null, "a1c2"))
- }
- }],
- ft = [{
- path: "/cart",
- name: "cart",
- meta: {
- module: "goods"
- },
- component: function() {
- return n.e("chunk-d7a05dc6").then(n.bind(null, "8a08"))
- }
- }, {
- path: "/category",
- name: "category",
- meta: {
- module: "goods"
- },
- component: function() {
- return n.e("chunk-38a28ebe").then(n.bind(null, "a17e"))
- }
- }, {
- path: "/coupon",
- name: "coupon",
- meta: {
- module: "goods"
- },
- component: function() {
- return n.e("chunk-764e0207").then(n.bind(null, "aa81"))
- }
- }, {
- path: "/sku-*",
- name: "detail",
- meta: {
- module: "goods",
- backgroundColor: "#fff"
- },
- component: function() {
- return Promise.all([n.e("chunk-309ae035"), n.e("chunk-4eb03f9a")]).then(n.bind(null,
- "fe8c"))
- }
- }, {
- path: "/list",
- name: "list",
- meta: {
- module: "goods",
- backgroundColor: "#fff"
- },
- component: function() {
- return n.e("chunk-0dcfb504").then(n.bind(null, "43fc"))
- }
- }],
- mt = {
- path: "/",
- component: ut,
- redirect: "/index",
- name: "Index",
- children: [{
- path: "/index*",
- name: "index",
- meta: {
- mainCss: {
- width: "100%"
- }
- },
- component: function() {
- return n.e("chunk-4e4676de").then(n.bind(null, "37f9"))
- }
- }].concat(ft, lt, dt)
- },
- ht = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("el-container", [n("el-header", {
- staticClass: "header",
- attrs: {
- height: "auto"
- }
- }, [n("member-header")], 1), n("el-main", {
- staticClass: "content"
- }, [n("transition", {
- attrs: {
- name: "slide"
- }
- }, [n("router-view")], 1), n("ns-aside")], 1), n("el-footer", [n("ns-footer")], 1)], 1)
- },
- pt = [],
- gt = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "header"
- }, [n("ns-header-top"), n("ns-header-mid")], 1)
- },
- bt = [],
- _t = {
- components: {
- NsHeaderTop: O,
- NsHeaderMid: x
- },
- created: function() {
- this.$store.dispatch("cart/cart_count")
- }
- },
- vt = _t,
- kt = (n("6177"), Object(j["a"])(vt, gt, bt, !1, null, "88fe94ac", null)),
- yt = kt.exports,
- jt = {
- created: function() {},
- data: function() {
- return {}
- },
- mounted: function() {},
- computed: {},
- watch: {},
- components: {
- MemberHeader: yt,
- NsAside: ot,
- NsFooter: J
- }
- },
- Ct = jt,
- Ot = (n("1a03"), Object(j["a"])(Ct, ht, pt, !1, null, "65f27815", null)),
- wt = Ot.exports,
- Tt = [{
- path: "index",
- name: "member",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-66c08c81").then(n.bind(null, "f2f4"))
- }
- }, {
- path: "security",
- name: "security",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-c164c6a6").then(n.bind(null, "bb1c"))
- }
- }, {
- path: "account",
- name: "account",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-f5c86434").then(n.bind(null, "ddf1"))
- }
- }, {
- path: "delivery_address",
- name: "delivery_address",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-7074eacb").then(n.bind(null, "fa4b"))
- }
- }, {
- path: "address_edit",
- name: "address_edit",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-e2fa9b3e").then(n.bind(null, "6de3"))
- }
- }, {
- path: "collection",
- name: "collection",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-e5655e1c").then(n.bind(null, "86b5"))
- }
- }, {
- path: "my_coupon",
- name: "my_coupon",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-95ceafe8").then(n.bind(null, "d6e4"))
- }
- }, {
- path: "footprint",
- name: "footprint",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-ce48d11a").then(n.bind(null, "be47"))
- }
- }, {
- path: "info",
- name: "info",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-10077050").then(n.bind(null, "dddd"))
- }
- }, {
- path: "level",
- name: "level",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-2d0d5bd2").then(n.bind(null, "7025"))
- }
- }, {
- path: "signin",
- name: "signin",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-2d0c8685").then(n.bind(null, "556e"))
- }
- }, {
- path: "order_list",
- name: "order_list",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-77d28e2c").then(n.bind(null, "3698"))
- }
- }, {
- path: "my_point",
- name: "my_point",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-dced0454").then(n.bind(null, "c683"))
- }
- }, {
- path: "activist",
- name: "activist",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-22f71328").then(n.bind(null, "c984"))
- }
- }, {
- path: "refund_detail",
- name: "refund_detail",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-6541c192").then(n.bind(null, "c291"))
- }
- }, {
- path: "refund",
- name: "refund",
- meta: {
- module: "order_list",
- auth: !0
- },
- component: function() {
- return n.e("chunk-4f9fccb0").then(n.bind(null, "54da"))
- }
- }, {
- path: "complain",
- name: "complain",
- meta: {
- module: "order",
- auth: !0,
- parentRouter: "activist"
- },
- component: function() {
- return n.e("chunk-4ffb9190").then(n.bind(null, "c974"))
- }
- }, {
- path: "order_detail",
- name: "order_detail",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-7d3e2867").then(n.bind(null, "9dd3"))
- }
- }, {
- path: "order_detail_local_delivery",
- name: "order_detail_local_delivery",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-d3081916").then(n.bind(null, "b4cf"))
- }
- }, {
- path: "order_detail_pickup",
- name: "order_detail_pickup",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-158197fa").then(n.bind(null, "1dcd"))
- }
- }, {
- path: "order_detail_virtual",
- name: "order_detail_virtual",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-3cba2654").then(n.bind(null, "8cca"))
- }
- }, {
- path: "logistics",
- name: "logistics",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-6cd2c081").then(n.bind(null, "6f92"))
- }
- }, {
- path: "verification",
- name: "verification",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-308b1aba").then(n.bind(null, "7192"))
- }
- }, {
- path: "verification_list",
- name: "verification_list",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-1537327e").then(n.bind(null, "85d2"))
- }
- }, {
- path: "verification_detail",
- name: "verification_detail",
- meta: {
- module: "order",
- auth: !0,
- parentRouter: "verification_list"
- },
- component: function() {
- return n.e("chunk-db0e182c").then(n.bind(null, "852a"))
- }
- }, {
- path: "account_list",
- name: "account_list",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-4e1791c8").then(n.bind(null, "f6de"))
- }
- }, {
- path: "account_edit",
- name: "account_edit",
- meta: {
- module: "member",
- auth: !0,
- parentRouter: "account_list"
- },
- component: function() {
- return n.e("chunk-38891612").then(n.bind(null, "08fb"))
- }
- }, {
- path: "apply_withdrawal",
- name: "apply_withdrawal",
- meta: {
- module: "member",
- auth: !0,
- parentRouter: "account"
- },
- component: function() {
- return n.e("chunk-2c2626c2").then(n.bind(null, "4490"))
- }
- }, {
- path: "withdrawal",
- name: "withdrawal",
- meta: {
- module: "member",
- auth: !0
- },
- component: function() {
- return n.e("chunk-356c4a0b").then(n.bind(null, "5019"))
- }
- }, {
- path: "withdrawal_detail",
- name: "withdrawal_detail",
- meta: {
- module: "member",
- auth: !0,
- parentRouter: "withdrawal"
- },
- component: function() {
- return n.e("chunk-398b88dd").then(n.bind(null, "7246"))
- }
- }, {
- path: "recharge_list",
- name: "recharge_list",
- meta: {
- module: "member",
- auth: !0,
- parentRouter: "account"
- },
- component: function() {
- return n.e("chunk-32c10bd0").then(n.bind(null, "8ce17"))
- }
- }, {
- path: "recharge_detail",
- name: "recharge_detail",
- meta: {
- module: "member",
- auth: !0,
- parentRouter: "account"
- },
- component: function() {
- return n.e("chunk-84ec278e").then(n.bind(null, "c1c3"))
- }
- }, {
- path: "recharge_order",
- name: "recharge_order",
- meta: {
- module: "member",
- auth: !0,
- parentRouter: "account"
- },
- component: function() {
- return n.e("chunk-6def4394").then(n.bind(null, "7b2a"))
- }
- }],
- Et = [{
- path: "/evaluate",
- name: "evaluate",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-334d76f2").then(n.bind(null, "f76d"))
- }
- }, {
- path: "/payment",
- name: "payment",
- meta: {
- module: "order",
- auth: !0
- },
- component: function() {
- return n.e("chunk-17f37f0a").then(n.bind(null, "8812"))
- }
- }, {
- path: "/pay",
- name: "pay",
- meta: {
- module: "pay",
- auth: !0
- },
- component: function() {
- return n.e("chunk-67998c52").then(n.bind(null, "7bb3"))
- }
- }, {
- path: "/result",
- name: "result",
- meta: {
- module: "pay",
- auth: !0
- },
- component: function() {
- return n.e("chunk-75a1b943").then(n.bind(null, "fdb1"))
- }
- }],
- It = {
- path: "/member",
- component: wt,
- redirect: "index",
- alwaysShow: !0,
- name: "MemberIndex",
- children: [{
- path: "/member",
- name: "home",
- redirect: "index",
- children: Tt,
- component: function() {
- return n.e("chunk-d0ac84c2").then(n.bind(null, "28a3"))
- }
- }].concat(Et)
- },
- St = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("el-container", [n("el-header", {
- staticClass: "ns-login-header"
- }, [n("div", {
- staticClass: "header-in"
- }, [n("el-row", [n("el-col", {
- attrs: {
- span: 6
- }
- }, [n("router-link", {
- staticClass: "logo-wrap",
- attrs: {
- to: "/"
- }
- }, [n("img", {
- attrs: {
- src: t.$img(t.siteInfo.logo),
- alt: ""
- }
- })])], 1)], 1)], 1)]), n("el-main", [n("transition", {
- attrs: {
- name: "slide"
- }
- }, [n("router-view")], 1)], 1)], 1)
- },
- Lt = [],
- At = {
- name: "Layout",
- components: {
- CopyRight: K,
- NsHeaderMid: x
- },
- created: function() {
- this.$store.dispatch("site/siteInfo")
- },
- mounted: function() {},
- computed: Object(b["a"])({}, Object(_["b"])(["siteInfo"])),
- watch: {},
- methods: {}
- },
- xt = At,
- Rt = (n("cab9"), Object(j["a"])(xt, St, Lt, !1, null, null, null)),
- Nt = Rt.exports,
- zt = {
- path: "/auth",
- component: Nt,
- redirect: "/auth/login",
- alwaysShow: !0,
- name: "Auth",
- children: [{
- path: "/login",
- name: "login",
- meta: {
- module: "login",
- backgroundColor: "#fff",
- mainCss: {
- width: "100%"
- }
- },
- component: function() {
- return n.e("chunk-c4831fe4").then(n.bind(null, "a135"))
- }
- }, {
- path: "/register",
- name: "register",
- meta: {
- module: "login",
- backgroundColor: "#fff",
- mainCss: {
- width: "100%"
- }
- },
- component: function() {
- return n.e("chunk-f499361e").then(n.bind(null, "6d75"))
- }
- }, {
- path: "/find_pass",
- name: "find_pass",
- meta: {
- module: "login",
- backgroundColor: "#fff",
- mainCss: {
- width: "100%"
- }
- },
- component: function() {
- return n.e("chunk-53fdb42e").then(n.bind(null, "5d97"))
- }
- }]
- },
- Mt = (i = {
- token: function(t) {
- return t.member.token
- },
- lang: function(t) {
- return t.app.lang
- },
- city: function(t) {
- return t.app.city
- },
- locationRegion: function(t) {
- return t.app.locationRegion
- },
- autoLoginRange: function(t) {
- return t.member.autoLoginRange
- },
- wapQrcode: function(t) {
- return t.site.siteQrCode
- },
- member: function(t) {
- return t.member.member
- }
- }, Object(G["a"])(i, "autoLoginRange", (function(t) {
- return t.member.autoLoginRange
- })), Object(G["a"])(i, "copyRight", (function(t) {
- return t.site.copyRight
- })), Object(G["a"])(i, "siteInfo", (function(t) {
- return t.site.siteInfo
- })), Object(G["a"])(i, "addonIsExit", (function(t) {
- return t.site.addons
- })), Object(G["a"])(i, "cartCount", (function(t) {
- return t.cart.cartCount
- })), Object(G["a"])(i, "defaultGoodsImage", (function(t) {
- return t.site.defaultFiles.default_goods_img
- })), Object(G["a"])(i, "defaultHeadImage", (function(t) {
- return t.site.defaultFiles.default_headimg
- })), Object(G["a"])(i, "defaultShopImage", (function(t) {
- return t.site.defaultFiles.default_shop_img
- })), Object(G["a"])(i, "defaultCityImage", (function(t) {
- return t.site.defaultFiles.default_city_img
- })), Object(G["a"])(i, "defaultSupplyImage", (function(t) {
- return t.site.defaultFiles.default_supply_img
- })), Object(G["a"])(i, "defaultStoreImage", (function(t) {
- return t.site.defaultFiles.default_store_img
- })), Object(G["a"])(i, "defaultCategoryImage", (function(t) {
- return t.site.defaultFiles.default_category_img
- })), Object(G["a"])(i, "defaultBrandImage", (function(t) {
- return t.site.defaultFiles.default_brand_img
- })), Object(G["a"])(i, "orderCreateGoodsData", (function(t) {
- return t.order.orderCreateGoodsData
- })), Object(G["a"])(i, "groupbuyOrderCreateData", (function(t) {
- return t.order.groupbuyOrderCreateData
- })), Object(G["a"])(i, "seckillOrderCreateData", (function(t) {
- return t.order.seckillOrderCreateData
- })), Object(G["a"])(i, "comboOrderCreateData", (function(t) {
- return t.order.comboOrderCreateData
- })), i),
- Dt = Mt,
- Pt = n("0e44"),
- $t = n("2f94"),
- Ft = {
- city: "",
- lang: "zh-cn",
- indexFloatLayerNum: 0,
- indexTopAdNum: 0,
- locationRegion: null
- },
- Ut = {
- SET_CITY: function(t, e) {
- t.city = e
- },
- SET_LANG: function(t, e) {
- t.lang = e
- },
- SET_FLOAT_LAYER: function(t, e) {
- t.indexFloatLayerNum = e
- },
- SET_INDEXTOPADNUM: function(t, e) {
- t.indexTopAdNum = e
- },
- SET_LOCATION_REGION: function(t, e) {
- t.locationRegion = e
- }
- },
- Ht = {
- setCity: function(t, e) {
- var n = t.commit;
- n("SET_CITY", e)
- },
- lang: function(t, e) {
- var n = t.commit;
- n("SET_LANG", e)
- },
- get_city: function(t, e) {
- t.commit;
- return new Promise((function(t, e) {
- return Object($t["b"])({}).then((function(e) {
- t(e)
- })).catch((function(t) {
- e(t)
- }))
- }))
- }
- },
- Gt = {
- namespaced: !0,
- state: Ft,
- mutations: Ut,
- actions: Ht
- },
- Bt = n("7401"),
- Wt = n("485b"),
- qt = n("69f9"),
- Kt = (n("5315"), {
- token: Object(v["a"])(),
- autoLoginRange: 0,
- member: ""
- }),
- Qt = {
- SET_TOKEN: function(t, e) {
- t.token = e
- },
- SET_AUTOLOGIN_FLAG: function(t, e) {
- t.autoLogin = e
- },
- SET_MEMBER: function(t, e) {
- t.member = e
- }
- },
- Xt = {
- login: function(t, e) {
- var n = t.commit,
- i = e.username,
- a = e.password,
- o = e.captcha_id,
- c = e.captcha_code,
- r = e.autoLoginRange;
- return new Promise((function(t, s) {
- return Object(Bt["a"])({
- username: i,
- password: a,
- captcha_id: o,
- captcha_code: c,
- autoLoginRange: r
- }).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (n("SET_TOKEN", o.token), void 0 !== e
- .autoLoginRange && n("SET_AUTOLOGIN_FLAG", e
- .autoLoginRange), Object(v["c"])(o.token, e
- .autoLoginRange), t(i)), s()
- })).catch((function(t) {
- s(t)
- }))
- }))
- },
- mobile_login: function(t, e) {
- var n = t.commit,
- i = e.mobile,
- a = e.key,
- o = e.code;
- return new Promise((function(t, c) {
- return Object(Bt["c"])({
- mobile: i,
- key: a,
- code: o
- }).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (n("SET_TOKEN", o.token), Object(v["c"])(o
- .token, e.autoLoginRange), t(i)), c()
- })).catch((function(t) {
- c(t)
- }))
- }))
- },
- remove_token: function(t) {
- var e = t.commit;
- e("SET_TOKEN", ""), Object(v["b"])()
- },
- register_token: function(t, e) {
- var n = t.commit,
- i = e.username,
- a = e.password,
- o = e.captcha_id,
- c = e.captcha_code;
- return new Promise((function(t, e) {
- return Object(Wt["c"])({
- username: i,
- password: a,
- captcha_id: o,
- captcha_code: c
- }).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (n("SET_TOKEN", o.token), Object(v["c"])(o
- .token), t(i)), e()
- })).catch((function(t) {
- e(t)
- }))
- }))
- },
- registerMobile_token: function(t, e) {
- var n = t.commit,
- i = e.mobile,
- a = e.key,
- o = e.code,
- c = e.captcha_id,
- r = e.captcha_code;
- return new Promise((function(t, e) {
- return Object(Wt["e"])({
- mobile: i,
- key: a,
- code: o,
- captcha_id: c,
- captcha_code: r
- }).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (n("SET_TOKEN", o.token), Object(v["c"])(o
- .token), t(i)), e()
- })).catch((function(t) {
- e(t)
- }))
- }))
- },
- auto_login_range: function(t, e) {
- var n = t.commit;
- n("SET_AUTOLOGIN_FLAG", e)
- },
- logout: function(t) {
- var e = t.commit;
- e("SET_TOKEN", ""), e("SET_MEMBER", ""), Object(v["b"])()
- },
- member_detail: function(t, e) {
- var n = t.commit,
- i = t.state;
- if (!i.member || e && e.refresh) return new Promise((function(t, e) {
- return Object(qt["k"])({
- token: Object(v["a"])()
- }).then((function(e) {
- var i = e.data;
- return n("SET_MEMBER", i), t(e)
- })).catch((function(t) {
- return e(t)
- }))
- }))
- }
- },
- Yt = {
- namespaced: !0,
- state: Kt,
- mutations: Qt,
- actions: Xt
- },
- Vt = n("751a");
- function Jt(t) {
- return Object(Vt["a"])({
- url: "/wechat/api/wechat/logincode",
- data: t
- })
- }
- function Zt(t) {
- return Object(Vt["a"])({
- url: "/api/login/checklogin",
- data: t
- })
- }
- function te(t) {
- return Object(Vt["a"])({
- url: "/api/login/wechatLogin",
- data: t
- })
- }
- var ee = {
- token: Object(v["a"])(),
- autoLoginRange: 0,
- member: ""
- },
- ne = {
- SET_TOKEN: function(t, e) {
- t.token = e
- }
- },
- ie = {
- logincode: function(t) {
- t.commit;
- return new Promise((function(t, e) {
- return Jt().then((function(n) {
- var i = n.code;
- n.message, n.data;
- 0 == i && t(n), e()
- })).catch((function(t) {
- e(t)
- }))
- }))
- },
- checklogin: function(t, e) {
- var n = t.commit;
- e.key;
- return new Promise((function(t, i) {
- return Zt(e).then((function(a) {
- var o = a.code,
- c = (a.message, a.data);
- 0 == o && (n("SET_TOKEN", c.token), Object(v["c"])(c
- .token, e.autoLoginRange), t(a)), i()
- })).catch((function(t) {
- i(t)
- }))
- }))
- },
- wechatLogin: function(t, e) {
- var n = t.commit;
- e.mobile, e.key, e.code, e.captcha_id, e.captcha_code;
- return new Promise((function(t, i) {
- return te(e).then((function(a) {
- var o = a.code,
- c = (a.message, a.data);
- 0 == o && (n("SET_TOKEN", c.token), Object(v["c"])(c
- .token, e.autoLoginRange), t(a)), i()
- })).catch((function(t) {
- i(t)
- }))
- }))
- }
- },
- ae = {
- namespaced: !0,
- state: ee,
- mutations: ne,
- actions: ie
- };
- function oe(t) {
- return Object(Vt["a"])({
- url: "/api/addon/addonisexit",
- data: t
- })
- }
- var ce = {
- siteQrCode: "",
- copyRight: "",
- siteInfo: "",
- defaultFiles: "",
- addons: ""
- },
- re = {
- SET_SITE_QRCODE: function(t, e) {
- t.siteQrCode = e
- },
- SET_COPY_RIGHT: function(t, e) {
- t.copyRight = e
- },
- SET_SITE_INFO: function(t, e) {
- t.siteInfo = e
- },
- SET_SITE_DEFAULT_FILES: function(t, e) {
- t.defaultFiles = e
- },
- SET_ADDONS: function(t, e) {
- t.addons = e
- }
- },
- se = {
- qrCodes: function(t) {
- var e = t.commit;
- t.state;
- return new Promise((function(t, n) {
- return Object(N["j"])({}).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (e("SET_SITE_QRCODE", o), t(i)), n({})
- })).catch((function(t) {
- n(t)
- }))
- }))
- },
- copyRight: function(t) {
- var e = t.commit;
- t.state;
- return new Promise((function(t, n) {
- return Object(N["c"])({}).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (e("SET_COPY_RIGHT", o), t(i)), n({})
- })).catch((function(t) {
- n(t)
- }))
- }))
- },
- siteInfo: function(t) {
- var e = t.commit;
- t.state;
- return new Promise((function(t, n) {
- return Object(N["l"])({}).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (e("SET_SITE_INFO", o), t(i)), n({})
- })).catch((function(t) {
- n(t)
- }))
- }))
- },
- defaultFiles: function(t) {
- var e = t.commit;
- t.state;
- return new Promise((function(t, n) {
- return Object(N["i"])({}).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (e("SET_SITE_DEFAULT_FILES", o), t(i)), n({})
- })).catch((function(t) {
- n(t)
- }))
- }))
- },
- addons: function(t) {
- var e = t.commit;
- t.state;
- return new Promise((function(t, n) {
- return oe({}).then((function(i) {
- var a = i.code,
- o = (i.message, i.data);
- 0 == a && (e("SET_ADDONS", o), t(i)), n({})
- })).catch((function(t) {
- n(t)
- }))
- }))
- }
- },
- ue = {
- namespaced: !0,
- state: ce,
- mutations: re,
- actions: se
- },
- de = {
- cartCount: 0
- },
- le = {
- SET_CART_COUNT: function(t, e) {
- t.cartCount = e
- }
- },
- fe = {
- add_to_cart: function(t, e) {
- var n = t.commit;
- return new Promise((function(t, i) {
- return Object(I["a"])({
- site_id: e.site_id,
- num: e.num || 1,
- sku_id: e.sku_id
- }).then((function(e) {
- Object(I["e"])({}).then((function(t) {
- n("SET_CART_COUNT", t.data)
- })), t(e)
- })).catch((function(t) {
- i(t)
- }))
- }))
- },
- delete_cart: function(t, e) {
- var n = t.commit;
- return new Promise((function(t, i) {
- return Object(I["c"])({
- cart_id: e.cart_id
- }).then((function(e) {
- Object(I["e"])({}).then((function(t) {
- n("SET_CART_COUNT", t.data)
- })), t(e)
- })).catch((function(t) {
- i(t)
- }))
- }))
- },
- cart_count: function(t, e) {
- var n = t.commit;
- return new Promise((function(t, e) {
- return Object(I["e"])({}).then((function(e) {
- n("SET_CART_COUNT", e.data), t(e)
- })).catch((function(t) {
- e(t)
- }))
- }))
- },
- edit_cart_num: function(t, e) {
- var n = t.commit;
- return new Promise((function(t, i) {
- return Object(I["d"])({
- num: e.num,
- cart_id: e.cart_id
- }).then((function(e) {
- Object(I["e"])({}).then((function(t) {
- n("SET_CART_COUNT", t.data)
- })), t(e)
- })).catch((function(t) {
- i(t)
- }))
- }))
- }
- },
- me = {
- namespaced: !0,
- state: de,
- mutations: le,
- actions: fe
- },
- he = {
- orderCreateGoodsData: "",
- groupbuyOrderCreateData: "",
- seckillOrderCreateData: "",
- comboOrderCreateData: ""
- },
- pe = {
- SET_ORDER_CREATE_DATA: function(t, e) {
- t.orderCreateGoodsData = e
- },
- SET_GROUPBUY_ORDER_CREATE_DATA: function(t, e) {
- t.groupbuyOrderCreateData = e
- },
- SET_SECKILL_ORDER_CREATE_DATA: function(t, e) {
- t.seckillOrderCreateData = e
- },
- SET_COMBO_ORDER_CREATE_DATA: function(t, e) {
- t.comboOrderCreateData = e
- }
- },
- ge = {
- setOrderCreateData: function(t, e) {
- var n = t.commit;
- t.state;
- n("SET_ORDER_CREATE_DATA", e)
- },
- removeOrderCreateData: function(t) {
- var e = t.commit;
- e("SET_ORDER_CREATE_DATA", "")
- },
- setGroupbuyOrderCreateData: function(t, e) {
- var n = t.commit;
- t.state;
- n("SET_GROUPBUY_ORDER_CREATE_DATA", e)
- },
- removeGroupbuyOrderCreateData: function(t) {
- var e = t.commit;
- e("SET_GROUPBUY_ORDER_CREATE_DATA", "")
- },
- setSeckillOrderCreateData: function(t, e) {
- var n = t.commit;
- t.state;
- n("SET_SECKILL_ORDER_CREATE_DATA", e)
- },
- removeSeckillOrderCreateData: function(t) {
- var e = t.commit;
- e("SET_SECKILL_ORDER_CREATE_DATA", "")
- },
- setComboOrderCreateData: function(t, e) {
- var n = t.commit;
- t.state;
- n("SET_COMBO_ORDER_CREATE_DATA", e)
- },
- removeComboOrderCreateData: function(t) {
- var e = t.commit;
- e("SET_COMBO_ORDER_CREATE_DATA", "")
- }
- },
- be = {
- namespaced: !0,
- state: he,
- mutations: pe,
- actions: ge
- };
- a["default"].use(_["a"]);
- var _e = new _["a"].Store({
- modules: {
- app: Gt,
- member: Yt,
- site: ue,
- cart: me,
- order: be,
- wechat: ae
- },
- getters: Dt,
- plugins: [Object(Pt["a"])({
- storage: window.localStorage,
- reducer: function(t) {
- var e = t.app,
- n = t.site,
- i = t.order;
- return {
- app: e,
- site: n,
- order: i
- }
- }
- })]
- }),
- ve = _e,
- ke = o["a"].prototype.push;
- o["a"].prototype.push = function(t) {
- return t && "string" == typeof t && -1 != t.indexOf("http") ? window.location.open(t, "_self") :
- ke.call(this, t).catch((function(t) {
- return t
- }))
- };
- var ye = o["a"].prototype.resolve;
- o["a"].prototype.pushToTab = function(t) {
- if (t) {
- if (t && "string" == typeof t && -1 != t.indexOf("http")) return window.open(t, "_blank");
- var e = ye.call(this, t),
- n = e.href;
- window.open(n, "_blank")
- }
- }, a["default"].use(o["a"]);
- var je = [mt, zt, It, {
- path: "/closed",
- name: "closed",
- meta: {
- module: "index"
- },
- component: function() {
- return n.e("chunk-4b860706").then(n.bind(null, "8a6c"))
- }
- }, {
- path: "*",
- name: "error",
- meta: {
- module: "index"
- },
- component: function() {
- return n.e("chunk-d34de39c").then(n.bind(null, "8f28"))
- }
- }],
- Ce = new o["a"]({
- mode: "history",
- base: "/web/",
- routes: je
- });
- Ce.beforeEach((function(t, e, n) {
- if (t.meta.auth) {
- var i = Object(v["a"])();
- if (!i) return n("/login?redirect=".concat(encodeURIComponent(t.fullPath)))
- }
- window.document.body.style.backgroundColor = t.meta.backgroundColor || "", d.a.start(),
- n()
- })), Ce.afterEach((function(t, e) {
- var n = s.getLangField("title", t),
- i = ve.getters.siteInfo.site_name || "";
- window.document.title = "".concat(n, " - ").concat(i), setTimeout((function() {
- if (document.getElementsByClassName("el-main").length)
- if (t.meta.mainCss)
- for (var e in t.meta.mainCss) document.getElementsByClassName(
- "el-main")[0].style[e] = t.meta.mainCss[e];
- else document.getElementsByClassName("el-main")[0].style = ""
- }), 100), d.a.done()
- }));
- var Oe = Ce,
- we = n("58ca"),
- Te = n("5c96"),
- Ee = n.n(Te),
- Ie = n("a939"),
- Se = n.n(Ie),
- Le = (n("0fae"), n("2fb4"), n("49f4"), n("d6d3")),
- Ae = n.n(Le),
- xe = (n("fda2"), function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- attrs: {
- id: "app"
- }
- }, [n("transition", {
- attrs: {
- name: "slide"
- }
- }, [n("router-view")], 1)], 1)
- }),
- Re = [],
- Ne = {
- name: "APP"
- },
- ze = Ne,
- Me = (n("7b9e"), Object(j["a"])(ze, xe, Re, !1, null, "03ea30f7", null)),
- De = Me.exports,
- Pe = n("53ca"),
- $e = (n("a15b"), n("4ec9"), n("4de4"), n("01ea")),
- Fe = {
- img: function(t, e) {
- var n = "";
- if (void 0 != t && "" != t) {
- if (e && t != vue.$store.getters.defaultGoodsImage) {
- var i = t.split("."),
- a = i[i.length - 1];
- i.pop(), i[i.length - 1] = i[i.length - 1] + "_" + e.size.toUpperCase(), i.push(
- a), t = i.join(".")
- }
- n = -1 == t.indexOf("http://") && -1 == t.indexOf("https://") ? $e["a"].imgDomain +
- "/" + t : t
- }
- return n
- },
- timeStampTurnTime: function(t) {
- if (void 0 != t && "" != t && t > 0) {
- var e = new Date;
- e.setTime(1e3 * t);
- var n = e.getFullYear(),
- i = e.getMonth() + 1;
- i = i < 10 ? "0" + i : i;
- var a = e.getDate();
- a = a < 10 ? "0" + a : a;
- var o = e.getHours();
- o = o < 10 ? "0" + o : o;
- var c = e.getMinutes(),
- r = e.getSeconds();
- return c = c < 10 ? "0" + c : c, r = r < 10 ? "0" + r : r, n + "-" + i + "-" + a +
- " " + o + ":" + c + ":" + r
- }
- return ""
- },
- countDown: function(t) {
- var e = 0,
- n = 0,
- i = 0,
- a = 0;
- return t > 0 && (e = Math.floor(t / 86400), n = Math.floor(t / 3600) - 24 * e, i = Math
- .floor(t / 60) - 24 * e * 60 - 60 * n, a = Math.floor(t) - 24 * e * 60 * 60 -
- 60 * n * 60 - 60 * i), {
- d: e,
- h: n,
- i: i,
- s: a
- }
- },
- unique: function(t, e) {
- var n = new Map;
- return t.filter((function(t) {
- return !n.has(t[e]) && n.set(t[e], 1)
- }))
- },
- inArray: function(t, e) {
- return null == e ? -1 : e.indexOf(t)
- },
- getDay: function(t) {
- var e = new Date,
- n = e.getTime() + 864e5 * t;
- e.setTime(n);
- var i = function(t) {
- var e = t;
- return 1 == t.toString().length && (e = "0" + t), e
- },
- a = e.getFullYear(),
- o = e.getMonth(),
- c = e.getDate(),
- r = e.getDay(),
- s = parseInt(e.getTime() / 1e3);
- o = i(o + 1), c = i(c);
- var u = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
- return {
- t: s,
- y: a,
- m: o,
- d: c,
- w: u[r]
- }
- },
- copy: function(t, e) {
- var n = document.createElement("input");
- n.value = t, document.body.appendChild(n), n.select(), document.execCommand("Copy"), n
- .className = "oInput", n.style.display = "none", vue.$message({
- message: "复制成功",
- type: "success"
- }), "function" == typeof e && e()
- },
- deepClone: function(t) {
- var e = function(t) {
- return "object" == Object(Pe["a"])(t)
- };
- if (!e(t)) throw new Error("obj 不是一个对象!");
- var n = Array.isArray(t),
- i = n ? [] : {};
- for (var a in t) i[a] = e(t[a]) ? this.deepClone(t[a]) : t[a];
- return i
- },
- filterPrice: function(t) {
- return t.toFixed(2)
- }
- },
- Ue = null,
- He = function(t) {
- Ue && Ue.close(), Ue = Object(Te["Message"])(t)
- };
- ["error", "success", "info", "warning"].forEach((function(t) {
- He[t] = function(e) {
- return "string" === typeof e && (e = {
- message: e
- }), e.type = t, He(e)
- }
- })), a["default"].use(Ee.a), a["default"].prototype.$message = He, a["default"].prototype.$store =
- ve, a["default"].config.productionTip = !1, a["default"].prototype.$util = Fe, a["default"]
- .prototype.$img = Fe.img, a["default"].prototype.$timeStampTurnTime = Fe.timeStampTurnTime, a[
- "default"].prototype.$copy = Fe.copy, window.util = Fe, window.img = Fe.img, window
- .timeStampTurnTime = Fe.timeStampTurnTime, window.copy = Fe.copy, a["default"].prototype
- .$langConfig = s, a["default"].prototype.$lang = s.lang, window.langConfig = s, window.lang = s
- .lang, a["default"].prototype.$config = $e["a"], a["default"].use(Ae.a), a["default"].use(we["a"]),
- a["default"].use(Se.a), window.vue = new a["default"]({
- router: Oe,
- store: ve,
- metaInfo: function() {
- return {
- meta: [{
- name: "desc",
- content: ve.getters.siteInfo.seo_description || ""
- }, {
- name: "keywords",
- content: ve.getters.siteInfo.seo_keywords || ""
- }]
- }
- },
- render: function(t) {
- return t(De)
- }
- }).$mount("#app")
- },
- "57a2": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "组合套餐"
- }
- },
- 5859: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "帮助详情"
- }
- },
- 5897: function(t, e) {
- t.exports =
- "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAADIUlEQVRIibXWXYxdUxQH8N89HZOSvnRS0Sci/VAJgraU0ki8SMVXJaipVNSDJx8dQvVhSKiJ0gpeBA061McDKdo03lRUMGnSEBOdRniSoo0YaSPTqYe1jnvnZO65RnUlJ3vvddb6/8/Za++1VuO5F17SQRq4EtdiKeZiZr47jBF8jo+wG8frwLpq3hW4E+uSZDI5I5+leCjJn8JrGJ8K4dl4B4tbdGMYwj78im7MxnxclFhz8Sruwa344d8QXoX3MCvXBzGA13GozQf2YDUeFn+8GF/iZnzaalhUHK/BriQ7jk2Yg801ZPLdZvGHm9J3Fj5JzEkJz8k/68YR9KIPozVEVRlNn97E6E7MBVXCadiKGSLYt2HbFIiqsi0xxhNza3L8Q7ha84BsxPYTICtlO57O+SJx4hXinq3LFz/hsf+BrJTH8WPOH0GjwDLNe/YsjlacnsQfObaTdjZHxSGSHMsKLE/FGAYnAXtQxOHeGsI6m8HEhuUFLs/FkMmP/jP4E8/XENbZHEpsuKzAvFzsawO2Pr9+fQ1hJ5sSe36hmYh/qQE8USmxZ1YzzUmXQpQYOP0k8pTYhwvsz8UFFaOvRAJuTBH8ZbxY0Z2f4/cF9uRiocj6pcwW2ae1RHWSC3E3VrboekSmgT0FPs5FF1a1GL6d4waZBztIA0/k/N0Wfa9mGdxRiHo1koo+TM/5RnG6rsYbOK2G7FS8ItqQ30VKk1h9OR/B7kLUroFUnon+nB/ECpGybsd3WItzRdk5RVT7+/At7hKXfwV+Tox+nJXzAYw3somahi/EXo/jJs2KcR626BzLvViTI1yP98VNGMKlOFbew2O4QxTQQsSvDPw3WJLbNYgDorgeET3LW7ghP7YkW5kYRWKuSo4JPc0wbsEHIiZvJkh/Ou3Ip05miPg9IA7RX4k5XBpUM81O3JgEDRGz/QnQo7304P60XZu+o4m1s9Ww0aYRXiC2b2GLbgxfi0T8m2abOA8Xm7hbQ2Ibh1WkXV86jEtEW/Co6Ny6RCyXtPEh4rvBf2iEpcOWdL4C14naOcfEVv+AaPU/xGftiEr5G0ePtx+RSttCAAAAAElFTkSuQmCC"
- },
- "599d": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "查看物流"
- }
- },
- "599e": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "商品详情"
- }
- },
- "5b42": function(t, e, n) {},
- "5c6b": function(t, e, n) {
- "use strict";
- n.d(e, "b", (function() {
- return a
- })), n.d(e, "a", (function() {
- return o
- })), n.d(e, "c", (function() {
- return c
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/helpclass/lists",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/help/info",
- data: t
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/help/page",
- data: t
- })
- }
- },
- "5d80": function(t, e, n) {
- "use strict";
- n("c52c")
- },
- "5f87": function(t, e, n) {
- "use strict";
- n.d(e, "a", (function() {
- return c
- })), n.d(e, "c", (function() {
- return r
- })), n.d(e, "b", (function() {
- return s
- }));
- var i = n("a78e"),
- a = n.n(i),
- o = "SDrxEA%_tWW6ezd3";
- function c() {
- return a.a.get(o)
- }
- function r(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
- return e ? a.a.set(o, t, {
- expires: e
- }) : a.a.set(o, t)
- }
- function s() {
- return a.a.remove(o)
- }
- },
- 6177: function(t, e, n) {
- "use strict";
- n("ac66")
- },
- "618d": function(t, e) {
- t.exports =
- "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcfjxsuzNbOC3gOCzcezbl/PWkvnpveKrTPXMmtmTRu/ljumwSdq1geSbP+a8ae+zSurBV/LjrO7Yb+bNlfrrrtmNP/PgdenEWurKhenFdt2rYt/EjPXnu+e9faFjNbWReNq8fdi1hZ1xTuOtVVxBUlIxSGFPX+jGXvHgmu/hn/Hfj96tYe7Yqea7XfXimPLghP334+Cwbvr32N3CiN/Bd+K5fui0Wt2fUeS2U+zOeuO1Y/bmiuPEiuG0bqyKduG5hfvOWaBuWk8sPa6DW++jROfFZfLkl86JV/nuyOzZfvjVY9qkYd20dJ9yXL+YWWxSWcmjbpyQdoyHee7ZfOGsVuTBau3WeOW7V92nUdCSRee3UcaEQuOwVufJk4deQfPOgIpsTt2fR6R/Vtyzd86keNqsab6SX8GYdPWlPPy/VZySeevMYufDeenMZtqkT9KRU/LNYP3aj8imfLCMbdQsG+m+Xem4UurDXtYgF+e2Weq+VRgWb+/KXui7WOWzUxESfO3BWQ8JatIWEduVQdcKCw8PcttQJ+GjSenIZNZfLhcHX9dKKNqXUOnBaN+fR8pEIuO4YdOEPOm0T+/GXNdBJNS6c96jUNIeEsZRJOhyNPbKaedoLeR2OelcJG9wehkaeIN9etQ1HvDOYqqkhdhzNNg6H/jCUv3VWNEIBRUeidl+OPG+UtmjW+GQP9x0OsdeLMsLCPfFXSMOXfAsEcEOEaqBUaWOZU0GRM+wax81jbOgboeFf8izeu6uWaSbfb2ve+OtV9RqMt1rNN2DQt6IN49aOOaiQ7slGmlgblBMb8ovF91YKMcfEF9ujex/M2FkfYeMjJKNfnl3d5wGHpJ7Xu2NQuKxTNBZLseoWb9oOfY7GcE7LWUZSGYEOPevRp+AXDVGinSAi4ZvW60TFUcmU7Cbe7ipdNBGJv7oapJsSV8nUa81NL9GI/R6LbORVbJQOCgueogKJ3ZjXuNCHK4HGn1oYDMfXLp7Pi8LVmsuUKM7LkFXknNiZHtdUdwjFSsuVN8AAAB1dFJOUwAE/hMaDRsI/gH+FPw6/L/+9GT+cS/+7vyP0M0kQbD5w1uI/uf5+v7sTHyU3FvVPLgXvyRJ/aPk1fyq66Vn2NEt/Nv85/7eh2FLzPfvsvX9+N7m8trP7+ntyafrm/OH+Jz59+3Pn3/Mq+qq+NHq5MF4+InD117Lt0kAAAU3SURBVDjLbdV3VJNnFAdgE8gkCQkJS9nInspQRGSIu+496qhard3tySAkIYuEbCBkAAFCwpCN7CkgKGUvBffee1S7z+kXUiL2cP9+zu97733Pe79582YXaFFIAMHFJdqFEBCyCDRv7kLAYGbmMegoN5fo6Gg3AjrG3AwGQ8wBYdaObsfj4pydDx06cuTo0bi4427rHGFzBEJ8ok66bHJ3dr5w4enThoZNm1xOEgIgcwQ6nIj3XHnB+epVobC7qqK5tdHTM/6Ew/8jQTAoOv72SgBWVw/marIkFQboHo+GghCfdmt9eOMWj3tPCzVqjk7B56uJk6qOca8t4T9BZ2eCINahG7d6eLg3ZOVyknU6saKEMzLZWeDl9XM4GgozzQkUEmS51cPTa8v5kSJiQgJRp1CoOUMDZ9MmRj08jjkBnzdBxxWbH/zm9W7kJVENQKKiSM2pH1p1ti3vgefWY6EOINMEQ7fla7WXGjS5yclEIJPDIRLPnMnNedRBo+VvC40BzZwwyHVbPpN5qSHXBHUA5GvaC2i8ie2uQZBpiVgUc8ry63wmzf13/q/JyQkJuqIiXUJCSUkRX9lJ4+VtD15uPX3vIAf0qUAjHDRAokLMF+uIABw0wvXBjiEGCHH98qtVD9uYzNubRzTJJamX023g8J4qtTo3p/kRjZff8eOGNVYQExwHzvhq8iXnTGZ1OndqqrKHSMyabG6l8do6MmL9fA3QzC0cg2nvKC3tu4e6lfkiNfVcYVlZVVVZTyz90j88bUE7Fut00GwabsRgmh+Wlva/g6+qzkxNFQoLC7u7e5A1lA9eTG2BEotysjdA88X+NpVS5Z0WWu3r6pwc8ePUx0KhWNydU3X1N1rpHSW4F+O/2NwAF3xmYyNV/t3CE/31IiuLLzZkisUazeXXteyWO2FgDNcE09Nvnb07zGRfrK+7NijMzDxXmJN1ra7+vYg9fJdUzLWJtJwFx+4C8H1dHf8yAM9Nw4si3vAYq5iLDDTC8MVfyGqy2wtamE0379cPDQ0MDOj4fMX1tzd52o727Oykz43NmAEwpSY7rLOltKnp7cX7938B6vr1589vNtHePFIa4DJj107HkNwuajZ4bJjGFolEtU03btz4o1YkYvNGJwQbSFQ4fP4ycyOUIFVdNdKCsTdaNpstevDsz2e1Ijabp80bp8dSu2YgdH5YhUQiwfRKwzpb730YzWts3Pyqr7+/fzSvOQ3VK5PBk3avh07DbysAWYkhScOUjbfb2lqvXLkykdfXlz+eRu3FyGRTETuCDRBi5bsnQqVC2pSdL6/R6+n08nIslkTB4+msyvNIJHzKzpvgY3iKsHVWgXvgKiSysAxbfBqo4mIsNvb0kyexxQCUdEV4f+NjDZteTlAr39W4iKn0dK6Mrmex5HIGQ6/foE+RISVp0l2rCT4W/71tIHO1t10E0obLpdBJjKQkBomu1wtSZCqVFLxrfkDQzA6AOQasiLSzM5BEFoVComRksBhweBJVABZIF/q7zoJWKyIFAgqFSjVACoWewSCnpFAZYABG+kf5zEALv2BbPB6flkalMoBUEolBlslS4FQqiSQA422Xr7EwweW2tnjwR0iWA2OGUxkkEhhsOwuCoNZ+y7xxZDIro7xcLieTUSgyg8VKTKQIdu/w83WwQJi2N5RgHxi4fz8OlwgguRyFYuDs7HA47+/WB/taQT5uSAQIYhGDXvvDvn17dy5dunDhkiU7F1haHraPcnWAWkA+XfgIM/O1aw8c+H6vES4AoP3BUPTH38K/OmNBlhC2jIMAAAAASUVORK5CYII="
- },
- "61dc": function(t, e, n) {},
- "628a": function(t, e, n) {
- "use strict";
- var i = function() {
- var t = this,
- e = t.$createElement,
- i = t._self._c || e;
- return i("el-dialog", {
- staticClass: "service",
- attrs: {
- visible: t.showService,
- width: "48%",
- "append-to-body": !0
- },
- on: {
- "update:visible": function(e) {
- t.showService = e
- },
- close: t.closeDialog
- }
- }, [i("div", {
- staticClass: "header-box ns-bg-color"
- }, [i("div", {
- staticClass: "header-logo"
- }, [i("img", {
- staticClass: "header-img",
- attrs: {
- src: n("7e62")
- }
- }), i("span", {
- staticClass: "serve-name"
- }, [t._v("客服咨询")])])]), i("div", {
- staticClass: "service-box"
- }, [i("div", {
- staticClass: "service-box-right"
- }, [i("div", {
- staticClass: "service-box-right-top test-1"
- }, [i("div", {
- staticClass: "content",
- attrs: {
- id: "content"
- }
- }, [t.contentEmpty ? i("div", {
- staticClass: "text-center"
- }, [t._v("没有聊天记录了")]) : i("div", {
- staticClass: "time text-center",
- staticStyle: {
- cursor: "pointer"
- },
- on: {
- click: t.getMessageList
- }
- }, [t._v("点击加载")]), t._l(t.messageList, (function(e,
- n) {
- return i("div", {
- key: n
- }, [i("div", ["online" == e
- .contentType ? i(
- "div", {
- staticClass: "onlineStatus"
- }, [t._v(
- "客服在线")]) :
- t._e(), "noline" ==
- e.contentType ? i(
- "div", {
- staticClass: "onlineStatus"
- }, [t._v(
- "客服不在线")]) :
- t._e()
- ]), e.isItMe ? i("div", {
- staticClass: "message my-message"
- }, [i("div", [i("div", {
- staticClass: "my-nickname"
- }, [t
- ._v(t
- ._s(t
- .member
- .nickname
- )
- )
- ]),
- "goods" == e
- .contentType ?
- i("goodsItem", {
- attrs: {
- skuId: e
- .sku_id
- },
- on: {
- sendMessage: function(
- e
- ) {
- return t
- .sendMessage(
- "goods",
- n
- )
- }
- }
- }) : t._e(),
- "order" == e
- .contentType ?
- i("orderItem", {
- attrs: {
- orderId: e
- .order_id
- },
- on: {
- sendMessage: function(
- e
- ) {
- return t
- .sendMessage(
- "order",
- n
- )
- }
- }
- }) : t._e(),
- "string" ==
- e
- .contentType ?
- i("div", {
- staticClass: "word-message",
- domProps: {
- innerHTML: t
- ._s(t
- .dealMessage(
- e
- .content
- )
- )
- }
- }) : t._e(),
- "image" == e
- .contentType ?
- i("div", {
- staticClass: "word-message"
- }, [i("el-image", {
- attrs: {
- src: t
- .$util
- .img(
- e
- .content
- ),
- "preview-src-list": [
- t
- .$util
- .img(
- e
- .content
- )
- ]
- }
- })], 1) : t
- ._e()
- ], 1), i("div", {
- staticClass: "headimg",
- style: {
- backgroundImage: "url(" +
- t
- .$util
- .img(
- t
- .member
- .headimg ?
- t
- .member
- .headimg :
- t
- .defaultHeadImage
- ) +
- ")"
- }
- })]) : !1 === e.isItMe ? i(
- "div", {
- staticClass: "message your-message"
- }, [i("div", {
- staticClass: "headimg",
- style: {
- backgroundImage: "url(" +
- t
- .$util
- .img(
- t
- .shopinfo
- .logo
- ) +
- ")"
- }
- }), i("div", [i(
- "div", {
- staticClass: "my-nickname"
- }, [t
- ._v(t
- ._s(e
- .nickname
- ) +
- " "
- ),
- i("span",
- [t._v(t._s(e
- .time))]
- )
- ]),
- "image" == e
- .contentType ?
- i("div", {
- staticClass: "word-message your-word-message"
- }, [i("el-image", {
- attrs: {
- src: t
- .$util
- .img(
- e
- .content
- ),
- "preview-src-list": [
- t
- .$util
- .img(
- e
- .content
- )
- ]
- }
- })], 1) : t
- ._e(),
- "goods" == e
- .contentType ?
- i("goodsItem", {
- attrs: {
- skuId: e
- .sku_id
- },
- on: {
- sendMessage: function(
- e
- ) {
- return t
- .sendMessage(
- "goods",
- n
- )
- }
- }
- }) : t._e(),
- "order" == e
- .contentType ?
- i("orderItem", {
- attrs: {
- orderId: e
- .order_id
- },
- on: {
- sendMessage: function(
- e
- ) {
- return t
- .sendMessage(
- "order",
- n
- )
- }
- }
- }) : t._e(),
- "string" ==
- e
- .contentType ?
- i("div", {
- staticClass: "word-message your-word-message",
- domProps: {
- innerHTML: t
- ._s(t
- .dealMessage(
- e
- .content
- )
- )
- }
- }) : t._e()
- ], 1)]) : t._e()])
- })), i("div", {
- staticStyle: {
- height: "40px"
- }
- })], 2)]), i("div", {
- staticClass: "service-box-right-bottom"
- }, [1 == t.keyWordsConfig.is_open ? i("div", {
- staticClass: "key-word"
- }, t._l(t.keyWordsConfig.keyword_list, (function(e, n) {
- return i("span", {
- key: n,
- on: {
- click: function(n) {
- return t
- .sendMessage(
- "string", -
- 1, e.keyword
- )
- }
- }
- }, [t._v(t._s(e.keyword))])
- })), 0) : t._e(), i("div", {
- staticClass: "operation"
- }, [i("img", {
- staticClass: "emjoy",
- attrs: {
- src: n("5897")
- },
- on: {
- click: function(e) {
- t.showEmoji = !t.showEmoji
- }
- }
- }), i("el-upload", {
- staticClass: "upload",
- attrs: {
- action: t.uploadActionUrl,
- "show-file-list": !1,
- "on-success": t.handleAvatarSuccess
- }
- }, [i("img", {
- staticClass: "emjoy",
- attrs: {
- src: n("894f")
- },
- on: {
- click: function(e) {
- t.showEmoji = !1
- }
- }
- })])], 1), t.showEmoji ? i("div", {
- staticClass: "emoji-box"
- }, t._l(t.emjoyList, (function(e, n) {
- return i("img", {
- key: n,
- staticClass: "text item",
- staticStyle: {
- cursor: "pointer"
- },
- attrs: {
- src: t.$util.img(e)
- },
- on: {
- click: function(i) {
- return t.sendEmoji(
- n, e)
- }
- }
- })
- })), 0) : t._e(), i("div", {
- ref: "msgInputContainer",
- staticClass: "input-panel",
- class: 1 == t.keyWordsConfig.is_open ? "" :
- "active",
- attrs: {
- contenteditable: "true",
- spellcheck: "false"
- },
- on: {
- keydown: function(e) {
- return !e.type.indexOf("key") && t._k(e
- .keyCode, "enter", 13, e.key,
- "Enter") || e.ctrlKey || e
- .shiftKey || e.altKey || e.metaKey ?
- null : t.sendMessage()
- },
- input: function(e) {
- return t.input(e)
- }
- }
- }), i("div", {
- staticClass: "num-box"
- }, [t._v(" " + t._s(t.text_num) + "/150 ")]), i(
- "el-button", {
- staticClass: "send-btn",
- attrs: {
- size: "small"
- },
- on: {
- click: function(e) {
- return t.sendMessage()
- }
- }
- }, [t._v("发送")])], 1)])])])
- },
- a = [],
- o = n("5530"),
- c = (n("159b"), n("99af"), n("ac1f"), n("5319"), n("a434"), n("498a"), n("01ea")),
- r = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "goods-info"
- }, [n("div", {
- staticClass: "goods-box"
- }, [n("div", {
- staticClass: "goods-img"
- }, [n("img", {
- attrs: {
- src: t.goodsInfo.sku_image ? t.$util.img(t.goodsInfo
- .sku_image) : t.$util.img(t.defaultGoodsImage),
- alt: ""
- }
- })]), n("div", {
- staticClass: "goods-desc"
- }, [n("div", {
- staticClass: "text-hidden-two-row"
- }, [t._v(t._s(t.goodsInfo.sku_name))]), n("div", {
- staticClass: "text-hidden-two-row"
- }, [n("span", {
- staticClass: "sale-num"
- }, [t._v("库存:" + t._s(t.goodsInfo.stock))]), t._v(" "), n(
- "span", {
- staticClass: "sale-num"
- }, [t._v("销量:" + t._s(t.goodsInfo.sale_num))])]), n("div", {
- staticClass: "price-box"
- }, [n("span", {
- staticClass: "sale-num price-num"
- }, [t._v("¥" + t._s(t.goodsInfo.price))]), n("span", {
- on: {
- click: function(e) {
- return t.jump_shop()
- }
- }
- }, [t._v("查看商品"), n("i", {
- staticClass: "el-icon-arrow-right"
- })])])])])])
- },
- s = [],
- u = n("a2a9"),
- d = n("2f62"),
- l = {
- name: "goods_item",
- props: {
- skuId: 0
- },
- data: function() {
- return {
- goodsInfo: {}
- }
- },
- computed: Object(o["a"])({}, Object(d["b"])(["defaultGoodsImage"])),
- created: function() {
- this.skuId && this.getGoodsInfo()
- },
- methods: {
- sendMessage: function() {
- this.$emit("sendMessage")
- },
- jump_shop: function() {
- this.$router.pushToTab("/sku-" + this.goodsInfo.sku_id)
- },
- getGoodsInfo: function() {
- var t = this;
- console.log(this.skuId, "商品ID"), Object(u["f"])({
- sku_id: this.skuId
- }).then((function(e) {
- console.log(e, "res"), e.code >= 0 && (t.goodsInfo = e.data
- .goods_sku_detail)
- }))
- }
- }
- },
- f = l,
- m = (n("4f527"), n("2877")),
- h = Object(m["a"])(f, r, s, !1, null, "d147fb86", null),
- p = h.exports,
- g = function() {
- var t = this,
- e = t.$createElement,
- n = t._self._c || e;
- return n("div", {
- staticClass: "goods-info"
- }, [n("div", {
- staticClass: "goods-box"
- }, [n("div", {
- staticClass: "goods-img"
- }, [n("img", {
- attrs: {
- src: t.orderInfo.order_goods[0].sku_image ? t.$util.img(
- t.orderInfo.order_goods[0].sku_image) : t.$util
- .img(t.defaultGoodsImage),
- alt: ""
- }
- })]), n("div", {
- staticClass: "goods-desc"
- }, [n("div", {
- staticClass: "text-hidden-two-row"
- }, [t._v(t._s(t.orderInfo.order_name))]), n("div", [t._v("订单状态:" + t
- ._s(t.orderInfo.order_status_name))]), n("div", {
- staticClass: "flex-box"
- }, [n("span", {
- staticClass: "ns-text-color"
- }, [t._v("¥" + t._s(t.orderInfo.order_money))]), t._v(" "),
- n("span", [t._v(t._s(t.orderInfo.delivery_type_name))])
- ])])]), n("div", {
- staticClass: "more text-center"
- }, [n("div", {
- staticClass: "order-num"
- }, [t._v("订单号:454564645665")]), n("div", {
- staticClass: "see-order",
- on: {
- click: function(e) {
- return t.jumo_order()
- }
- }
- }, [t._v(" 查看订单"), n("i", {
- staticClass: "el-icon-arrow-right"
- })])])])
- },
- b = [],
- _ = n("dea0"),
- v = {
- name: "orderItem",
- props: {
- orderId: 0,
- canSend: {
- type: Boolean,
- default: !1
- }
- },
- data: function() {
- return {
- orderInfo: {
- order_status_name: "",
- delivery_type_name: "",
- order_money: "",
- order_goods: [{
- sku_image: ""
- }]
- }
- }
- },
- computed: Object(o["a"])({}, Object(d["b"])(["defaultGoodsImage"])),
- created: function() {
- this.orderId && this.getOrderInfo()
- },
- methods: {
- sendMessage: function() {
- this.$emit("sendMessage")
- },
- jumo_order: function() {
- this.$router.pushToTab("/member/order_detail?order_id=" + this.orderId)
- },
- getOrderInfo: function() {
- var t = this;
- Object(_["b"])({
- order_id: this.orderId
- }).then((function(e) {
- e.code >= 0 && (console.log(e), t.orderInfo = e.data)
- }))
- }
- }
- },
- k = v,
- y = (n("7d8a"), Object(m["a"])(k, g, b, !1, null, "5bc39012", null)),
- j = y.exports,
- C = n("751a");
- function O(t) {
- return Object(C["a"])({
- url: "/servicer/api/chat/say",
- data: t
- })
- }
- function w(t) {
- return Object(C["a"])({
- url: "/servicer/api/chat/setRead",
- data: t
- })
- }
- function T(t) {
- return Object(C["a"])({
- url: "/servicer/api/chat/bind",
- data: t
- })
- }
- function E(t) {
- return Object(C["a"])({
- url: "/servicer/api/chat/dialogs",
- data: t
- })
- }
- function I(t) {
- return Object(C["a"])({
- url: "/servicer/api/chat/hasServicers",
- data: t
- })
- }
- function S(t) {
- return Object(C["a"])({
- url: "/servicer/api/chat/bye",
- data: t
- })
- }
- function L() {
- return Object(C["a"])({
- url: "/servicer/api/chat/keyword"
- })
- }
- function A() {
- return Object(C["a"])({
- url: "/api/site/info"
- })
- }
- n("4d63"), n("25f0");
- var x = {
- emjoyList: {
- "[emjoy_01]": "public/static/img/emojy/emjoy_01.gif",
- "[emjoy_02]": "public/static/img/emojy/emjoy_02.gif",
- "[emjoy_03]": "public/static/img/emojy/emjoy_03.gif",
- "[emjoy_04]": "public/static/img/emojy/emjoy_04.gif",
- "[emjoy_05]": "public/static/img/emojy/emjoy_05.gif",
- "[emjoy_06]": "public/static/img/emojy/emjoy_06.gif",
- "[emjoy_07]": "public/static/img/emojy/emjoy_07.gif",
- "[emjoy_08]": "public/static/img/emojy/emjoy_08.gif",
- "[emjoy_09]": "public/static/img/emojy/emjoy_09.gif",
- "[emjoy_10]": "public/static/img/emojy/emjoy_10.gif",
- "[emjoy_11]": "public/static/img/emojy/emjoy_11.gif",
- "[emjoy_12]": "public/static/img/emojy/emjoy_12.gif",
- "[emjoy_13]": "public/static/img/emojy/emjoy_13.gif",
- "[emjoy_14]": "public/static/img/emojy/emjoy_14.gif",
- "[emjoy_15]": "public/static/img/emojy/emjoy_15.gif",
- "[emjoy_16]": "public/static/img/emojy/emjoy_16.gif",
- "[emjoy_17]": "public/static/img/emojy/emjoy_17.gif",
- "[emjoy_18]": "public/static/img/emojy/emjoy_18.gif",
- "[emjoy_19]": "public/static/img/emojy/emjoy_19.gif",
- "[emjoy_20]": "public/static/img/emojy/emjoy_20.gif",
- "[emjoy_21]": "public/static/img/emojy/emjoy_21.gif",
- "[emjoy_22]": "public/static/img/emojy/emjoy_22.gif",
- "[emjoy_23]": "public/static/img/emojy/emjoy_23.gif",
- "[emjoy_24]": "public/static/img/emojy/emjoy_24.gif",
- "[emjoy_25]": "public/static/img/emojy/emjoy_25.gif",
- "[emjoy_26]": "public/static/img/emojy/emjoy_26.gif",
- "[emjoy_27]": "public/static/img/emojy/emjoy_27.gif",
- "[emjoy_28]": "public/static/img/emojy/emjoy_28.gif",
- "[emjoy_29]": "public/static/img/emojy/emjoy_29.gif",
- "[emjoy_30]": "public/static/img/emojy/emjoy_30.gif",
- "[emjoy_31]": "public/static/img/emojy/emjoy_31.gif",
- "[emjoy_32]": "public/static/img/emojy/emjoy_32.gif",
- "[emjoy_33]": "public/static/img/emojy/emjoy_33.gif",
- "[emjoy_34]": "public/static/img/emojy/emjoy_34.gif",
- "[emjoy_35]": "public/static/img/emojy/emjoy_35.gif",
- "[emjoy_36]": "public/static/img/emojy/emjoy_36.gif",
- "[emjoy_37]": "public/static/img/emojy/emjoy_37.gif",
- "[emjoy_38]": "public/static/img/emojy/emjoy_38.gif",
- "[emjoy_39]": "public/static/img/emojy/emjoy_39.gif",
- "[emjoy_40]": "public/static/img/emojy/emjoy_40.gif",
- "[emjoy_41]": "public/static/img/emojy/emjoy_41.gif",
- "[emjoy_42]": "public/static/img/emojy/emjoy_42.gif",
- "[emjoy_43]": "public/static/img/emojy/emjoy_43.gif",
- "[emjoy_44]": "public/static/img/emojy/emjoy_44.gif",
- "[emjoy_45]": "public/static/img/emojy/emjoy_45.gif",
- "[emjoy_46]": "public/static/img/emojy/emjoy_46.gif",
- "[emjoy_47]": "public/static/img/emojy/emjoy_47.gif"
- },
- stringToEmjoy: function(t) {
- var e = this;
- if (t) {
- var n = t,
- i = new RegExp("\\[emjoy_(.+?)\\]", "g"),
- a = n.replace(i, (function(t) {
- var n = "";
- for (var i in e.emjoyList)
- if (t == i) {
- var a = util.img(e.emjoyList[i]);
- n = "<img style='margin:0 3px;' src='" + a + "'/>"
- } return n || t
- }));
- return a
- }
- }
- },
- R = {
- components: {
- goodsItem: p,
- orderItem: j
- },
- props: {
- skuId: {
- default: 0
- },
- orderId: {
- default: 0
- },
- logo: {
- default: ""
- },
- shop: {
- type: Object,
- default: function() {
- return {
- shop_name: "",
- shop_id: "",
- logo: ""
- }
- }
- }
- },
- data: function() {
- return {
- isFirstInit: !0,
- showEmoji: !1,
- emjoyList: x.emjoyList,
- showService: !1,
- search_text: "",
- websock: null,
- messageList: [],
- servicerId: 0,
- message: "",
- image: "",
- sendSwitch: !0,
- page: 1,
- total: 0,
- getSwitch: !0,
- contentEmpty: !1,
- sessionList: [],
- currShop: {
- shop_name: "",
- site_logo: ""
- },
- keyWordsConfig: {},
- canSend: !0,
- siteIdMap: 0,
- timeoutObj: null,
- uploadActionUrl: c["a"].baseUrl + "/api/upload/chatimg",
- text_num: 0,
- is_first: !0,
- shopinfo: {
- name: "",
- logo: ""
- }
- }
- },
- filters: {
- Time: function(t) {
- var e = new Date,
- n = parseInt(t.substr(0, 4)),
- i = parseInt(t.substr(5, 2)),
- a = parseInt(t.substr(8, 2)),
- o = e.getFullYear(),
- c = e.getMonth() + 1,
- r = e.getDate(),
- s = new Date(n, i - 1, a),
- u = (e = new Date(o, c - 1, r), s.getTime() - e.getTime());
- return Math.abs(u) < 864e5 ? "今天" + t.substr(11, 5) : u > 0 && u < 1728e5 ? "明天" + t
- .substr(11, 5) : u < 0 && u > -1728e5 ? "昨天" + t.substr(11, 5) : t.substr(5, 16)
- }
- },
- created: function() {
- this.siteIdMap = this.shop.shop_id, this.getKeywords(), this.getSiteInfo()
- },
- watch: {
- showService: function(t) {
- !t && this.websock && this.websock.close()
- },
- groupId: function(t) {
- this.group_id = this.groupId
- },
- servicerId: function(t) {}
- },
- mounted: function() {},
- computed: Object(o["a"])({}, Object(d["b"])(["token", "defaultHeadImage", "defaultShopImage",
- "defaultGoodsImage", "addonIsExit", "locationRegion", "member"
- ])),
- beforeDestroy: function() {
- var t = this;
- clearInterval(this.timeoutObj), S().then((function(e) {
- 0 == e.code && t.websock && t.websock.close()
- }))
- },
- methods: {
- dealMessage: function(t) {
- return x.stringToEmjoy(t)
- },
- getSiteInfo: function() {
- var t = this;
- A().then((function(e) {
- e.code >= 0 && e.data && (console.log(e, "getSiteInfogetSiteInfo"),
- t.shopinfo = e.data)
- }))
- },
- getKeywords: function() {
- var t = this;
- L().then((function(e) {
- e.code >= 0 && e.data && (t.keyWordsConfig = e.data)
- }))
- },
- sendEmoji: function(t, e) {
- this.showEmoji = !1, this.$refs.msgInputContainer.focus();
- var n = this.$util.img(e),
- i = '<img src="'.concat(n, '" width="20" height="20">');
- document.execCommand("insertHTML", !1, i)
- },
- show: function() {
- this.is_first = !0, this.siteIdMap = this.shop.shop_id, console.log("新版本"), this
- .is_first && (this.currShop = this.shop), this.showService = !0, this
- .initWebSocket()
- },
- initData: function() {
- this.page = 1, this.messageList.length = 0, this.contentEmpty = !1
- },
- selectShop: function(t) {
- var e = this;
- console.log("切换联系人"), this.initData(), this.siteIdMap = t.shop_id, this.currShop =
- t, this.servicerId = t.servicer_id, this.sessionList.forEach((function(n) {
- n.shop_id == t.shop_id && (n.unread = 0, e.isRead(n))
- })), this.messageList = [], this.closeDialog(), this.initWebSocket(), this
- .getMessageList(), this.text_num = 0, this.$refs.msgInputContainer.innerHTML =
- ""
- },
- isRead: function(t) {
- console.log(t, "item"), w({
- site_id: t.shop_id
- }).then((function(t) {
- console.log(t, "res")
- })).catch((function(t) {}))
- },
- test_online: function() {
- var t = this;
- I({
- site_id: this.currShop.shop_id
- }).then((function(e) {
- e.data.online_count > 0 ? (t.currShop.online = 1, t.sessionList
- .forEach((function(e) {
- e.shop_id == t.currShop.shop_id && (e.online =
- 1)
- }))) : t.currShop.online = 0
- }))
- },
- scrollBottom: function() {
- var t = document.getElementById("content");
- setTimeout((function() {
- t.scrollTop = t.scrollHeight
- }), 0)
- },
- getMessageList: function() {
- var t = this;
- E({
- page: this.page,
- limit: 4,
- servicer_id: this.servicerId,
- site_id: this.siteIdMap
- }).then((function(e) {
- var n = e.code;
- e.data, e.messge;
- if (0 == n) {
- var i = [],
- a = e.data.list;
- a.forEach((function(t) {
- var e = {};
- 0 == t.content_type ? (e.content = 0 == t.type ?
- t.consumer_say : t.servicer_say, e
- .isItMe = 0 == t.type, e.contentType =
- "string", e.nickname = t.nickname, e
- .shop_name = t.shop_name, e.time = t
- .create_day + " " + t.create_time, t
- .avatar ? e.logo = t.avatar : e.logo = t
- .logo) : 1 == t.content_type ? (e
- .isItMe = 0 == t.type, e.contentType =
- "goods", e.sku_id = t.goods_sku_id, e
- .nickname = t.nickname, e.shop_name = t
- .shop_name, e.time = t.create_day +
- " " + t.create_time, t.avatar ? e
- .logo = t.avatar : e.logo = t.logo) :
- 2 == t.content_type ? (e.isItMe = 0 == t
- .type, e.contentType = "order", e
- .order_id = t.order_id, e.nickname = t
- .nickname, e.shop_name = t.shop_name, e
- .time = t.create_day + " " + t
- .create_time, t.avatar ? e.logo = t
- .avatar : e.logo = t.logo) : 3 == t
- .content_type && (e.isItMe = 0 == t.type, e
- .contentType = "image", e.content = 0 ==
- t.type ? t.consumer_say : t
- .servicer_say, e.nickname = t.nickname,
- e.shop_name = t.shop_name, e.time = t
- .create_day + " " + t.create_time, t
- .avatar ? e.logo = t.avatar : e.logo = t
- .logo), i.push(e)
- })), t.messageList = i.concat(t.contentEmpty ? [] : t
- .messageList), console.log(t.messageList,
- "this.messageList"), 1 == t.page && (t.skuId && t
- .joinNewFakeMessage("mine", "goods"), t.orderId && t
- .joinNewFakeMessage("mine", "order"), t.scrollBottom()),
- t.page >= e.data.page_count ? t.contentEmpty = !0 : t
- .page += 1
- }
- }))
- },
- joinNewFakeMessage: function() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "mine",
- e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "string",
- n = {
- isItMe: "mine" == t,
- contentType: e
- };
- "string" == e && (n.content = this.message), "goods" == e && (n.sku_id = this.skuId,
- n.canSend = !0), "order" == e && (n.order_id = this.orderId, n.canSend = !
- 0), "image" == e && (n.content = this.image), this.messageList.unshift(n), this
- .scrollBottom()
- },
- joinMessage: function() {
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "mine",
- e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "string",
- n = {
- isItMe: "mine" == t,
- contentType: e
- };
- "string" == e && (n.content = this.message), "goods" == e && (n.sku_id = this.skuId,
- n.canSend = !1), "order" == e && (n.order_id = this.orderId, n.canSend = !
- 1), "image" == e && (n.content = this.image), this.messageList.push(n), this
- .scrollBottom()
- },
- input: function(t) {
- var e = this.$refs.msgInputContainer.innerHTML,
- n = e.replace(/<\s?img.*?src\s*=\s*[\"|\']?(.*?)[\"|\']\s.*?>/gi, "0");
- this.text_num = n.length, this.text_num >= 150 && this.$message({
- message: "最多一次可以发送150个字~",
- type: "warning"
- })
- },
- sendMessage: function() {
- var t = this,
- e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "string",
- n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : -1,
- i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "";
- if (-1 != n && this.messageList.splice(n, 1), this.sendSwitch) {
- this.sendSwitch = !1;
- var a, o = {
- servicer_id: this.servicerId,
- site_id: this.siteIdMap
- };
- a = i || this.$refs.msgInputContainer.innerHTML;
- var c = a.replace(/<div>/g, ""),
- r = c.replace(/<\/div>/g, ""),
- s = r.replace(/<br>/g, "");
- if (this.message = s, "string" == e) {
- if (!this.message.trim()) return this.sendSwitch = !0, void this.$message({
- message: "不能发送空白内容",
- type: "warning"
- });
- Object.assign(o, {
- message: this.message,
- content_type: 0
- })
- }
- "goods" == e && Object.assign(o, {
- goods_id: this.skuId,
- content_type: 1
- }), "order" == e && Object.assign(o, {
- order_id: this.orderId,
- content_type: 2
- }), "image" == e && Object.assign(o, {
- message: this.image,
- content_type: 3
- }), this.joinMessage("mine", e), O(o).then((function(e) {
- t.sendSwitch = !0, t.message = "", t.text_num = 0, t.$refs
- .msgInputContainer.innerHTML = ""
- })), this.scrollBottom()
- }
- },
- initWebSocket: function() {
- var t = c["a"].webSocket;
- this.websock = new WebSocket(t), this.websock.onmessage = this.websocketonmessage,
- this.websock.onopen = this.websocketonopen, this.websock.onerror = this
- .websocketonerror, this.websock.onclose = this.websocketclose
- },
- websocketonopen: function() {
- console.log("连接建立")
- },
- websocketonerror: function() {
- this.initWebSocket()
- },
- websocketonmessage: function(t) {
- var e = this,
- n = JSON.parse(t.data),
- i = this;
- if (console.log(n, "data"), this.pingInterval = c["a"].pingInterval, "close" == n
- .type && this.websock && i.websock.close(), clearInterval(this.timeoutObj), this
- .reset(), "init" == n.type) this.messageList = [], T({
- client_id: n.data.client_id
- }).then((function(t) {
- var n = t.code,
- i = t.data,
- a = (t.message, {});
- 0 == n ? (e.servicerId = i.servicer_id, a = {
- contentType: "online"
- }, e.isFirstInit && e.initData(), e.isFirstInit = !1) : a = {
- contentType: "noline"
- }, e.messageList.unshift(a)
- })).catch((function(t) {
- var n = {
- contentType: "noline"
- };
- e.messageList.unshift(n)
- }));
- else if ("connect" == n.type) {
- if (n.data.shop_id == this.siteIdMap)
- if (n.data.shop_id) {
- this.servicerId = n.servicer_id;
- var a = {
- contentType: "online"
- };
- this.messageList.unshift(a)
- } else {
- this.servicerId = 0;
- a = {
- contentType: "noline"
- };
- this.messageList.unshift(a)
- }
- } else {
- var o = {
- isItMe: !1
- };
- "string" == n.type ? (o.content = n.data.servicer_say, o.time = n.data
- .create_day + n.data.create_time, o.logo = n.data.avatar, o.nickname = n
- .data.nickname, o.contentType = "string") : "order" == n.type ? (o
- .order_id = n.data.order_id, o.time = n.data.create_day + n.data
- .create_time, o.logo = n.data.avatar, o.nickname = n.data.nickname, o
- .contentType = "order") : "goodssku" == n.type ? (o.sku_id = n.data
- .goods_sku_id, o.time = n.data.create_day + n.data.create_time, o.logo =
- n.data.avatar, o.nickname = n.data.nickname, o.contentType = "goods") :
- "image" == n.type && (o.content = n.data.servicer_say, o.time = n.data
- .create_day + n.data.create_time, o.logo = n.data.avatar, o.nickname = n
- .data.nickname, o.contentType = "image"), this.messageList.push(o)
- }
- this.scrollBottom()
- },
- reset: function() {
- console.log("检测心跳"), console.log(this.timeoutObj, "this.timeoutObj"), clearInterval(
- this.timeoutObj), this.start()
- },
- start: function() {
- var t = this;
- 0 != c["a"].pingInterval && (console.log("启动心跳"), this.timeoutObj = setInterval((
- function() {
- console.log("检测..."), t.websock.send("ping")
- }), this.pingInterval))
- },
- websocketsend: function(t) {
- this.websock.send(t)
- },
- websocketclose: function(t) {
- console.log("断开连接", t)
- },
- closeDialog: function() {
- var t = this;
- clearInterval(this.timeoutObj), console.log("关闭链接"), this.websock.close();
- var e = {
- servicer_id: this.servicerId,
- site_id: this.siteIdMap
- };
- this.servicerId && this.websock && S(e).then((function(e) {
- 0 == e.code && clearInterval(t.timeoutObj)
- }))
- },
- handleAvatarSuccess: function(t, e) {
- this.image = t.data.pic_path, this.sendMessage("image")
- }
- }
- },
- N = R,
- z = (n("7a1c"), n("cbb2"), Object(m["a"])(N, i, a, !1, null, "7ff51d35", null));
- e["a"] = z.exports
- },
- 6970: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "会员中心"
- }
- },
- "69bb": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "待支付"
- }
- },
- "69f9": function(t, e, n) {
- "use strict";
- n.d(e, "k", (function() {
- return a
- })), n.d(e, "e", (function() {
- return o
- })), n.d(e, "n", (function() {
- return c
- })), n.d(e, "i", (function() {
- return r
- })), n.d(e, "d", (function() {
- return s
- })), n.d(e, "m", (function() {
- return u
- })), n.d(e, "f", (function() {
- return d
- })), n.d(e, "j", (function() {
- return l
- })), n.d(e, "h", (function() {
- return f
- })), n.d(e, "c", (function() {
- return m
- })), n.d(e, "a", (function() {
- return h
- })), n.d(e, "g", (function() {
- return p
- })), n.d(e, "o", (function() {
- return g
- })), n.d(e, "b", (function() {
- return b
- })), n.d(e, "l", (function() {
- return _
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/member/info",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/memberaddress/page",
- data: t,
- forceLogin: !0
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/memberaddress/setdefault",
- data: t,
- forceLogin: !0
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/memberaddress/delete",
- data: t,
- forceLogin: !0
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "/api/memberaddress/info",
- data: t,
- forceLogin: !0
- })
- }
- function u(t) {
- return Object(i["a"])({
- url: "/api/memberaddress/" + t.url,
- data: t,
- forceLogin: !0
- })
- }
- function d(t) {
- var e = "/coupon/api/coupon/memberpage";
- return Object(i["a"])({
- url: e,
- data: t,
- forceLogin: !0
- })
- }
- function l(t) {
- return Object(i["a"])({
- url: "/api/goodsbrowse/page",
- data: t,
- forceLogin: !0
- })
- }
- function f(t) {
- return Object(i["a"])({
- url: "/api/goodsbrowse/delete",
- data: t,
- forceLogin: !0
- })
- }
- function m(t) {
- return Object(i["a"])({
- url: "/api/memberbankaccount/page",
- data: t
- })
- }
- function h(t) {
- return Object(i["a"])({
- url: "/api/memberbankaccount/setdefault",
- data: t
- })
- }
- function p(t) {
- return Object(i["a"])({
- url: "/api/memberbankaccount/delete",
- data: t
- })
- }
- function g(t) {
- return Object(i["a"])({
- url: "/api/memberwithdraw/transferType",
- data: t
- })
- }
- function b(t) {
- return Object(i["a"])({
- url: "/api/memberbankaccount/info",
- data: t
- })
- }
- function _(t) {
- return Object(i["a"])({
- url: "/api/memberbankaccount/" + t.url,
- data: t
- })
- }
- },
- "71a9": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "首页"
- }
- },
- 7401: function(t, e, n) {
- "use strict";
- n.d(e, "a", (function() {
- return a
- })), n.d(e, "c", (function() {
- return o
- })), n.d(e, "b", (function() {
- return c
- })), n.d(e, "e", (function() {
- return r
- })), n.d(e, "d", (function() {
- return s
- })), n.d(e, "g", (function() {
- return u
- })), n.d(e, "f", (function() {
- return d
- })), n.d(e, "h", (function() {
- return l
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/login/login",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/login/mobile",
- data: t
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/login/mobileCode",
- data: t
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/findpassword/mobile",
- data: t
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "/api/member/checkmobile",
- data: t
- }, -1)
- }
- function u(t) {
- return Object(i["a"])({
- url: "/api/findpassword/mobilecode",
- data: t
- })
- }
- function d(t) {
- return Object(i["a"])({
- url: "/api/register/config",
- data: t
- })
- }
- function l(t) {
- return Object(i["a"])({
- url: "/api/login/getMobileCode",
- data: t
- })
- }
- },
- "74df": function(t, e, n) {
- "use strict";
- n("2c65")
- },
- "751a": function(t, e, n) {
- "use strict";
- n.d(e, "a", (function() {
- return s
- }));
- n("b0c0"), n("d3b7");
- var i = n("01ea"),
- a = (n("9816"), n("bc3a")),
- o = n.n(a),
- c = n("5f87"),
- r = location.protocol;
- if ("https:" == r && -1 == i["a"].baseUrl.indexOf(r) || "http:" == r && -1 == i["a"].baseUrl.indexOf(r))
- ;
- function s(t) {
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
- n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "POST",
- i = t.url,
- a = {
- app_type: "pc",
- app_type_name: "PC"
- },
- r = Object(c["a"])();
- return r && (a.token = r), void 0 != t.data && Object.assign(a, t.data), o()({
- url: i,
- method: n,
- data: a
- }).then((function(t) {
- var n = t.data || {},
- i = n.code;
- if (-3 != i || "closed" == vue.$route.name) return i == e ? t.data : Promise.reject(
- t.data);
- vue.$router.push("/closed")
- })).catch((function(e) {
- var n = e.error_code;
- return "TOKEN_ERROR" === n && (e.message = "登录错误", vue.$store.dispatch(
- "member/remove_token"), t.forceLogin && vue.$router.push(
- "/login?redirect=".concat(encodeURIComponent(vue.$router.history.current
- .fullPath)))), Promise.reject(e)
- }))
- }
- o.a.defaults.baseURL = i["a"].baseUrl, o.a.defaults.headers = {
- "X-Requested-With": "XMLHttpRequest",
- "content-type": "application/json"
- }, o.a.defaults.responseType = "json", o.a.defaults.timeout = 6e4
- },
- "768e": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "购物车"
- }
- },
- "7a1c": function(t, e, n) {
- "use strict";
- n("ae0c")
- },
- "7b9e": function(t, e, n) {
- "use strict";
- n("5b42")
- },
- "7d8a": function(t, e, n) {
- "use strict";
- n("61dc")
- },
- "7e62": function(t, e, n) {
- t.exports = n.p + "assets/img/kefupng.f75cdccc.png"
- },
- "7ec7": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "店铺街"
- }
- },
- "7ffd": function(t, e, n) {},
- 8010: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "我的关注"
- }
- },
- 8045: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "专题活动详情"
- }
- },
- 8894: function(t, e, n) {
- "use strict";
- n.d(e, "c", (function() {
- return a
- })), n.d(e, "b", (function() {
- return o
- })), n.d(e, "a", (function() {
- return c
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/goodscategory/tree",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/goodscategory/info",
- data: t
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/config/categoryconfig",
- data: t
- })
- }
- },
- "894f": function(t, e, n) {
- t.exports = n.p + "assets/img/upload.f47fe918.png"
- },
- "8b5f": function(t, e, n) {
- "use strict";
- n("0818")
- },
- "8c8f": function(t, e, n) {
- var i = {
- "./en-us/common.js": "daea",
- "./zh-cn/common.js": "26ae"
- };
- function a(t) {
- var e = o(t);
- return n(e)
- }
- function o(t) {
- if (!n.o(i, t)) {
- var e = new Error("Cannot find module '" + t + "'");
- throw e.code = "MODULE_NOT_FOUND", e
- }
- return i[t]
- }
- a.keys = function() {
- return Object.keys(i)
- }, a.resolve = o, t.exports = a, a.id = "8c8f"
- },
- "8ca5": function(t, e, n) {
- "use strict";
- n("236f")
- },
- "8f1a": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "秒杀专区"
- }
- },
- "8f3d": function(t, e, n) {
- "use strict";
- n("981d")
- },
- "8ffa": function(t, e, n) {
- "use strict";
- n("9f8b")
- },
- "981d": function(t, e, n) {},
- "997d": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "编辑收货地址"
- }
- },
- "9ec1": function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "商品详情"
- }
- },
- "9f8b": function(t, e, n) {},
- a2a9: function(t, e, n) {
- "use strict";
- n.d(e, "h", (function() {
- return a
- })), n.d(e, "f", (function() {
- return o
- })), n.d(e, "c", (function() {
- return c
- })), n.d(e, "g", (function() {
- return r
- })), n.d(e, "k", (function() {
- return s
- })), n.d(e, "d", (function() {
- return u
- })), n.d(e, "i", (function() {
- return d
- })), n.d(e, "b", (function() {
- return l
- })), n.d(e, "j", (function() {
- return f
- })), n.d(e, "a", (function() {
- return m
- })), n.d(e, "e", (function() {
- return h
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/goodssku/page",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/goodssku/detail",
- data: t
- })
- }
- function c() {
- return Object(i["a"])({
- url: "/api/goodsevaluate/config",
- data: {},
- forceLogin: !0
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/goodssku/info",
- data: t
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "/seckill/api/seckillgoods/info",
- data: t
- })
- }
- function u(t) {
- return Object(i["a"])({
- url: "/api/goodssku/goodsqrcode",
- data: t
- })
- }
- function d(t) {
- return Object(i["a"])({
- url: "/manjian/api/manjian/info",
- data: t
- })
- }
- function l(t) {
- return Object(i["a"])({
- url: "/api/goods/aftersale",
- data: t
- })
- }
- function f(t) {
- return Object(i["a"])({
- url: "/api/goods/modifyclicks",
- data: t
- })
- }
- function m(t) {
- return Object(i["a"])({
- url: "/api/goodsbrowse/add",
- data: t
- })
- }
- function h(t) {
- return Object(i["a"])({
- url: "/api/goodssku/recommend",
- data: t
- })
- }
- },
- a2ac: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "账户余额"
- }
- },
- a3d9: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "充值详情"
- }
- },
- aa79: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "切换城市"
- }
- },
- ab4d: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "我的积分"
- }
- },
- abb4: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "订单评价"
- }
- },
- ac32: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "退款/售后"
- }
- },
- ac37: function(t, e, n) {
- "use strict";
- n("c38b")
- },
- ac66: function(t, e, n) {},
- ad66: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "登录"
- }
- },
- adb8: function(t, e, n) {},
- ae0c: function(t, e, n) {},
- b171: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "编辑账户"
- }
- },
- b973: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "团购专区"
- }
- },
- bda5: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "订单详情"
- }
- },
- bf3b: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "店铺首页"
- }
- },
- c0f4: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "404"
- }
- },
- c38b: function(t, e, n) {},
- c52c: function(t, e, n) {},
- cab9: function(t, e, n) {
- "use strict";
- n("d03c")
- },
- cbb2: function(t, e, n) {
- "use strict";
- n("7ffd")
- },
- ce59: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "核销台"
- }
- },
- d03c: function(t, e, n) {},
- d57a: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "订单详情"
- }
- },
- d5a1: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "平台维权"
- }
- },
- d5d3: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "网站维护"
- }
- },
- d6a6: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "核销记录"
- }
- },
- d850: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "专题活动"
- }
- },
- daea: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- common: {
- name: "英文"
- }
- }
- },
- dcfe: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "帮助中心"
- }
- },
- de55: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "提现记录"
- }
- },
- dea0: function(t, e, n) {
- "use strict";
- n.d(e, "c", (function() {
- return a
- })), n.d(e, "e", (function() {
- return o
- })), n.d(e, "a", (function() {
- return c
- })), n.d(e, "f", (function() {
- return r
- })), n.d(e, "b", (function() {
- return s
- })), n.d(e, "d", (function() {
- return u
- })), n.d(e, "g", (function() {
- return d
- })), n.d(e, "h", (function() {
- return l
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/order/lists",
- data: t,
- forceLogin: !0
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/order/pay",
- data: t,
- forceLogin: !0
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/order/close",
- data: t,
- forceLogin: !0
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/order/takedelivery",
- data: t,
- forceLogin: !0
- })
- }
- function s(t) {
- return Object(i["a"])({
- url: "/api/order/detail",
- data: t,
- forceLogin: !0
- })
- }
- function u(t) {
- return Object(i["a"])({
- url: "/api/order/package",
- data: t,
- forceLogin: !0
- })
- }
- function d(t) {
- return Object(i["a"])({
- url: "/api/order/evluateinfo",
- data: t,
- forceLogin: !0
- })
- }
- function l(t) {
- var e = "";
- return e = t.isEvaluate ? "/api/goodsevaluate/again" : "/api/goodsevaluate/add", Object(i["a"])({
- url: e,
- data: t,
- forceLogin: !0
- })
- }
- },
- df77: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "领券中心"
- }
- },
- e0c0: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "退款详情"
- }
- },
- e2cb: function(t, e, n) {},
- e2ff: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "订单详情"
- }
- },
- e5a0: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "商品详情"
- }
- },
- e6b0: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "支付结果"
- }
- },
- e6f0: function(t, e, n) {
- "use strict";
- n.d(e, "d", (function() {
- return a
- })), n.d(e, "b", (function() {
- return o
- })), n.d(e, "a", (function() {
- return c
- })), n.d(e, "c", (function() {
- return r
- }));
- var i = n("751a");
- function a(t) {
- return Object(i["a"])({
- url: "/api/pc/floors",
- data: t
- })
- }
- function o(t) {
- return Object(i["a"])({
- url: "/api/goods/hotSearchWords",
- data: t
- })
- }
- function c(t) {
- return Object(i["a"])({
- url: "/api/goods/defaultSearchWords",
- data: t
- })
- }
- function r(t) {
- return Object(i["a"])({
- url: "/api/pc/floatLayer",
- data: t
- })
- }
- },
- f5c0: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "商品详情"
- }
- },
- f5d4: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "待付款订单"
- }
- },
- f6fb: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "会员签到"
- }
- },
- f9d7: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "核销"
- }
- },
- fc19: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "提现详情"
- }
- },
- fd26: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "充值记录"
- }
- },
- fe84: function(t, e, n) {
- "use strict";
- n.r(e), n.d(e, "lang", (function() {
- return i
- }));
- var i = {
- title: "待付款订单"
- }
- }
- });
- //# sourceMappingURL=app.6bb75624.js.map
|