123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387 |
- import { a as buildAssetsURL } from '../_/renderer.mjs';
- import { _ as __nuxt_component_0$1 } from './nuxt-link-C4gLkNyK.mjs';
- import { _ as __nuxt_component_3 } from './Pagination-Cv0Spxbh.mjs';
- import { useSSRContext, ref, reactive, watch, unref, isRef, withCtx, createVNode, createTextVNode, toDisplayString, openBlock, createBlock, Fragment, renderList, createCommentVNode, mergeProps, withDirectives, vShow } from 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/vue/index.mjs';
- import { ssrRenderAttrs, ssrRenderAttr, ssrRenderComponent, ssrRenderList, ssrInterpolate, ssrRenderClass, ssrRenderStyle } from 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/vue/server-renderer/index.mjs';
- import { ElTabs, ElTabPane, ElIcon, ElForm, ElFormItem, ElInput, ElCol, ElDatePicker, ElRadioGroup, ElRadio, ElUpload, ElSelect, ElOption, ElDialog, ElButton, ElTable, ElTableColumn, ElCheckbox, ElPagination, ElMessage } from 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/element-plus/es/index.mjs';
- import { u as useStatusStore } from './status-CB9xAzQI.mjs';
- import { _ as _export_sfc, b as useNuxtApp } from './server.mjs';
- import { u as useState } from './state-_I5XcLqc.mjs';
- import { _ as _imports_0$1, a as __nuxt_component_2 } from './Foot-BMi5GWMY.mjs';
- import { DArrowRight, Plus, CircleCloseFilled } from 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/@element-plus/icons-vue/dist/index.js';
- import { useRoute } from 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/vue-router/dist/vue-router.node.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/vue-bundle-renderer/dist/runtime.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/h3/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/devalue/index.js';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/ufo/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/@unhead/ssr/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/unhead/dist/index.mjs';
- import '../_/nitro.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/destr/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/hookable/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/ofetch/dist/node.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/unenv/runtime/fetch/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/klona/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/defu/dist/defu.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/scule/dist/index.mjs';
- import 'node:fs';
- import 'node:url';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/pathe/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/ohash/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/unstorage/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/unstorage/drivers/fs.mjs';
- import 'file:///D:/admin/nuxt/sannongzixunwang_web/node_modules/nuxt/dist/core/runtime/nitro/cache-driver.js';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/unstorage/drivers/fs-lite.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/radix3/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/@unhead/shared/dist/index.mjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/pinia/dist/pinia.prod.cjs';
- import 'file://D:/admin/nuxt/sannongzixunwang_web/node_modules/unctx/dist/index.mjs';
- const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABOCAYAAACOqiAdAAAAAXNSR0IArs4c6QAAC9ZJREFUeF7tXH2IVNcVv+fO57ozu8oqCLVo7YpiFdd59xk/AnWpJRZaFOoSQ1vqHymx1NKEJrSlFpTmD0sstTQlhiYkpSmxaoilFgyxzJZa3e7cN7uSVFOy9YNuyUaUVd/Izsd77/ad6X3L28mbj/dmx7rpLAzjzLv33Ht/99xzz/mdMwJp/wVCAAL1ancibeACKkEbuDZwAREI2K2tcW3gAiIQsFtb49rABUQgYLe2xrWBC4hAwG6+NS6dTs/v6up6KBqNjq5du/bDgOPO+W6+gBseHl4MABkAWCKEyAPAVsbY3+Y8CgEW4As4zvl3CSGHAWCvEOIQIWSUMdYfYNw538UXcJqmPSqEOEYI2QMAy4QQByilW1Op1J/nPBI+F+ALuHQ6HU4mk+8IIRJCCJVS+g4hZIwxtsnnuHO+uS/gcLUjIyM7TNM8RQh5Uq7+iBBip6qqv28WDc75QgBQACB/586di/39/bebldmq/lWBQ+1KJBKrcrncWH9/f949Ac75BULIqlKptD4SiVwVQhxRVfWpoJNMp9PxZDL5CyEEmoAwypGXzxFd1w9Wjh90nNns5wkc3p6UUgQH7dgEABzSdf1FZwHZbPazlmUNOhNpVuM0TXtbCLHNa2FoU1VVfWw2Fz0bsjyB0zTth0KIZ4UQ+wFgFyGkrxJATdMewcUCwFlFUd4KOhnXhVNVxIN4AVUD7ltCiOcJIUdjsdgBwzA2mqZ5AAHEy0DXddVtf9ApTiaTXyeEPEwIWegTxFX2OIvr9Llm3+T4qvtnb7YBAEOU0pOpVOpi3Q4BG3gChzanq6vrFSHEbrQ1CGA8Hj9ULBZ3IaDuo5nNZj9nWRa6KAulVuICZ9hEQsiaAIA2tCQhxDgAjLka4yaswnlTSg8pinKwIUE+G9W8VbPZ7DrLslDTdkpjjaCsCofDa/r6+v6OoJmmeRoAximlj1fz5zjnb6IMn3NrqLnXxXThwoVlkUjkOULILgB4XlGUbzckzEejhtwRBNA0zacBoFcI8ZKqqi+jViYSifcBwIjFYhtrxa2ZTOY3tlZ81ce8/DR9ljH2I68OnPNX0FlvhY1sCLgqk0Kb9mojN6qmaV8RQrzmB41G2wohHlZV9a9e7aXtvUoIOccY+1KjMhtp1wxwL6DflcvlFtTzs9An7Orq+oMQYnsjk/LR5ihj7Ju12mcymdcBYBtjbJEPuXWbNgMc2q0+xtin6o5CCJFO7hOEkN0N3KL1RI4TQl6yx/51vYaapv1MCPEkYyzwWr3GCCxMGvyGgau3wFY9bwMXENk2cG3gAiIQsFtb49rABUQgYLe2xs0ScOl0OhGPx8tERD6fn6jng1YbtuXuCE40mUw+YYdqSzA8o5SeSaVSfwqIg+9ujsYhUUEIQQd8WYWQdwkhp4vF4subN292kwU1x2o5cJzzNCFkq3sWALBbUZTfOd9xzh9Cbo9SWmZ//fwJIThj7I9efYaGhpaEQqE3AYAh3WTHrIPYnhAyQQjBsRYLIbbK55jufFXX9Wf6+/tz9ebQUuA458i1Xa6chBDijKqqX8DvJYEwZLPM8XqTrfbcppYeR+LB/VwSrcfsNGYc6SVkURhjd7xkcM4/TQjZj4QA8n6lUql/06ZNNfm/lgI3PDzcRykd8ZjsoJOP5Zx/hxByJChost9JxtiAIwNBsyzrlJ3/nYhEItvXrVv3D7f80dHRzxiGkWeM/dMD7JNCiJxhGJtqgddS4PCohMPhf3mAMr1QXESpVOJNatxeVVVfxHHkmBm0/ZJOuu4en3P+gn1U98rvMIb9ufv5yMjIFsMwztox9Xu5XA6ZbsNrU1sKHA7ocGKuwdF+IFsxXTqBxxXpITvPEcjGuWklTdNetyxrZygU2lhJnUsOUbdt2ml5SYQZY2srgeGclykzG/zvM8Z+8j8BTtoxpNfxVs1Ho9HBVhXrXLx4cWWpVHqvWrpyZGRkvmmakwBwQAiB+ZOqJIW81Pp0XV/kpXUt17gmbZev7pzzH6ORp5QuS6VSM44oCvIDXDab/bJlWWjvPJPtHzfgMBec8Dp+foFzjjWl9KhXzqLlwCH7293dvUMeVUzdnWtV2s6+oSeFEKdVVf2al6r60Thpn7E25qZXRVbLgeOcn8Bsk7MQzJYhhb5hw4bpCqfR0dFPmKaJl4MvXw4jkVAoNIoZN7lQUascQ0Yxuqy46gWA+YyxFdXsAdo5W958uy5mfWWblgIn03RXMUUHAIcppQnDMM7Zieuzjt8lnWR0HxK+DJqrMaV0VyqVeiOTyZQwtFJVtWo6sCJVWfXWlBvxF9xMVVXV+wqcywHe4+QHOOfoEN921F/TtHLVAC4eqwT8gGdZFmoo+lxncCMymQz6jO86UYmXLGk6tliWhQ5wzWpSzvkHMkM27Vw7MluqcefPn++NRqPv4/HJ5XIHOzs7MfxBuzHkpOsymcwWtHt+APvI7gPsUxTll9IsbKvmQjj9MG1o375GrZjUOS3VfLmWAifVfUYWH4PtUCi03c2QyDKK7UEcYEopVxTltziWk78VQuxSVfUNr83AclxZhovz+GI1psZxbZyqhft6VHEwmRZ8FEtfLcvCyZ5u1a0qx8J6vQmvcEnW/GHkgAwJFoDf9LJfsswNyYmqNc4t17hmjmCQvk64hNFBZcGNBA4z+xja4XEd9LKHnPNy8tzeZFZtkz92wFWYh6cZYz91bwAG8VhIJKuZ9rkjDFlx8BwmsL2Ad8v5WAIny9RQa7DK86iu60/Vo8gl6fkru7Zuu+3fHVEUpWZpbsuBwx02TfOwU/ZgB9encrncD+otJMgxdfeR9g4ppD1o8zB0CoVCJx1nWdpfrKJXZBskMcO2U72/GiNy3zTOZawx1EKDjHYFqeoZ9odz/j28CaXt8YvZUC6Xq0p3V/BvTlH2hLzB8ZdCYVnFeSoSieyvJD2rTaalGpfJZNYAAP4uYpra5pxfxipKm0P7PE7KxUKMAoDv8nzk8fBoMcae8VqkK1mDIRa6PEgnlbNcdrXVNQAYDYfDZ/v6+v7tZ8daCpwTOVQANyNw1jQNM2CYgcLjjFVIfv7wdtxfK7Cfk3lV9NATicQHAIA7e8yyLDyq+9waItu8jZkmP4g5bdF+RSKRbW7b5ZYzJ4HDBWQymR0AgBpVriy3j9ZZAHiMMXbTvUBkSCzL8kWdU0qNycnJD6vlBWQ08eDVx9lHhNlpuU82oimc8+7u7u78ihUrCo20n602mqbhL3b2PUiFhWVHMZfLISfv26jPFjD15Mhf7fQ2WjlaT57zPPDlIANzpHQ+4p03Onir2yHDEQ6HL9vV8q8xxr4xm+MFBg4nIX8MtwbZjvXr13tWfs/mZP3Ikmwv/kasDwDWVCaf/cjyatsUcNlsdqlpmsil4c8l0Z3A2ovrtYx1sxOu118yG4/Y7TAeXYLJ58ryiHoyGnneFHA4gATvKDqXjQx4H9uMwX8JzsA/0Ks116aBc4TLny9hUI0VQL7citkEk1J6GyuSdF1/q5WaP2vAzebi54KsNnABd6kNXBu4gAgE7NbWuDZwAREI2K2tcfcLOCEEgg2Dg4M0mUxCR0cHXL9+vfwei8UgGo1CJBIpb0g4HC6/T05OgvNv9/fOnEOhEOCrkTWYpinw5W5rGMb0Z/z3ggULyp+d7+/du2fh50KhIKampsTSpUvL74qiWCdOnCADAwMWAMyQWW8u05MVQoTGxsbCV65cCXd2dtJ4PE6j0Si9detWqLu7G8GghUKB1hM4l5/HYjHr7t27olgsWj09PSa+5/N5C4Ffvny5MT4+bjpONWDNWKlUwpqOhnZ8LgMzG3NHcA3DKAAevbGxsWixWIxMTU2FOjo6QoVCIfT/oGH1gESQCoWC2dHRYaH2UUpL8+bNM3p7e4t1tez48eOhgYEBuHTpEr1x4wZ17Jiu6xRtGdoufNn/BxL09PSU5aG9squTpu2WW5vxmfvz1NTUjM/1FoPPcUGV7Uql0vR3lmWV7RXawkQiMW0THfuItg9fpVJJrFy50rp27ZpYtGgRgiNWr16NchybV9Xu/QehoM0kmrPN5gAAAABJRU5ErkJggg==";
- const _sfc_main$1 = {
- __name: "OrderList",
- __ssrInlineRender: true,
- emits: ["childData"],
- setup(__props, { emit: __emit }) {
- useStatusStore();
- const nuxtApp = useNuxtApp();
- const axios = nuxtApp.$axios;
- const activeName = ref("");
- let orderList = useState("orderList", () => []);
- let order = useState("order", () => "");
- useState("orders", () => "");
- let order_ad = useState("order_ad", () => []);
- let allOrder = useState("allOrder", () => "");
- let allOrderTotal = useState("allOrderTotal", () => "");
- let total1 = useState("total1", () => "");
- let total2 = useState("total2", () => "");
- let total6 = useState("total6", () => "");
- let page = useState("page", () => "1");
- let pageSize = useState("pageSize", () => "10");
- let page1 = useState("page1", () => "1");
- const handleData = (data) => {
- console.log(data.value);
- page.value = data.value;
- console.log(page);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}`).then((response) => {
- console.log(response);
- console.log(response.data.rows);
- allOrder.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleData1 = (data) => {
- console.log(data.value);
- page1.value = data.value;
- console.log(page1);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page1.value}&status=${1}`).then((response) => {
- console.log(response.data.rows);
- if (response.message) {
- ElMessage(response.message);
- }
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleData2 = (data) => {
- console.log(data.value);
- page1.value = data.value;
- console.log(page1);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page1.value}&status=${2}`).then((response) => {
- if (response.message) {
- ElMessage(response.message);
- }
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleData3 = (data) => {
- console.log(data.value);
- page1.value = data.value;
- console.log(page1);
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page1.value}&status=${6}`).then((response) => {
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- const handleChange = () => {
- if (!activeName.value) {
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}`).then((response) => {
- console.log(response.data.rows);
- allOrder.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- } else {
- axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}&status=${activeName.value}`).then((response) => {
- console.log(response.data.rows);
- orderList.value = response.data.rows;
- console.log(orderList.value);
- }).catch((error) => {
- console.log(error);
- });
- }
- };
- let goCancel = (item) => {
- console.log(item);
- axios.get(`/order/cancelOrder?order_id=${item.id}`).then((response) => {
- console.log(response.message);
- if (response.code == 0) {
- ElMessage.error(response.message);
- } else if (response.code == 200) {
- ElMessage.success("\u53D6\u6D88\u6210\u529F");
- getOrderList();
- }
- });
- getOrderList();
- };
- const emit = __emit;
- let goAgain = () => {
- console.log(123);
- emit("childData", 1);
- };
- const getOrderList = async () => {
- try {
- const response = await axios.get(`/order/getOrderList?pageSize=${pageSize.value}&page=${page.value}`);
- console.log("response", response);
- allOrder.value = response.data.rows;
- allOrderTotal.value = response.data.count.all;
- total1.value = response.data.count.pass;
- total2.value = response.data.count.return;
- total6.value = response.data.count.waite;
- } catch (error) {
- console.error(error);
- }
- };
- return (_ctx, _push, _parent, _attrs) => {
- const _component_NuxtLink = __nuxt_component_0$1;
- const _component_HomePagination = __nuxt_component_3;
- _push(`<div${ssrRenderAttrs(mergeProps({ class: "orderList" }, _attrs))} data-v-ec50f646><div class="inner" data-v-ec50f646>`);
- _push(ssrRenderComponent(unref(ElTabs), {
- modelValue: activeName.value,
- "onUpdate:modelValue": ($event) => activeName.value = $event,
- class: "demo-tabs",
- onTabChange: handleChange
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: `\u5168\u90E8 ( ${unref(allOrderTotal) ? unref(allOrderTotal) : 0} )`,
- name: ""
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(allOrder), (item) => {
- _push3(`<div class="order" data-v-ec50f646${_scopeId2}><div class="title" data-v-ec50f646${_scopeId2}><span style="${ssrRenderStyle(item.status == 6 ? null : { display: "none" })}" class="${ssrRenderClass(item.status == 6 ? "orangeStatus" : "grayStatus")}" data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span style="${ssrRenderStyle(item.status == 1 ? null : { display: "none" })}" class="${ssrRenderClass(item.status == 1 ? "greenStatus" : "grayStatus")}" data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span style="${ssrRenderStyle(item.status == 7 ? null : { display: "none" })}" class="${ssrRenderClass(item.status == 7 ? "greenStatus" : "grayStatus")}" data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span style="${ssrRenderStyle(item.status != 6 && item.status != 1 && item.status != 7 ? null : { display: "none" })}" class="${ssrRenderClass(item.status != 6 && item.status != 1 && item.status != 7 ? "grayStatus" : "")}" data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order)[item.status])}</span><span class="code" data-v-ec50f646${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-ec50f646${_scopeId2}><div class="time" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-ec50f646${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5929\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-ec50f646${_scopeId2}><span class="price" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-ec50f646${_scopeId2}>`);
- if (item.status == 6) {
- _push3(`<button data-v-ec50f646${_scopeId2}>\u53D6\u6D88\u5DE5\u5355</button>`);
- } else {
- _push3(`<button data-v-ec50f646${_scopeId2}>\u518D\u6B21\u7533\u8BF7</button>`);
- }
- _push3(ssrRenderComponent(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(ElButton), { type: "success" }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(`\u67E5\u770B\u8BE6\u60C5`);
- } else {
- return [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ];
- }
- }),
- _: 2
- }, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 2
- }, _parent3, _scopeId2));
- _push3(`</div></div></div>`);
- });
- _push3(`<!--]--><div class="adEmpty" style="${ssrRenderStyle(!unref(allOrder) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}><img${ssrRenderAttr("src", _imports_0)} alt="" data-v-ec50f646${_scopeId2}><span data-v-ec50f646${_scopeId2}>\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~</span></div><div class="paginationBox" style="${ssrRenderStyle(unref(allOrder) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData,
- total: unref(allOrderTotal)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(allOrder), (item) => {
- return openBlock(), createBlock("div", {
- class: "order",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- withDirectives(createVNode("span", {
- class: item.status == 6 ? "orangeStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 6]
- ]),
- withDirectives(createVNode("span", {
- class: item.status == 1 ? "greenStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 1]
- ]),
- withDirectives(createVNode("span", {
- class: item.status == 7 ? "greenStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 7]
- ]),
- withDirectives(createVNode("span", {
- class: item.status != 6 && item.status != 1 && item.status != 7 ? "grayStatus" : ""
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status != 6 && item.status != 1 && item.status != 7]
- ]),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- item.status == 6 ? (openBlock(), createBlock("button", {
- key: 0,
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"])) : (openBlock(), createBlock("button", {
- key: 1,
- onClick: unref(goAgain)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"])),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(allOrder)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData,
- total: unref(allOrderTotal)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(allOrder)]
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: `\u5DF2\u901A\u8FC7 ( ${unref(total1) ? unref(total1) : 0} )`,
- name: "1"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(orderList), (item) => {
- _push3(`<div class="order1" data-v-ec50f646${_scopeId2}><div class="title" data-v-ec50f646${_scopeId2}><span class="statusClass" data-v-ec50f646${_scopeId2}>\u5DF2\u901A\u8FC7</span><span class="code" data-v-ec50f646${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-ec50f646${_scopeId2}><div class="time" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-ec50f646${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5929\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-ec50f646${_scopeId2}><span class="price" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-ec50f646${_scopeId2}><button data-v-ec50f646${_scopeId2}>\u518D\u6B21\u7533\u8BF7</button>`);
- _push3(ssrRenderComponent(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(ElButton), { type: "success" }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(`\u67E5\u770B\u8BE6\u60C5`);
- } else {
- return [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ];
- }
- }),
- _: 2
- }, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 2
- }, _parent3, _scopeId2));
- _push3(`</div></div></div>`);
- });
- _push3(`<!--]--><div class="adEmpty" style="${ssrRenderStyle(!unref(total1) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}><img${ssrRenderAttr("src", _imports_0)} alt="" data-v-ec50f646${_scopeId2}><span data-v-ec50f646${_scopeId2}>\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~</span></div><div class="paginationBox" style="${ssrRenderStyle(unref(total1) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData1,
- total: unref(total1)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order1",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u901A\u8FC7"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goAgain)(item)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"]),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(total1)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData1,
- total: unref(total1)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(total1)]
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: `\u5DF2\u9A73\u56DE ( ${unref(total2) ? unref(total2) : 0} )`,
- name: "2"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(orderList), (item) => {
- _push3(`<div class="order2" data-v-ec50f646${_scopeId2}><div class="title" data-v-ec50f646${_scopeId2}><span class="statusClass" data-v-ec50f646${_scopeId2}>\u5DF2\u9A73\u56DE</span><span class="code" data-v-ec50f646${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-ec50f646${_scopeId2}><div class="time" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-ec50f646${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5929\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-ec50f646${_scopeId2}><span class="price" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-ec50f646${_scopeId2}><button data-v-ec50f646${_scopeId2}>\u518D\u6B21\u7533\u8BF7</button>`);
- _push3(ssrRenderComponent(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(ElButton), { type: "success" }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(`\u67E5\u770B\u8BE6\u60C5`);
- } else {
- return [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ];
- }
- }),
- _: 2
- }, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 2
- }, _parent3, _scopeId2));
- _push3(`</div></div></div>`);
- });
- _push3(`<!--]--><div class="adEmpty" style="${ssrRenderStyle(!unref(total2) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}><img${ssrRenderAttr("src", _imports_0)} alt="" data-v-ec50f646${_scopeId2}><span data-v-ec50f646${_scopeId2}>\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~</span></div><div class="paginationBox" style="${ssrRenderStyle(unref(total2) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData2,
- total: unref(total2)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order2",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u9A73\u56DE"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goAgain)(item)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"]),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(total2)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData2,
- total: unref(total2)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(total2)]
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: `\u5F85\u5BA1\u6838 ( ${unref(total6) ? unref(total6) : 0} )`,
- name: "6"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<!--[-->`);
- ssrRenderList(unref(orderList), (item) => {
- _push3(`<div class="order6" data-v-ec50f646${_scopeId2}><div class="title" data-v-ec50f646${_scopeId2}><span class="statusClass" data-v-ec50f646${_scopeId2}>\u5F85\u5BA1\u6838</span><span class="code" data-v-ec50f646${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.order_num)}</span></span><span class="createTime right" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.created_at)}</span></div><div class="text" data-v-ec50f646${_scopeId2}><div class="time" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5F00\u59CB\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.sttime)}</span></p><p data-v-ec50f646${_scopeId2}> \u7ED3\u675F\u65F6\u95F4: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.edtime)}</span></p></div><div class="num" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5929\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.days)}\u5929</span></p><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u4E2A\u6570: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.num)}\u4E2A</span></p></div><div class="state" data-v-ec50f646${_scopeId2}><p data-v-ec50f646${_scopeId2}> \u5E7F\u544A\u72B6\u6001: <span data-v-ec50f646${_scopeId2}>${ssrInterpolate(unref(order_ad)[item.ad_status])}</span></p><p data-v-ec50f646${_scopeId2}><span class="price" data-v-ec50f646${_scopeId2}>${ssrInterpolate(item.price)}</span> \u5143 </p></div><div class="btn" data-v-ec50f646${_scopeId2}><button data-v-ec50f646${_scopeId2}>\u53D6\u6D88\u5DE5\u5355</button>`);
- _push3(ssrRenderComponent(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(ElButton), { type: "success" }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(`\u67E5\u770B\u8BE6\u60C5`);
- } else {
- return [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ];
- }
- }),
- _: 2
- }, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 2
- }, _parent3, _scopeId2));
- _push3(`</div></div></div>`);
- });
- _push3(`<!--]--><div class="adEmpty" style="${ssrRenderStyle(!unref(total6) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}><img${ssrRenderAttr("src", _imports_0)} alt="" data-v-ec50f646${_scopeId2}><span data-v-ec50f646${_scopeId2}>\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~</span></div><div class="paginationBox" style="${ssrRenderStyle(unref(total6) ? null : { display: "none" })}" data-v-ec50f646${_scopeId2}>`);
- _push3(ssrRenderComponent(_component_HomePagination, {
- onSendData: handleData3,
- total: unref(total6)
- }, null, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order6",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5F85\u5BA1\u6838"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(total6)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData3,
- total: unref(total6)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(total6)]
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(ElTabPane), {
- label: `\u5168\u90E8 ( ${unref(allOrderTotal) ? unref(allOrderTotal) : 0} )`,
- name: ""
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(allOrder), (item) => {
- return openBlock(), createBlock("div", {
- class: "order",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- withDirectives(createVNode("span", {
- class: item.status == 6 ? "orangeStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 6]
- ]),
- withDirectives(createVNode("span", {
- class: item.status == 1 ? "greenStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 1]
- ]),
- withDirectives(createVNode("span", {
- class: item.status == 7 ? "greenStatus" : "grayStatus"
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status == 7]
- ]),
- withDirectives(createVNode("span", {
- class: item.status != 6 && item.status != 1 && item.status != 7 ? "grayStatus" : ""
- }, toDisplayString(unref(order)[item.status]), 3), [
- [vShow, item.status != 6 && item.status != 1 && item.status != 7]
- ]),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- item.status == 6 ? (openBlock(), createBlock("button", {
- key: 0,
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"])) : (openBlock(), createBlock("button", {
- key: 1,
- onClick: unref(goAgain)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"])),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(allOrder)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData,
- total: unref(allOrderTotal)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(allOrder)]
- ])
- ]),
- _: 1
- }, 8, ["label"]),
- createVNode(unref(ElTabPane), {
- label: `\u5DF2\u901A\u8FC7 ( ${unref(total1) ? unref(total1) : 0} )`,
- name: "1"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order1",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u901A\u8FC7"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goAgain)(item)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"]),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(total1)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData1,
- total: unref(total1)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(total1)]
- ])
- ]),
- _: 1
- }, 8, ["label"]),
- createVNode(unref(ElTabPane), {
- label: `\u5DF2\u9A73\u56DE ( ${unref(total2) ? unref(total2) : 0} )`,
- name: "2"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order2",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5DF2\u9A73\u56DE"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goAgain)(item)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"]),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(total2)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData2,
- total: unref(total2)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(total2)]
- ])
- ]),
- _: 1
- }, 8, ["label"]),
- createVNode(unref(ElTabPane), {
- label: `\u5F85\u5BA1\u6838 ( ${unref(total6) ? unref(total6) : 0} )`,
- name: "6"
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(orderList), (item) => {
- return openBlock(), createBlock("div", {
- class: "order6",
- key: item.id
- }, [
- createVNode("div", { class: "title" }, [
- createVNode("span", { class: "statusClass" }, "\u5F85\u5BA1\u6838"),
- createVNode("span", { class: "code" }, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(item.order_num), 1)
- ]),
- createVNode("span", { class: "createTime right" }, toDisplayString(item.created_at), 1)
- ]),
- createVNode("div", { class: "text" }, [
- createVNode("div", { class: "time" }, [
- createVNode("p", null, [
- createTextVNode(" \u5F00\u59CB\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.sttime), 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u7ED3\u675F\u65F6\u95F4: "),
- createVNode("span", null, toDisplayString(item.edtime), 1)
- ])
- ]),
- createVNode("div", { class: "num" }, [
- createVNode("p", null, [
- createTextVNode(" \u5929\u6570: "),
- createVNode("span", null, toDisplayString(item.days) + "\u5929", 1)
- ]),
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u4E2A\u6570: "),
- createVNode("span", null, toDisplayString(item.num) + "\u4E2A", 1)
- ])
- ]),
- createVNode("div", { class: "state" }, [
- createVNode("p", null, [
- createTextVNode(" \u5E7F\u544A\u72B6\u6001: "),
- createVNode("span", null, toDisplayString(unref(order_ad)[item.ad_status]), 1)
- ]),
- createVNode("p", null, [
- createVNode("span", { class: "price" }, toDisplayString(item.price), 1),
- createTextVNode(" \u5143 ")
- ])
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- onClick: ($event) => unref(goCancel)(item)
- }, "\u53D6\u6D88\u5DE5\u5355", 8, ["onClick"]),
- createVNode(_component_NuxtLink, {
- to: `/advertising/adDetail?id=${item.id}`
- }, {
- default: withCtx(() => [
- createVNode(unref(ElButton), { type: "success" }, {
- default: withCtx(() => [
- createTextVNode("\u67E5\u770B\u8BE6\u60C5")
- ]),
- _: 1
- })
- ]),
- _: 2
- }, 1032, ["to"])
- ])
- ])
- ]);
- }), 128)),
- withDirectives(createVNode("div", { class: "adEmpty" }, [
- createVNode("img", {
- src: _imports_0,
- alt: ""
- }),
- createVNode("span", null, "\u6682\u65E0\u63D0\u4EA4\u7684\u5E7F\u544A\u5DE5\u5355~")
- ], 512), [
- [vShow, !unref(total6)]
- ]),
- withDirectives(createVNode("div", { class: "paginationBox" }, [
- createVNode(_component_HomePagination, {
- onSendData: handleData3,
- total: unref(total6)
- }, null, 8, ["total"])
- ], 512), [
- [vShow, unref(total6)]
- ])
- ]),
- _: 1
- }, 8, ["label"])
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div></div>`);
- };
- }
- };
- const _sfc_setup$1 = _sfc_main$1.setup;
- _sfc_main$1.setup = (props, ctx) => {
- const ssrContext = useSSRContext();
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/advertising/OrderList.vue");
- return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : undefined;
- };
- const __nuxt_component_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ec50f646"]]);
- const _imports_1 = "" + buildAssetsURL("01.BmbqfNEZ.png");
- const _imports_2 = "" + buildAssetsURL("02.DdnBEKa8.png");
- const _imports_3 = "" + buildAssetsURL("03.B8anEWqb.png");
- const _sfc_main = {
- __name: "index",
- __ssrInlineRender: true,
- setup(__props) {
- const route = useRoute();
- const nuxtApp = useNuxtApp();
- const axios = nuxtApp.$axios;
- let ad = useState("ad", () => 1);
- let dialogTableVisible = useState("dialogTableVisible", () => false);
- let activeName = useState("activeName", () => "1");
- useState("startTime", () => /* @__PURE__ */ new Date());
- let adSize = useState("adSize", () => "");
- let tableData = useState("tableData", () => []);
- useState("processedData", () => []);
- let pid = useState("pid", () => []);
- let pids = useState("pids", () => []);
- let pidArr = useState("pidArr", () => []);
- useState("pidArr1", () => []);
- let orderInformation = useState("orderInformation", () => "");
- let adWeb = useState("adWeb", () => "");
- let adWebId = useState("adWebId", () => "");
- let adWebList = useState("adWebList", () => []);
- let priceTotal = useState("priceTotal", () => "");
- useState("orderId", () => "");
- let options = useState("options", () => []);
- const multipleTable = ref("");
- let shopCode = useState("shopCode", () => "");
- let total = useState("total", () => 0);
- let pageSize = useState("pageSize", () => 10);
- let page = useState("page", () => 1);
- let logoUrl = ref("");
- const formSize = ref("default");
- const ruleFormRef = ref();
- const ruleForm = reactive({
- adName: "",
- adLink: "",
- startTime: "",
- endTime: "",
- adSize: "",
- adImg: ""
- });
- const rules = reactive({
- adName: [{ required: true, message: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0", trigger: "blur" }],
- adLink: [{ required: true, message: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5", trigger: "change" }],
- startTime: [{ required: true, message: "\u8BF7\u8F93\u5165\u5F00\u59CB\u65F6\u95F4", trigger: "change" }],
- endTime: [{ required: true, message: "\u8BF7\u8F93\u5165\u7ED3\u675F\u65F6\u95F4", trigger: "change" }],
- adSize: [{ required: true, message: "\u8BF7\u9009\u62E9\u5E7F\u544A\u5C3A\u5BF8", trigger: "change" }],
- adImg: [{ required: true, message: "\u8BF7\u9009\u62E9\u5E7F\u544A\u56FE", trigger: "change" }]
- });
- const tabPosition = ref("left");
- let changeStartTime = (val) => {
- ruleForm.startTime = `${val.getFullYear()}-${val.getMonth() + 1}-${val.getDate()}`;
- console.log(ruleForm.startTime);
- };
- let disabledStartTime = (time) => {
- return time.getTime() <= Date.now() + 3600 * 1e3 * 24;
- };
- let changeEndTime = (val) => {
- ruleForm.endTime = `${val.getFullYear()}-${val.getMonth() + 1}-${val.getDate()}`;
- console.log(ruleForm.endTime);
- };
- let disabledEndTime = (time) => {
- if (ruleForm.startTime == "") {
- return true;
- } else {
- const targetDate = new Date(ruleForm.startTime);
- return time.getTime() < targetDate.getTime() + 3600 * 1e3 * 24;
- }
- };
- const imageUrl = ref("");
- const handleAvatarSuccess = (response, uploadFile) => {
- imageUrl.value = URL.createObjectURL(uploadFile.raw);
- };
- const beforeAvatarUpload = (file) => {
- console.log("000");
- console.log("file", file);
- if (!file) return;
- const isJPG = file.type === "image/jpeg";
- const isPNG = file.type === "image/png";
- const isLt2M = file.size / 1024 / 1024 < 2;
- if (!isJPG && !isPNG) {
- ElMessage.error("\u4E0A\u4F20\u56FE\u7247\u53EA\u80FD\u662F JPG \u6216 PNG \u683C\u5F0F!");
- return;
- }
- if (!isLt2M) {
- ElMessage.error("\u4E0A\u4F20\u56FE\u7247\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC7 2MB!");
- return;
- }
- const data = new FormData();
- data.append("file", file);
- axios.post("/public/uploadFile", data).then((res) => {
- console.log(res);
- logoUrl.value = res.data.imgUrl;
- ruleForm.adImg = res.data.imgUrl;
- }).catch(() => {
- ElMessage({
- type: "info",
- message: "\u7F51\u7EDC\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5\uFF01"
- });
- });
- };
- let goPhoto = () => {
- dialogTableVisible.value = true;
- };
- let handleSelectionChange = (selectedRows) => {
- console.log();
- pids.value = selectedRows.map((row) => row.pid);
- console.log("\u9009\u4E2D\u7684\u5E7F\u544A\u4F4D", pids.value);
- };
- pidArr.value.forEach((item) => {
- const index2 = tableData.findIndex((row) => row.id === item);
- if (index2 !== -1) {
- tableData[index2].selected = true;
- }
- });
- let toggleRowSelection = (row) => {
- console.log("11111", row.pid);
- console.log("\u7C7B\u578B", typeof row.pid);
- const isExist = pid.value.includes(row.pid);
- console.log("\u5224\u65AD\u5F53\u524D\u9009\u62E9\u7684id\u662F\u5426\u5DF2\u88AB\u9009\u62E9", isExist);
- if (isExist) {
- let data = {
- shopping_id: shopCode.value,
- pid: row.pid
- };
- axios.post("/order/delShoppingCartAD", data).then((data2) => {
- console.log("\u5220\u9664\u8D2D\u7269\u8F66\u5E7F\u544A\u4F4D--------------", data2);
- if (data2.code == 200) {
- getShoppingCartAD();
- }
- });
- } else {
- let data = {
- shopping_id: shopCode.value,
- pid: row.pid
- };
- axios.post("/order/addShoppingCartAD", data).then((data2) => {
- console.log("\u6DFB\u52A0\u8D2D\u7269\u8F66\u5E7F\u544A\u4F4D--------------", data2);
- if (data2.code == 200) {
- getShoppingCartAD();
- }
- });
- }
- };
- let chooseweb = (id) => {
- console.log("id", id);
- adWebId.value = id;
- };
- let goSearch = () => {
- console.log(1);
- if (adWebId.value == "") {
- ElMessage({
- type: "info",
- message: "\u8BF7\u9009\u62E9\u7F51\u7AD9\u540D\u79F0"
- });
- return;
- } else {
- page.value = 1;
- pageSize.value = 10;
- let adData = {
- ad_size_id: ruleForm.adSize,
- starttime: ruleForm.startTime,
- endtime: ruleForm.endTime,
- pageSize: pageSize.value,
- page: page.value,
- website_id: adWebId.value
- };
- axios.post("/order/getWebsiteAd", adData).then((response) => {
- console.log(response.data);
- console.log(response.data.rows);
- for (let item of response.data.rows) {
- if (pid.value.includes(item.pid)) {
- item.selected = true;
- } else {
- item.selected = false;
- }
- }
- tableData.value = response.data.rows;
- total.value = response.data.count;
- for (let item of tableData.value) {
- item.size = item.size_width + " * " + item.size_height + " px ";
- }
- });
- }
- };
- let goReset = () => {
- adWeb.value = "";
- page.value = 1;
- pageSize.value = 10;
- getDate();
- };
- let getDate = () => {
- let adData = {
- ad_size_id: ruleForm.adSize,
- starttime: ruleForm.startTime,
- endtime: ruleForm.endTime,
- pageSize: pageSize.value,
- page: page.value
- };
- axios.post("/order/getAD", adData).then((response) => {
- console.log("\u5E7F\u544A\u4F4D\u4FE1\u606F", response.data.rows);
- total.value = response.data.count;
- for (let item of response.data.rows) {
- if (pid.value.includes(item.pid)) {
- item.selected = true;
- } else {
- item.selected = false;
- }
- }
- tableData.value = response.data.rows;
- for (let item of tableData.value) {
- item.size = item.size_width + " * " + item.size_height + " px ";
- }
- console.log(tableData.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- let lookOrder = () => {
- activeName.value = "2";
- sessionStorage.setItem("activeName", JSON.stringify("2"));
- (undefined).location.href = `http://nw.bjzxtw.org.cn/advertising?activeName=${"2"}`;
- };
- let reapply = () => {
- ad.value = 1;
- (undefined).location.href = "http://nw.bjzxtw.org.cn/advertising";
- };
- const getPrice = () => {
- let data = {
- starttime: ruleForm.startTime,
- endtime: ruleForm.endTime,
- pid: pid.value
- };
- console.log("data=========", data);
- axios.post("/order/getPrice", data).then((data2) => {
- console.log("\u83B7\u53D6\u5230\u7684\u91D1\u989D", data2.data);
- priceTotal.value = data2.data;
- });
- };
- const getShoppingCartAD = () => {
- axios.post("/order/getShoppingCartAD", {
- shopping_id: shopCode.value
- }).then((data) => {
- console.log("\u83B7\u53D6\u8D2D\u7269\u8F66\u5E7F\u544A\u4F4D=====================", data.data.pid);
- pid.value = data.data.pid;
- getPrice();
- });
- };
- watch(page, (newval) => {
- page.value = newval;
- console.log(newval);
- }, {
- deep: true,
- immediate: true
- });
- const changePage = (val) => {
- console.log(val);
- page.value = val;
- let adData = {
- ad_size_id: ruleForm.adSize,
- starttime: ruleForm.startTime,
- endtime: ruleForm.endTime,
- pageSize: pageSize.value,
- page: page.value
- };
- axios.post("/order/getAD", adData).then((response) => {
- console.log("\u5E7F\u544A\u4F4D", response.data);
- total.value = response.data.count;
- for (let item of response.data.rows) {
- if (pid.value.includes(item.pid)) {
- item.selected = true;
- } else {
- item.selected = false;
- }
- }
- tableData.value = response.data.rows;
- for (let item of tableData.value) {
- item.size = item.size_width + " * " + item.size_height + " px ";
- }
- console.log(tableData.value);
- }).catch((error) => {
- console.log(error);
- });
- };
- let handleChildData = (data) => {
- activeName.value = `${data}`;
- };
- let goBuyAd = () => {
- activeName.value = "1";
- };
- let goOrderList = (item) => {
- if (item == 2 && (route.query.activeName == "1" || route.query.activeName == "2")) {
- (undefined).location.href = "http://nw.bjzxtw.org.cn/advertising";
- }
- };
- watch(adSize, (newval) => {
- adSize.value = newval;
- }, {
- deep: true,
- immediate: true
- });
- watch(ad, (newval) => {
- adSize.value = newval;
- }, {
- deep: true,
- immediate: true
- });
- return (_ctx, _push, _parent, _attrs) => {
- const _component_AdvertisingOrderList = __nuxt_component_0;
- const _component_AdvertisingFoot = __nuxt_component_2;
- _push(`<div${ssrRenderAttrs(_attrs)} data-v-98f1a0ac><div class="head" data-v-98f1a0ac><div class="inner" data-v-98f1a0ac><div class="headLogo left" data-v-98f1a0ac><img${ssrRenderAttr("src", _imports_0$1)} alt="" data-v-98f1a0ac><span data-v-98f1a0ac>\u5E7F\u544A\u670D\u52A1</span></div><div class="right" data-v-98f1a0ac><span data-v-98f1a0ac><em class="home" data-v-98f1a0ac></em> \u8BBE\u4E3A\u9996\u9875 </span><span data-v-98f1a0ac><em class="collection" data-v-98f1a0ac></em> \u52A0\u5165\u6536\u85CF </span></div></div></div><div class="tips" data-v-98f1a0ac><div class="inner" data-v-98f1a0ac>`);
- if (unref(activeName) == "1") {
- _push(`<p data-v-98f1a0ac>\u6CE8\u610F\uFF1A\u5E7F\u544A\u8D2D\u4E70\u9700\u63D0\u4EA4\u4FE1\u606F\uFF0C\u7528\u6237\u4E0E\u5546\u52A1\u4EBA\u5458\u8FDB\u884C\u7EBF\u4E0B\u91D1\u989D\u4EA4\u6613\uFF0C\u4EA4\u6613\u6210\u529F\u540E\u7531\u5546\u52A1\u4EBA\u5458\u540E\u53F0\u5BA1\u6838\u3002\u5BA1\u6838\u901A\u8FC7\uFF0C\u5373\u5E7F\u544A\u6295\u653E\u6210\u529F\u3002</p>`);
- } else {
- _push(`<!---->`);
- }
- _push(`</div></div><div class="advertising" data-v-98f1a0ac><div class="inner" data-v-98f1a0ac>`);
- _push(ssrRenderComponent(unref(ElTabs), {
- modelValue: unref(activeName),
- "onUpdate:modelValue": ($event) => isRef(activeName) ? activeName.value = $event : activeName = $event,
- "tab-position": tabPosition.value,
- class: "demo-tabs",
- onTabChange: unref(goOrderList)
- }, {
- default: withCtx((_, _push2, _parent2, _scopeId) => {
- if (_push2) {
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: "\u5E7F\u544A\u8D2D\u4E70",
- name: "1",
- onClick: unref(goBuyAd)
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(`<div id="buyAd" data-v-98f1a0ac${_scopeId2}><div class="buyAD" data-v-98f1a0ac${_scopeId2}><div class="inner" data-v-98f1a0ac${_scopeId2}>`);
- if (unref(ad) == 1) {
- _push3(`<div class="tabTitle" data-v-98f1a0ac${_scopeId2}><span class="title" data-v-98f1a0ac${_scopeId2}><span class="number" data-v-98f1a0ac${_scopeId2}>1</span> \u586B\u5199\u5E7F\u544A\u4FE1\u606F </span><span class="title" data-v-98f1a0ac${_scopeId2}><span class="icon" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(DArrowRight), null, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</span><span class="number" data-v-98f1a0ac${_scopeId2}>2</span> \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 </span><span class="title" data-v-98f1a0ac${_scopeId2}><span class="icon" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(DArrowRight), null, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</span><span class="number" data-v-98f1a0ac${_scopeId2}>3</span> \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F </span></div>`);
- } else {
- _push3(`<!---->`);
- }
- if (unref(ad) == 2) {
- _push3(`<div class="tabTitle" data-v-98f1a0ac${_scopeId2}><span class="title" data-v-98f1a0ac${_scopeId2}><span class="number" data-v-98f1a0ac${_scopeId2}>1</span> \u586B\u5199\u5E7F\u544A\u4FE1\u606F </span><span class="title color" data-v-98f1a0ac${_scopeId2}><span class="icon color" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(DArrowRight), null, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</span><span class="number bgc" data-v-98f1a0ac${_scopeId2}>2</span> \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 </span><span class="title" data-v-98f1a0ac${_scopeId2}><span class="icon" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(DArrowRight), null, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</span><span class="number" data-v-98f1a0ac${_scopeId2}>3</span> \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F </span></div>`);
- } else {
- _push3(`<!---->`);
- }
- if (unref(ad) == 3) {
- _push3(`<div class="tabTitle" data-v-98f1a0ac${_scopeId2}><span class="title" data-v-98f1a0ac${_scopeId2}><span class="number" data-v-98f1a0ac${_scopeId2}>1</span> \u586B\u5199\u5E7F\u544A\u4FE1\u606F </span><span class="title color" data-v-98f1a0ac${_scopeId2}><span class="icon color" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(DArrowRight), null, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</span><span class="number bgc" data-v-98f1a0ac${_scopeId2}>2</span> \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 </span><span class="title color" data-v-98f1a0ac${_scopeId2}><span class="icon color" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElIcon), null, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(DArrowRight), null, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(DArrowRight))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</span><span class="number bgc" data-v-98f1a0ac${_scopeId2}>3</span> \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F </span></div>`);
- } else {
- _push3(`<!---->`);
- }
- if (unref(ad) == 1) {
- _push3(`<div class="textOne" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElForm), {
- ref_key: "ruleFormRef",
- ref: ruleFormRef,
- model: ruleForm,
- rules,
- "label-width": "120",
- class: "demo-ruleForm",
- size: formSize.value,
- "status-icon": ""
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(ElFormItem), {
- label: "\u5E7F\u544A\u540D\u79F0:",
- prop: "adName"
- }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElInput), {
- modelValue: ruleForm.adName,
- "onUpdate:modelValue": ($event) => ruleForm.adName = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0"
- }, null, _parent5, _scopeId4));
- } else {
- return [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adName,
- "onUpdate:modelValue": ($event) => ruleForm.adName = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ];
- }
- }),
- _: 1
- }, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElFormItem), {
- label: "\u5E7F\u544A\u94FE\u63A5:",
- prop: "adLink"
- }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElInput), {
- modelValue: ruleForm.adLink,
- "onUpdate:modelValue": ($event) => ruleForm.adLink = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5"
- }, null, _parent5, _scopeId4));
- } else {
- return [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adLink,
- "onUpdate:modelValue": ($event) => ruleForm.adLink = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ];
- }
- }),
- _: 1
- }, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElFormItem), {
- label: "\u5E7F\u544A\u6301\u7EED\u65F6\u95F4:",
- required: ""
- }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElCol), { span: 11 }, {
- default: withCtx((_5, _push6, _parent6, _scopeId5) => {
- if (_push6) {
- _push6(ssrRenderComponent(unref(ElFormItem), { prop: "startTime" }, {
- default: withCtx((_6, _push7, _parent7, _scopeId6) => {
- if (_push7) {
- _push7(ssrRenderComponent(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, _parent7, _scopeId6));
- } else {
- return [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ];
- }
- }),
- _: 1
- }, _parent6, _scopeId5));
- } else {
- return [
- createVNode(unref(ElFormItem), { prop: "startTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent5, _scopeId4));
- _push5(ssrRenderComponent(unref(ElCol), {
- class: "text-center",
- span: 2
- }, {
- default: withCtx((_5, _push6, _parent6, _scopeId5) => {
- if (_push6) {
- _push6(`<span class="text-gray-500" data-v-98f1a0ac${_scopeId5}>\u81F3</span>`);
- } else {
- return [
- createVNode("span", { class: "text-gray-500" }, "\u81F3")
- ];
- }
- }),
- _: 1
- }, _parent5, _scopeId4));
- _push5(ssrRenderComponent(unref(ElCol), { span: 11 }, {
- default: withCtx((_5, _push6, _parent6, _scopeId5) => {
- if (_push6) {
- _push6(ssrRenderComponent(unref(ElFormItem), { prop: "endTime" }, {
- default: withCtx((_6, _push7, _parent7, _scopeId6) => {
- if (_push7) {
- _push7(ssrRenderComponent(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, _parent7, _scopeId6));
- } else {
- return [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ];
- }
- }),
- _: 1
- }, _parent6, _scopeId5));
- } else {
- return [
- createVNode(unref(ElFormItem), { prop: "endTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent5, _scopeId4));
- } else {
- return [
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "startTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), {
- class: "text-center",
- span: 2
- }, {
- default: withCtx(() => [
- createVNode("span", { class: "text-gray-500" }, "\u81F3")
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "endTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElFormItem), {
- label: "\u5E7F\u544A\u5C3A\u5BF8:",
- prop: "adSize"
- }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElRadioGroup), {
- modelValue: ruleForm.adSize,
- "onUpdate:modelValue": ($event) => ruleForm.adSize = $event
- }, {
- default: withCtx((_5, _push6, _parent6, _scopeId5) => {
- if (_push6) {
- _push6(`<!--[-->`);
- ssrRenderList(unref(options), (item) => {
- _push6(ssrRenderComponent(unref(ElRadio), {
- value: item.id,
- key: item.id
- }, {
- default: withCtx((_6, _push7, _parent7, _scopeId6) => {
- if (_push7) {
- _push7(`${ssrInterpolate(item.size)}`);
- } else {
- return [
- createTextVNode(toDisplayString(item.size), 1)
- ];
- }
- }),
- _: 2
- }, _parent6, _scopeId5));
- });
- _push6(`<!--]-->`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(options), (item) => {
- return openBlock(), createBlock(unref(ElRadio), {
- value: item.id,
- key: item.id
- }, {
- default: withCtx(() => [
- createTextVNode(toDisplayString(item.size), 1)
- ]),
- _: 2
- }, 1032, ["value"]);
- }), 128))
- ];
- }
- }),
- _: 1
- }, _parent5, _scopeId4));
- } else {
- return [
- createVNode(unref(ElRadioGroup), {
- modelValue: ruleForm.adSize,
- "onUpdate:modelValue": ($event) => ruleForm.adSize = $event
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(options), (item) => {
- return openBlock(), createBlock(unref(ElRadio), {
- value: item.id,
- key: item.id
- }, {
- default: withCtx(() => [
- createTextVNode(toDisplayString(item.size), 1)
- ]),
- _: 2
- }, 1032, ["value"]);
- }), 128))
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"])
- ];
- }
- }),
- _: 1
- }, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElFormItem), {
- label: "\u5E7F\u544A\u56FE:",
- prop: "adImg"
- }, {
- default: withCtx((_4, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElUpload), {
- class: "avatar-uploader",
- action: "#",
- "show-file-list": false,
- "on-success": handleAvatarSuccess,
- "before-upload": beforeAvatarUpload
- }, {
- default: withCtx((_5, _push6, _parent6, _scopeId5) => {
- if (_push6) {
- if (imageUrl.value) {
- _push6(`<img${ssrRenderAttr("src", imageUrl.value)} class="avatar" data-v-98f1a0ac${_scopeId5}>`);
- } else {
- _push6(`<div data-v-98f1a0ac${_scopeId5}>`);
- _push6(ssrRenderComponent(unref(ElIcon), { class: "avatar-uploader-icon" }, {
- default: withCtx((_6, _push7, _parent7, _scopeId6) => {
- if (_push7) {
- _push7(ssrRenderComponent(unref(Plus), null, null, _parent7, _scopeId6));
- _push7(`<div class="chooseImgDiv" data-v-98f1a0ac${_scopeId6}>\u9009\u62E9\u56FE\u7247</div>`);
- } else {
- return [
- createVNode(unref(Plus)),
- createVNode("div", { class: "chooseImgDiv" }, "\u9009\u62E9\u56FE\u7247")
- ];
- }
- }),
- _: 1
- }, _parent6, _scopeId5));
- _push6(`</div>`);
- }
- } else {
- return [
- imageUrl.value ? (openBlock(), createBlock("img", {
- key: 0,
- src: imageUrl.value,
- class: "avatar"
- }, null, 8, ["src"])) : (openBlock(), createBlock("div", { key: 1 }, [
- createVNode(unref(ElIcon), { class: "avatar-uploader-icon" }, {
- default: withCtx(() => [
- createVNode(unref(Plus)),
- createVNode("div", { class: "chooseImgDiv" }, "\u9009\u62E9\u56FE\u7247")
- ]),
- _: 1
- })
- ]))
- ];
- }
- }),
- _: 1
- }, _parent5, _scopeId4));
- } else {
- return [
- createVNode(unref(ElUpload), {
- class: "avatar-uploader",
- action: "#",
- "show-file-list": false,
- "on-success": handleAvatarSuccess,
- "before-upload": beforeAvatarUpload
- }, {
- default: withCtx(() => [
- imageUrl.value ? (openBlock(), createBlock("img", {
- key: 0,
- src: imageUrl.value,
- class: "avatar"
- }, null, 8, ["src"])) : (openBlock(), createBlock("div", { key: 1 }, [
- createVNode(unref(ElIcon), { class: "avatar-uploader-icon" }, {
- default: withCtx(() => [
- createVNode(unref(Plus)),
- createVNode("div", { class: "chooseImgDiv" }, "\u9009\u62E9\u56FE\u7247")
- ]),
- _: 1
- })
- ]))
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u540D\u79F0:",
- prop: "adName"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adName,
- "onUpdate:modelValue": ($event) => ruleForm.adName = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u94FE\u63A5:",
- prop: "adLink"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adLink,
- "onUpdate:modelValue": ($event) => ruleForm.adLink = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u6301\u7EED\u65F6\u95F4:",
- required: ""
- }, {
- default: withCtx(() => [
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "startTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), {
- class: "text-center",
- span: 2
- }, {
- default: withCtx(() => [
- createVNode("span", { class: "text-gray-500" }, "\u81F3")
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "endTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u5C3A\u5BF8:",
- prop: "adSize"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElRadioGroup), {
- modelValue: ruleForm.adSize,
- "onUpdate:modelValue": ($event) => ruleForm.adSize = $event
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(options), (item) => {
- return openBlock(), createBlock(unref(ElRadio), {
- value: item.id,
- key: item.id
- }, {
- default: withCtx(() => [
- createTextVNode(toDisplayString(item.size), 1)
- ]),
- _: 2
- }, 1032, ["value"]);
- }), 128))
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u56FE:",
- prop: "adImg"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElUpload), {
- class: "avatar-uploader",
- action: "#",
- "show-file-list": false,
- "on-success": handleAvatarSuccess,
- "before-upload": beforeAvatarUpload
- }, {
- default: withCtx(() => [
- imageUrl.value ? (openBlock(), createBlock("img", {
- key: 0,
- src: imageUrl.value,
- class: "avatar"
- }, null, 8, ["src"])) : (openBlock(), createBlock("div", { key: 1 }, [
- createVNode(unref(ElIcon), { class: "avatar-uploader-icon" }, {
- default: withCtx(() => [
- createVNode(unref(Plus)),
- createVNode("div", { class: "chooseImgDiv" }, "\u9009\u62E9\u56FE\u7247")
- ]),
- _: 1
- })
- ]))
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</div>`);
- } else {
- _push3(`<!---->`);
- }
- if (unref(ad) == 2) {
- _push3(`<div class="textTwo" data-v-98f1a0ac${_scopeId2}><div class="inner" data-v-98f1a0ac${_scopeId2}><div class="pageTop" data-v-98f1a0ac${_scopeId2}><div class="left" data-v-98f1a0ac${_scopeId2}> \u7F51\u7AD9\uFF1A `);
- _push3(ssrRenderComponent(unref(ElSelect), {
- modelValue: unref(adWeb),
- "onUpdate:modelValue": ($event) => isRef(adWeb) ? adWeb.value = $event : adWeb = $event,
- placeholder: "\u8BF7\u9009\u62E9\u7F51\u7AD9\u540D\u79F0",
- size: "large",
- style: { "width": "244px", "height": "44px" }
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(`<!--[-->`);
- ssrRenderList(unref(adWebList), (item) => {
- _push4(ssrRenderComponent(unref(ElOption), {
- key: item.id,
- label: item.website_name,
- value: item.id,
- onClick: ($event) => unref(chooseweb)(item.id)
- }, null, _parent4, _scopeId3));
- });
- _push4(`<!--]-->`);
- } else {
- return [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(adWebList), (item) => {
- return openBlock(), createBlock(unref(ElOption), {
- key: item.id,
- label: item.website_name,
- value: item.id,
- onClick: ($event) => unref(chooseweb)(item.id)
- }, null, 8, ["label", "value", "onClick"]);
- }), 128))
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`<a data-v-98f1a0ac${_scopeId2}>\u67E5\u770B\u793A\u610F\u56FE</a></div><div class="right" data-v-98f1a0ac${_scopeId2}><button class="reset" data-v-98f1a0ac${_scopeId2}>\u91CD\u7F6E</button><button class="search" data-v-98f1a0ac${_scopeId2}>\u641C\u7D22</button></div></div>`);
- _push3(ssrRenderComponent(unref(ElDialog), {
- modelValue: unref(dialogTableVisible),
- "onUpdate:modelValue": ($event) => isRef(dialogTableVisible) ? dialogTableVisible.value = $event : dialogTableVisible = $event,
- "show-close": false,
- width: "60%",
- "close-on-click-modal": false
- }, {
- header: withCtx(({ close, titleId, titleClass }, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(`<div class="my-header" data-v-98f1a0ac${_scopeId3}><h4${ssrRenderAttr("id", titleId)} class="${ssrRenderClass([titleClass, "left"])}" data-v-98f1a0ac${_scopeId3}>\u793A\u610F\u56FE\u7C7B\u578B</h4>`);
- _push4(ssrRenderComponent(unref(ElButton), {
- type: "danger",
- onClick: close,
- class: "right"
- }, {
- default: withCtx((_3, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElIcon), { class: "el-icon--left" }, {
- default: withCtx((_4, _push6, _parent6, _scopeId5) => {
- if (_push6) {
- _push6(ssrRenderComponent(unref(CircleCloseFilled), null, null, _parent6, _scopeId5));
- } else {
- return [
- createVNode(unref(CircleCloseFilled))
- ];
- }
- }),
- _: 2
- }, _parent5, _scopeId4));
- _push5(` \u5173\u95ED `);
- } else {
- return [
- createVNode(unref(ElIcon), { class: "el-icon--left" }, {
- default: withCtx(() => [
- createVNode(unref(CircleCloseFilled))
- ]),
- _: 1
- }),
- createTextVNode(" \u5173\u95ED ")
- ];
- }
- }),
- _: 2
- }, _parent4, _scopeId3));
- _push4(`</div>`);
- } else {
- return [
- createVNode("div", { class: "my-header" }, [
- createVNode("h4", {
- id: titleId,
- class: [titleClass, "left"]
- }, "\u793A\u610F\u56FE\u7C7B\u578B", 10, ["id"]),
- createVNode(unref(ElButton), {
- type: "danger",
- onClick: close,
- class: "right"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElIcon), { class: "el-icon--left" }, {
- default: withCtx(() => [
- createVNode(unref(CircleCloseFilled))
- ]),
- _: 1
- }),
- createTextVNode(" \u5173\u95ED ")
- ]),
- _: 2
- }, 1032, ["onClick"])
- ])
- ];
- }
- }),
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(`<ul class="graph" data-v-98f1a0ac${_scopeId3}><li data-v-98f1a0ac${_scopeId3}><span data-v-98f1a0ac${_scopeId3}>\u5E7F\u544A\u5C3A\u5BF8\u56FEA: 1200x90</span><img${ssrRenderAttr("src", _imports_1)} alt="" data-v-98f1a0ac${_scopeId3}></li><li data-v-98f1a0ac${_scopeId3}><span data-v-98f1a0ac${_scopeId3}>\u5E7F\u544A\u5C3A\u5BF8\u56FEB: 600x150</span><img${ssrRenderAttr("src", _imports_2)} alt="" data-v-98f1a0ac${_scopeId3}></li><li data-v-98f1a0ac${_scopeId3}><span data-v-98f1a0ac${_scopeId3}>\u5E7F\u544A\u5C3A\u5BF8\u56FEC: 300x150</span><img${ssrRenderAttr("src", _imports_3)} alt="" data-v-98f1a0ac${_scopeId3}></li></ul>`);
- } else {
- return [
- createVNode("ul", { class: "graph" }, [
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEA: 1200x90"),
- createVNode("img", {
- src: _imports_1,
- alt: ""
- })
- ]),
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEB: 600x150"),
- createVNode("img", {
- src: _imports_2,
- alt: ""
- })
- ]),
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEC: 300x150"),
- createVNode("img", {
- src: _imports_3,
- alt: ""
- })
- ])
- ])
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`<div class="pageTable" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElTable), {
- data: unref(tableData),
- border: "",
- ref_key: "multipleTable",
- ref: multipleTable,
- onSelectionChange: unref(handleSelectionChange),
- style: { "width": "100%" },
- "header-row-style": { height: "60px" },
- "row-style": { height: "74px" },
- "header-cell-style": { backgroundColor: "#fafafa", color: "#666" }
- }, {
- default: withCtx((_3, _push4, _parent4, _scopeId3) => {
- if (_push4) {
- _push4(ssrRenderComponent(unref(ElTableColumn), {
- width: "152",
- align: "center"
- }, {
- default: withCtx(({ row }, _push5, _parent5, _scopeId4) => {
- if (_push5) {
- _push5(ssrRenderComponent(unref(ElCheckbox), {
- modelValue: row.selected,
- "onUpdate:modelValue": ($event) => row.selected = $event,
- onChange: ($event) => unref(toggleRowSelection)(row)
- }, null, _parent5, _scopeId4));
- } else {
- return [
- createVNode(unref(ElCheckbox), {
- modelValue: row.selected,
- "onUpdate:modelValue": ($event) => row.selected = $event,
- onChange: ($event) => unref(toggleRowSelection)(row)
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
- ];
- }
- }),
- _: 1
- }, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u7AD9",
- width: "240"
- }, null, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElTableColumn), {
- prop: "name",
- label: "\u5E7F\u544A\u4F4D\u540D\u79F0",
- width: "240"
- }, null, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElTableColumn), {
- prop: "size",
- label: "\u5E7F\u544A\u5C3A\u5BF8",
- width: "268"
- }, null, _parent4, _scopeId3));
- _push4(ssrRenderComponent(unref(ElTableColumn), {
- prop: "price",
- label: "\u91D1\u989D (\u5143) / \u5929"
- }, null, _parent4, _scopeId3));
- } else {
- return [
- createVNode(unref(ElTableColumn), {
- width: "152",
- align: "center"
- }, {
- default: withCtx(({ row }) => [
- createVNode(unref(ElCheckbox), {
- modelValue: row.selected,
- "onUpdate:modelValue": ($event) => row.selected = $event,
- onChange: ($event) => unref(toggleRowSelection)(row)
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
- ]),
- _: 1
- }),
- createVNode(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u7AD9",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "name",
- label: "\u5E7F\u544A\u4F4D\u540D\u79F0",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "size",
- label: "\u5E7F\u544A\u5C3A\u5BF8",
- width: "268"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "price",
- label: "\u91D1\u989D (\u5143) / \u5929"
- })
- ];
- }
- }),
- _: 1
- }, _parent3, _scopeId2));
- _push3(`</div><div class="pagination" data-v-98f1a0ac${_scopeId2}>`);
- _push3(ssrRenderComponent(unref(ElPagination), {
- background: "",
- layout: "prev, pager, next",
- total: unref(total),
- "prev-text": "\u4E0A\u4E00\u9875",
- "next-text": "\u4E0B\u4E00\u9875",
- "default-page-size": unref(pageSize),
- "current-page": unref(page),
- "onUpdate:currentPage": ($event) => isRef(page) ? page.value = $event : page = $event,
- onChange: changePage
- }, null, _parent3, _scopeId2));
- _push3(`</div></div></div>`);
- } else {
- _push3(`<!---->`);
- }
- if (unref(ad) == 3) {
- _push3(`<div class="submit" data-v-98f1a0ac${_scopeId2}><div class="inner" data-v-98f1a0ac${_scopeId2}><h1 data-v-98f1a0ac${_scopeId2}>\u5E7F\u544A\u4FE1\u606F\u5DF2\u63D0\u4EA4\u6210\u529F\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838......</h1><p data-v-98f1a0ac${_scopeId2}> \u5DE5\u5355\u7F16\u53F7: <span data-v-98f1a0ac${_scopeId2}>${ssrInterpolate(unref(orderInformation))}</span></p><div class="btn" data-v-98f1a0ac${_scopeId2}><button class="check" data-v-98f1a0ac${_scopeId2}>\u67E5\u770B\u5DE5\u5355</button><button class="apply" data-v-98f1a0ac${_scopeId2}>\u518D\u6B21\u7533\u8BF7</button></div><span data-v-98f1a0ac${_scopeId2}>\u5982\u6709\u7591\u95EE\uFF0C\u53EF\u8054\u7CFB\u5BA2\u670D\u4EBA\u5458\u3002</span></div></div>`);
- } else {
- _push3(`<!---->`);
- }
- _push3(`</div></div></div>`);
- } else {
- return [
- createVNode("div", { id: "buyAd" }, [
- createVNode("div", { class: "buyAD" }, [
- createVNode("div", { class: "inner" }, [
- unref(ad) == 1 ? (openBlock(), createBlock("div", {
- key: 0,
- class: "tabTitle"
- }, [
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "number" }, "1"),
- createTextVNode(" \u586B\u5199\u5E7F\u544A\u4FE1\u606F ")
- ]),
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "icon" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number" }, "2"),
- createTextVNode(" \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 ")
- ]),
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "icon" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number" }, "3"),
- createTextVNode(" \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F ")
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 2 ? (openBlock(), createBlock("div", {
- key: 1,
- class: "tabTitle"
- }, [
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "number" }, "1"),
- createTextVNode(" \u586B\u5199\u5E7F\u544A\u4FE1\u606F ")
- ]),
- createVNode("span", { class: "title color" }, [
- createVNode("span", { class: "icon color" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number bgc" }, "2"),
- createTextVNode(" \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 ")
- ]),
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "icon" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number" }, "3"),
- createTextVNode(" \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F ")
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 3 ? (openBlock(), createBlock("div", {
- key: 2,
- class: "tabTitle"
- }, [
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "number" }, "1"),
- createTextVNode(" \u586B\u5199\u5E7F\u544A\u4FE1\u606F ")
- ]),
- createVNode("span", { class: "title color" }, [
- createVNode("span", { class: "icon color" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number bgc" }, "2"),
- createTextVNode(" \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 ")
- ]),
- createVNode("span", { class: "title color" }, [
- createVNode("span", { class: "icon color" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number bgc" }, "3"),
- createTextVNode(" \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F ")
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 1 ? (openBlock(), createBlock("div", {
- key: 3,
- class: "textOne"
- }, [
- createVNode(unref(ElForm), {
- ref_key: "ruleFormRef",
- ref: ruleFormRef,
- model: ruleForm,
- rules,
- "label-width": "120",
- class: "demo-ruleForm",
- size: formSize.value,
- "status-icon": ""
- }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u540D\u79F0:",
- prop: "adName"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adName,
- "onUpdate:modelValue": ($event) => ruleForm.adName = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u94FE\u63A5:",
- prop: "adLink"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adLink,
- "onUpdate:modelValue": ($event) => ruleForm.adLink = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u6301\u7EED\u65F6\u95F4:",
- required: ""
- }, {
- default: withCtx(() => [
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "startTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), {
- class: "text-center",
- span: 2
- }, {
- default: withCtx(() => [
- createVNode("span", { class: "text-gray-500" }, "\u81F3")
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "endTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u5C3A\u5BF8:",
- prop: "adSize"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElRadioGroup), {
- modelValue: ruleForm.adSize,
- "onUpdate:modelValue": ($event) => ruleForm.adSize = $event
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(options), (item) => {
- return openBlock(), createBlock(unref(ElRadio), {
- value: item.id,
- key: item.id
- }, {
- default: withCtx(() => [
- createTextVNode(toDisplayString(item.size), 1)
- ]),
- _: 2
- }, 1032, ["value"]);
- }), 128))
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u56FE:",
- prop: "adImg"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElUpload), {
- class: "avatar-uploader",
- action: "#",
- "show-file-list": false,
- "on-success": handleAvatarSuccess,
- "before-upload": beforeAvatarUpload
- }, {
- default: withCtx(() => [
- imageUrl.value ? (openBlock(), createBlock("img", {
- key: 0,
- src: imageUrl.value,
- class: "avatar"
- }, null, 8, ["src"])) : (openBlock(), createBlock("div", { key: 1 }, [
- createVNode(unref(ElIcon), { class: "avatar-uploader-icon" }, {
- default: withCtx(() => [
- createVNode(unref(Plus)),
- createVNode("div", { class: "chooseImgDiv" }, "\u9009\u62E9\u56FE\u7247")
- ]),
- _: 1
- })
- ]))
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- }, 8, ["model", "rules", "size"])
- ])) : createCommentVNode("", true),
- unref(ad) == 2 ? (openBlock(), createBlock("div", {
- key: 4,
- class: "textTwo"
- }, [
- createVNode("div", { class: "inner" }, [
- createVNode("div", { class: "pageTop" }, [
- createVNode("div", { class: "left" }, [
- createTextVNode(" \u7F51\u7AD9\uFF1A "),
- createVNode(unref(ElSelect), {
- modelValue: unref(adWeb),
- "onUpdate:modelValue": ($event) => isRef(adWeb) ? adWeb.value = $event : adWeb = $event,
- placeholder: "\u8BF7\u9009\u62E9\u7F51\u7AD9\u540D\u79F0",
- size: "large",
- style: { "width": "244px", "height": "44px" }
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(adWebList), (item) => {
- return openBlock(), createBlock(unref(ElOption), {
- key: item.id,
- label: item.website_name,
- value: item.id,
- onClick: ($event) => unref(chooseweb)(item.id)
- }, null, 8, ["label", "value", "onClick"]);
- }), 128))
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"]),
- createVNode("a", { onClick: unref(goPhoto) }, "\u67E5\u770B\u793A\u610F\u56FE", 8, ["onClick"])
- ]),
- createVNode("div", { class: "right" }, [
- createVNode("button", {
- class: "reset",
- onClick: unref(goReset)
- }, "\u91CD\u7F6E", 8, ["onClick"]),
- createVNode("button", {
- class: "search",
- onClick: unref(goSearch)
- }, "\u641C\u7D22", 8, ["onClick"])
- ])
- ]),
- createVNode(unref(ElDialog), {
- modelValue: unref(dialogTableVisible),
- "onUpdate:modelValue": ($event) => isRef(dialogTableVisible) ? dialogTableVisible.value = $event : dialogTableVisible = $event,
- "show-close": false,
- width: "60%",
- "close-on-click-modal": false
- }, {
- header: withCtx(({ close, titleId, titleClass }) => [
- createVNode("div", { class: "my-header" }, [
- createVNode("h4", {
- id: titleId,
- class: [titleClass, "left"]
- }, "\u793A\u610F\u56FE\u7C7B\u578B", 10, ["id"]),
- createVNode(unref(ElButton), {
- type: "danger",
- onClick: close,
- class: "right"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElIcon), { class: "el-icon--left" }, {
- default: withCtx(() => [
- createVNode(unref(CircleCloseFilled))
- ]),
- _: 1
- }),
- createTextVNode(" \u5173\u95ED ")
- ]),
- _: 2
- }, 1032, ["onClick"])
- ])
- ]),
- default: withCtx(() => [
- createVNode("ul", { class: "graph" }, [
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEA: 1200x90"),
- createVNode("img", {
- src: _imports_1,
- alt: ""
- })
- ]),
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEB: 600x150"),
- createVNode("img", {
- src: _imports_2,
- alt: ""
- })
- ]),
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEC: 300x150"),
- createVNode("img", {
- src: _imports_3,
- alt: ""
- })
- ])
- ])
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"]),
- createVNode("div", { class: "pageTable" }, [
- createVNode(unref(ElTable), {
- data: unref(tableData),
- border: "",
- ref_key: "multipleTable",
- ref: multipleTable,
- onSelectionChange: unref(handleSelectionChange),
- style: { "width": "100%" },
- "header-row-style": { height: "60px" },
- "row-style": { height: "74px" },
- "header-cell-style": { backgroundColor: "#fafafa", color: "#666" }
- }, {
- default: withCtx(() => [
- createVNode(unref(ElTableColumn), {
- width: "152",
- align: "center"
- }, {
- default: withCtx(({ row }) => [
- createVNode(unref(ElCheckbox), {
- modelValue: row.selected,
- "onUpdate:modelValue": ($event) => row.selected = $event,
- onChange: ($event) => unref(toggleRowSelection)(row)
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
- ]),
- _: 1
- }),
- createVNode(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u7AD9",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "name",
- label: "\u5E7F\u544A\u4F4D\u540D\u79F0",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "size",
- label: "\u5E7F\u544A\u5C3A\u5BF8",
- width: "268"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "price",
- label: "\u91D1\u989D (\u5143) / \u5929"
- })
- ]),
- _: 1
- }, 8, ["data", "onSelectionChange"])
- ]),
- createVNode("div", { class: "pagination" }, [
- createVNode(unref(ElPagination), {
- background: "",
- layout: "prev, pager, next",
- total: unref(total),
- "prev-text": "\u4E0A\u4E00\u9875",
- "next-text": "\u4E0B\u4E00\u9875",
- "default-page-size": unref(pageSize),
- "current-page": unref(page),
- "onUpdate:currentPage": ($event) => isRef(page) ? page.value = $event : page = $event,
- onChange: changePage
- }, null, 8, ["total", "default-page-size", "current-page", "onUpdate:currentPage"])
- ])
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 3 ? (openBlock(), createBlock("div", {
- key: 5,
- class: "submit"
- }, [
- createVNode("div", { class: "inner" }, [
- createVNode("h1", null, "\u5E7F\u544A\u4FE1\u606F\u5DF2\u63D0\u4EA4\u6210\u529F\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838......"),
- createVNode("p", null, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(unref(orderInformation)), 1)
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- class: "check",
- onClick: unref(lookOrder)
- }, "\u67E5\u770B\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- class: "apply",
- onClick: unref(reapply)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"])
- ]),
- createVNode("span", null, "\u5982\u6709\u7591\u95EE\uFF0C\u53EF\u8054\u7CFB\u5BA2\u670D\u4EBA\u5458\u3002")
- ])
- ])) : createCommentVNode("", true)
- ])
- ])
- ])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- _push2(ssrRenderComponent(unref(ElTabPane), {
- label: "\u5DE5\u5355\u5217\u8868",
- name: "2"
- }, {
- default: withCtx((_2, _push3, _parent3, _scopeId2) => {
- if (_push3) {
- _push3(ssrRenderComponent(_component_AdvertisingOrderList, { onChildData: unref(handleChildData) }, null, _parent3, _scopeId2));
- } else {
- return [
- createVNode(_component_AdvertisingOrderList, { onChildData: unref(handleChildData) }, null, 8, ["onChildData"])
- ];
- }
- }),
- _: 1
- }, _parent2, _scopeId));
- } else {
- return [
- createVNode(unref(ElTabPane), {
- label: "\u5E7F\u544A\u8D2D\u4E70",
- name: "1",
- onClick: unref(goBuyAd)
- }, {
- default: withCtx(() => [
- createVNode("div", { id: "buyAd" }, [
- createVNode("div", { class: "buyAD" }, [
- createVNode("div", { class: "inner" }, [
- unref(ad) == 1 ? (openBlock(), createBlock("div", {
- key: 0,
- class: "tabTitle"
- }, [
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "number" }, "1"),
- createTextVNode(" \u586B\u5199\u5E7F\u544A\u4FE1\u606F ")
- ]),
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "icon" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number" }, "2"),
- createTextVNode(" \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 ")
- ]),
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "icon" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number" }, "3"),
- createTextVNode(" \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F ")
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 2 ? (openBlock(), createBlock("div", {
- key: 1,
- class: "tabTitle"
- }, [
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "number" }, "1"),
- createTextVNode(" \u586B\u5199\u5E7F\u544A\u4FE1\u606F ")
- ]),
- createVNode("span", { class: "title color" }, [
- createVNode("span", { class: "icon color" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number bgc" }, "2"),
- createTextVNode(" \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 ")
- ]),
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "icon" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number" }, "3"),
- createTextVNode(" \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F ")
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 3 ? (openBlock(), createBlock("div", {
- key: 2,
- class: "tabTitle"
- }, [
- createVNode("span", { class: "title" }, [
- createVNode("span", { class: "number" }, "1"),
- createTextVNode(" \u586B\u5199\u5E7F\u544A\u4FE1\u606F ")
- ]),
- createVNode("span", { class: "title color" }, [
- createVNode("span", { class: "icon color" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number bgc" }, "2"),
- createTextVNode(" \u9009\u62E9\u76F8\u5E94\u7F51\u7AD9 ")
- ]),
- createVNode("span", { class: "title color" }, [
- createVNode("span", { class: "icon color" }, [
- createVNode(unref(ElIcon), null, {
- default: withCtx(() => [
- createVNode(unref(DArrowRight))
- ]),
- _: 1
- })
- ]),
- createVNode("span", { class: "number bgc" }, "3"),
- createTextVNode(" \u63D0\u4EA4\u5DE5\u5355\u4FE1\u606F ")
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 1 ? (openBlock(), createBlock("div", {
- key: 3,
- class: "textOne"
- }, [
- createVNode(unref(ElForm), {
- ref_key: "ruleFormRef",
- ref: ruleFormRef,
- model: ruleForm,
- rules,
- "label-width": "120",
- class: "demo-ruleForm",
- size: formSize.value,
- "status-icon": ""
- }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u540D\u79F0:",
- prop: "adName"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adName,
- "onUpdate:modelValue": ($event) => ruleForm.adName = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u540D\u79F0"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u94FE\u63A5:",
- prop: "adLink"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElInput), {
- modelValue: ruleForm.adLink,
- "onUpdate:modelValue": ($event) => ruleForm.adLink = $event,
- placeholder: "\u8BF7\u8F93\u5165\u5E7F\u544A\u94FE\u63A5"
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u6301\u7EED\u65F6\u95F4:",
- required: ""
- }, {
- default: withCtx(() => [
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "startTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.startTime,
- "onUpdate:modelValue": ($event) => ruleForm.startTime = $event,
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4",
- onChange: unref(changeStartTime),
- "disabled-date": unref(disabledStartTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), {
- class: "text-center",
- span: 2
- }, {
- default: withCtx(() => [
- createVNode("span", { class: "text-gray-500" }, "\u81F3")
- ]),
- _: 1
- }),
- createVNode(unref(ElCol), { span: 11 }, {
- default: withCtx(() => [
- createVNode(unref(ElFormItem), { prop: "endTime" }, {
- default: withCtx(() => [
- createVNode(unref(ElDatePicker), {
- modelValue: ruleForm.endTime,
- "onUpdate:modelValue": ($event) => ruleForm.endTime = $event,
- "unlink-panels": "",
- type: "date",
- placeholder: "\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4",
- onChange: unref(changeEndTime),
- "disabled-date": unref(disabledEndTime),
- style: { "width": "100%" }
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange", "disabled-date"])
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u5C3A\u5BF8:",
- prop: "adSize"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElRadioGroup), {
- modelValue: ruleForm.adSize,
- "onUpdate:modelValue": ($event) => ruleForm.adSize = $event
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(options), (item) => {
- return openBlock(), createBlock(unref(ElRadio), {
- value: item.id,
- key: item.id
- }, {
- default: withCtx(() => [
- createTextVNode(toDisplayString(item.size), 1)
- ]),
- _: 2
- }, 1032, ["value"]);
- }), 128))
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"])
- ]),
- _: 1
- }),
- createVNode(unref(ElFormItem), {
- label: "\u5E7F\u544A\u56FE:",
- prop: "adImg"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElUpload), {
- class: "avatar-uploader",
- action: "#",
- "show-file-list": false,
- "on-success": handleAvatarSuccess,
- "before-upload": beforeAvatarUpload
- }, {
- default: withCtx(() => [
- imageUrl.value ? (openBlock(), createBlock("img", {
- key: 0,
- src: imageUrl.value,
- class: "avatar"
- }, null, 8, ["src"])) : (openBlock(), createBlock("div", { key: 1 }, [
- createVNode(unref(ElIcon), { class: "avatar-uploader-icon" }, {
- default: withCtx(() => [
- createVNode(unref(Plus)),
- createVNode("div", { class: "chooseImgDiv" }, "\u9009\u62E9\u56FE\u7247")
- ]),
- _: 1
- })
- ]))
- ]),
- _: 1
- })
- ]),
- _: 1
- })
- ]),
- _: 1
- }, 8, ["model", "rules", "size"])
- ])) : createCommentVNode("", true),
- unref(ad) == 2 ? (openBlock(), createBlock("div", {
- key: 4,
- class: "textTwo"
- }, [
- createVNode("div", { class: "inner" }, [
- createVNode("div", { class: "pageTop" }, [
- createVNode("div", { class: "left" }, [
- createTextVNode(" \u7F51\u7AD9\uFF1A "),
- createVNode(unref(ElSelect), {
- modelValue: unref(adWeb),
- "onUpdate:modelValue": ($event) => isRef(adWeb) ? adWeb.value = $event : adWeb = $event,
- placeholder: "\u8BF7\u9009\u62E9\u7F51\u7AD9\u540D\u79F0",
- size: "large",
- style: { "width": "244px", "height": "44px" }
- }, {
- default: withCtx(() => [
- (openBlock(true), createBlock(Fragment, null, renderList(unref(adWebList), (item) => {
- return openBlock(), createBlock(unref(ElOption), {
- key: item.id,
- label: item.website_name,
- value: item.id,
- onClick: ($event) => unref(chooseweb)(item.id)
- }, null, 8, ["label", "value", "onClick"]);
- }), 128))
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"]),
- createVNode("a", { onClick: unref(goPhoto) }, "\u67E5\u770B\u793A\u610F\u56FE", 8, ["onClick"])
- ]),
- createVNode("div", { class: "right" }, [
- createVNode("button", {
- class: "reset",
- onClick: unref(goReset)
- }, "\u91CD\u7F6E", 8, ["onClick"]),
- createVNode("button", {
- class: "search",
- onClick: unref(goSearch)
- }, "\u641C\u7D22", 8, ["onClick"])
- ])
- ]),
- createVNode(unref(ElDialog), {
- modelValue: unref(dialogTableVisible),
- "onUpdate:modelValue": ($event) => isRef(dialogTableVisible) ? dialogTableVisible.value = $event : dialogTableVisible = $event,
- "show-close": false,
- width: "60%",
- "close-on-click-modal": false
- }, {
- header: withCtx(({ close, titleId, titleClass }) => [
- createVNode("div", { class: "my-header" }, [
- createVNode("h4", {
- id: titleId,
- class: [titleClass, "left"]
- }, "\u793A\u610F\u56FE\u7C7B\u578B", 10, ["id"]),
- createVNode(unref(ElButton), {
- type: "danger",
- onClick: close,
- class: "right"
- }, {
- default: withCtx(() => [
- createVNode(unref(ElIcon), { class: "el-icon--left" }, {
- default: withCtx(() => [
- createVNode(unref(CircleCloseFilled))
- ]),
- _: 1
- }),
- createTextVNode(" \u5173\u95ED ")
- ]),
- _: 2
- }, 1032, ["onClick"])
- ])
- ]),
- default: withCtx(() => [
- createVNode("ul", { class: "graph" }, [
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEA: 1200x90"),
- createVNode("img", {
- src: _imports_1,
- alt: ""
- })
- ]),
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEB: 600x150"),
- createVNode("img", {
- src: _imports_2,
- alt: ""
- })
- ]),
- createVNode("li", null, [
- createVNode("span", null, "\u5E7F\u544A\u5C3A\u5BF8\u56FEC: 300x150"),
- createVNode("img", {
- src: _imports_3,
- alt: ""
- })
- ])
- ])
- ]),
- _: 1
- }, 8, ["modelValue", "onUpdate:modelValue"]),
- createVNode("div", { class: "pageTable" }, [
- createVNode(unref(ElTable), {
- data: unref(tableData),
- border: "",
- ref_key: "multipleTable",
- ref: multipleTable,
- onSelectionChange: unref(handleSelectionChange),
- style: { "width": "100%" },
- "header-row-style": { height: "60px" },
- "row-style": { height: "74px" },
- "header-cell-style": { backgroundColor: "#fafafa", color: "#666" }
- }, {
- default: withCtx(() => [
- createVNode(unref(ElTableColumn), {
- width: "152",
- align: "center"
- }, {
- default: withCtx(({ row }) => [
- createVNode(unref(ElCheckbox), {
- modelValue: row.selected,
- "onUpdate:modelValue": ($event) => row.selected = $event,
- onChange: ($event) => unref(toggleRowSelection)(row)
- }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])
- ]),
- _: 1
- }),
- createVNode(unref(ElTableColumn), {
- prop: "website_name",
- label: "\u7F51\u7AD9",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "name",
- label: "\u5E7F\u544A\u4F4D\u540D\u79F0",
- width: "240"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "size",
- label: "\u5E7F\u544A\u5C3A\u5BF8",
- width: "268"
- }),
- createVNode(unref(ElTableColumn), {
- prop: "price",
- label: "\u91D1\u989D (\u5143) / \u5929"
- })
- ]),
- _: 1
- }, 8, ["data", "onSelectionChange"])
- ]),
- createVNode("div", { class: "pagination" }, [
- createVNode(unref(ElPagination), {
- background: "",
- layout: "prev, pager, next",
- total: unref(total),
- "prev-text": "\u4E0A\u4E00\u9875",
- "next-text": "\u4E0B\u4E00\u9875",
- "default-page-size": unref(pageSize),
- "current-page": unref(page),
- "onUpdate:currentPage": ($event) => isRef(page) ? page.value = $event : page = $event,
- onChange: changePage
- }, null, 8, ["total", "default-page-size", "current-page", "onUpdate:currentPage"])
- ])
- ])
- ])) : createCommentVNode("", true),
- unref(ad) == 3 ? (openBlock(), createBlock("div", {
- key: 5,
- class: "submit"
- }, [
- createVNode("div", { class: "inner" }, [
- createVNode("h1", null, "\u5E7F\u544A\u4FE1\u606F\u5DF2\u63D0\u4EA4\u6210\u529F\uFF0C\u8BF7\u7B49\u5F85\u5BA1\u6838......"),
- createVNode("p", null, [
- createTextVNode(" \u5DE5\u5355\u7F16\u53F7: "),
- createVNode("span", null, toDisplayString(unref(orderInformation)), 1)
- ]),
- createVNode("div", { class: "btn" }, [
- createVNode("button", {
- class: "check",
- onClick: unref(lookOrder)
- }, "\u67E5\u770B\u5DE5\u5355", 8, ["onClick"]),
- createVNode("button", {
- class: "apply",
- onClick: unref(reapply)
- }, "\u518D\u6B21\u7533\u8BF7", 8, ["onClick"])
- ]),
- createVNode("span", null, "\u5982\u6709\u7591\u95EE\uFF0C\u53EF\u8054\u7CFB\u5BA2\u670D\u4EBA\u5458\u3002")
- ])
- ])) : createCommentVNode("", true)
- ])
- ])
- ])
- ]),
- _: 1
- }, 8, ["onClick"]),
- createVNode(unref(ElTabPane), {
- label: "\u5DE5\u5355\u5217\u8868",
- name: "2"
- }, {
- default: withCtx(() => [
- createVNode(_component_AdvertisingOrderList, { onChildData: unref(handleChildData) }, null, 8, ["onChildData"])
- ]),
- _: 1
- })
- ];
- }
- }),
- _: 1
- }, _parent));
- _push(`</div>`);
- if (unref(ad) != 3 && unref(activeName) == "1") {
- _push(`<div class="bottom" data-v-98f1a0ac><div class="inner" data-v-98f1a0ac>`);
- if (unref(ad) == 2) {
- _push(`<div class="amount" data-v-98f1a0ac> \u603B\u91D1\u989D: <span data-v-98f1a0ac>${ssrInterpolate(unref(priceTotal) == "" ? 0 : unref(priceTotal))}</span> \u5143 </div>`);
- } else {
- _push(`<!---->`);
- }
- _push(`<div class="btn" data-v-98f1a0ac>`);
- if (unref(ad) == 2) {
- _push(`<button class="btn1" data-v-98f1a0ac>\u4E0A\u4E00\u6B65</button>`);
- } else {
- _push(`<!---->`);
- }
- if (unref(ad) == 1) {
- _push(`<button class="btn2" data-v-98f1a0ac>\u4E0B\u4E00\u6B65</button>`);
- } else {
- _push(`<!---->`);
- }
- if (unref(ad) == 2) {
- _push(`<button class="btn2" data-v-98f1a0ac> \u63D0\u4EA4\u5DE5\u5355</button>`);
- } else {
- _push(`<!---->`);
- }
- _push(`</div></div></div>`);
- } else {
- _push(`<!---->`);
- }
- _push(`</div>`);
- _push(ssrRenderComponent(_component_AdvertisingFoot, null, null, _parent));
- _push(`</div>`);
- };
- }
- };
- const _sfc_setup = _sfc_main.setup;
- _sfc_main.setup = (props, ctx) => {
- const ssrContext = useSSRContext();
- (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/advertising/index.vue");
- return _sfc_setup ? _sfc_setup(props, ctx) : undefined;
- };
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-98f1a0ac"]]);
- export { index as default };
- //# sourceMappingURL=index-CdSLpijn.mjs.map
|