preview.vue 250KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960
  1. <template>
  2. <div class="main-contain">
  3. <div class="position">
  4. <bread-crumb :crumbs='crumbs'></bread-crumb>
  5. </div>
  6. <div class="app-container">
  7. <!-- 新增 -->
  8. <el-row :gutter="24">
  9. <el-col :span="6">
  10. <el-tabs type="border-card" style="width:100%" @tab-click="handleClick" v-model="activeNameOne">
  11. <el-tab-pane label="首页" name="index">
  12. <!-- <span slot="label" @click="myindex()">首页</span> -->
  13. <el-tabs v-model="activeName" @tab-click = "handleClickTwo">
  14. <el-tab-pane label="新增模块" name="first">
  15. <new-feature v-on:getHospitaldata='getHospitaldata'></new-feature>
  16. </el-tab-pane>
  17. <el-tab-pane label="已使用" name="used">
  18. <!-- <span slot="label" name="second" @click="clickAddmodel()">已使用</span> -->
  19. <div class="used" v-for="(item,index) in this.modelform" :key="item.id">
  20. <ul>
  21. <li>
  22. <span class="name">{{item.title}}</span>
  23. <span>
  24. <i class="el-icon-edit-outline" @click="editModelByID(item.id,item.mode_type,index)"></i>
  25. <i class="el-icon-delete" @click="deleteModleById(item.id,index);deletelinkaddress()"></i>
  26. </span>
  27. </li>
  28. </ul>
  29. </div>
  30. </el-tab-pane>
  31. </el-tabs>
  32. </el-tab-pane>
  33. <el-tab-pane label="联系我们" name="contactus">
  34. <!-- <span slot="label" @click="myindextwo()">联系我们</span> -->
  35. <el-tabs v-model="activeNameThree" @tab-click="handleClickThree">
  36. <el-tab-pane label="新增模块" name="three">
  37. <add-contact v-on:getOrderModel='getOrderModel'></add-contact>
  38. </el-tab-pane>
  39. <el-tab-pane label="已使用" name="usedtwo">
  40. <!-- <span slot="label" name="four" @click="clickmodel()">已使用</span> -->
  41. <div class="used" v-for="(item,index) in this.model" :key="item.id">
  42. <ul>
  43. <li>
  44. <span class="name">{{item.title}}</span>
  45. <span>
  46. <i class="el-icon-edit-outline" @click="eidtmodel(item.id,item.mode_type,index)"></i>
  47. <i class="el-icon-delete" @click="deletemodle(item.id,index)"></i>
  48. </span>
  49. </li>
  50. </ul>
  51. </div>
  52. </el-tab-pane>
  53. </el-tabs>
  54. </el-tab-pane>
  55. </el-tabs>
  56. </el-col>
  57. <!-- 编辑医院介绍 -->
  58. <el-dialog
  59. title="编辑医院介绍"
  60. :visible.sync="hosipitalVisible"
  61. width="50%"
  62. center>
  63. <el-form ref="hispitalform" :model="hispitalform" label-width="90px" :rules="rules">
  64. <el-form-item label="模块标题:" required prop="title">
  65. <el-input v-model="hispitalform.title"></el-input>
  66. </el-form-item>
  67. <el-form-item label="排序值:" required prop="sort">
  68. <el-input v-model="hispitalform.sort" type="number"></el-input>
  69. </el-form-item>
  70. <el-form-item label="医院介绍:" required prop="introduction">
  71. <keep-alive v-show="neditorshow">
  72. <neditor ref="neditor"
  73. id="editortwo"
  74. v-bind:r_content="hispitalform.introduction">
  75. </neditor>
  76. </keep-alive>
  77. </el-form-item>
  78. </el-form>
  79. <span slot="footer" class="dialog-footer">
  80. <el-button @click="hosipitalVisible = false">取 消</el-button>
  81. <el-button type="primary" @click="SaveHospital('hispitalform')">确 定</el-button>
  82. </span>
  83. </el-dialog>
  84. <el-dialog
  85. title="新增图片"
  86. :visible.sync="adddialogVisible"
  87. width="50%"
  88. center>
  89. <el-form label-width="90px" ref="addform" :model="addform" :rules="rules">
  90. <el-form-item label="模块标题:" required prop="title">
  91. <el-input v-model="addform.title"></el-input>
  92. </el-form-item>
  93. <el-form-item label="排序值:" required prop="sort">
  94. <el-input v-model="addform.sort" type="number"></el-input>
  95. </el-form-item>
  96. <el-form-item label="添加图片:">
  97. <div class="flex-img">
  98. <div class="el-upload-list el-upload-list--picture-card">
  99. <div class="el-upload-list__item is-success" v-for="(it,index) in this.rotationdatatwo" :key="it.id">
  100. <img class="flex-img__image" :src="it.images">
  101. <label class="el-upload-list__item-status-label">
  102. <i class="el-icon-upload-success el-icon-check"></i>
  103. </label>
  104. <span class="el-upload-list__item-actions">
  105. <span class="el-upload-list__item-delete">
  106. <i class="el-icon-edit-outline" @click="singleVisible = true;editSingleVisible(it.id)"></i>
  107. <i class="el-icon-delete" @click="deleteSingleImages(it.id,it.modeid,index)"></i>
  108. </span>
  109. </span>
  110. </div>
  111. </div>
  112. <div class="addpicrot" @click="editRotationVisible = true" v-show="uploadimageshow">
  113. <div class="addpicones">
  114. <li class="el-icon-plus"></li>
  115. <div class="addpictwos">
  116. <span>新增图片</span>
  117. </div>
  118. </div>
  119. </div>
  120. </div>
  121. <p class="tips">图片已上传{{uploadImages}}张,最多上传9张</p>
  122. </el-form-item>
  123. </el-form>
  124. <span slot="footer" class="dialog-footer">
  125. <el-button @click="adddialogVisible = false">取 消</el-button>
  126. <el-button type="primary" @click="AddRotationVisible('addform')">确 定</el-button>
  127. </span>
  128. </el-dialog>
  129. <el-dialog
  130. title="编辑图片"
  131. :visible.sync="singleVisible"
  132. width="30%"
  133. center>
  134. <el-form ref="singform" :model="singform" label-width="90px" :rules="rules">
  135. <el-form-item label="图片编辑:" required prop="images">
  136. <el-col :span="5">
  137. <el-upload
  138. :data="editcheckdata"
  139. class="avatar-uploader"
  140. action="https://upload.qiniup.com"
  141. :show-file-list="false"
  142. :on-success="singformAvatarSuccess"
  143. :before-upload="singformAvatarUpload">
  144. <img v-if="singform.images" :src="singform.images" class="avatar">
  145. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  146. </el-upload>
  147. </el-col>
  148. </el-form-item>
  149. <el-form-item label="排序值:" required prop="sort">
  150. <el-input v-model="singform.sort" style="width:300px" type="number"></el-input>
  151. </el-form-item>
  152. <div class="tipstwo"><p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p></div>
  153. <el-form-item label="图片链接:" required prop= "piclink">
  154. <el-radio-group v-model="singform.piclink">
  155. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclinktwo(gender.id)" >{{gender.name}}</el-radio>
  156. </el-radio-group>
  157. </el-form-item>
  158. <el-form-item label="链接地址:" v-show="showpiclink">
  159. <el-col :span="15">
  160. <el-input v-model="singform.linkaddress" :disabled="true"></el-input>
  161. </el-col>
  162. <el-col :span="4">
  163. <el-button size="medium" @click="GetLinkAddress(singform.linkid);addressVisible = true">设置链接</el-button>
  164. </el-col>
  165. </el-form-item>
  166. </el-form>
  167. <span slot="footer" class="dialog-footer">
  168. <el-button @click="singleVisible = false">取 消</el-button>
  169. <el-button type="primary" @click="UpdateSingleForm('singform');">确 定</el-button>
  170. </span>
  171. </el-dialog>
  172. <!-- <el-dialog
  173. title="添加图片:"
  174. :visible.sync="addpicdialogVisibletwo"
  175. width="30%"
  176. center>
  177. <el-form>
  178. <el-form-item label="添加图片:">
  179. <el-upload
  180. :data="editcheckdata"
  181. class="avatar-uploader"
  182. action="https://upload.qiniup.com"
  183. :show-file-list="false"
  184. :on-success="singformAvatarSuccess"
  185. :before-upload="singformAvatarUpload">
  186. <img v-if="singform.images" :src="singform.images" class="avatar">
  187. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  188. </el-upload>
  189. </el-form-item>
  190. </el-form>
  191. <span slot="footer" class="dialog-footer">
  192. <el-button @click="addpicdialogVisibletwo = false">取 消</el-button>
  193. <el-button type="primary" @click="addpicdialogVisibletwo = false">确 定</el-button>
  194. </span>
  195. </el-dialog> -->
  196. <!-- 新增编辑轮播图 -->
  197. <el-dialog
  198. title="编辑图片"
  199. :visible.sync="editRotationVisible"
  200. width="30%"
  201. center>
  202. <el-form label-width="90px" ref="editpicform" :model="editpicform" :rules="rules">
  203. <el-form-item label="图片编辑:" required prop="images">
  204. <el-col :span="5">
  205. <el-upload
  206. :data="navigationData"
  207. class="avatar-uploader"
  208. action="https://upload.qiniup.com"
  209. :show-file-list="false"
  210. :on-success="edithandleAvatarSuccess"
  211. :before-upload="editbeforeAvatarUpload">
  212. <img v-if="editpicform.images" :src="editpicform.images" class="avatar">
  213. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  214. </el-upload>
  215. <!-- <div class="addrot" @click="addpicdialogVisible = true">
  216. <div class="addrotone">
  217. <i class="el-icon-plus"></i>
  218. </div>
  219. <div class="addrotwo">
  220. <span>新增图片</span>
  221. </div>
  222. </div> -->
  223. </el-col>
  224. </el-form-item>
  225. <el-form-item label="排序值:" required prop="sort">
  226. <el-input v-model="editpicform.sort" type="number"></el-input>
  227. </el-form-item>
  228. <div class="tipstwo"><p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p></div>
  229. <el-form-item label="图片链接:" required prop="piclink">
  230. <el-radio-group v-model="editpicform.piclink" >
  231. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclink(gender.id)" >{{gender.name}}</el-radio>
  232. </el-radio-group>
  233. </el-form-item>
  234. <el-form-item label="链接地址:" v-show="showpiclink">
  235. <el-col :span="15">
  236. <el-input v-model="editpicform.linkaddress" :disabled="true"></el-input>
  237. </el-col>
  238. <el-col :span="4">
  239. <el-button size="medium" @click="addressVisibleTwo = true">设置链接</el-button>
  240. </el-col>
  241. </el-form-item>
  242. </el-form>
  243. <span slot="footer" class="dialog-footer">
  244. <el-button @click="editRotationVisible = false">取 消</el-button>
  245. <el-button type="primary" @click="addEditPicForm('editpicform');">确 定</el-button>
  246. </span>
  247. </el-dialog>
  248. <el-dialog
  249. title="设置图片链接地址"
  250. :visible.sync="addressVisibleTwo"
  251. width="30%"
  252. center>
  253. <el-form :model="refform" ref="refform" :rules="rules">
  254. <el-form-item label="自定义链接地址:" prop="defineaddress">
  255. <el-input style="width:300px" v-model="refform.defineaddress"></el-input>
  256. </el-form-item>
  257. </el-form>
  258. <span slot="footer" class="dialog-footer">
  259. <el-button @click="addressVisibleTwo = false">取 消</el-button>
  260. <el-button type="primary" @click="AddLinkAddressFour('refform')">确 定</el-button>
  261. </span>
  262. </el-dialog>
  263. <el-dialog
  264. title="设置图片链接地址"
  265. :visible.sync="addressVisible"
  266. width="30%"
  267. center>
  268. <el-form :model="refform" ref="refform" :rules="rules">
  269. <el-form-item label="自定义链接地址:" prop="defineaddress">
  270. <el-input style="width:300px" v-model="refform.defineaddress"></el-input>
  271. </el-form-item>
  272. </el-form>
  273. <span slot="footer" class="dialog-footer">
  274. <el-button @click="addressVisible = false">取 消</el-button>
  275. <el-button type="primary" @click="AddLinkAddressTwo('refform')">确 定</el-button>
  276. </span>
  277. </el-dialog>
  278. <!-- 编辑科室介绍 -->
  279. <el-dialog
  280. title="编辑科室介绍"
  281. :visible.sync="officeVisible"
  282. width="50%"
  283. center>
  284. <el-form ref="officeform" :model="officeform" label-width="90px" :rules="rules">
  285. <el-form-item label="模块标题:" required prop="title">
  286. <el-input v-model="officeform.title"></el-input>
  287. </el-form-item>
  288. <el-form-item label="排序值:" required prop="sort">
  289. <el-input v-model="officeform.sort" type="number"></el-input>
  290. </el-form-item>
  291. <el-form-item label="科室介绍:" required prop="introduction">
  292. <keep-alive>
  293. <neditor ref="neditor"
  294. id="editorfour"
  295. v-bind:r_content="officeform.introduction">
  296. </neditor>
  297. </keep-alive>
  298. </el-form-item>
  299. </el-form>
  300. <span slot="footer" class="dialog-footer">
  301. <el-button @click="officeVisible = false">取 消</el-button>
  302. <el-button type="primary" @click="SaveOffice('officeform')">确 定</el-button>
  303. </span>
  304. </el-dialog>
  305. <!-- 编辑名医介绍 -->
  306. <el-dialog
  307. title="新增名医介绍"
  308. :visible.sync="docVisible"
  309. width="50%"
  310. center>
  311. <el-form ref="doctorform" :model="doctorform" label-width="90px" :rules="rules" >
  312. <el-form-item label="模块标题:" required prop="title">
  313. <el-input v-model="doctorform.title"></el-input>
  314. </el-form-item>
  315. <el-form-item label="排序值:" required prop="sort">
  316. <el-input v-model="doctorform.sort" type="number"></el-input>
  317. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  318. </el-form-item>
  319. <el-form-item label="新增名医:" v-model="doctorform.image">
  320. <div class="flex-img">
  321. <div class="el-upload-list el-upload-list--picture-card" >
  322. <div class="el-upload-list__item is-success" v-for="(item,index) in this.docimages" :key="item.id">
  323. <img class="flex-img__image" :src="item.dochead">
  324. <label class="el-upload-list__item-status-label">
  325. <i class="el-icon-upload-success el-icon-check"></i>
  326. </label>
  327. <span class="el-upload-list__item-actions">
  328. <span class="el-upload-list__item-delete">
  329. <i class="el-icon-edit-outline" @click="editcenterDialogVisible = true;editImages(item.id);"></i>
  330. <i class="el-icon-delete" @click="deleteDoctor(item.id,index)"></i>
  331. </span>
  332. </span>
  333. </div>
  334. </div>
  335. <div class="addrot" @click="centerDialogVisible = true;getQueryDocInfo()">
  336. <div class="addrotone">
  337. <i class="el-icon-plus"></i>
  338. </div>
  339. <div class="addrotwo">
  340. <span>新增名医</span>
  341. </div>
  342. </div>
  343. <!-- <img src="static/images/u646.png" @click="centerDialogVisible = true"> -->
  344. </div>
  345. </el-form-item>
  346. </el-form>
  347. <span slot="footer" class="dialog-footer">
  348. <el-button @click="docVisible = false;">取 消</el-button>
  349. <el-button type="primary" @click="SaveDocdata('doctorform');">确 定</el-button>
  350. </span>
  351. </el-dialog>
  352. <!-- 编辑名医介绍 -->
  353. <el-dialog
  354. title="编辑医生介绍"
  355. :visible.sync="editcenterDialogVisible"
  356. width="50%"
  357. center>
  358. <el-form label-width="90px" class="clearfix" :model="editdocfrom" ref="editdocfrom" :rules="rules">
  359. <el-row :span=20>
  360. <el-col :span="10">
  361. <el-form-item label="医生姓名:" required prop="doc_name">
  362. <el-input v-model="editdocfrom.doc_name"></el-input>
  363. </el-form-item>
  364. </el-col>
  365. <el-col :span="12">
  366. <el-form-item label="医生职称:" required prop="doc_postion">
  367. <el-select v-model="editdocfrom.doc_postion" placeholder="请选择">
  368. <el-option
  369. v-for="item in positions"
  370. :key="item.index"
  371. :label="item.name"
  372. :value="item.index">
  373. </el-option>
  374. </el-select>
  375. </el-form-item>
  376. </el-col>
  377. </el-row>
  378. <el-row :span=20>
  379. <el-form-item label="医生头像:" required prop="dochead">
  380. <el-col :span="10">
  381. <el-upload
  382. :data="doctorDatatwo"
  383. class="avatar-uploader"
  384. action="https://upload.qiniup.com"
  385. :show-file-list="false"
  386. :on-success="handleAvatarSuccesstwo"
  387. :before-upload="beforeAvatarUploadtwo">
  388. <img v-if="editdocfrom.dochead" :src="editdocfrom.dochead" class="avatar">
  389. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  390. </el-upload>
  391. </el-col>
  392. <el-col :span="12">
  393. <el-form-item label="排序值:" required prop="doc_sort">
  394. <el-input v-model="editdocfrom.doc_sort" type="number"></el-input>
  395. </el-form-item>
  396. </el-col>
  397. </el-form-item>
  398. </el-row>
  399. <el-row :span=20>
  400. <el-form-item label="医生简介:" required prop="docintroduction">
  401. <keep-alive>
  402. <neditor ref="neditor"
  403. id="editor"
  404. v-bind:r_content="editdocfrom.docintroduction">
  405. </neditor>
  406. </keep-alive>
  407. </el-form-item>
  408. </el-row>
  409. </el-form>
  410. <span slot="footer" class="dialog-footer">
  411. <el-button @click="editdocVisible();editcenterDialogVisible = false;">取 消</el-button>
  412. <el-button type="primary" @click="saveDocInfo('editdocfrom')">确 定</el-button>
  413. </span>
  414. </el-dialog>
  415. <!-- 编辑页面 -->
  416. <el-dialog
  417. title="编辑医生介绍"
  418. :visible.sync="centerDialogVisible"
  419. width="50%"
  420. center>
  421. <el-form label-width="90px" class="clearfix" :model="eidtDoctorform" ref="eidtDoctorform" :rules="rules">
  422. <el-row :span=20>
  423. <el-col :span="12">
  424. <el-form-item label="医生姓名:">
  425. <el-select v-model="eidtDoctorform.name" placeholder="请选择" @change="change(eidtDoctorform.name)">
  426. <el-option
  427. v-for="item in docnames"
  428. :key="item.id"
  429. :label="item.name"
  430. :value="item.id"
  431. >
  432. </el-option>
  433. </el-select>
  434. </el-form-item>
  435. </el-col>
  436. <el-col :span="12">
  437. <el-form-item label="医生职称:" required prop="user_title">
  438. <el-select v-model="eidtDoctorform.user_title" placeholder="请选择">
  439. <el-option
  440. v-for="item in positions"
  441. :key="item.index"
  442. :label="item.name"
  443. :value="item.index">
  444. </el-option>
  445. </el-select>
  446. </el-form-item>
  447. </el-col>
  448. </el-row>
  449. <el-row :span=20>
  450. <el-form-item label="医生头像:" required prop="dochead">
  451. <el-col :span="5">
  452. <el-upload
  453. :data="doctorData"
  454. class="avatar-uploader"
  455. action="https://upload.qiniup.com"
  456. :show-file-list="false"
  457. :on-success="handleAvatarSuccess"
  458. :before-upload="beforeAvatarUpload">
  459. <img v-if="eidtDoctorform.dochead" :src="eidtDoctorform.dochead" class="avatar">
  460. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  461. </el-upload>
  462. </el-col>
  463. <el-col :span="16">
  464. <el-form-item label="排序值:" required prop="sort">
  465. <el-input v-model="eidtDoctorform.sort" type="number"></el-input>
  466. </el-form-item>
  467. </el-col>
  468. </el-form-item>
  469. </el-row>
  470. <el-row :span=20>
  471. <el-form-item label="医生简介:" required prop="content">
  472. <keep-alive>
  473. <neditor ref="neditor"
  474. id="editor"
  475. v-bind:r_content="eidtDoctorform.content">
  476. </neditor>
  477. </keep-alive>
  478. </el-form-item>
  479. </el-row>
  480. </el-form>
  481. <span slot="footer" class="dialog-footer">
  482. <el-button @click="centerDialogVisible = false">取 消</el-button>
  483. <el-button type="primary" @click="AddDoctorInfoTwo('eidtDoctorform')">确 定</el-button>
  484. </span>
  485. </el-dialog>
  486. <!-- 编辑科室环境 -->
  487. <el-dialog
  488. title="新增科室环境"
  489. :visible.sync="offficeEnviromentVisible"
  490. width="50%"
  491. center>
  492. <el-form ref="keform" :model="keform" label-width="110px" :rules="rules">
  493. <el-form-item label="模块标题: " required prop="title">
  494. <el-input v-model="keform.title"></el-input>
  495. </el-form-item>
  496. <el-form-item label="排序值: " required prop="sort">
  497. <el-input v-model="keform.sort" type="number"></el-input>
  498. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  499. </el-form-item>
  500. <el-form-item label="新增科室环境:">
  501. <div class="flex-img">
  502. <div class="el-upload-list el-upload-list--picture-card">
  503. <div class="el-upload-list__item is-success" v-for="(it,index) in this.rotationdata" :key="it.id">
  504. <img class="flex-img__image" :src="it.enviroimages">
  505. <label class="el-upload-list__item-status-label">
  506. <i class="el-icon-upload-success el-icon-check"></i>
  507. </label>
  508. <span class="el-upload-list__item-actions">
  509. <span class="el-upload-list__item-delete">
  510. <i class="el-icon-edit-outline" @click="officetwoVisbile(it.id);officetwoVisible = true"></i>
  511. <i class="el-icon-delete" @click="deleteOfficeById(it.id,index)"></i><br>
  512. </span>
  513. </span>
  514. </div>
  515. </div>
  516. <div class="addpicrot" @click="officethreeVisible = true">
  517. <div class="addpicones">
  518. <li class="el-icon-plus"></li>
  519. <div class="addpictwos">
  520. <span>新增图片</span>
  521. </div>
  522. </div>
  523. </div>
  524. </div>
  525. </el-form-item>
  526. </el-form>
  527. <span slot="footer" class="dialog-footer">
  528. <el-button @click="offficeEnviromentVisible = false">取 消</el-button>
  529. <el-button type="primary" @click="SaveOfficeEnvironment('keform')">确 定</el-button>
  530. </span>
  531. </el-dialog>
  532. <el-dialog
  533. title="图片编辑"
  534. :visible.sync="officetwoVisible"
  535. width="30%"
  536. center>
  537. <el-form label-width="90px" :model="officeformthree" ref="officeformthree" :rules="rules">
  538. <el-form-item label="图片编辑:" required prop="officeImages">
  539. <el-upload
  540. :data="keData"
  541. class="avatar-uploader"
  542. action="https://upload.qiniup.com"
  543. :show-file-list="false"
  544. :on-success="handleAvatarSuccessthree"
  545. :before-upload="beforeAvatarUploadthree">
  546. <img v-if="officeformthree.officeImages" :src="officeformthree.officeImages" class="avatar">
  547. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  548. </el-upload>
  549. </el-form-item>
  550. <el-form-item label="排序:" required="sort">
  551. <el-input v-model="officeformthree.sort"></el-input>
  552. </el-form-item>
  553. </el-form>
  554. <span slot="footer" class="dialog-footer">
  555. <el-button @click="officetwoVisible = false">取 消</el-button>
  556. <el-button type="primary" @click="AddOfficeTwo('officeformthree');officetwoVisible = false">确 定</el-button>
  557. </span>
  558. </el-dialog>
  559. <el-dialog
  560. title="添加图片"
  561. :visible.sync="officethreeVisible"
  562. width="30%"
  563. center>
  564. <el-form label-width="90px" :model="officeformtwo" ref="officeformtwo" :rules="rules">
  565. <el-form-item label="图片编辑:" required prop="officeImages">
  566. <el-upload
  567. :data="keData"
  568. class="avatar-uploader"
  569. action="https://upload.qiniup.com"
  570. :show-file-list="false"
  571. :on-success="imageKeuSccesstwo"
  572. :before-upload="beforekeUpload">
  573. <img v-if="officeformtwo.officeImages" :src="officeformtwo.officeImages" class="avatar">
  574. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  575. </el-upload>
  576. </el-form-item>
  577. <el-form-item label="排序:" required prop="sort">
  578. <el-input v-model="officeformtwo.sort"></el-input>
  579. </el-form-item>
  580. </el-form>
  581. <span slot="footer" class="dialog-footer">
  582. <el-button @click="officethreeVisible = false">取 消</el-button>
  583. <el-button type="primary" @click="AddOfficeThreeVisible('officeformtwo');officethreeVisible = false">确 定</el-button>
  584. </span>
  585. </el-dialog>
  586. <!-- 编辑文章列表 -->
  587. <el-dialog
  588. title="编辑文章列表"
  589. :visible.sync="ArticleVisible"
  590. width="50%"
  591. center>
  592. <el-form ref="articeform" :model="articeform" label-width="110px" :rules="rules">
  593. <el-form-item label="文章标题:" required prop="title">
  594. <el-input v-model="articeform.title"></el-input>
  595. </el-form-item>
  596. <el-form-item label="排序值:" required prop="sort">
  597. <el-input v-model="articeform.sort" type="number"></el-input>
  598. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  599. </el-form-item>
  600. <el-form-item label="首页展示条数:" required prop="number">
  601. <el-input v-model="articeform.number"></el-input>
  602. <p class="tips">请输入1-9的整数,最大数量为9</p>
  603. </el-form-item>
  604. </el-form>
  605. <span slot="footer" class="dialog-footer">
  606. <el-button @click="ArticleVisible = false">取 消</el-button>
  607. <el-button type="primary" @click="UpdatedArticeDetail('articeform');ArticleVisible = false">确 定</el-button>
  608. </span>
  609. </el-dialog>
  610. <!-- 编辑活动列表 -->
  611. <el-dialog
  612. title="编辑活动列表"
  613. :visible.sync="activityVisible"
  614. width="50%"
  615. center>
  616. <el-form label-width="110px" :model="activitform" ref="activitform" :rules="rules">
  617. <el-form-item label="模块标题:" required prop="title">
  618. <el-input v-model="activitform.title"></el-input>
  619. </el-form-item>
  620. <el-form-item label="排序:" required prop="sort">
  621. <el-input v-model="activitform.sort"></el-input>
  622. </el-form-item>
  623. <el-form-item label="首页展示条数:" required prop="number">
  624. <el-input v-model="activitform.number"></el-input>
  625. </el-form-item>
  626. </el-form>
  627. <span slot="footer" class="dialog-footer">
  628. <el-button @click="activityVisible = false">取 消</el-button>
  629. <el-button type="primary" @click="editActivit('activitform')">确 定</el-button>
  630. </span>
  631. </el-dialog>
  632. <!-- 编辑联系我们轮播图 -->
  633. <el-dialog
  634. title="编辑轮播图"
  635. :visible.sync="edialogVisible"
  636. width="30%"
  637. center>
  638. <el-form ref="rotationform" :model="rotationform" label-width="90px" :rules="rules" >
  639. <el-form-item label="模块标题:" required prop="title">
  640. <el-input v-model="rotationform.title" ></el-input>
  641. </el-form-item>
  642. <el-form-item label="排序值:" required prop="sort">
  643. <el-input v-model="rotationform.sort" type="number"></el-input>
  644. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  645. </el-form-item>
  646. <el-form-item label="添加图片:" v-model="rotationform.rotationImages">
  647. <div class="flex-img">
  648. <div class="el-upload-list el-upload-list--picture-card" >
  649. <div class="el-upload-list__item is-success" v-for="(item,index) in this.rotationdataThree" :key="item.id">
  650. <img class="flex-img__image" :src="item.images">
  651. <label class="el-upload-list__item-status-label">
  652. <i class="el-icon-upload-success el-icon-check"></i>
  653. </label>
  654. <span class="el-upload-list__item-actions">
  655. <span class="el-upload-list__item-delete">
  656. <i class="el-icon-edit-outline" @click="editVisible = true;editVisibleByid(item.id)"></i>
  657. <i class="el-icon-delete" @click="deleteImages(item.id,index)"></i>
  658. </span>
  659. </span>
  660. </div>
  661. </div>
  662. <div class="addpicrot" @click="addVisible = true">
  663. <div class="addpicones">
  664. <li class="el-icon-plus"></li>
  665. <div class="addpictwos">
  666. <span>新增图片</span>
  667. </div>
  668. </div>
  669. </div>
  670. </div>
  671. </el-form-item>
  672. </el-form>
  673. <span slot="footer" class="dialog-footer">
  674. <el-button @click="edialogVisible = false">取 消</el-button>
  675. <el-button type="primary" @click="AddedialogVisible('rotationform');edialogVisible = false">确 定</el-button>
  676. </span>
  677. </el-dialog>
  678. <!-- 编辑图片 -->
  679. <el-dialog
  680. title="编辑图片"
  681. :visible.sync="addVisible"
  682. width="30%"
  683. center>
  684. <el-form label-width="90px" ref="picform" :model="picform" :rules="rules">
  685. <el-form-item label="图片编辑:" required prop="images">
  686. <el-col :span="5">
  687. <el-upload
  688. :data="navigationData"
  689. class="avatar-uploader"
  690. action="https://upload.qiniup.com"
  691. :show-file-list="false"
  692. :on-success="handleEditSuccess"
  693. :before-upload="handleEditAvatarUpload">
  694. <img v-if="picform.images" :src="picform.images" class="avatar">
  695. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  696. </el-upload>
  697. <!-- <div class="addpicrot" @click="addVisibleTwo = true">
  698. <div class="addpicones">
  699. <li class="el-icon-plus"></li>
  700. <div class="addpictwos">
  701. <span>新增图片</span>
  702. </div>
  703. </div>
  704. </div> -->
  705. </el-col>
  706. </el-form-item>
  707. <el-form-item label="排序值:" required prop="sort">
  708. <el-input v-model="picform.sort" type="number"></el-input>
  709. </el-form-item>
  710. <el-form-item label="图片链接:">
  711. <el-radio-group v-model="picform.piclink" >
  712. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclink(gender.id)" >{{gender.name}}</el-radio>
  713. </el-radio-group>
  714. </el-form-item>
  715. <el-form-item label="链接地址:" v-show="showpiclink">
  716. <el-col :span="15">
  717. <el-input v-model="picform.linkaddress" :disabled="true"></el-input>
  718. </el-col>
  719. <el-col :span="4">
  720. <el-button size="medium" @click="linkaddressVisible = true">设置链接</el-button>
  721. </el-col>
  722. </el-form-item>
  723. </el-form>
  724. <span slot="footer" class="dialog-footer">
  725. <el-button @click="addVisible = false">取 消</el-button>
  726. <el-button type="primary" @click="addeditpic('picform');">确 定</el-button>
  727. </span>
  728. </el-dialog>
  729. <!-- <el-dialog
  730. title="新增图片"
  731. :visible.sync="addVisibleTwo"
  732. width="30%"
  733. :before-close="handleClose">
  734. <el-form>
  735. <el-form-item label="添加图片:">
  736. <el-upload
  737. :data="navigationData"
  738. class="avatar-uploader"
  739. action="https://upload.qiniup.com"
  740. :show-file-list="false"
  741. :on-success="handleEditSuccess"
  742. :before-upload="handleEditAvatarUpload">
  743. <img v-if="picform.images" :src="picform.images" class="avatar">
  744. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  745. </el-upload>
  746. </el-form-item>
  747. </el-form>
  748. <span slot="footer" class="dialog-footer">
  749. <el-button @click="addVisibleTwo = false">取 消</el-button>
  750. <el-button type="primary" @click="addVisibleTwo = false">确 定</el-button>
  751. </span>
  752. </el-dialog> -->
  753. <el-dialog
  754. title="设置图片链接地址"
  755. :visible.sync="linkaddressVisible"
  756. width="30%"
  757. center>
  758. <el-form :model="picformTwo" ref="picformTwo" label-width="120px">
  759. <el-form-item label="站外链接:">
  760. <el-input style="width:300px" v-model="picformTwo.defineaddress"></el-input>
  761. </el-form-item>
  762. </el-form>
  763. <span slot="footer" class="dialog-footer">
  764. <el-button @click="linkaddressVisible = false">取 消</el-button>
  765. <el-button type="primary" @click="AddPiCLink('picformTwo');linkaddressVisible = false">确 定</el-button>
  766. </span>
  767. </el-dialog>
  768. <!-- 编辑图片 -->
  769. <el-dialog
  770. title="编辑图片"
  771. :visible.sync="editVisible"
  772. width="30%"
  773. center>
  774. <el-form label-width="90px" ref="editpic" :model="editpic" :rules="rules">
  775. <el-form-item label="图片编辑:" required props="images">
  776. <el-upload
  777. :data="navigationData"
  778. class="avatar-uploader"
  779. action="https://upload.qiniup.com"
  780. :show-file-list="false"
  781. :on-success="handleEditpicSuccess"
  782. :before-upload="handleEditpicAvatarUpload">
  783. <img v-if="editpic.images" :src="editpic.images" class="avatar">
  784. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  785. </el-upload>
  786. </el-form-item>
  787. <el-form-item label="排序值:" required props="sort">
  788. <el-input v-model="editpic.sort" type="number"></el-input>
  789. </el-form-item>
  790. <el-form-item label="图片链接:">
  791. <el-radio-group v-model="editpic.piclink" >
  792. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderPicLink" :key="index" @change="selectpiclinkfour(gender.id)" >{{gender.name}}</el-radio>
  793. </el-radio-group>
  794. </el-form-item>
  795. <el-form-item label="链接地址:" v-show="showpiclink">
  796. <el-col :span="15">
  797. <el-input v-model="editpic.linkaddress" :disabled="true"></el-input>
  798. </el-col>
  799. <el-col :span="4">
  800. <el-button size="medium" @click="setlinkVisible = true;getLinkAddressDetail(editpic.linkid)">设置链接</el-button>
  801. </el-col>
  802. </el-form-item>
  803. </el-form>
  804. <span slot="footer" class="dialog-footer">
  805. <el-button @click="editVisible = false">取 消</el-button>
  806. <el-button type="primary" @click="SaveEditPic('editpic');editVisible = false">确 定</el-button>
  807. </span>
  808. </el-dialog>
  809. <!-- 设置链接 -->
  810. <el-dialog
  811. title="设置图片链接地址"
  812. :visible.sync="setlinkVisible"
  813. width="30%"
  814. center>
  815. <el-form :model="picformThree" ref="picformThree" label-width="120px">
  816. <el-form-item label="站外链接:">
  817. <el-input style="width:300px" v-model="picformThree.defineaddress"></el-input>
  818. </el-form-item>
  819. </el-form>
  820. <span slot="footer" class="dialog-footer">
  821. <el-button @click="setlinkVisible = false">取 消</el-button>
  822. <el-button type="primary" @click="UpdatePicFormThree('picformThree');">确 定</el-button>
  823. </span>
  824. </el-dialog>
  825. <!-- 编辑工作时间 -->
  826. <el-dialog
  827. title="编辑工作时间"
  828. :visible.sync="dialogVisiblefour"
  829. width="30%"
  830. center
  831. >
  832. <el-form label-width="90px" ref="workform" :model="workform" :rules="rules">
  833. <el-form-item label="模块标题:" required prop="title" >
  834. <el-input v-model="workform.title" ></el-input>
  835. </el-form-item>
  836. <el-form-item label="模块排序:" required prop="sort">
  837. <el-input v-model="workform.sort"></el-input>
  838. </el-form-item>
  839. <el-form-item label="工作时间:" required prop="worktime">
  840. <el-input type="textarea" v-model="workform.worktime">
  841. </el-input>
  842. </el-form-item>
  843. </el-form>
  844. <span slot="footer" class="dialog-footer">
  845. <el-button @click="dialogVisiblefour = false">取 消</el-button>
  846. <el-button type="primary" @click="SaveWorkTime('workform')">确 定</el-button>
  847. </span>
  848. </el-dialog>
  849. <!-- 编辑乘车方式 -->
  850. <el-dialog
  851. title="编辑乘车方式"
  852. :visible.sync="dialogVisiblefive"
  853. width="30%"
  854. center>
  855. <el-form label-width="90px" ref="rideform" :model="rideform">
  856. <el-form-item label="模块标题:" >
  857. <el-input v-model="rideform.title" required prop="title" ></el-input>
  858. </el-form-item>
  859. <el-form-item label="模块排序:">
  860. <el-input v-model="rideform.sort" required prop="sort"></el-input>
  861. </el-form-item>
  862. <el-form-item label="乘车方式:">
  863. <el-input type="textarea" v-model="rideform.ride_way" rquired prop="rideway">
  864. </el-input>
  865. </el-form-item>
  866. </el-form>
  867. <span slot="footer" class="dialog-footer">
  868. <el-button @click="dialogVisiblefive = false">取 消</el-button>
  869. <el-button type="primary" @click="saverideway('rideform')">确 定</el-button>
  870. </span>
  871. </el-dialog>
  872. <!--添加导航设置-->
  873. <el-dialog
  874. title="添加导航"
  875. :visible.sync="navigationVisible"
  876. width="50%"
  877. center>
  878. <el-form label-width="180px" ref="navigationform" :model="navigationform" :rules="rules">
  879. <el-form-item label="导航标题:" required prop="navtitle">
  880. <el-input v-model="navigationform.navtitle"></el-input>
  881. </el-form-item>
  882. <el-form-item label="导航图标(选中):" required prop="navigationImages">
  883. <el-upload
  884. :data="navigationData"
  885. class="avatar-uploader"
  886. action="https://upload.qiniup.com"
  887. :show-file-list="false"
  888. :on-success="navigationAvatarSuccess"
  889. :before-upload="navigationbeforeAvatarUpload">
  890. <img v-if="navigationform.navigationImages" :src="navigationform.navigationImages" class="avatar">
  891. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  892. </el-upload>
  893. </el-form-item>
  894. <el-form-item label="导航图标(未选中)">
  895. <el-upload
  896. :data="navigationData"
  897. class="avatar-uploader"
  898. action="https://upload.qiniup.com"
  899. :show-file-list="false"
  900. :on-success="navigationAvatarSuccessone"
  901. :before-upload="navigationbeforeAvatarUploadone">
  902. <img v-if="navigationform.nonavigationImages" :src="navigationform.nonavigationImages" class="avatar">
  903. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  904. </el-upload>
  905. </el-form-item>
  906. <el-form-item label="跳转设置:" required prop="jumpset">
  907. <el-radio-group v-model="navigationform.jumpset">
  908. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGender(gender.id)">{{gender.name}}</el-radio>
  909. </el-radio-group>
  910. </el-form-item>
  911. <el-form-item>
  912. <el-col :span="18" >
  913. <el-input v-show="define" v-model="navigationform.navigationaddress" :disabled="true"></el-input>
  914. </el-col>
  915. <el-col :span="4">
  916. <el-button size="medium" @click="linkVisible=true;" v-show="define">设置链接</el-button>
  917. </el-col>
  918. </el-form-item>
  919. </el-form>
  920. <span slot="footer" class="dialog-footer">
  921. <el-button @click="navigationVisible = false">取 消</el-button>
  922. <el-button type="primary" @click="addNavigation('navigationform')">确 定</el-button>
  923. </span>
  924. </el-dialog>
  925. <el-dialog
  926. title="设置链接地址"
  927. :visible.sync="linkVisible"
  928. width="30%"
  929. center>
  930. <el-form ref="navigationlinkform" :model="navigationlinkform">
  931. <el-form-item label="链接类型:">
  932. <el-radio-group v-model="navigationlinkform.linktype">
  933. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItemThree(item.id)">{{item.name}}</el-radio>
  934. </el-radio-group>
  935. </el-form-item>
  936. <el-form-item label="链接类型:" v-show="definetwo">
  937. <el-select v-model="navigationlinkform.navitionlinktype" placeholder="请选择">
  938. <el-option
  939. v-for="item in navitionlinkType"
  940. :key="item.id"
  941. :label="item.name"
  942. :value="item.id">
  943. </el-option>
  944. </el-select>
  945. </el-form-item>
  946. <el-form-item label="电话号码:" v-show="definethree">
  947. <el-input style="width:400px" v-model="navigationlinkform.phone"></el-input>
  948. </el-form-item>
  949. <el-form-item label="站外链接:" v-show="definefour">
  950. <el-input style="width:400px" v-model="navigationlinkform.outstationlink"></el-input>
  951. </el-form-item>
  952. </el-form>
  953. <span slot="footer" class="dialog-footer">
  954. <el-button @click="linkVisible = false">取 消</el-button>
  955. <el-button type="primary" @click="addNavigationlinkform('navigationlinkform');">确 定</el-button>
  956. </span>
  957. </el-dialog>
  958. <!-- 编辑导航 -->
  959. <el-dialog
  960. title="编辑导航"
  961. :visible.sync="editNavigationVisible"
  962. width="50%"
  963. center>
  964. <el-form label-width="130px" ref="editNavigationform" :model="editNavigationform" :rules="rules">
  965. <el-form-item label="导航标题:" required prop="navtitle">
  966. <el-input v-model="editNavigationform.navtitle"></el-input>
  967. </el-form-item>
  968. <el-form-item label="导航图标(选中):" required="checkImages">
  969. <el-upload
  970. :data="editcheckdata"
  971. class="avatar-uploader"
  972. action="https://upload.qiniup.com"
  973. :show-file-list="false"
  974. :on-success="editNaviAvatarSuccess"
  975. :before-upload="editNaviAvatarUpload">
  976. <img v-if="editNavigationform.navimages" :src="editNavigationform.navimages" class="avatar">
  977. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  978. </el-upload>
  979. </el-form-item>
  980. <el-form-item label="导航图标(未选中)" required="nonavimages">
  981. <el-upload
  982. :data="editcheckdatatwo"
  983. class="avatar-uploader"
  984. action="https://upload.qiniup.com"
  985. :show-file-list="false"
  986. :on-success="editNaviAvatarSuccessone"
  987. :before-upload="editNaviAvatarUploadone">
  988. <img v-if="editNavigationform.nonavimages" :src="editNavigationform.nonavimages" class="avatar">
  989. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  990. </el-upload>
  991. </el-form-item>
  992. <el-form-item label="跳转设置:">
  993. <el-radio-group v-model="editNavigationform.jumpset">
  994. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGender(gender.id)">{{gender.name}}</el-radio>
  995. </el-radio-group>
  996. </el-form-item>
  997. <el-form-item>
  998. <el-col :span="18" >
  999. <el-input v-show="define" v-model="editNavigationform.navaddress" :disabled="true"></el-input>
  1000. </el-col>
  1001. <el-col :span="4">
  1002. <el-button size="medium" @click="dialogVisible=true;SetlinkAddress(editNavigationform.linkid)" v-show="define">设置链接</el-button>
  1003. </el-col>
  1004. </el-form-item>
  1005. </el-form>
  1006. <span slot="footer" class="dialog-footer">
  1007. <el-button @click="editNavigationVisible = false">取 消</el-button>
  1008. <el-button type="primary" @click="SaveNavigation('editNavigationform');">确 定</el-button>
  1009. </span>
  1010. </el-dialog>
  1011. <el-dialog
  1012. title="设置链接"
  1013. :visible.sync="dialogVisible"
  1014. width="30%"
  1015. center>
  1016. <el-form ref="editnavigationlinkform" :model="editnavigationlinkform">
  1017. <el-form-item label="链接类型:">
  1018. <el-radio-group v-model="editnavigationlinkform.linktype">
  1019. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItemTwo(item.id)">{{item.name}}</el-radio>
  1020. </el-radio-group>
  1021. </el-form-item>
  1022. <el-form-item label="链接类型:" v-show="definetwo">
  1023. <el-select v-model="editnavigationlinkform.navitionlinktype" placeholder="请选择">
  1024. <el-option
  1025. v-for="item in navitionlinkTypeThree"
  1026. :key="item.id"
  1027. :label="item.name"
  1028. :value="item.id">
  1029. </el-option>
  1030. </el-select>
  1031. </el-form-item>
  1032. <el-form-item label="电话号码:" v-show="definethree">
  1033. <el-input style="width:400px" v-model="editnavigationlinkform.phone"></el-input>
  1034. </el-form-item>
  1035. <el-form-item label="站外链接:" v-show="definefour">
  1036. <el-input style="width:400px" v-model="editnavigationlinkform.outstationlink"></el-input>
  1037. </el-form-item>
  1038. </el-form>
  1039. <span slot="footer" class="dialog-footer">
  1040. <el-button @click="dialogVisible = false">取 消</el-button>
  1041. <el-button type="primary" @click="UpdateEditNavigationLinkform('editnavigationlinkform')">确 定</el-button>
  1042. </span>
  1043. </el-dialog>
  1044. <el-dialog
  1045. title="编辑魔方导航"
  1046. :visible.sync="edtimacdialogVisible"
  1047. width="50%"
  1048. center>
  1049. <el-form label-width="130px" :model="macform" ref="macform">
  1050. <el-form-item label="模块标题:">
  1051. <el-input v-model="macform.title"></el-input>
  1052. </el-form-item>
  1053. <el-form-item label="排序值:">
  1054. <el-input v-model="macform.sort" type="number"></el-input>
  1055. </el-form-item>
  1056. <el-form-item label="新增魔方导航:" v-model="macform.macimages">
  1057. <div class="flex-img">
  1058. <div class="el-upload-list el-upload-list--picture-card" v-for="(item,index) in macdataImages" :key="item.id">
  1059. <div class="el-upload-list__item is-success">
  1060. <img class="flex-img__image" :src="item.margimage">
  1061. <label class="el-upload-list__item-status-label">
  1062. <i class="el-icon-upload-success el-icon-check"></i>
  1063. </label>
  1064. <span class="el-upload-list__item-actions">
  1065. <span class="el-upload-list__item-delete">
  1066. <i class="el-icon-edit-outline" @click="EditMacImages(item.id);linkVisiblethree=true"></i>
  1067. <i class="el-icon-delete" @click="deleteMacImagesDetail(item.id,index)" ></i><br>
  1068. <i class="yangshi">{{item.margtitle}}</i>
  1069. </span>
  1070. </span>
  1071. </div>
  1072. </div>
  1073. <div class="addpicrot" @click="editImagesVisbile = true">
  1074. <div class="addpicones">
  1075. <li class="el-icon-plus"></li>
  1076. <div class="addpictwos">
  1077. <span>新增图片</span>
  1078. </div>
  1079. </div>
  1080. </div>
  1081. </div>
  1082. </el-form-item>
  1083. </el-form>
  1084. <span slot="footer" class="dialog-footer">
  1085. <el-button @click="edtimacdialogVisible = false">取 消</el-button>
  1086. <el-button type="primary" @click="UpdateMacform('macform');edtimacdialogVisible = false">确 定</el-button>
  1087. </span>
  1088. </el-dialog>
  1089. <el-dialog
  1090. title="新增魔法导航"
  1091. :visible.sync="editImagesVisbile"
  1092. width="30%"
  1093. center>
  1094. <el-form label-width="90px" ref="macgicform" :model="macgicform" :rules="rules">
  1095. <el-form-item label="导航标题:" required prop="title">
  1096. <el-input v-model="macgicform.title"></el-input>
  1097. </el-form-item>
  1098. <el-form-item label="导航图标:" required prop="macgicimages">
  1099. <el-upload
  1100. :data="editcheckdata"
  1101. class="avatar-uploader"
  1102. action="https://upload.qiniup.com"
  1103. :show-file-list="false"
  1104. :on-success="editNaviAvatarSuccesstwo"
  1105. :before-upload="editNaviAvatarUploadtwo">
  1106. <img v-if="macgicform.macgicimages" :src="macgicform.macgicimages" class="avatar">
  1107. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  1108. </el-upload>
  1109. </el-form-item>
  1110. <el-form-item label="跳转设置:" required prop="jumpset">
  1111. <el-radio-group v-model="macgicform.jumpset">
  1112. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGender(gender.id)">{{gender.name}}</el-radio>
  1113. </el-radio-group>
  1114. </el-form-item>
  1115. <el-form-item v-show="define">
  1116. <el-col :span="18" >
  1117. <el-input v-model="macgicform.linkaddress" :disabled="true"></el-input>
  1118. </el-col>
  1119. <el-col :span="4">
  1120. <el-button size="medium" @click="linkVisibletwo=true">设置链接</el-button>
  1121. </el-col>
  1122. </el-form-item>
  1123. </el-form>
  1124. <span slot="footer" class="dialog-footer">
  1125. <el-button @click="editImagesVisbile = false">取 消</el-button>
  1126. <el-button type="primary" @click="AddMacgicform('macgicform');">确 定</el-button>
  1127. </span>
  1128. </el-dialog>
  1129. <el-dialog
  1130. title="设置链接地址"
  1131. :visible.sync="linkVisibletwo"
  1132. width="30%"
  1133. center>
  1134. <el-form ref="linkformtwo" :model="linkformtwo">
  1135. <el-form-item label="链接类型:" >
  1136. <el-radio-group v-model="linkformtwo.linktype">
  1137. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItemEdit(item.id)">{{item.name}}</el-radio>
  1138. </el-radio-group>
  1139. </el-form-item>
  1140. <el-form-item label="链接类型:" v-show="definetwo">
  1141. <el-select v-model="linkformtwo.instationlink" placeholder="请选择">
  1142. <el-option
  1143. v-for="item in modelTtile"
  1144. :key="item.id"
  1145. :label="item.title"
  1146. :value="item.id">
  1147. </el-option>
  1148. </el-select>
  1149. </el-form-item>
  1150. <el-form-item label="电话号码:" v-show="definethree">
  1151. <el-input style="width:400px" v-model="linkformtwo.phone"></el-input>
  1152. </el-form-item>
  1153. <el-form-item label="站外链接:" v-show="definefour">
  1154. <el-input style="width:400px" v-model="linkformtwo.outstationlink"></el-input>
  1155. </el-form-item>
  1156. </el-form>
  1157. <span slot="footer" class="dialog-footer">
  1158. <el-button @click="linkVisibletwo = false">取 消</el-button>
  1159. <el-button type="primary" @click="AddMacLinkAddress('linkformtwo');">确 定</el-button>
  1160. </span>
  1161. </el-dialog>
  1162. <el-dialog
  1163. title="新增魔方导航"
  1164. :visible.sync="linkVisiblethree"
  1165. width="30%"
  1166. center>
  1167. <el-form label-width="90px" :model="editmacform" ref="editmacform">
  1168. <el-form-item label="导航标题:">
  1169. <el-input v-model="editmacform.margtitle"></el-input>
  1170. </el-form-item>
  1171. <el-form-item label="导航图标:">
  1172. <el-upload
  1173. :data="editcheckdata"
  1174. class="avatar-uploader"
  1175. action="https://upload.qiniup.com/"
  1176. :show-file-list="false"
  1177. :on-success="editNaviAvatarSuccessthree"
  1178. :before-upload="editNaviAvatarUploadthree">
  1179. <img v-if="editmacform.margimage" :src="editmacform.margimage" class="avatar">
  1180. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  1181. </el-upload>
  1182. </el-form-item>
  1183. <el-form-item label="跳转设置:">
  1184. <el-radio-group v-model="editmacform.jumpset">
  1185. <el-radio :label="gender.id" :value="gender.id" v-for="(gender, index) in genderOptions" :key="index" @change="selectGendertwo(gender.id)">{{gender.name}}</el-radio>
  1186. </el-radio-group>
  1187. </el-form-item>
  1188. <el-form-item v-show="definefive">
  1189. <el-col :span="18" >
  1190. <el-input v-model="editmacform.marginaddress" :disabled="true"></el-input>
  1191. </el-col>
  1192. <el-col :span="4">
  1193. <el-button size="medium" @click="linkVisiblefour=true;getLikeMacAddressById(editmacform.linkid);">设置链接</el-button>
  1194. </el-col>
  1195. </el-form-item>
  1196. </el-form>
  1197. <span slot="footer" class="dialog-footer">
  1198. <el-button @click="linkVisiblethree = false">取 消</el-button>
  1199. <el-button type="primary" @click="UpdateEditMacform('editmacform');linkVisiblethree = false">确 定</el-button>
  1200. </span>
  1201. </el-dialog>
  1202. <el-dialog
  1203. title="设置链接地址"
  1204. :visible.sync="linkVisiblefour"
  1205. width="30%"
  1206. center>
  1207. <el-form ref="linkformfive" :model="linkformfive">
  1208. <el-form-item label="链接类型:" >
  1209. <el-radio-group v-model="linkformfive.linktype">
  1210. <el-radio :label="item.id" :value="item.id" v-for="(item,index) in defineOptions" :key="index" @change="selectItem(item.id)">{{item.name}}</el-radio>
  1211. </el-radio-group>
  1212. </el-form-item>
  1213. <el-form-item label="链接类型:" v-show="definetwo">
  1214. <el-select v-model="linkformfive.instationlink" placeholder="请选择"
  1215. @change="changeOptionType">
  1216. <el-option
  1217. v-for="item in modelTtile"
  1218. :key="item.id"
  1219. :label="item.title"
  1220. :value="item.id">
  1221. </el-option>
  1222. </el-select>
  1223. </el-form-item>
  1224. <el-form-item label="电话号码:" v-show="definethree">
  1225. <el-input v-model="linkformfive.phone" style="width:400px"></el-input>
  1226. </el-form-item>
  1227. <el-form-item label="站外链接:" v-show="definefour">
  1228. <el-input v-model="linkformfive.outstationlink" style="width:400px"></el-input>
  1229. </el-form-item>
  1230. </el-form>
  1231. <span slot="footer" class="dialog-footer">
  1232. <el-button @click="linkVisiblefour = false">取 消</el-button>
  1233. <el-button type="primary" @click="UpdateLinkAddress('linkformfive');">确 定</el-button>
  1234. </span>
  1235. </el-dialog>
  1236. <el-dialog
  1237. title="编辑联系方式"
  1238. :visible.sync="contact"
  1239. width="30%"
  1240. center>
  1241. <el-form label-width="90px" :model="contactform" ref="contactform">
  1242. <el-form-item label="模块标题:">
  1243. <el-input v-model="contactform.title"></el-input>
  1244. </el-form-item>
  1245. <el-form-item label="排序值:">
  1246. <el-input v-model="contactform.sort" type="number"></el-input>
  1247. <p class="tips">请输入1-99的整数,数值越小,模块排序越靠前</p>
  1248. </el-form-item>
  1249. <el-form-item label="联系方式:" v-for="(it,index) in this.Connectways" :key="it.id">
  1250. <div class="used">
  1251. <ul>
  1252. <li>
  1253. <span class="name">{{it.title}}</span>
  1254. <span class="icon">
  1255. <i class="el-icon-edit-outline" @click="editConnecway(it.id);contacttwo=true"></i>
  1256. <i class="el-icon-delete" @click="deleteConnecWay(it.id,index)"></i>
  1257. </span>
  1258. </li>
  1259. </ul>
  1260. </div>
  1261. </el-form-item>
  1262. </el-form>
  1263. <span slot="footer" class="dialog-footer">
  1264. <el-button @click="contactthree = true">添加联系方式</el-button>
  1265. <el-button @click="contact = false">取 消</el-button>
  1266. <el-button type="primary" @click="UpdateContactform('contactform');contact = false">确 定</el-button>
  1267. </span>
  1268. </el-dialog>
  1269. <el-dialog
  1270. title="编辑联系方式"
  1271. :visible.sync="contacttwo"
  1272. width="30%"
  1273. center>
  1274. <el-form label-width="90px" :model="connectform" ref="connectform">
  1275. <el-form-item label="标题:">
  1276. <el-input v-model="connectform.title"></el-input>
  1277. </el-form-item>
  1278. <el-form-item label="联系方式:">
  1279. <el-row>
  1280. <el-col :span="20">
  1281. <el-radio-group v-model="connectform.connecway">
  1282. <el-radio :label="way.id" :value="way.id" v-for="(way,index) in connections" :key="index">{{way.name}}</el-radio>
  1283. </el-radio-group>
  1284. </el-col>
  1285. </el-row>
  1286. </el-form-item>
  1287. <el-form-item label="内容:">
  1288. <el-input v-model="connectform.content"></el-input>
  1289. </el-form-item>
  1290. </el-form>
  1291. <span slot="footer" class="dialog-footer">
  1292. <el-button @click="contacttwo = false">取 消</el-button>
  1293. <el-button type="primary" @click="UpdateConnectform('connectform');contacttwo = false">确 定</el-button>
  1294. </span>
  1295. </el-dialog>
  1296. <el-dialog
  1297. title="新增联系方式"
  1298. :visible.sync="contactthree"
  1299. width="30%"
  1300. center>
  1301. <el-form label-width="90px" ref="contacthreeform" :model="contacthreeform">
  1302. <el-form-item label="标题:">
  1303. <el-input v-model="contacthreeform.title"></el-input>
  1304. </el-form-item>
  1305. <el-form-item label="联系方式:">
  1306. <el-row>
  1307. <el-col :span="20">
  1308. <el-radio-group v-model="contacthreeform.connecway">
  1309. <el-radio :label="way.id" :value="way.id" v-for="(way,index) in connections" :key="index">{{way.name}}</el-radio>
  1310. </el-radio-group>
  1311. </el-col>
  1312. </el-row>
  1313. </el-form-item>
  1314. <el-form-item label="内容:">
  1315. <el-input v-model="contacthreeform.content"></el-input>
  1316. </el-form-item>
  1317. </el-form>
  1318. <span slot="footer" class="dialog-footer">
  1319. <el-button @click="contactthree = false">取 消</el-button>
  1320. <el-button type="primary" @click="addConnectways('contacthreeform');contactthree = false">确 定</el-button>
  1321. </span>
  1322. </el-dialog>
  1323. <el-dialog
  1324. title="编辑医院地址"
  1325. :visible.sync="HospitalIntroduction"
  1326. width="30%"
  1327. center>
  1328. <el-form :model="hospitaladdress" ref="hospitaladdress" label-width="90px">
  1329. <el-form-item label="模块标题:">
  1330. <el-input v-model="hospitaladdress.title"></el-input>
  1331. </el-form-item>
  1332. <el-form-item label="排序:">
  1333. <el-input v-model="hospitaladdress.sort"></el-input>
  1334. </el-form-item>
  1335. <el-form-item label="医院地址:">
  1336. <el-input v-model="hospitaladdress.hosaddress" @input="changeInput($event)"></el-input>
  1337. </el-form-item>
  1338. <!-- <el-form-item label="医院地图:">
  1339. <baidu-map>
  1340. <bm-overview-map anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :isOpen="true"></bm-overview-map>
  1341. <bm-local-search :keyword="hospitaladdress.hosaddress" :auto-viewport="true" style="display:none" :center="location" :zoom="zoom"></bm-local-search>
  1342. <bm-view class="map"></bm-view>
  1343. </baidu-map>
  1344. </el-form-item> -->
  1345. </el-form>
  1346. <span slot="footer" class="dialog-footer">
  1347. <el-button @click="HospitalIntroduction = false">取 消</el-button>
  1348. <el-button type="primary" @click="UpdateHospitalAddress('hospitaladdress');HospitalIntroduction = false">确 定</el-button>
  1349. </span>
  1350. </el-dialog>
  1351. <!-- 手机模拟页面 -->
  1352. <el-col :span="9" class="text">
  1353. <div class="phone">
  1354. <div class="time">9:42</div>
  1355. <div class="xinhao"></div>
  1356. <div class="wifi"></div>
  1357. <div class="dian"></div>
  1358. <div class="scroll">
  1359. <div class="swiper-container bannerSwiper swiper-no-swiping">
  1360.     <div class="swiper-wrapper">
  1361. <div class="swiper-slide">
  1362. <div v-for="item in this.patientModels" :key="item.id" v-show="modelshowtwo">
  1363. <!-- 轮播图 -->
  1364. <div v-if="item.mode_type == 1" class="modeone">
  1365. <mt-swipe :auto="2000" class="swipertwo">
  1366. <mt-swipe-item v-for="it in item.PatientEditpiclink" :key="it.id">
  1367. <img :src="it.images" style="width:318px;height:9.4375rem">
  1368. </mt-swipe-item>
  1369. </mt-swipe>
  1370. </div>
  1371. <!-- 魔方导航 -->
  1372. <div class="btnList" v-if="item.mode_type== 8">
  1373. <div class="btnOne" v-for="it in item.Editmargin" :key="it.id" @click="NavigationClick(it.marginaddress)">
  1374. <div>
  1375. <img :src="it.margimage" alt />
  1376. </div>
  1377. <div>
  1378. <p class="title">{{it.margtitle}}</p>
  1379. </div>
  1380. </div>
  1381. </div>
  1382. <!-- 文章列表 -->
  1383. <div class="dynamic" v-if="item.mode_type == 6">
  1384. <div class="common_title">
  1385. <div class="one"></div>
  1386. <div class="dynamicTxt">{{item.title}}</div>
  1387. <div class="dymore">
  1388. <p>
  1389. 查看更多
  1390. <i class="iconfont">&#xe632;</i>
  1391. </p>
  1392. </div>
  1393. </div>
  1394. <div class="content">
  1395. <div class="contentOne" v-for="it in Articlelist" :key="it.id">
  1396. <div class="img">
  1397. <img :src="it.imgs" style="width:100%;height:100%" alt />
  1398. </div>
  1399. <div class="detail" v-if="it.title != ''">
  1400. <p class="detailTitle">{{it.title}}</p>
  1401. <!-- <p class="detailMessage"></p> -->
  1402. </div>
  1403. <div class="detail" v-else-if="it.title ==''">
  1404. <div class="noImg">
  1405. <img src="../../../static/images/none2.png" alt />
  1406. </div>
  1407. </div>
  1408. </div>
  1409. </div>
  1410. </div>
  1411. <!-- 医院介绍 -->
  1412. <div class="common" v-if="item.mode_type == 2">
  1413. <div class="common_title">
  1414. <div class="one"></div>
  1415. <div class="dynamicTxt">{{item.title}}</div>
  1416. <div class="dymore">
  1417. <p>
  1418. 查看更多
  1419. <i class="iconfont">&#xe632;</i>
  1420. </p>
  1421. </div>
  1422. </div>
  1423. <div class="commonBox">
  1424. <div class="commonMessage" v-html="item.Hospitals.introduction" v-if="item.Hospitals.introduction != ''"></div>
  1425. <div class="noImg" v-else-if="item.Hospitals.introduction == ''">
  1426. <img src="../../../static/images/none2.png" alt/>
  1427. </div>
  1428. </div>
  1429. </div>
  1430. <!-- 科室介绍 -->
  1431. <div class="common" v-if="item.mode_type == 3">
  1432. <div class="common_title">
  1433. <div class="one"></div>
  1434. <div class="dynamicTxt">{{item.title}}</div>
  1435. <div class="dymore">
  1436. <p>
  1437. 查看更多
  1438. <i class="iconfont">&#xe632;</i>
  1439. </p>
  1440. </div>
  1441. </div>
  1442. <div class="commonBox">
  1443. <div class="commonMessage" v-html="item.Offices.introduction" v-if="item.Offices.introduction!=''"></div>
  1444. <div class="noImg" v-else-if="item.Offices.introduction == ''">
  1445. <img src="../../../static/images/none2.png" alt/>
  1446. </div>
  1447. </div>
  1448. </div>
  1449. <!-- 医护团队 -->
  1450. <div class="dynamic" v-if="item.mode_type == 4">
  1451. <div class="common_title">
  1452. <div class="one"></div>
  1453. <div class="dynamicTxt">{{item.title}}</div>
  1454. <div class="dymore">
  1455. <p>
  1456. 查看更多
  1457. <i class="iconfont">&#xe632;</i>
  1458. </p>
  1459. </div>
  1460. </div>
  1461. <div class="content">
  1462. <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
  1463. <div class="img">
  1464. <img :src="doc.dochead" style="width:100%;height:100%" alt />
  1465. </div>
  1466. <div class="detail" v-if="doc.docintroduction != ''">
  1467. <p class="detailTitle">{{doc.doc_name}}</p>
  1468. <p class="detailMessage" v-html="doc.docintroduction"></p>
  1469. </div>
  1470. <div class="detail" v-else-if="doc.docintroduction == ''">
  1471. <div class="noImg">
  1472. <img src="../../../static/images/none2.png" alt />
  1473. </div>
  1474. </div>
  1475. </div>
  1476. </div>
  1477. </div>
  1478. <!-- 科室环境 -->
  1479. <div class="dynamic" v-if="item.mode_type == 5">
  1480. <div class="common_title">
  1481. <div class="one"></div>
  1482. <div class="dynamicTxt">{{item.title}}</div>
  1483. </div>
  1484. <div class="imgs">
  1485. <div class="swiper-container imgSwiper">
  1486. <div class="swiper-wrapper">
  1487. <div class="swiper-slide carousel" v-for="itms in item.Enviroimages" :key="itms.id">
  1488. <img class="img" :src="itms.enviroimages" :preview="itms.modeid" />
  1489. </div>
  1490. </div>
  1491. </div>
  1492. </div>
  1493. </div>
  1494. <!-- 医院活动 -->
  1495. <div class="dynamic bottom" v-if="item.mode_type == 7">
  1496. <div class="common_title">
  1497. <div class="one"></div>
  1498. <div class="dynamicTxt">{{item.title}}</div>
  1499. <div class="dymore">
  1500. <p>
  1501. 查看更多
  1502. <i class="iconfont">&#xe632;</i>
  1503. </p>
  1504. </div>
  1505. </div>
  1506. <div class="content">
  1507. <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
  1508. <div class="img">
  1509. <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
  1510. </div>
  1511. <div class="detail" v-if="it.title !=''">
  1512. <p class="detailTitle">{{it.title}}</p>
  1513. </div>
  1514. <div class="detail" v-else-if="it.title == ''">
  1515. <div class="noImg">
  1516. <img src="../../../static/images/none2.png" alt />
  1517. </div>
  1518. </div>
  1519. </div>
  1520. </div>
  1521. </div>
  1522. </div>
  1523. <div v-show="modelshow">
  1524. <div v-for="item in this.ordmodel" :key="item.id">
  1525. <div v-if="item.mode_type == 1">
  1526. <mt-swipe :auto="4000" class="swipertwo">
  1527. <mt-swipe-item v-for="it in item.Conrotation" :key="it.id">
  1528. <img :src="it.images" style="width:318px;height:230px" >
  1529. </mt-swipe-item>
  1530. </mt-swipe>
  1531. </div>
  1532. <div v-if="item.mode_type == 2" class="oldmodetwo">
  1533. <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Hosaddress.address}}</span></div>
  1534. </div>
  1535. <div v-if="item.mode_type == 3" class="oldmodethree">
  1536. <div v-for="it in Connectways" :key="it.id">
  1537. <span>{{it.title}}:&nbsp;&nbsp;{{it.content}}</span><br>
  1538. </div>
  1539. </div>
  1540. <div class="oldmodefour" v-if="item.mode_type == 4">
  1541. <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Worktime.worktime}}</span></div>
  1542. </div>
  1543. <div class="oldmodethree" v-if="item.mode_type == 5">
  1544. <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Rideway.ride_way}}</span></div>
  1545. </div>
  1546. </div>
  1547. </div>
  1548. </div>
  1549. </div>
  1550.     </div>
  1551. </div>
  1552. <div class="scroll" v-show="defalutshow">暂无数据</div>
  1553. <!-- 医院介绍详情页-->
  1554. <div class="scroll" v-show="shows" v-html="hospitalform.introduction" id="target"></div>
  1555. <!-- <div class="xiangqing" v-show="shows" v-html="hospitalform.introduction"></div> -->
  1556. <!-- 科室介绍详情页 -->
  1557. <div class="scroll" v-html="officeform.introduction" v-show="keshow" id="targettwo"></div>
  1558. <!--名医介绍详情 -->
  1559. <div class="scroll" v-show="docshow" id="targetthree">
  1560. <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="GetDoctorDetail(item.id)">
  1561. <div class="doctwo">
  1562. <img :src="item.dochead" style="width:80px;height:80px">
  1563. </div>
  1564. <div class="docthree">
  1565. <span class="docfour">{{item.doc_name}}</span>
  1566. </div>
  1567. <div class="docfive">
  1568. <span class="docsix" v-html="item.docintroduction"></span>
  1569. </div>
  1570. </div>
  1571. </div>
  1572. <!--科室环境详情 -->
  1573. <div class="scroll" v-show="OfficeEnviromentShow" id="targetfour">
  1574. <div class="swiperimages">
  1575. <div class="swiper-container swiperfour" >
  1576. <div class="swiper-wrapper" id="wrappertwo" >
  1577. <div class="swiper-slide " v-for="it in keEnvironmentImages" :key="it.id">
  1578. <img :src="it.enviroimages" style="width:150px;height:140px;border-radius:5px;"/>
  1579. </div>
  1580. </div>
  1581. </div>
  1582. </div>
  1583. </div>
  1584. <!-- 文章列表详情 -->
  1585. <div class="scroll" v-show="ArticlelistShow" id="targetfive">
  1586. <div class="actilist" v-for="it in Articlelist" :key="it.id" @click="GetArticleListDetail(it.id)">
  1587. <div class="acthead">
  1588. <img :src="it.imgs" style="width:80px;height:80px">
  1589. </div>
  1590. <div class="actcontent">
  1591. <div class="actname"><span>{{it.title}}</span></div>
  1592. <!-- <div class="actcomments">阅读:{{it.real_read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div> -->
  1593. </div>
  1594. </div>
  1595. </div>
  1596. <!-- 活动列表详情 -->
  1597. <div class="scroll" v-show="ActivitieslistShow" id="targetsix">
  1598. <div class="actilist" v-for="it in Activitieslist" :key="it.id" @click="ActivitiesListInfo(it.id)">
  1599. <div class="acthead">
  1600. <img :src="it.poster_photo" style="width:80px;height:80px">
  1601. </div>
  1602. <div class="actcontent">
  1603. <div class="actname"><span>{{it.title}}</span></div>
  1604. <!-- <div class="actcomments">阅读:{{it.read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div>
  1605. <div class="progress">
  1606. <el-progress :percentage="0"></el-progress>
  1607. </div> -->
  1608. </div>
  1609. </div>
  1610. </div>
  1611. <!-- 单个医生详情页-->
  1612. <div class="scroll" v-show="docshowinfo">
  1613. <div class="docheadimages">
  1614. <div class="doctorhead">
  1615. <img :src="editdoctor.dochead" style="widht:100%;height:100%">
  1616. </div>
  1617. <div class="doctorname">
  1618. 姓名:{{editdoctor.doc_name}}
  1619. </div>
  1620. <div class="docposition">
  1621. 职位:{{editdoctor.doc_postion}}
  1622. </div>
  1623. </div>
  1624. <div class="doctorintroduction">
  1625. 医生简介:
  1626. </div>
  1627. <div class="doctorintroductiontwo" v-html="editdoctor.docintroduction">
  1628. </div>
  1629. </div>
  1630. <!-- 单个文章详情页 -->
  1631. <div class="scroll" v-show="articlelistshowinfo">
  1632. <div class="articletitle">
  1633. {{articlistinfo.title}}
  1634. </div>
  1635. <div class="aticlecontent" v-html="articlistinfo.content">
  1636. </div>
  1637. </div>
  1638. <!-- 单个活动详情页 -->
  1639. <div class="scroll" v-show="activitesShowinfo">
  1640. <div class="activitesimages">
  1641. <img :src="activitiesInfo.poster_photo" style="width:100%;height:100%">
  1642. </div>
  1643. <div class="activitestitle">
  1644. 活动标题:{{activitiesInfo.title}}
  1645. </div>
  1646. <div class="activitestitle">
  1647. 活动副标题:{{activitiesInfo.subtitle}}
  1648. </div>
  1649. <div class="activitestitle">
  1650. 活动详细地址:{{activitiesInfo.address}}
  1651. </div>
  1652. <div class="activitestitle">
  1653. 开始时间: {{staffCreateTime(activitiesInfo.start_time)}}
  1654. </div>
  1655. <div class="activitestitle">
  1656. 结束时间:{{staffCreateTime(activitiesInfo.end_time)}}
  1657. </div>
  1658. <div class="activitestitle">
  1659. 报名须知:{{activitiesInfo.sign_up_notice}}
  1660. </div>
  1661. <div class="activitestitle">
  1662. 联系方式:{{activitiesInfo.phone_number}}
  1663. </div>
  1664. <div class="activitestitle">
  1665. 限制人数:{{activitiesInfo.limit_num}}
  1666. </div>
  1667. <div class="activitestitle">
  1668. 已报名人数:{{activitiesInfo.join_num}}
  1669. </div>
  1670. </div>
  1671. <!-- 返回首页 -->
  1672. <!-- <div class="returnpage" v-show="returnshow" @click="returnClick()">
  1673. <div class="returnimages">
  1674. <img src="static/images/u373.png">
  1675. </div>
  1676. <div class="rebacktwo">
  1677. <span>返回</span>
  1678. </div>
  1679. </div> -->
  1680. <div class="reback" v-show="showback" @click="returnIndex()">
  1681. <div class="rebackone">
  1682. <img src="static/images/u373.png">
  1683. </div>
  1684. <div class="rebacktwo">
  1685. <span>首页</span>
  1686. </div>
  1687. </div>
  1688. <!-- 回到顶部 -->
  1689. <div class="reindex" v-show="showindex" @click="returntop()">
  1690. <div class="reindexone">
  1691. <img src="static/images/u378.png">
  1692. </div>
  1693. <div class="reindextwo">
  1694. <span>顶部</span>
  1695. </div>
  1696. </div>
  1697. <div id="qrcode" class="qrcode"></div>
  1698. <!-- 分享管理 -->
  1699. <!-- <div class="dfont">
  1700. <img src="static/images/u642.png">
  1701. </div> -->
  1702. <!-- <div class="done">
  1703. <span @click="sharemanage()">分享管理</span>
  1704. </div> -->
  1705. <div class="dfont2">
  1706. <img src="static/images/u645.png">
  1707. </div>
  1708. <div class="done2">
  1709. <span @click="navigationset()">导航设置</span>
  1710. </div>
  1711. </div>
  1712. <div class="macgic">
  1713. <div class="macgicone" v-for="item in this.navigationdatatwo" :key="item.id">
  1714. <div class="macgicfive">
  1715. <img :src="item.nonavimages" style="width:30px; height:30px">
  1716. </div>
  1717. <div class="macgicsix">
  1718. {{item.navtitle}}
  1719. </div>
  1720. <!-- <img :src="item.navimages" style="width:30px; height:30px" @click="callPhone(item.navtitle,item.navaddress)"> -->
  1721. </div>
  1722. </div>
  1723. <!-- <div class="tabs">
  1724. <ul class="tabList">
  1725. <li class="tabOne" v-for="item in this.navigationdatatwo" :key="item.id" @click="CallPhone(item.linktype,item.navaddress)">
  1726. <img :src="item.navimages" alt />
  1727. <span>{{item.navtitle}}</span>
  1728. </li>
  1729. </ul>
  1730. </div> -->
  1731. </el-col>
  1732. <el-col :span="7" >
  1733. <div class="share" v-show="navigation">
  1734. <div class="share2">
  1735. <span class="share3">导航设置</span>
  1736. </div>
  1737. <div class="navigacontent">
  1738. <div class="navigationone" v-for="(item,index) in this.navigationdata" :key="item.id">
  1739. <div class="navitwo">
  1740. <img :src="item.navimages" style="width:35px;height:35px">
  1741. </div>
  1742. <div class="navithree">
  1743. <span>{{item.navtitle}}</span>
  1744. </div>
  1745. <div class="navifour">
  1746. <span class="el-icon-edit-outline" @click="editNavigationVisible = true;editNavigation(item.id);"></span>
  1747. </div>
  1748. <div class="navifive">
  1749. <span class="el-icon-delete" @click="deleteNavigation(item.id,index)"></span>
  1750. </div>
  1751. </div>
  1752. <div class="addbutton">
  1753. <el-button size="medium" style="width:100px" @click="navigationVisible = true">添加</el-button>
  1754. </div>
  1755. </div>
  1756. </div>
  1757. </el-col>
  1758. <el-col :span="7">
  1759. <div class="share" v-show="share">
  1760. <div class="share2">
  1761. <span class="share3" >分享管理</span>
  1762. </div>
  1763. <div class="navigacontent">
  1764. <div class="sharecontent">
  1765. <div class="shareexam"><span>设置后效果实例:</span></div>
  1766. <div class="shareimg">
  1767. <div class="sharetwoimg">
  1768. <div class="sharefont">
  1769. <span class="sharefontone">{{shareInfo.share_title}}</span>
  1770. </div>
  1771. <div class="sharethree">
  1772. <span class="sharefour">{{shareInfo.share_introduction}}</span>
  1773. </div>
  1774. <div class="sharefive" v-show="sharefive">
  1775. <img :src="shareInfo.share_images" style="width:65px;height:70px">
  1776. </div>
  1777. </div>
  1778. <div class="triangle"></div>
  1779. <div class="sharepic" v-show="sharepic">
  1780. <img :src="shareInfo.share_images" style="width:50px;height:50px">
  1781. </div>
  1782. </div>
  1783. <div class="inputone">
  1784. <span class="inputfont">分享标题:</span>
  1785. </div>
  1786. <div class="inputwo">
  1787. <el-input :disabled="disabled" v-model="shareform.sharetitle"></el-input>
  1788. </div>
  1789. <div class="inputhree">
  1790. <span class="inputfont">分享简介:</span>
  1791. </div>
  1792. <div class="inpufive">
  1793. <el-input :disabled="disabled" v-model="shareform.shareintroduction"></el-input>
  1794. </div>
  1795. <div class="inputsix">
  1796. <span class="inputfont">分享图标:</span>
  1797. </div>
  1798. <div class="inputten">
  1799. <img :src="shareInfo.share_images" style="width:100px;height:100px">
  1800. </div>
  1801. <div class="inputserven">
  1802. <el-upload
  1803. :data="sharedata"
  1804. class="avatar-uploader"
  1805. action="https://upload.qiniup.com"
  1806. :show-file-list="false"
  1807. :on-success="shareAvatarSuccess"
  1808. :before-upload="shareAvatarUpload"
  1809. v-show="shareshow">
  1810. <img v-if="shareform.shareImages" :src="shareform.shareImages" class="avatar">
  1811. <i v-else class="el-icon-plus avatar-uploader-icon"></i>
  1812. </el-upload>
  1813. </div>
  1814. </div>
  1815. <div class="addbuttontwo">
  1816. <el-button size="medium" type="primary" style="width:130px" @click="changbutton();"><span id="edit">编辑</span></el-button>
  1817. </div>
  1818. </div>
  1819. </div>
  1820. </el-col>
  1821. </el-row>
  1822. </div>
  1823. </div>
  1824. </template>
  1825. <script>
  1826. import BreadCrumb from '../components/bread-crumb';
  1827. import NewFeature from './components/new-feature';
  1828. import UsedList from './components/used-list';
  1829. import ContactUs from './components/contact-us';
  1830. import AddContact from './components/add-contact';
  1831. import { getToken } from '@/api/qiniu'
  1832. import { getFileExtension } from '@/utils/tools'
  1833. import { Swipe, SwipeItem } from 'mint-ui'
  1834. import Vue from 'vue'
  1835. import 'mint-ui/lib/style.css'
  1836. import { GetUserdModel, eidtmodel, editRideWay, SaveWorkTime, saverideway, editHospital, SaveHospital, editOffice, editDoc,
  1837. deleteModleById, SaveOffice, editImages, saveDocInfo, deleteDoctor, SaveDocdata, editOfficeEnviroment, SaveOfficeEnvironment,
  1838. getQueryNewModel, getHospital, getHospitaldata, hispitalmore, officemore, docmore, kemore, articlemore, Activitiesmore, kemoreaddNavigation, getNavigationList, addNavigation,
  1839. AddShareInfo, getShareInfo, deleteNavigation, deletemodle, editNavigation, SaveNavigation, getactivity, getMacImages, SaveActivit, getOrderModel,
  1840. GetRotationImages, getRotationDetail, editVisibleByid, deleteImages, deleteSingleImages, SaveEditPic, addeditpic, AddedialogVisible, geteditRotationImages,
  1841. editSingleVisible, UpdateSingleForm, addEditPicForm, getEditImages, AddRotationVisible, getActivities, getArticlelist, getArticleType, editGetArticlistDetail, UpdatedArticeDetail,
  1842. AddOfficeThreeVisible, getEnImages, getEnImagesTwo, officetwoVisbile, AddOfficetTwo, deleteOfficeById, GetArticleById, GetAllActivity, AddLinkAddress, getAllConnecWay, getConnecWay, editConnecway,
  1843. UpdateConnectform, deleteConnecWay, UpdateContactform, addConnectways, getHospitalIntroduction, UpdateHospitalAddress, AddPiCLink, getLinkAddressDetail, UpdatePicFormThree, getEnImagesThree,
  1844. AddMacgicform, getMacImagesDetail, deleteMacImagesDetail, UpdateMacform, getEditMacImageDetail, UpdateEditMacform, getLikeMacAddressById, GetArticleName, GetAllArticelist, UpdateLinkAddress,
  1845. AddMacLinkAddress, GetLinkAddress, addNavigationlinkform, getNavgitionlinkAddress, UpdateEditNavigationLinkform, getQueryDocInfo, change, AddDoctorInfoTwo, navigationset, GetNavigationData, getAllModelTitle, GetDoctorDetail,
  1846. GetArticleListDetail, ActivitiesListInfo, AddLinkAddressTwo, GetLinkAddressByLinkid, AddLinkAddressFour, GetMagicClickByLinkid } from '@/api/site/site'
  1847. import { IncomingMessage, get } from 'http'
  1848. import { isIP, isIPv4 } from 'net'
  1849. import Swiper from 'swiper';
  1850. import { constants } from 'crypto'
  1851. import QRCode from 'qrcodejs2'
  1852. import newsInformationVue from './components/news-information.vue'
  1853. import Neditor from '@/components/Neditor'
  1854. import { rejects, fail, strictEqual } from 'assert'
  1855. import { copyFile } from 'fs'
  1856. import { truncateSync } from 'fs'
  1857. import { isAbsolute } from 'path'
  1858. import { stringify } from 'querystring'
  1859. import { checkNumber, uParseTime, checkSort } from '@/utils/tools';
  1860. export default {
  1861. name: 'preview',
  1862. components: {
  1863. Neditor,
  1864. BreadCrumb,
  1865. NewFeature,
  1866. UsedList,
  1867. AddContact,
  1868. ContactUs
  1869. },
  1870. data() {
  1871. var checkNumberRule = (rule, value, callback) => {
  1872. if (!checkNumber(value)) {
  1873. callback(new Error('请输入1-99的整数'))
  1874. } else {
  1875. callback()
  1876. }
  1877. }
  1878. var checkSortRule = (rule, value, callback) => {
  1879. if (!checkSort(value)) {
  1880. callback(new Error('请输入1-9的整数'))
  1881. }else {
  1882. callback()
  1883. }
  1884. }
  1885. return {
  1886. radio: 3,
  1887. scrollTop: 0,
  1888. timer: null,
  1889. modeltitle: [],
  1890. hospitalform: [],
  1891. patientModels: [
  1892. {
  1893. images: [],
  1894. macimages: [],
  1895. mactitle: []
  1896. }
  1897. ],
  1898. maclist: [{ macimg: '', mactitle: '' }],
  1899. keEnvironmentImages: [],
  1900. ordrotaionImages: [],
  1901. doctors: [],
  1902. rotatationImages: [],
  1903. macImages: [],
  1904. Activitieslist: [],
  1905. Articlelist: [],
  1906. Connectways: [],
  1907. crumbs: [{ path: false, name: '预览' }],
  1908. activeName: 'first',
  1909. activeNameOne: 'index',
  1910. activeNameThree: 'three',
  1911. name: 'car',
  1912. modelshow: false,
  1913. modelshowtwo: true,
  1914. show: true,
  1915. defalutshow: false,
  1916. shows: false,
  1917. keshow: false,
  1918. docshow: false,
  1919. OfficeEnviromentShow: false,
  1920. ArticlelistShow: false,
  1921. ActivitieslistShow: false,
  1922. MacnavigationShow: false,
  1923. showimages: true,
  1924. showimage: false,
  1925. edialogVisible: false,
  1926. dialogVisibletwo: false,
  1927. dialogVisiblefour: false,
  1928. dialogVisiblefive: false,
  1929. hosipitalVisible: false,
  1930. dialogVisible: false,
  1931. adddialogVisible: false,
  1932. officeVisible: false,
  1933. docVisible: false,
  1934. comshow: false,
  1935. centerDialogVisible: false,
  1936. editcenterDialogVisible: false,
  1937. offficeEnviromentVisible: false,
  1938. ArticleVisible: false,
  1939. navigation: false,
  1940. share: false,
  1941. navigationVisible: false,
  1942. linkVisible: false,
  1943. linkVisibletwo: false,
  1944. linkVisiblethree: false,
  1945. linkVisiblefour: false,
  1946. linkaddressVisible: false,
  1947. addressVisible: false,
  1948. addressVisibleTwo: false,
  1949. define: true,
  1950. definetwo: false,
  1951. definethree: false,
  1952. definefour: false,
  1953. definefive: false,
  1954. disabled: true,
  1955. showback: false,
  1956. showindex: false,
  1957. editNavigationVisible: false,
  1958. activityVisible: false,
  1959. addVisible: false,
  1960. addVisibleTwo: false,
  1961. picshow: false,
  1962. showpiclink: false,
  1963. linkTypeShow: false,
  1964. zhanShow: false,
  1965. definelinkShow: false,
  1966. editRotationVisible: false,
  1967. editVisible: false,
  1968. setlinkVisible: false,
  1969. singleVisible: false,
  1970. singformdialogVisible: false,
  1971. edtimacdialogVisible: false,
  1972. editImagesVisbile: false,
  1973. officetwoVisible: false,
  1974. officethreeVisible: false,
  1975. addpicdialogVisible: false,
  1976. addpicdialogVisibletwo: false,
  1977. HospitalIntroduction: false,
  1978. picshow: false,
  1979. contact: false,
  1980. contacttwo: false,
  1981. contactthree: false,
  1982. linkshow: false,
  1983. docshowinfo: false,
  1984. articlelistshowinfo: false,
  1985. activitesShowinfo: false,
  1986. returnshow: false,
  1987. ellipsis: '',
  1988. docnames: [],
  1989. articeType: [
  1990. { id: 1, name: 'SCRM' },
  1991. { id: 2, name: '酷医云' }
  1992. ],
  1993. articeTypelist: [],
  1994. articeOptions: [
  1995. { id: 1 , name: '文章' },
  1996. { id: 2, name: '活动' }
  1997. ],
  1998. articeTypeOptions: [],
  1999. optiontype: [
  2000. { id: 1, name: '文章' },
  2001. { id: 2, name: '活动' },
  2002. { id: 3, name: '肾科咨询' },
  2003. { id: 4, name: '肾科动态' },
  2004. { id: 5, name: '肾科科普' },
  2005. { id: 6, name: '生活' },
  2006. { id: 7, name: '肾友故事' }
  2007. ],
  2008. navitionlinkType: [
  2009. { id: 1, name: '首页' },
  2010. { id: 2, name: '微商城' },
  2011. { id: 3, name: '联系我们' }
  2012. ],
  2013. navitionlinkTypeThree: [
  2014. { id: 1, name: '首页' },
  2015. { id: 2, name: '微商城' },
  2016. { id: 3, name: '联系我们' }
  2017. ],
  2018. option: [
  2019. ],
  2020. ops: {
  2021. vuescroll: {},
  2022. scrollPanel: {},
  2023. ail: {
  2024. keepShow: true
  2025. },
  2026. bar: {
  2027. hoverStyle: false,
  2028. onlyShowBarOnScroll: true, // 是否只有滚动的时候才显示滚动条
  2029. background: 'red'
  2030. }
  2031. },
  2032. keEnvironmentImages: [],
  2033. qiniuDomain: 'https://images.shengws.com/',
  2034. rotationData: { token: '', key: '' },
  2035. doctorDatatwo: { token: '', key: '' },
  2036. doctorData: { token: '', key: '' },
  2037. navigationData: { token: '', key: '' },
  2038. sharedata: { token: '', key: '' },
  2039. editcheckdata: { token: '', key: '' },
  2040. editcheckdatatwo: { token: '', key: '' },
  2041. picform: {
  2042. images: '',
  2043. sort: '',
  2044. piclink: 1,
  2045. linkaddress: '',
  2046. modeid: ''
  2047. },
  2048. picformTwo: {
  2049. defineaddress: ''
  2050. },
  2051. picformThree: {
  2052. id: '',
  2053. defineaddress: ''
  2054. },
  2055. editpicform: {
  2056. images: '',
  2057. sort: '',
  2058. piclink: 1,
  2059. linkaddress: '',
  2060. linkid: ''
  2061. },
  2062. editpic: {
  2063. images: '',
  2064. sort: '',
  2065. piclink: 1,
  2066. modeid: '',
  2067. linkid: ''
  2068. },
  2069. officeform: {
  2070. title: '',
  2071. sort: '',
  2072. introduction: ''
  2073. },
  2074. officeformtwo: {
  2075. officeImages: '',
  2076. sort: ''
  2077. },
  2078. officeformthree: {
  2079. id: '',
  2080. officeImages: '',
  2081. sort: '',
  2082. modelid: ''
  2083. },
  2084. eidtDoctorform: {
  2085. name: '',
  2086. user_title: '',
  2087. dochead: '',
  2088. sort: '',
  2089. content: ''
  2090. },
  2091. rotationform: {
  2092. id: '',
  2093. title: '',
  2094. sort: '',
  2095. rotationImages: []
  2096. },
  2097. workform: {
  2098. title: '',
  2099. sort: '',
  2100. worktime: ''
  2101. },
  2102. rideform: {
  2103. title: '',
  2104. sort: '',
  2105. ride_way: ''
  2106. },
  2107. doctorform: {
  2108. title: '',
  2109. sort: '',
  2110. image: '',
  2111. modleid: ''
  2112. },
  2113. docimages: [],
  2114. docimage: [],
  2115. model: {
  2116. id: '',
  2117. title: '',
  2118. sort: ''
  2119. },
  2120. officeform: {
  2121. title: '',
  2122. sort: '',
  2123. introduction: ''
  2124. },
  2125. modelform: {
  2126. id: '',
  2127. title: '',
  2128. sort: ''
  2129. },
  2130. hispitalform: {
  2131. title: '',
  2132. sort: '',
  2133. introduction: ''
  2134. },
  2135. editdocfrom: {
  2136. doc_name: '',
  2137. dochead: '',
  2138. doc_postion: '',
  2139. doc_sort: '',
  2140. docintroduction: ''
  2141. },
  2142. keform: {
  2143. title: '',
  2144. sort: '',
  2145. keImages: []
  2146. },
  2147. navigationform: {
  2148. id: '',
  2149. navtitle: '',
  2150. navigationImages: '',
  2151. nonavigationImages: '',
  2152. navigationaddress: '',
  2153. jumpset: 1,
  2154. linkid: '',
  2155. linktype: ''
  2156. },
  2157. shareform: {
  2158. sharetitle: '',
  2159. shareintroduction: '',
  2160. shareImages: ''
  2161. },
  2162. addform: {
  2163. id: '',
  2164. title: '',
  2165. sort: '',
  2166. images: [],
  2167. model_id: ''
  2168. },
  2169. singform: {
  2170. id: '',
  2171. images: '',
  2172. sort: '',
  2173. piclink: '',
  2174. linkaddress: '',
  2175. modeid: '',
  2176. linkid: ''
  2177. },
  2178. macform: {
  2179. id: '',
  2180. title: '',
  2181. sort: '',
  2182. macimages: []
  2183. },
  2184. macgicform: {
  2185. title: '',
  2186. sort: '',
  2187. macgicimages: '',
  2188. jumpset: 1,
  2189. linkaddress: ''
  2190. },
  2191. editmacform: {
  2192. margtitle: '',
  2193. margimage: '',
  2194. marginaddress: '',
  2195. jumpset: 1,
  2196. linkid: ''
  2197. },
  2198. macdataImages: [],
  2199. images: '',
  2200. positions: [
  2201. { index: 1, name: '医士' },
  2202. { index: 2, name: '医师' },
  2203. { index: 3, name: '住院医师' },
  2204. { index: 4, name: '主治医师' },
  2205. { index: 5, name: '副主任医师' },
  2206. { index: 6, name: '主任医师' },
  2207. { index: 7, name: '护士' },
  2208. { index: 8, name: '护师' },
  2209. { index: 9, name: '主管护师' },
  2210. { index: 10, name: '副主任护师' },
  2211. { index: 11, name: '主任护师' },
  2212. { index: 12, name: '运营专员' }
  2213. ],
  2214. genderOptions: [
  2215. { id: 1, name: '自定义' },
  2216. { id: 2, name: '不跳转' }
  2217. ],
  2218. genderPicLink: [
  2219. { id: 1, name: '无' },
  2220. { id: 2, name: '自定义' }
  2221. ],
  2222. linkType: [
  2223. { id: 1, name: '无' },
  2224. { id: 2, name: '站内链接' },
  2225. { id: 3, name: '站外链接' }
  2226. ],
  2227. defineOptions: [
  2228. // {id:1,name:'无'},
  2229. { id: 2, name: '站内链接' },
  2230. { id: 3, name: '电话' },
  2231. { id: 4, name: '站外链接' }
  2232. ],
  2233. neditorshow: true,
  2234. linkform: {
  2235. linktype: '',
  2236. linkdetail: '',
  2237. actitype: '',
  2238. phone: '',
  2239. offsitelink: ''
  2240. },
  2241. refform: {
  2242. defineaddress: ''
  2243. },
  2244. editNavigationform: {
  2245. navtitle: '',
  2246. navimages: '',
  2247. nonavimages: '',
  2248. jumpset: 1,
  2249. navaddress: '',
  2250. linkid: '',
  2251. linktype: ''
  2252. },
  2253. activitform: {
  2254. ttile: '',
  2255. sort: '',
  2256. number: ''
  2257. },
  2258. contactform: {
  2259. title: '',
  2260. sort: '',
  2261. connectway: ''
  2262. },
  2263. connectform: {
  2264. title: '',
  2265. connecway: '',
  2266. cotent: ''
  2267. },
  2268. contacthreeform: {
  2269. title: '',
  2270. connecway: '',
  2271. content: ''
  2272. },
  2273. connections: [
  2274. { id: 1, name: '电话' },
  2275. { id: 2, name: '非电话' }
  2276. ],
  2277. hospitaladdress: {
  2278. title: '',
  2279. sort: '',
  2280. hosaddress: ''
  2281. },
  2282. rules: {
  2283. title: [{ required: true, message: '请填写模块标题' } ],
  2284. sort: [{ required: true, message: '请填写排序值' }, { validator: checkNumberRule }],
  2285. introduction: [{ required: true, message: '请填写医院介绍' }],
  2286. image: [{ required: true, message: '请填写新增名医' }],
  2287. docname: [{ required: true, message: '请填写医生姓名' }],
  2288. docHead: [{ required: true, message: '请填写医生头像' }],
  2289. dochead: [{ required: true, message: '请填写医生头像' }],
  2290. docpositional: [{ required: true, message: '请填写医生职位' }],
  2291. docintroduction: [{ required: true, message: '请填写医生简介' }],
  2292. images: [{ required: true, message: '请添加图片' }],
  2293. keimages: [{ required: true, message: '请填写新增科室环境' }],
  2294. user_title: [{ required: true, message: '请填写医生职称' }],
  2295. docimages: [{ required: true, message: '请填写新增名医' }],
  2296. navtitle: [{ required: true, message: '请填写导航标题' }],
  2297. navigationImages: [{ required: true, message: '请填写导航图标' }],
  2298. worktime: [{ required: true, message: '请填写工作时间' }],
  2299. rideway: [{ required: true, message: '请填写乘车方式' }],
  2300. navigatitle: [{ required: true, message: '请填写导航标题' }],
  2301. navimages: [{ required: true, message: '导航图标选中' }],
  2302. nonavimages: [{ required: true, message: '导航图标未选中' }],
  2303. officeImages: [{ required: true, message: '请上传图片' }],
  2304. jumpset: [{ required: true, message: '请选择跳转设置' }],
  2305. piclink: [{ required: true, message: '请选择图片链接' }],
  2306. doc_name: [{ required: true, message: '请编辑医生姓名' }],
  2307. defineaddress: [{ required: true, message: '请填写站外地址' }],
  2308. number: [{ required: true, message: '请填写活动条数' }, { validator: checkSortRule }]
  2309. },
  2310. keData: { token: '',key: '' },
  2311. navigationdata: [],
  2312. navigationdatatwo: [],
  2313. shareInfo: [],
  2314. shareshow: false,
  2315. ordmodel: [
  2316. {
  2317. images: []
  2318. }
  2319. ],
  2320. rotationdata: [],
  2321. rotationdatatwo: [],
  2322. rotationdataThree: [],
  2323. articeform: {
  2324. title: '',
  2325. sort: '',
  2326. category: '',
  2327. categoryone: ''
  2328. },
  2329. typeShow: false,
  2330. articeNamelist: [],
  2331. articeTitlelist: [],
  2332. linkformfive: {
  2333. id: '',
  2334. linktype: '',
  2335. instationlink: '',
  2336. articetype: '',
  2337. title: '',
  2338. phone: '',
  2339. outstationlink: '',
  2340. linkaddress: ''
  2341. },
  2342. linkformtwo: {
  2343. linktype: '',
  2344. instationlink: '',
  2345. phone: '',
  2346. outstationlink: '',
  2347. linkaddress: ''
  2348. },
  2349. uploadImages: 0,
  2350. uploadimageshow: true,
  2351. navigationlinkform: {
  2352. id: '',
  2353. linktype: '',
  2354. navitionlinktype: '',
  2355. phone: '',
  2356. outstationlink: '',
  2357. instationlink: '',
  2358. linkaddress: ''
  2359. },
  2360. editnavigationlinkform: {
  2361. id: '',
  2362. linktype: 1,
  2363. navitionlinktype: '',
  2364. phone: '',
  2365. outstationlink: '',
  2366. linkaddress: ''
  2367. },
  2368. sharefive: false,
  2369. sharepic: false,
  2370. showrotation: true,
  2371. modelTtile: [],
  2372. editdoctor: {},
  2373. articlistinfo: {},
  2374. activitiesInfo: {}
  2375. }
  2376. },
  2377. methods: {
  2378. initSwiper() {
  2379. var mySwiper1 = new Swiper('.bannerSwiper', {
  2380. loop: false, // 循环模式选项
  2381. // 如果需要分页器
  2382. pagination: {
  2383. el: '.swiper-pagination'
  2384. },
  2385. autoplay: {
  2386. disableOnInteraction: false
  2387. }
  2388. })
  2389. var mySwiper2 = new Swiper('.imgSwiper', {
  2390. slidesPerView: 2
  2391. })
  2392. },
  2393. staffCreateTime(time) {
  2394. return uParseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
  2395. },
  2396. changeInput(e) {
  2397. this.$forceUpdate()
  2398. },
  2399. changeType(id) {
  2400. if (id == 1) {
  2401. this.typeShow = true
  2402. this.GetAllArticelist()
  2403. }
  2404. if (id == 2) {
  2405. this.typeShow = false
  2406. this.GetAllActivity()
  2407. // GetAllActivity().then(response=>{
  2408. // if(response.data.state == 1){
  2409. // var activtity = response.data.data.activtity;
  2410. // console.log("所有活动",activtity)
  2411. // this.articeNamelist = response.data.data.activtity;
  2412. // }
  2413. // })
  2414. }
  2415. },
  2416. changeTypetwo(id) {
  2417. GetArticleById(id).then(response => {
  2418. if (response.data.state == 1) {
  2419. var articlelist = response.data.data.articlelist
  2420. this.articeNamelist = response.data.data.articlelist
  2421. }
  2422. })
  2423. },
  2424. AddLinkAddressTwo(formName) {
  2425. console.log('站外地址:', this.refform.defineaddress)
  2426. this.$refs[formName].validate((valid) => {
  2427. if (valid) {
  2428. AddLinkAddressTwo(this.refform.defineaddress).then(response => {
  2429. if (response.data.state == 1) {
  2430. this.refform.defineaddress = '';
  2431. this.addressVisible = false
  2432. var patientLinkaddress = response.data.data.patientLinkaddress
  2433. this.singform.linkaddress = patientLinkaddress.defineaddress
  2434. this.singform.linkid = patientLinkaddress.id
  2435. console.log('数据数据返回', patientLinkaddress)
  2436. }
  2437. })
  2438. }
  2439. })
  2440. },
  2441. AddLinkAddressFour(formName) {
  2442. this.$refs[formName].validate((valid) => {
  2443. if (valid) {
  2444. AddLinkAddressFour(this.refform.defineaddress).then(response => {
  2445. if (response.data.state == 1) {
  2446. this.addressVisibleTwo = false
  2447. var linkaddress = response.data.data.linkaddress
  2448. this.editpicform.linkaddress = linkaddress.defineaddress
  2449. this.editpicform.linkid = linkaddress.id
  2450. this.refform.defineaddress = '';
  2451. console.log('问问', linkaddress)
  2452. }
  2453. })
  2454. }
  2455. })
  2456. },
  2457. changeTypeThree(id) {
  2458. if (id == 1) {
  2459. this.linkshow = true
  2460. }
  2461. if (id == 2) {
  2462. this.linkshow = false
  2463. GetAllActivity(this.articeNamelist).then(response => {
  2464. if (response.data.state == 1) {
  2465. var activtity = response.data.data.activtity
  2466. console.log('所有活动', activtity)
  2467. this.articeNamelist = response.data.data.activtity
  2468. }
  2469. })
  2470. }
  2471. },
  2472. changeOptionType(id) {
  2473. if (id = 1) {
  2474. this.getArticleType()
  2475. }
  2476. if (id = 2) {
  2477. }
  2478. if (id = 3) {
  2479. }
  2480. if (id = 4) {
  2481. }
  2482. if (id = 5) {
  2483. }
  2484. if (id = 6) {
  2485. }
  2486. if (id = 7) {
  2487. }
  2488. },
  2489. AddPiCLink(formName) {
  2490. this.$refs[formName].validate((valid) => {
  2491. if (valid) {
  2492. AddPiCLink(this.picformTwo).then(response => {
  2493. if (response.data.state == 1) {
  2494. var conlinkaddress = response.data.data.conlinkaddress
  2495. console.log('小心得按', conlinkaddress)
  2496. this.picform.linkaddress = conlinkaddress.defineaddress
  2497. }
  2498. })
  2499. }
  2500. })
  2501. },
  2502. getLinkAddressDetail(id) {
  2503. getLinkAddressDetail(id, this.picformThree).then(response => {
  2504. if (response.data.state == 1) {
  2505. var conlinkaddress = response.data.data.conlinkaddress
  2506. this.picformThree.defineaddress = conlinkaddress.defineaddress
  2507. this.picformThree.id = conlinkaddress.id
  2508. console.log('conlinkaddress是什么?', conlinkaddress)
  2509. }
  2510. })
  2511. },
  2512. UpdatePicFormThree(formName) {
  2513. this.$refs[formName].validate((valid) => {
  2514. UpdatePicFormThree(this.picformThree.id, this.picformThree).then(response => {
  2515. if (response.data.state == 1) {
  2516. this.setlinkVisible = false
  2517. var conlinkaddress = response.data.data.conlinkaddress
  2518. console.log('conlinkaddress', conlinkaddress)
  2519. this.editpic.linkaddress = conlinkaddress.defineaddress
  2520. this.editpic.linkid = conlinkaddress.id
  2521. }
  2522. })
  2523. })
  2524. },
  2525. getHospital() {
  2526. getHospital().then(response => {
  2527. if (response.data.state == 1) {
  2528. this.hospitalform = response.data.data.hostital
  2529. }
  2530. })
  2531. },
  2532. getHospitaldata() {
  2533. getHospitaldata().then(response => {
  2534. if (response.data.state == 1) {
  2535. this.patientModels = response.data.data.patientModels
  2536. var patientModels = response.data.data.patientModels
  2537. // var articles = response.data.data.articles;
  2538. // this.Articlelist = articles;
  2539. // console.log("文章码子是",articles)
  2540. console.log('数据是什么马文完全', this.patientModels)
  2541. }
  2542. })
  2543. },
  2544. getOrderModel() {
  2545. getOrderModel().then(response => {
  2546. if (response.data.state == 1) {
  2547. var ordmodel = response.data.data.ordmodel
  2548. this.ordmodel = response.data.data.ordmodel
  2549. // var images = [];
  2550. console.log("好难",this.ordmodel);
  2551. // for (let index = 0; index < this.ordmodel.length; index++) {
  2552. // var rotationImages = this.ordmodel[index].Oldration.rotation_images;
  2553. // console.log("rotationImages",rotationImages)
  2554. // var rotationImagess = rotationImages.split(",");
  2555. // console.log("rotationImagess",rotationImagess)
  2556. // images = rotationImagess;
  2557. // this.ordmodel[index]["images"] = images;
  2558. // }
  2559. console.log('mawenqiang', this.ordmodel)
  2560. }
  2561. })
  2562. },
  2563. myindex() {
  2564. this.modelshowtwo = true
  2565. this.modelshow = false
  2566. },
  2567. myindextwo() {
  2568. this.modelshowtwo = false
  2569. this.modelshow = true
  2570. },
  2571. handleClick(tab, event) {
  2572. if (this.activeNameOne == 'index') {
  2573. this.modelshowtwo = true
  2574. this.modelshow = false
  2575. }
  2576. if (this.activeNameOne == 'contactus') {
  2577. this.modelshowtwo = false
  2578. this.modelshow = true
  2579. }
  2580. },
  2581. handleClickTwo(tab, event) {
  2582. if (this.activeName == 'used') {
  2583. this.getQueryNewModel()
  2584. }
  2585. },
  2586. handleClickThree(tab, event) {
  2587. if (this.activeNameThree == 'usedtwo') {
  2588. this.GetUserdModel()
  2589. }
  2590. },
  2591. sharemanage() {
  2592. this.navigation = false
  2593. this.share = true
  2594. },
  2595. navigationset() {
  2596. navigationset().then(response => {
  2597. if (response.data.state == 1) {
  2598. var sgjPatientNavigation = response.data.data.sgjPatientNavigation
  2599. var navigations = response.data.data.navigations
  2600. for (let index = 0; index < navigations.length; index++) {
  2601. navigations[0].nonavimages = 'https://images.shengws.com/2089_o_1571990714383.png';
  2602. }
  2603. this.navigationdata = navigations
  2604. this.navigationdatatwo = navigations
  2605. console.log('this.navigationdatatwo是什么?', navigations)
  2606. this.navigation = true
  2607. this.share = false
  2608. }
  2609. })
  2610. },
  2611. handleEditSuccess(res, file) {
  2612. this.picform.images = this.qiniuDomain + res.url
  2613. this.picshow = true
  2614. },
  2615. handleEditAvatarUpload(file) {
  2616. var fileType = file.type
  2617. const isJPG = fileType.indexOf('image') > -1
  2618. const isLt2M = file.size / 1024 / 1024 < 2
  2619. if (!isJPG) {
  2620. this.$message.error('只能上传图片')
  2621. return false
  2622. }
  2623. if (!isLt2M) {
  2624. this.$message.error('图片大小不能超过 2MB!')
  2625. return false
  2626. }
  2627. var date = new Date()
  2628. var ext = getFileExtension(file.name)
  2629. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2630. this.loadingText = '封面图片上传中'
  2631. const _self = this
  2632. return new Promise((resolve, reject) => {
  2633. getToken().then(response => {
  2634. const token = response.data.data.uptoken
  2635. console.log('导航图标token是什么?', token)
  2636. _self._data.navigationData.token = token
  2637. _self._data.navigationData.key = key
  2638. resolve(true)
  2639. }).catch(err => {
  2640. reject(false)
  2641. })
  2642. })
  2643. return isJPG && isLt2M
  2644. },
  2645. handleEditpicSuccess(res, file) {
  2646. this.editpic.images = this.qiniuDomain + res.url
  2647. },
  2648. handleEditpicAvatarUpload(file) {
  2649. var fileType = file.type
  2650. const isJPG = fileType.indexOf('image') > -1
  2651. const isLt2M = file.size / 1024 / 1024 < 2
  2652. if (!isJPG) {
  2653. this.$message.error('只能上传图片')
  2654. return false
  2655. }
  2656. if (!isLt2M) {
  2657. this.$message.error('图片大小不能超过 2MB!')
  2658. return false
  2659. }
  2660. var date = new Date()
  2661. var ext = getFileExtension(file.name)
  2662. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2663. this.loadingText = '封面图片上传中'
  2664. const _self = this
  2665. return new Promise((resolve, reject) => {
  2666. getToken().then(response => {
  2667. const token = response.data.data.uptoken
  2668. console.log('导航图标token是什么?', token)
  2669. _self._data.navigationData.token = token
  2670. _self._data.navigationData.key = key
  2671. resolve(true)
  2672. }).catch(err => {
  2673. reject(false)
  2674. })
  2675. })
  2676. return isJPG && isLt2M
  2677. },
  2678. // 轮播图
  2679. RotationchartSuccess(res, file, filelist) {
  2680. this.rotationform.rotationImages.push(this.qiniuDomain + res.url)
  2681. console.log('双层地址', file.url)
  2682. console.log('联系我们轮播图地址', this.rotationform.rotationImages)
  2683. },
  2684. beforeRotationUpload(file) {
  2685. console.log('尺寸', file.size)
  2686. const isJPG = file.type === 'image/jpeg'
  2687. const isLt2M = file.size / 1024 / 1024 < 2
  2688. if (!isJPG) {
  2689. this.$message.error('上传头像图片只能是 JPG 格式!')
  2690. }
  2691. if (!isLt2M) {
  2692. this.$message.error('上传头像图片大小不能超过 2MB!')
  2693. }
  2694. var date = new Date()
  2695. var ext = getFileExtension(file.name)
  2696. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2697. const _self = this
  2698. return new Promise((resolve, reject) => {
  2699. getToken().then(response => {
  2700. const token = response.data.data.uptoken
  2701. console.log('联系我们轮播图token是什么?', token)
  2702. _self._data.rotationData.token = token
  2703. _self._data.rotationData.key = key
  2704. resolve(true)
  2705. }).catch(err => {
  2706. reject(false)
  2707. })
  2708. })
  2709. return isJPG && isLt2M
  2710. },
  2711. edithandleAvatarSuccess(res) {
  2712. this.editpicform.images = this.qiniuDomain + res.url
  2713. this.picshow = true
  2714. },
  2715. editbeforeAvatarUpload(file) {
  2716. console.log('上传类型', file.type)
  2717. var fileType = file.type
  2718. const isJPG = fileType.indexOf('image') > -1
  2719. const isLt2M = file.size / 1024 / 1024 < 2
  2720. if (!isJPG) {
  2721. this.$message.error('只能上传图片')
  2722. return false
  2723. }
  2724. if (!isLt2M) {
  2725. this.$message.error('图片大小不能超过 2MB!')
  2726. return false
  2727. }
  2728. var date = new Date()
  2729. var ext = getFileExtension(file.name)
  2730. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2731. const _self = this
  2732. return new Promise((resolve, reject) => {
  2733. getToken().then(response => {
  2734. const token = response.data.data.uptoken
  2735. console.log('token是什么?', token)
  2736. _self._data.navigationData.token = token
  2737. _self._data.navigationData.key = key
  2738. resolve(true)
  2739. }).catch(err => {
  2740. reject(false)
  2741. })
  2742. })
  2743. return isJPG && isLt2M
  2744. },
  2745. handleAvatarSuccess(res, file) {
  2746. this.eidtDoctorform.dochead = this.qiniuDomain + res.url
  2747. },
  2748. navigationAvatarSuccess(res, file) {
  2749. this.navigationform.navigationImages = this.qiniuDomain + res.url
  2750. },
  2751. navigationbeforeAvatarUpload(file) {
  2752. var fileType = file.type
  2753. const isJPG = fileType.indexOf('image') > -1
  2754. const isLt2M = file.size / 1024 / 1024 < 2
  2755. if (!isJPG) {
  2756. this.$message.error('只能上传图片')
  2757. return false
  2758. }
  2759. if (!isLt2M) {
  2760. this.$message.error('图片大小不能超过 2MB!')
  2761. return false
  2762. }
  2763. var date = new Date()
  2764. var ext = getFileExtension(file.name)
  2765. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2766. this.loadingText = '封面图片上传中'
  2767. const _self = this
  2768. return new Promise((resolve, reject) => {
  2769. getToken().then(response => {
  2770. const token = response.data.data.uptoken
  2771. console.log('导航图标token是什么?', token)
  2772. _self._data.navigationData.token = token
  2773. _self._data.navigationData.key = key
  2774. resolve(true)
  2775. }).catch(err => {
  2776. reject(false)
  2777. })
  2778. })
  2779. return isJPG && isLt2M
  2780. },
  2781. navigationAvatarSuccessone(res, file) {
  2782. this.navigationform.nonavigationImages = this.qiniuDomain + res.url
  2783. },
  2784. navigationbeforeAvatarUploadone(file) {
  2785. var fileType = file.type
  2786. const isJPG = fileType.indexOf('image') > -1
  2787. const isLt2M = file.size / 1024 / 1024 < 2
  2788. if (!isJPG) {
  2789. this.$message.error('只能上传图片')
  2790. return false
  2791. }
  2792. if (!isLt2M) {
  2793. this.$message.error('图片大小不能超过 2MB!')
  2794. return false
  2795. }
  2796. var date = new Date()
  2797. var ext = getFileExtension(file.name)
  2798. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2799. this.loadingText = '封面图片上传中'
  2800. const _self = this
  2801. return new Promise((resolve, reject) => {
  2802. getToken().then(response => {
  2803. const token = response.data.data.uptoken
  2804. console.log('导航图标token是什么?', token)
  2805. _self._data.navigationData.token = token
  2806. _self._data.navigationData.key = key
  2807. resolve(true)
  2808. }).catch(err => {
  2809. reject(false)
  2810. })
  2811. })
  2812. return isJPG && isLt2M
  2813. },
  2814. beforeAvatarUpload(file) {
  2815. var fileType = file.type
  2816. const isJPG = fileType.indexOf('image') > -1
  2817. const isLt2M = file.size / 1024 / 1024 < 2
  2818. if (!isJPG) {
  2819. this.$message.error('只能上传图片')
  2820. return false
  2821. }
  2822. if (!isLt2M) {
  2823. this.$message.error('图片大小不能超过 2MB!')
  2824. return false
  2825. }
  2826. var date = new Date()
  2827. var ext = getFileExtension(file.name)
  2828. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2829. this.uploading = true
  2830. this.loadingText = '封面图片上传中'
  2831. const _self = this
  2832. return new Promise((resolve, reject) => {
  2833. getToken().then(response => {
  2834. const token = response.data.data.uptoken
  2835. console.log('医生头像token是什么?', token)
  2836. _self._data.doctorData.token = token
  2837. _self._data.doctorData.key = key
  2838. resolve(true)
  2839. }).catch(err => {
  2840. reject(false)
  2841. this.uploading = false
  2842. })
  2843. })
  2844. return isJPG && isLt2M
  2845. },
  2846. // 分享管理
  2847. shareAvatarSuccess(res, file) {
  2848. this.shareform.shareImages = this.qiniuDomain + res.url
  2849. },
  2850. shareAvatarUpload(file) {
  2851. var fileType = file.type
  2852. const isJPG = fileType.indexOf('image') > -1
  2853. const isLt2M = file.size / 1024 / 1024 < 2
  2854. if (!isJPG) {
  2855. this.$message.error('只能上传图片')
  2856. return false
  2857. }
  2858. if (!isLt2M) {
  2859. this.$message.error('图片大小不能超过 2MB!')
  2860. return false
  2861. }
  2862. var date = new Date()
  2863. var ext = getFileExtension(file.name)
  2864. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2865. this.uploading = true
  2866. this.loadingText = '封面图片上传中'
  2867. const _self = this
  2868. return new Promise((resolve, reject) => {
  2869. getToken().then(response => {
  2870. const token = response.data.data.uptoken
  2871. console.log('医生头像token是什么?', token)
  2872. _self._data.sharedata.token = token
  2873. _self._data.sharedata.key = key
  2874. resolve(true)
  2875. }).catch(err => {
  2876. reject(false)
  2877. this.uploading = false
  2878. })
  2879. })
  2880. return isJPG && isLt2M
  2881. },
  2882. editNaviAvatarSuccess(res, file) {
  2883. this.editNavigationform.navimages = this.qiniuDomain + res.url
  2884. },
  2885. editNaviAvatarUpload(file) {
  2886. var fileType = file.type
  2887. const isJPG = fileType.indexOf('image') > -1
  2888. const isLt2M = file.size / 1024 / 1024 < 2
  2889. if (!isJPG) {
  2890. this.$message.error('只能上传图片')
  2891. return false
  2892. }
  2893. if (!isLt2M) {
  2894. this.$message.error('图片大小不能超过 2MB!')
  2895. return false
  2896. }
  2897. var date = new Date()
  2898. var ext = getFileExtension(file.name)
  2899. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2900. this.uploading = true
  2901. this.loadingText = '封面图片上传中'
  2902. const _self = this
  2903. return new Promise((resolve, reject) => {
  2904. getToken().then(response => {
  2905. const token = response.data.data.uptoken
  2906. console.log('医生头像token是什么?', token)
  2907. _self._data.editcheckdata.token = token
  2908. _self._data.editcheckdata.key = key
  2909. resolve(true)
  2910. }).catch(err => {
  2911. reject(false)
  2912. this.uploading = false
  2913. })
  2914. })
  2915. return isJPG && isLt2M
  2916. },
  2917. editNaviAvatarSuccessone(res, file) {
  2918. this.editNavigationform.nonavimages = this.qiniuDomain + res.url
  2919. console.log('这是', this.qiniuDomain + res.url)
  2920. console.log('只是什么', this.editNavigationform.nonavimages)
  2921. },
  2922. editNaviAvatarUploadone(file) {
  2923. var fileType = file.type
  2924. const isJPG = fileType.indexOf('image') > -1
  2925. const isLt2M = file.size / 1024 / 1024 < 2
  2926. if (!isJPG) {
  2927. this.$message.error('只能上传图片')
  2928. return false
  2929. }
  2930. if (!isLt2M) {
  2931. this.$message.error('图片大小不能超过 2MB!')
  2932. return false
  2933. }
  2934. var date = new Date()
  2935. var ext = getFileExtension(file.name)
  2936. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2937. const _self = this
  2938. return new Promise((resolve, reject) => {
  2939. getToken().then(response => {
  2940. const token = response.data.data.uptoken
  2941. console.log('token是什么?', token)
  2942. _self._data.editcheckdatatwo.token = token
  2943. _self._data.editcheckdatatwo.key = key
  2944. resolve(true)
  2945. }).catch(err => {
  2946. reject(false)
  2947. })
  2948. })
  2949. return isJPG && isLt2M
  2950. },
  2951. singformAvatarSuccess(res, file) {
  2952. this.singform.images = this.qiniuDomain + res.url
  2953. },
  2954. singformAvatarUpload(file) {
  2955. var fileType = file.type
  2956. const isJPG = fileType.indexOf('image') > -1
  2957. const isLt2M = file.size / 1024 / 1024 < 2
  2958. if (!isJPG) {
  2959. this.$message.error('只能上传图片')
  2960. return false
  2961. }
  2962. if (!isLt2M) {
  2963. this.$message.error('图片大小不能超过 2MB!')
  2964. return false
  2965. }
  2966. var date = new Date()
  2967. var ext = getFileExtension(file.name)
  2968. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  2969. this.uploading = true
  2970. this.loadingText = '封面图片上传中'
  2971. const _self = this
  2972. return new Promise((resolve, reject) => {
  2973. getToken().then(response => {
  2974. const token = response.data.data.uptoken
  2975. console.log('医生头像token是什么?', token)
  2976. _self._data.editcheckdata.token = token
  2977. _self._data.editcheckdata.key = key
  2978. resolve(true)
  2979. }).catch(err => {
  2980. reject(false)
  2981. this.uploading = false
  2982. })
  2983. })
  2984. return isJPG && isLt2M
  2985. },
  2986. editNaviAvatarSuccesstwo(res, file) {
  2987. this.macgicform.macgicimages = this.qiniuDomain + res.url
  2988. },
  2989. editNaviAvatarUploadtwo(file) {
  2990. var fileType = file.type
  2991. const isJPG = fileType.indexOf('image') > -1
  2992. const isLt2M = file.size / 1024 / 1024 < 2
  2993. if (!isJPG) {
  2994. this.$message.error('只能上传图片')
  2995. return false
  2996. }
  2997. if (!isLt2M) {
  2998. this.$message.error('图片大小不能超过 2MB!')
  2999. return false
  3000. }
  3001. var date = new Date()
  3002. var ext = getFileExtension(file.name)
  3003. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  3004. this.uploading = true
  3005. this.loadingText = '封面图片上传中'
  3006. const _self = this
  3007. return new Promise((resolve, reject) => {
  3008. getToken().then(response => {
  3009. const token = response.data.data.uptoken
  3010. console.log('魔方导航token是什么?', token)
  3011. _self._data.editcheckdata.token = token
  3012. _self._data.editcheckdata.key = key
  3013. resolve(true)
  3014. }).catch(err => {
  3015. reject(false)
  3016. this.uploading = false
  3017. })
  3018. })
  3019. return isJPG && isLt2M
  3020. },
  3021. editNaviAvatarSuccessthree(res, file) {
  3022. this.editmacform.margimage = this.qiniuDomain + res.url
  3023. },
  3024. editNaviAvatarUploadthree(file) {
  3025. var fileType = file.type
  3026. const isJPG = fileType.indexOf('image') > -1
  3027. const isLt2M = file.size / 1024 / 1024 < 2
  3028. if (!isJPG) {
  3029. this.$message.error('只能上传图片')
  3030. return false
  3031. }
  3032. if (!isLt2M) {
  3033. this.$message.error('图片大小不能超过 2MB!')
  3034. return false
  3035. }
  3036. var date = new Date()
  3037. var ext = getFileExtension(file.name)
  3038. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  3039. this.uploading = true
  3040. this.loadingText = '封面图片上传中'
  3041. const _self = this
  3042. return new Promise((resolve, reject) => {
  3043. getToken().then(response => {
  3044. const token = response.data.data.uptoken
  3045. console.log('魔方导航token是什么?', token)
  3046. _self._data.editcheckdata.token = token
  3047. _self._data.editcheckdata.key = key
  3048. resolve(true)
  3049. }).catch(err => {
  3050. reject(false)
  3051. this.uploading = false
  3052. })
  3053. })
  3054. return isJPG && isLt2M
  3055. },
  3056. // 添加轮播图
  3057. addRotationUpload(formName) {
  3058. this.$refs[formName].validate((valid) => {
  3059. if (valid) {
  3060. addRotationUpload(this.rotationform).then(response => {
  3061. if (response.data.state == 1) {
  3062. var connecmodel = response.data.data.connecmodel
  3063. this.slideshow = false
  3064. console.log('返回值', connecmodel)
  3065. }
  3066. })
  3067. }
  3068. })
  3069. },
  3070. addEditPicForm(formName) {
  3071. if (this.editpicform.linkid == '') {
  3072. this.editpicform.linkid = 0
  3073. }
  3074. var sorts = this.editpicform.sort
  3075. var sort = parseInt(sorts)
  3076. this.editpicform.sort = sort
  3077. this.$refs[formName].validate((valid) => {
  3078. if (valid) {
  3079. addEditPicForm(this.addform.id, this.editpicform).then(response => {
  3080. if (response.data.state == 1) {
  3081. this.editRotationVisible = false
  3082. var editpiclink = response.data.data.editpiclink
  3083. var editpiclinks = response.data.data.editpiclinks
  3084. console.log('editpiclink是什么?', editpiclinks)
  3085. this.rotationdatatwo = editpiclinks
  3086. var total = response.data.data.total
  3087. this.uploadImages = response.data.data.total
  3088. if (total >= 9) {
  3089. this.uploadimageshow = false
  3090. }
  3091. // this.getEditImages();
  3092. // this.getEnImagesTwo();
  3093. this.editpicform.images = '';
  3094. this.editpicform.sort = '';
  3095. this.editpicform.piclink = '';
  3096. this.editpicform.linkaddress = '';
  3097. this.picshow = false
  3098. console.log('返回数据', editpiclink)
  3099. }
  3100. })
  3101. }
  3102. })
  3103. },
  3104. AddRotationVisible(formName) {
  3105. var sorts = this.addform.sort
  3106. var sort = parseInt(sorts)
  3107. this.addform.sort = sort
  3108. console.log('哈哈哈', this.addform.sort)
  3109. var images = []
  3110. for (let index = 0; index < this.rotationdatatwo.length; index++) {
  3111. images.push(this.rotationdatatwo[index].images)
  3112. }
  3113. this.addform.images = images
  3114. this.$refs[formName].validate((valid) => {
  3115. if (valid) {
  3116. AddRotationVisible(this.addform.id, this.addform).then(response => {
  3117. if (response.data.state == 1) {
  3118. this.adddialogVisible = false
  3119. var patientRotation = response.data.data.patientRotation
  3120. console.log('patientRotation是什么', patientRotation)
  3121. var model = response.data.data.model
  3122. console.log('model是什么', model)
  3123. this.getQueryNewModel()
  3124. this.getHospitaldata()
  3125. this.getEnImagesTwo()
  3126. }
  3127. })
  3128. }
  3129. })
  3130. },
  3131. // 查看医院详情
  3132. hispitalmore(id) {
  3133. hispitalmore(id).then(response => {
  3134. if (response.data.state == 1) {
  3135. var hospital = response.data.data.hospital
  3136. this.hospitalform = response.data.data.hospital
  3137. console.log('医院详情数据', hospital)
  3138. console.log('医院详情数据是', this.hospitalform)
  3139. this.modelshowtwo = false
  3140. this.shows = true
  3141. this.showback = true
  3142. this.showindex = true
  3143. }
  3144. })
  3145. },
  3146. returnIndex() {
  3147. this.defalutshow = false
  3148. this.modelshowtwo = true
  3149. this.shows = false
  3150. this.showback = false
  3151. this.showindex = false
  3152. this.docshow = false
  3153. this.shows = false
  3154. this.keshow = false
  3155. this.OfficeEnviromentShow = false
  3156. this.ArticlelistShow = false
  3157. this.ActivitieslistShow = false
  3158. this.activitiesInfo = false
  3159. this.articlistinfo = false
  3160. this.docshowinfo = false
  3161. },
  3162. // 查看科室详情
  3163. officemore(id) {
  3164. officemore(id).then(response => {
  3165. if (response.data.state == 1) {
  3166. var offices = response.data.data.offices
  3167. this.officeform = response.data.data.offices
  3168. console.log('科室详情数据', offices)
  3169. this.modelshowtwo = false
  3170. this.keshow = true
  3171. this.showback = true
  3172. this.showindex = true
  3173. }
  3174. })
  3175. },
  3176. // 查看名医详情
  3177. docmore(id) {
  3178. docmore(id).then(response => {
  3179. if (response.data.state == 1) {
  3180. var editdoctor = response.data.data.editdoctor
  3181. this.editdocfrom = response.data.data.editdoctor
  3182. this.modelshowtwo = false
  3183. this.docshow = true
  3184. this.showback = true
  3185. this.showindex = true
  3186. console.log('编辑医生返回数据', editdoctor)
  3187. }
  3188. })
  3189. },
  3190. // 查看科室环境详情
  3191. kemore(id) {
  3192. kemore(id).then(response => {
  3193. if (response.data.state == 1) {
  3194. var offenvironment = response.data.data.offenvironment
  3195. this.keEnvironmentImages = offenvironment
  3196. console.log('科室环境详情页', offenvironment)
  3197. this.modelshowtwo = false
  3198. this.OfficeEnviromentShow = true
  3199. this.showback = true
  3200. this.showindex = true
  3201. }
  3202. })
  3203. },
  3204. articlemore(id) {
  3205. articlemore(id).then(response => {
  3206. if (response.data.state == 1) {
  3207. var articlelist = response.data.data.articlelists
  3208. this.articlelist = response.data.data.articlelists
  3209. this.modelshowtwo = false
  3210. this.showback = true
  3211. this.showindex = true
  3212. this.ArticlelistShow = true
  3213. console.log('得到获取文章列表', articlelist)
  3214. }
  3215. })
  3216. },
  3217. // 查看活动列表详情
  3218. Activitiesmore(id) {
  3219. Activitiesmore(id).then(response => {
  3220. if (response.data.state == 1) {
  3221. var activity = response.data.data.activity
  3222. this.Activitieslist = response.data.data.activity
  3223. this.modelshowtwo = false
  3224. this.ActivitieslistShow = true
  3225. this.showback = true
  3226. this.showindex = true
  3227. console.log('获取活动列表', activity)
  3228. }
  3229. })
  3230. },
  3231. indexone() {
  3232. this.shows = false
  3233. this.show = true
  3234. },
  3235. // callback(){
  3236. // target.scrollIntoView();
  3237. // },
  3238. // 查询联系我们已使用的模块
  3239. GetUserdModel() {
  3240. GetUserdModel().then(response => {
  3241. if (response.data.state == 1) {
  3242. this.model = response.data.data.model
  3243. // console.log("模型",this.model);
  3244. }
  3245. })
  3246. },
  3247. clickmodel() {
  3248. this.GetUserdModel()
  3249. },
  3250. clickAddmodel() {
  3251. this.getQueryNewModel()
  3252. },
  3253. // 查询首页已使用的模块
  3254. getQueryNewModel() {
  3255. getQueryNewModel().then(response => {
  3256. if (response.data.state == 1) {
  3257. var model = response.data.data.model
  3258. this.modelform = response.data.data.model
  3259. console.log('这是啥', this.modelform)
  3260. }
  3261. })
  3262. },
  3263. editModelByID(id, modetype, index) {
  3264. if (modetype == 1) {
  3265. this.adddialogVisible = true
  3266. geteditRotationImages(id, this.addform).then(response => {
  3267. if (response.data.state == 1) {
  3268. var model = response.data.data.model
  3269. console.log('patient', model)
  3270. this.addform = response.data.data.model
  3271. var editpiclink = response.data.data.editpiclink
  3272. this.rotationdatatwo = response.data.data.editpiclink
  3273. this.uploadImages = response.data.data.total
  3274. console.log('海珍数据', editpiclink)
  3275. }
  3276. })
  3277. }
  3278. if (modetype == 2) {
  3279. this.hosipitalVisible = true
  3280. editHospital(id).then(response => {
  3281. if (response.data.state == 1) {
  3282. var hospital = response.data.data.hospital
  3283. this.hispitalform = response.data.data.hospital
  3284. }
  3285. })
  3286. }
  3287. if (modetype == 3) {
  3288. this.officeVisible = true
  3289. editOffice(id).then(response => {
  3290. if (response.data.state == 1) {
  3291. this.officeform = response.data.data.offices
  3292. }
  3293. })
  3294. }
  3295. if (modetype == 4) {
  3296. this.docVisible = true
  3297. editDoc(id).then(response => {
  3298. if (response.data.state == 1) {
  3299. this.doctorform = response.data.data.editdoctor
  3300. var editdoctor = response.data.data.editdoctor
  3301. this.doctorform.modleid = this.doctorform.id
  3302. console.log('我爱你中国', this.doctorform)
  3303. var editdoctors = response.data.data.editdoctors
  3304. this.docimages = response.data.data.editdoctors
  3305. }
  3306. })
  3307. }
  3308. if (modetype == 5) {
  3309. this.offficeEnviromentVisible = true
  3310. editOfficeEnviroment(id).then(response => {
  3311. if (response.data.state == 1) {
  3312. var model = response.data.data.model
  3313. this.keform = model
  3314. // var OfficeEnvironment = response.data.data.offenvironment;
  3315. // this.keform = response.data.data.offenvironment;
  3316. // console.log("科室环境",OfficeEnvironment);
  3317. this.rotationdata = response.data.data.patientenviroimages
  3318. }
  3319. })
  3320. }
  3321. if (modetype == 6) {
  3322. this.ArticleVisible = true
  3323. console.log('id是说的', id)
  3324. editGetArticlistDetail(id).then(response => {
  3325. if (response.data.state == 1) {
  3326. var articlelist = response.data.data.articlelist
  3327. this.articeform = response.data.data.articlelist
  3328. console.log('articlelist', articlelist)
  3329. }
  3330. })
  3331. }
  3332. if (modetype == 7) {
  3333. this.activityVisible = true
  3334. getactivity(id).then(response => {
  3335. if (response.data.state == 1) {
  3336. var addactivity = response.data.data.addactivity
  3337. this.activitform = response.data.data.addactivity
  3338. console.log('数据', addactivity)
  3339. this.getHospitaldata()
  3340. }
  3341. })
  3342. }
  3343. if (modetype == 8) {
  3344. this.edtimacdialogVisible = true
  3345. getMacImages(id).then(response => {
  3346. if (response.data.state == 1) {
  3347. var macnavigation = response.data.data.macnavigation
  3348. this.macdataImages = response.data.data.macnavigation
  3349. var model = response.data.data.model
  3350. console.log('model是什么', model)
  3351. this.macform = response.data.data.model
  3352. console.log('返回查询数据', this.macdataImages)
  3353. }
  3354. })
  3355. }
  3356. },
  3357. editImages(id) {
  3358. editImages(id).then(response => {
  3359. if (response.data.state == 1) {
  3360. var editdoctor = response.data.data.editdoctor
  3361. this.editdocfrom = response.data.data.editdoctor
  3362. console.log('数据', editdoctor)
  3363. }
  3364. })
  3365. },
  3366. editVisibleByid(id) {
  3367. editVisibleByid(id).then(response => {
  3368. if (response.data.state == 1) {
  3369. var conrotation = response.data.data.conrotation
  3370. console.log('hheh', conrotation)
  3371. this.editpic = conrotation
  3372. }
  3373. })
  3374. },
  3375. deleteImages(id, index) {
  3376. deleteImages(id, index).then(response => {
  3377. if (response.data.state == 1) {
  3378. var total = response.data.data.total
  3379. this.uploadImages = total
  3380. this.rotationdataThree.splice(index, 1)
  3381. }
  3382. })
  3383. },
  3384. deleteSingleImages(id, modeid, index) {
  3385. this.$confirm('确定要删除图片吗?删除后该图片将无法恢复', '删除提示!', {
  3386. dangerouslyUseHTMLString: true,
  3387. confirmButtonText: '确定',
  3388. cancelButtonText: '取消',
  3389. type: 'warning'
  3390. }).then(() => {
  3391. deleteSingleImages(id, modeid, index).then(response => {
  3392. if (response.data.state == 1) {
  3393. this.rotationdatatwo.splice(index, 1)
  3394. var total = response.data.data.total
  3395. console.log('total是什么', total)
  3396. this.uploadImages = total
  3397. this.uploadimageshow = true
  3398. }
  3399. })
  3400. })
  3401. },
  3402. SaveEditPic(formName) {
  3403. this.$refs[formName].validate((valid) => {
  3404. if (valid) {
  3405. var sorts = this.editpic.sort
  3406. var sort = parseInt(sorts)
  3407. this.editpic.sort = sort
  3408. SaveEditPic(this.editpic.id, this.editpic).then(response => {
  3409. if (response.data.state == 1) {
  3410. var conrotation = response.data.data.conrotation
  3411. var conrotations = response.data.data.conrotations
  3412. console.log('conrotations是什么', conrotations)
  3413. this.rotationdataThree = response.data.data.conrotations
  3414. // this.getEnImagesThree();
  3415. console.log('更新的数据', conrotation)
  3416. }
  3417. })
  3418. }
  3419. })
  3420. },
  3421. addeditpic(formName) {
  3422. var sorts = this.picform.sort
  3423. var sort = parseInt(sorts)
  3424. this.picform.sort = sort
  3425. this.$refs[formName].validate((valid) => {
  3426. if (valid) {
  3427. addeditpic(this.rotationform.id, this.picform).then(response => {
  3428. if (response.data.state == 1) {
  3429. this.addVisible = false
  3430. var conrotation = response.data.data.conrotation
  3431. var conrotations = response.data.data.conrotations
  3432. console.log('钟无艳', conrotations)
  3433. this.rotationdataThree = response.data.data.conrotations
  3434. console.log('添加数据', conrotation)
  3435. // this.getEnImagesThree();
  3436. }
  3437. })
  3438. }
  3439. })
  3440. },
  3441. AddedialogVisible(formName) {
  3442. var sorts = this.rotationform.sort
  3443. var sort = parseInt(sorts)
  3444. this.rotationform.sort = sort
  3445. var images = []
  3446. for (let index = 0; index < this.rotationdataThree.length; index++) {
  3447. images.push(this.rotationdataThree[index].images)
  3448. }
  3449. this.rotationform.rotationImages = images
  3450. this.$refs[formName].validate((valid) => {
  3451. if (valid) {
  3452. AddedialogVisible(this.rotationform.id, this.rotationform).then(response => {
  3453. if (response.data.state == 1) {
  3454. var oldrotation = response.data.data.oldrotation
  3455. console.log(oldrotation)
  3456. var ordmodel = response.data.data.ordmodel
  3457. console.log(ordmodel)
  3458. this.getOrderModel()
  3459. this.GetUserdModel()
  3460. }
  3461. })
  3462. }
  3463. })
  3464. },
  3465. GetRotationImages() {
  3466. GetRotationImages().then(response => {
  3467. if (response.data.state == 1) {
  3468. var conrotations = response.data.data.conrotations
  3469. console.log('获取轮播图片', conrotations)
  3470. this.rotationdata = response.data.data.conrotations
  3471. console.log('hheh', this.rotationdata)
  3472. }
  3473. })
  3474. },
  3475. getEditImages() {
  3476. getEditImages().then(response => {
  3477. if (response.data.state == 1) {
  3478. var editpiclinks = response.data.data.editpiclinks
  3479. this.rotationdata = response.data.data.editpiclinks
  3480. console.log('好嗨哦', editpiclinks)
  3481. }
  3482. })
  3483. },
  3484. getEnImages() {
  3485. getEnImages().then(response => {
  3486. if (response.data.state == 1) {
  3487. var enviroimages = response.data.data.enviroimages
  3488. console.log('中国人', enviroimages)
  3489. this.rotationdata = response.data.data.enviroimages
  3490. }
  3491. })
  3492. },
  3493. getEnImagesTwo() {
  3494. getEnImagesTwo().then(response => {
  3495. if (response.data.state == 1) {
  3496. var editpiclink = response.data.data.editpiclink
  3497. console.log('图片是什么', editpiclink)
  3498. this.rotationdatatwo = editpiclink
  3499. }
  3500. })
  3501. },
  3502. getEnImagesThree() {
  3503. getEnImagesThree().then(response => {
  3504. if (response.data.state == 1) {
  3505. var conrotation = response.data.data.conrotation
  3506. console.log('conrotation', conrotation)
  3507. this.rotationdataThree = response.data.data.conrotation
  3508. }
  3509. })
  3510. },
  3511. editSingleVisible(id) {
  3512. editSingleVisible(id, this.addform).then(response => {
  3513. if (response.data.state == 1) {
  3514. var editpiclink = response.data.data.editpiclink
  3515. console.log('我的数据是', editpiclink)
  3516. if (editpiclink.piclink == 1) {
  3517. this.showpiclink = false
  3518. }
  3519. if (editpiclink.piclink == 2) {
  3520. this.showpiclink = true
  3521. }
  3522. this.singform = response.data.data.editpiclink
  3523. }
  3524. })
  3525. },
  3526. UpdateSingleForm(formName) {
  3527. this.$refs[formName].validate((valid) => {
  3528. if (valid) {
  3529. var sorts = this.singform.sort
  3530. var sort = parseInt(sorts)
  3531. this.singform.sort = sort
  3532. console.log('轮播图排序值:', sorts)
  3533. UpdateSingleForm(this.singform.id, this.singform).then(response => {
  3534. if (response.data.state == 1) {
  3535. this.singleVisible = false
  3536. var editpiclink = response.data.data.editpiclink
  3537. console.log('更改数据', editpiclink)
  3538. var patientEditpiclink = response.data.data.patientEditpiclink
  3539. console.log('这个是什么运营呢', patientEditpiclink)
  3540. this.rotationdatatwo = response.data.data.patientEditpiclink
  3541. }
  3542. })
  3543. }
  3544. })
  3545. },
  3546. saveDocInfo(formName) {
  3547. this.$refs[formName].validate((valid) => {
  3548. if (valid) {
  3549. var sorts = this.editdocfrom.doc_sort
  3550. var sort = parseInt(sorts)
  3551. this.editdocfrom.doc_sort = sort
  3552. this.editdocfrom.docintroduction = this.$refs.neditor.content
  3553. saveDocInfo(this.editdocfrom.id, this.editdocfrom).then(response => {
  3554. if (response.data.state == 1) {
  3555. var doctor = response.data.data.editdoctor
  3556. var editdoctors = response.data.data.editdoctors
  3557. console.log('返回数据', doctor)
  3558. this.editcenterDialogVisible = false
  3559. this.$message.success('保存成功')
  3560. // this.getQueryDoCHead();
  3561. this.docimages = editdoctors
  3562. }
  3563. })
  3564. }
  3565. })
  3566. },
  3567. clickimgs(linkid) {
  3568. GetLinkAddressByLinkid(linkid).then(response => {
  3569. if (response.data.state == 1) {
  3570. var linkaddress = response.data.data.linkaddress
  3571. console.log('返回数据是什么', linkaddress)
  3572. window.location.href = linkaddress.defineaddress
  3573. }
  3574. })
  3575. // window.location.href = "http://www.baidu.com";
  3576. },
  3577. deleteDoctor(id, index) {
  3578. this.$confirm('确认要删除吗?删除后信息将无法恢复', '删除提示!', {
  3579. dangerouslyUseHTMLString: true,
  3580. confirmButtonText: '确定',
  3581. cancelButtonText: '取消',
  3582. type: 'warning'
  3583. }).then(() => {
  3584. deleteDoctor(id, index).then(response => {
  3585. if (response.data.state == 1) {
  3586. this.docimages.splice(index, 1)
  3587. }
  3588. }).catch(e => {})
  3589. }).catch(e => {})
  3590. },
  3591. SaveDocdata(formName) {
  3592. var images = []
  3593. for (let index = 0; index < this.docimages.length; index++) {
  3594. images.push(this.docimages[index].dochead)
  3595. }
  3596. this.doctorform.image = images,
  3597. this.$refs[formName].validate((valid) => {
  3598. if (valid) {
  3599. var sorts = this.doctorform.sort
  3600. var sort = parseInt(sorts)
  3601. this.doctorform.sort = sort
  3602. SaveDocdata(this.doctorform.id, this.doctorform).then(response => {
  3603. if (response.data.state == 1) {
  3604. var docinofo = response.data.data.docinfo
  3605. var model = response.data.data.model
  3606. console.log('返回数据', docinofo)
  3607. console.log('返回数据', model)
  3608. this.$message.success('保存成功')
  3609. this.docVisible = false
  3610. this.getQueryNewModel()
  3611. this.getHospitaldata()
  3612. }
  3613. })
  3614. }
  3615. })
  3616. },
  3617. editdocVisible() {
  3618. this.editcenterDialogVisible = false
  3619. },
  3620. SaveHospital(formName) {
  3621. this.hispitalform.introduction = this.$refs.neditor.content
  3622. var sort = this.hispitalform.sort
  3623. var sor = parseInt(sort)
  3624. this.hispitalform.sort = sor
  3625. console.log('文章内容', this.$refs.neditor.content)
  3626. this.$refs[formName].validate((valid) => {
  3627. if (valid) {
  3628. SaveHospital(this.hispitalform.id, this.hispitalform).then(response => {
  3629. if (response.data.state == 1) {
  3630. var hospital = response.data.data.hospital
  3631. var model = response.data.data.model
  3632. this.hosipitalVisible = false
  3633. this.getQueryNewModel()
  3634. this.getHospitaldata()
  3635. }
  3636. })
  3637. }
  3638. })
  3639. },
  3640. deleteModleById(id, index) {
  3641. this.$confirm('确认要删除该组件吗?删除后该组件将无法恢复', '删除提示!', {
  3642. dangerouslyUseHTMLString: true,
  3643. confirmButtonText: '确定',
  3644. cancelButtonText: '取消',
  3645. type: 'warning'
  3646. }).then(() => {
  3647. deleteModleById(id).then(response => {
  3648. if (response.data.state == 1) {
  3649. this.modelform.splice(index, 1)
  3650. this.getHospitaldata()
  3651. }
  3652. }).catch(e => {})
  3653. }).catch(e => {})
  3654. },
  3655. SaveOffice(formName) {
  3656. this.officeform.introduction = this.$refs.neditor.content
  3657. var sort = this.officeform.sort
  3658. var sor = parseInt(sort)
  3659. this.officeform.sort = sor
  3660. console.log('数据模块', this.officeform)
  3661. this.$refs[formName].validate((valid) => {
  3662. if (valid) {
  3663. SaveOffice(this.officeform.id, this.officeform).then(response => {
  3664. if (response.data.state == 1) {
  3665. var office = response.data.data.offices
  3666. var model = response.data.data.model
  3667. console.log('返回数据', office)
  3668. console.log('返回数据', model)
  3669. this.officeVisible = false
  3670. this.getQueryNewModel()
  3671. this.getHospitaldata()
  3672. }
  3673. })
  3674. }
  3675. })
  3676. },
  3677. eidtmodel(id, modetype, index) {
  3678. if (modetype == 1) {
  3679. this.edialogVisible = true
  3680. getRotationDetail(id).then(response => {
  3681. if (response.data.state == 1) {
  3682. var oldrotation = response.data.data.oldrotation
  3683. console.log('oldrotation是什么', oldrotation)
  3684. this.rotationform = response.data.data.oldrotation
  3685. // console.log("rotationform",this.rotationform)
  3686. var conrotation = response.data.data.conrotation
  3687. this.rotationdataThree = response.data.data.conrotation
  3688. console.log('conrotation是什么', conrotation)
  3689. }
  3690. })
  3691. }
  3692. if (modetype == 2) {
  3693. this.HospitalIntroduction = true
  3694. getHospitalIntroduction(id, this.hospitaladdress).then(response => {
  3695. if (response.data.state == 1) {
  3696. var ordmodel = response.data.data.ordmodel
  3697. this.hospitaladdress = response.data.data.ordmodel
  3698. var hosaddress = response.data.data.hosaddress
  3699. console.log('hosaddress是什么', hosaddress)
  3700. this.hospitaladdress.hosaddress = hosaddress.address
  3701. }
  3702. })
  3703. }
  3704. if (modetype == 3) {
  3705. this.contact = true
  3706. getConnecWay(id).then(response => {
  3707. if (response.data.state == 1) {
  3708. var ordmodel = response.data.data.ordmodel
  3709. this.contactform = response.data.data.ordmodel
  3710. }
  3711. })
  3712. }
  3713. if (modetype == 4) {
  3714. this.dialogVisiblefour = true
  3715. eidtmodel(id).then(response => {
  3716. if (response.data.state == 1) {
  3717. var worktime = response.data.data.worktime
  3718. this.workform = response.data.data.worktime
  3719. console.log('返回数据', worktime)
  3720. }
  3721. })
  3722. }
  3723. if (modetype == 5) {
  3724. this.dialogVisiblefive = true
  3725. editRideWay(id).then(response => {
  3726. if (response.data.state == 1) {
  3727. var rideway = response.data.data.rideway
  3728. this.rideform = response.data.data.rideway
  3729. console.log('乘车方式返回数据', rideway)
  3730. }
  3731. })
  3732. }
  3733. },
  3734. AddOfficeThreeVisible(formName) {
  3735. var sort = this.officeformtwo.sort
  3736. var sor = parseInt(sort)
  3737. this.officeformtwo.sort = sor
  3738. this.$refs[formName].validate((valid) => {
  3739. if (valid) {
  3740. AddOfficeThreeVisible(this.keform.id, this.officeformtwo).then(response => {
  3741. if (response.data.state == 1) {
  3742. var enviroimages = response.data.data.enviroimages
  3743. var patientenviroimages = response.data.data.patientEnviroimages
  3744. this.rotationdata = patientenviroimages
  3745. // this.getEnImages();
  3746. }
  3747. })
  3748. }
  3749. })
  3750. },
  3751. AddOfficeTwo(formName) {
  3752. var sort = this.officeformthree.sort
  3753. var sor = parseInt(sort)
  3754. this.officeformthree.sort = sor
  3755. this.$refs[formName].validate((valid) => {
  3756. if (valid) {
  3757. AddOfficetTwo(this.officeformthree.id, this.officeformthree).then(response => {
  3758. if (response.data.state == 1) {
  3759. var enviroimages = response.data.data.enviroimages
  3760. var patientEnviroimages = response.data.data.patientEnviroimages
  3761. // console.log("娃哈哈",patientEnviroimages)
  3762. this.rotationdata = response.data.data.patientEnviroimages
  3763. // this.getEnImages();
  3764. }
  3765. })
  3766. }
  3767. })
  3768. },
  3769. officetwoVisbile(id) {
  3770. officetwoVisbile(id, this.officeformthree).then(response => {
  3771. if (response.data.state == 1) {
  3772. // this.officeformthree = response.data.data.enviroimages;
  3773. var enviroimages = response.data.data.enviroimages
  3774. console.log('中秋是什么', enviroimages)
  3775. this.officeformthree.id = enviroimages.id
  3776. this.officeformthree.sort = enviroimages.sort
  3777. this.officeformthree.officeImages = enviroimages.enviroimages
  3778. this.officeformthree.modelid = enviroimages.modeid
  3779. }
  3780. })
  3781. },
  3782. deleteOfficeById(id, index) {
  3783. deleteOfficeById(id, index).then(response => {
  3784. if (response.data.state == 1) {
  3785. this.rotationdata.splice(index, 1)
  3786. }
  3787. })
  3788. },
  3789. SaveOfficeEnvironment(formName) {
  3790. var sort = this.keform.sort
  3791. var sor = parseInt(sort)
  3792. this.keform.sort = sor
  3793. var images = []
  3794. for (let index = 0; index < this.rotationdata.length; index++) {
  3795. images.push(this.rotationdata[index].enviroimages)
  3796. }
  3797. this.keform.keImages = images
  3798. this.$refs[formName].validate((valid) => {
  3799. if (valid) {
  3800. SaveOfficeEnvironment(this.keform.id, this.keform).then(response => {
  3801. if (response.data.state == 1) {
  3802. var patientOffenvironment = response.data.data.patientOffenvironment
  3803. var model = response.data.data.model
  3804. this.offficeEnviromentVisible = false
  3805. this.getQueryNewModel()
  3806. this.getHospitaldata()
  3807. }
  3808. })
  3809. }
  3810. })
  3811. },
  3812. UpdatedArticeDetail(formName) {
  3813. var sort = this.articeform.sort
  3814. var sor = parseInt(sort)
  3815. this.articeform.sort = sor
  3816. var number = this.articeform.number
  3817. var numbers = parseInt(number)
  3818. this.articeform.number = numbers
  3819. UpdatedArticeDetail(this.articeform.id, this.articeform).then(response => {
  3820. if (response.data.state == 1) {
  3821. var articlelist = response.data.data.articlelist
  3822. var model = response.data.data.model
  3823. this.getQueryNewModel()
  3824. this.getHospitaldata()
  3825. this.getArticlelist()
  3826. }
  3827. })
  3828. },
  3829. editActivit(formName) {
  3830. var sort = this.activitform.sort
  3831. var sor = parseInt(sort)
  3832. this.activitform.sort = sor
  3833. var number = this.activitform.number
  3834. var number = parseInt(number)
  3835. this.activitform.number = number
  3836. this.$refs[formName].validate((valid) => {
  3837. if (valid) {
  3838. SaveActivit(this.activitform.id, this.activitform).then(response => {
  3839. if (response.data.state == 1) {
  3840. var addactivity = response.data.data.addactivity
  3841. console.log('数据返回', addactivity)
  3842. this.activityVisible = false
  3843. this.getQueryNewModel()
  3844. this.getHospitaldata()
  3845. this.getActivities()
  3846. }
  3847. })
  3848. }
  3849. })
  3850. },
  3851. getActivities() {
  3852. getActivities(this.Activitieslist).then(response => {
  3853. if (response.data.state == 1) {
  3854. var activity = response.data.data.activity
  3855. this.Activitieslist = response.data.data.activity
  3856. console.log('活动列表', activity)
  3857. console.log(this.Activitieslist)
  3858. }
  3859. })
  3860. },
  3861. getArticlelist() {
  3862. getArticlelist(this.Articlelist).then(response => {
  3863. if (response.data.state == 1) {
  3864. var articlelist = response.data.data.articlelists
  3865. this.Articlelist = response.data.data.articlelists
  3866. console.log('得到文章列表', this.Articlelist)
  3867. }
  3868. })
  3869. },
  3870. handleAvatarSuccesstwo(res, file) {
  3871. this.editdocfrom.dochead = this.qiniuDomain + res.url
  3872. },
  3873. beforeAvatarUploadtwo(file) {
  3874. var fileType = file.type
  3875. const isJPG = fileType.indexOf('image') > -1
  3876. const isLt2M = file.size / 1024 / 1024 < 2
  3877. if (!isJPG) {
  3878. this.$message.error('只能上传图片')
  3879. return false
  3880. }
  3881. if (!isLt2M) {
  3882. this.$message.error('图片大小不能超过 2MB!')
  3883. return false
  3884. }
  3885. var date = new Date()
  3886. var ext = getFileExtension(file.name)
  3887. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  3888. this.uploading = true
  3889. this.loadingText = '封面图片上传中'
  3890. const _self = this
  3891. return new Promise((resolve, reject) => {
  3892. getToken().then(response => {
  3893. const token = response.data.data.uptoken
  3894. console.log('医生头像token是什么?', token)
  3895. _self._data.doctorDatatwo.token = token
  3896. _self._data.doctorDatatwo.key = key
  3897. resolve(true)
  3898. }).catch(err => {
  3899. reject(false)
  3900. this.uploading = false
  3901. })
  3902. })
  3903. return isJPG && isLt2M
  3904. },
  3905. handleAvatarSuccessthree(res, file) {
  3906. this.officeformthree.officeImages = this.qiniuDomain + res.url
  3907. },
  3908. beforeAvatarUploadthree(file) {
  3909. var fileType = file.type
  3910. const isJPG = fileType.indexOf('image') > -1
  3911. const isLt2M = file.size / 1024 / 1024 < 2
  3912. if (!isJPG) {
  3913. this.$message.error('只能上传图片')
  3914. return false
  3915. }
  3916. if (!isLt2M) {
  3917. this.$message.error('图片大小不能超过 2MB!')
  3918. return false
  3919. }
  3920. var date = new Date()
  3921. var ext = getFileExtension(file.name)
  3922. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  3923. const _self = this
  3924. return new Promise((resolve, reject) => {
  3925. getToken().then(response => {
  3926. const tokentree = response.data.data.uptoken
  3927. console.log('科室token是什么?', tokentree)
  3928. _self._data.keData.token = tokentree
  3929. _self._data.keData.key = key
  3930. resolve(true)
  3931. }).catch(err => {
  3932. reject(false)
  3933. })
  3934. })
  3935. },
  3936. imageKeuSccesstwo(res, file) {
  3937. console.log('图片路径', this.qiniuDomain + res.url)
  3938. this.officeformtwo.officeImages = this.qiniuDomain + res.url
  3939. // this.keform.keImages.push(this.keform.keimages);
  3940. // console.log("图片数组",this.keform.keImages)
  3941. },
  3942. beforekeUpload(file) {
  3943. var fileType = file.type
  3944. const isJPG = fileType.indexOf('image') > -1
  3945. const isLt2M = file.size / 1024 / 1024 < 2
  3946. if (!isJPG) {
  3947. this.$message.error('只能上传图片')
  3948. return false
  3949. }
  3950. if (!isLt2M) {
  3951. this.$message.error('图片大小不能超过 2MB!')
  3952. return false
  3953. }
  3954. var date = new Date()
  3955. var ext = getFileExtension(file.name)
  3956. var key = date.getFullYear() + (date.getMonth() + 1) + date.getDate() + date.getHours() + date.getMinutes() + date.getSeconds() + '_o_' + file.uid + '.' + ext
  3957. const _self = this
  3958. return new Promise((resolve, reject) => {
  3959. getToken().then(response => {
  3960. const tokentree = response.data.data.uptoken
  3961. console.log('科室token是什么?', tokentree)
  3962. _self._data.keData.token = tokentree
  3963. _self._data.keData.key = key
  3964. resolve(true)
  3965. }).catch(err => {
  3966. reject(false)
  3967. })
  3968. })
  3969. },
  3970. deletemodle(id, index) {
  3971. this.$confirm('确认要删除该模块么?删除后该条信息将无法恢复', '删除提示!', {
  3972. dangerouslyUseHTMLString: true,
  3973. confirmButtonText: '确定',
  3974. cancelButtonText: '取消',
  3975. type: 'warning'
  3976. }).then(() => {
  3977. deletemodle(id).then(response => {
  3978. if (response.data.state == 1) {
  3979. this.model.splice(index, 1)
  3980. this.getOrderModel()
  3981. }
  3982. }).catch(e => {})
  3983. }).catch(e => {})
  3984. },
  3985. SaveWorkTime(formName) {
  3986. var sorts = this.workform.sort
  3987. var sort = parseInt(sorts)
  3988. this.workform.sort = sort
  3989. this.$refs[formName].validate((valid) => {
  3990. if (valid) {
  3991. SaveWorkTime(this.workform.id, this.workform).then(response => {
  3992. if (response.data.state == 1) {
  3993. var patientWorktime = response.data.data.patientWorktime
  3994. console.log('返回数据', patientWorktime)
  3995. this.dialogVisiblefour = false
  3996. this.$message.success('数据保存成功')
  3997. this.GetUserdModel()
  3998. this.getOrderModel()
  3999. }
  4000. })
  4001. }
  4002. })
  4003. },
  4004. saverideway(formName) {
  4005. var sorts = this.rideform.sort
  4006. var sort = parseInt(sorts)
  4007. this.rideform.sort = sort
  4008. this.$refs[formName].validate((valid) => {
  4009. if (valid) {
  4010. saverideway(this.rideform.id, this.rideform).then(response => {
  4011. this.dialogVisiblefive = false
  4012. if (response.data.state == 1) {
  4013. var ridewaymodel = response.data.data.ridewaymodel
  4014. console.log('返回数据', ridewaymodel)
  4015. // this.$message.success("数据保存成功");
  4016. this.GetUserdModel()
  4017. this.getOrderModel()
  4018. }
  4019. })
  4020. }
  4021. })
  4022. },
  4023. MagicClick(linkid) {
  4024. GetMagicClickByLinkid(linkid).then(response => {
  4025. if (response.data.state == 1) {
  4026. var magiclink = response.data.data.magiclink
  4027. console.log('magiclink', magiclink)
  4028. window.location.href = magiclink.linkaddress
  4029. }
  4030. })
  4031. },
  4032. selectpiclinktwo(id) {
  4033. if (id == 1) {
  4034. this.showpiclink = false
  4035. this.singform.linkaddress = '';
  4036. }
  4037. if (id == 2) {
  4038. this.showpiclink = true
  4039. }
  4040. },
  4041. selectpiclinkfour(id) {
  4042. if (id == 1) {
  4043. this.showpiclink = false
  4044. this.editpic.linkaddress = '';
  4045. }
  4046. if (id == 2) {
  4047. this.showpiclink = true
  4048. }
  4049. },
  4050. selectpiclink(id) {
  4051. if (id == 1) {
  4052. this.showpiclink = false
  4053. }
  4054. if (id == 2) {
  4055. this.showpiclink = true
  4056. }
  4057. },
  4058. selectlinkType(id) {
  4059. if (id == 1) {
  4060. this.linkTypeShow = false
  4061. this.zhanShow = false
  4062. this.definelinkShow = false
  4063. this.refform.contenttype = '';
  4064. }
  4065. if (id == 2) {
  4066. this.linkTypeShow = false
  4067. this.zhanShow = true
  4068. this.definelinkShow = false
  4069. this.refform.contenttype = '';
  4070. }
  4071. if (id == 3) {
  4072. this.linkTypeShow = false
  4073. this.zhanShow = false
  4074. this.definelinkShow = true
  4075. this.refform.contenttype = '';
  4076. }
  4077. },
  4078. selectlinkTypeTwo(id) {
  4079. if (id == 1) {
  4080. this.linkTypeShow = false
  4081. this.zhanShow = false
  4082. this.definelinkShow = false
  4083. }
  4084. if (id == 2) {
  4085. this.linkTypeShow = false
  4086. this.zhanShow = true
  4087. this.definelinkShow = false
  4088. }
  4089. if (id == 3) {
  4090. this.linkTypeShow = false
  4091. this.zhanShow = false
  4092. this.definelinkShow = true
  4093. }
  4094. },
  4095. selectGender(id) {
  4096. if (id == 1) {
  4097. this.define = true
  4098. }
  4099. if (id == 2) {
  4100. this.define = false
  4101. }
  4102. },
  4103. selectGendertwo(id) {
  4104. if (id == 1) {
  4105. this.definefive = true
  4106. }
  4107. if (id == 2) {
  4108. this.definefive = false
  4109. }
  4110. },
  4111. selectItemThree(id) {
  4112. if (id == 1) {
  4113. this.definetwo = false
  4114. this.definethree = false
  4115. this.definefour = false
  4116. this.navigationlinkform.navitionlinktype = '';
  4117. this.navigationlinkform.phone = '';
  4118. this.navigationlinkform.outstationlink = '';
  4119. this.navigationlinkform.linkaddress = '';
  4120. }
  4121. if (id == 2) {
  4122. this.definetwo = true
  4123. this.definethree = false
  4124. this.definefour = false
  4125. this.navigationlinkform.phone = '';
  4126. this.navigationlinkform.outstationlink = '';
  4127. this.navigationlinkform.navitionlinktype = '';
  4128. this.navigationlinkform.linkaddress = '';
  4129. }
  4130. if (id == 3) {
  4131. this.definethree = true
  4132. this.definetwo = false
  4133. this.definefour = false
  4134. this.navigationlinkform.navitionlinktype = '';
  4135. this.navigationlinkform.outstationlink = '';
  4136. this.navigationlinkform.phone = '';
  4137. this.navigationlinkform.linkaddress = '';
  4138. }
  4139. if (id == 4) {
  4140. this.definefour = true
  4141. this.definetwo = false
  4142. this.definethree = false
  4143. this.navigationlinkform.navitionlinktype = '';
  4144. this.navigationlinkform.phone = '';
  4145. this.navigationlinkform.outstationlink = '';
  4146. this.navigationlinkform.linkaddress = '';
  4147. }
  4148. },
  4149. selectItem(id) {
  4150. if (id == 1) {
  4151. this.definetwo = false
  4152. this.definethree = false
  4153. this.definefour = false
  4154. }
  4155. if (id == 2) {
  4156. this.definetwo = true
  4157. this.definethree = false
  4158. this.definefour = false
  4159. }
  4160. if (id == 3) {
  4161. this.definethree = true
  4162. this.definetwo = false
  4163. this.definefour = false
  4164. }
  4165. if (id == 4) {
  4166. this.definefour = true
  4167. this.definetwo = false
  4168. this.definethree = false
  4169. }
  4170. },
  4171. selectItemEdit(id) {
  4172. if (id == 1) {
  4173. this.definetwo = false
  4174. this.definethree = false
  4175. this.definefour = false
  4176. this.linkformtwo.instationlink = '';
  4177. this.linkformtwo.phone = '';
  4178. this.linkformtwo.outstationlink = '';
  4179. }
  4180. if (id == 2) {
  4181. this.definetwo = true
  4182. this.definethree = false
  4183. this.definefour = false
  4184. this.linkformtwo.phone = '';
  4185. this.linkformtwo.outstationlink = '';
  4186. }
  4187. if (id == 3) {
  4188. this.definethree = true
  4189. this.definetwo = false
  4190. this.definefour = false
  4191. this.linkformtwo.instationlink = '';
  4192. this.linkformtwo.outstationlink = '';
  4193. }
  4194. if (id == 4) {
  4195. this.definefour = true
  4196. this.definetwo = false
  4197. this.definethree = false
  4198. this.linkformtwo.instationlink = '';
  4199. this.linkformtwo.phone = '';
  4200. }
  4201. },
  4202. selectItemTwo(id) {
  4203. if (id == 1) {
  4204. this.definetwo = false
  4205. this.definethree = false
  4206. this.definefour = false
  4207. this.editnavigationlinkform.navitionlinktype = '';
  4208. this.editnavigationlinkform.phone = '';
  4209. this.editnavigationlinkform.outstationlink = '';
  4210. }
  4211. if (id == 2) {
  4212. this.definetwo = true
  4213. this.definethree = false
  4214. this.definefour = false
  4215. this.editnavigationlinkform.navitionlinktype = '';
  4216. this.editnavigationlinkform.phone = '';
  4217. this.editnavigationlinkform.outstationlink = '';
  4218. this.editnavigationlinkform.linkaddress = '';
  4219. }
  4220. if (id == 3) {
  4221. this.definethree = true
  4222. this.definetwo = false
  4223. this.definefour = false
  4224. this.editnavigationlinkform.navitionlinktype = '';
  4225. this.editnavigationlinkform.phone = '';
  4226. this.editnavigationlinkform.outstationlink = '';
  4227. this.editnavigationlinkform.linkaddress = '';
  4228. }
  4229. if (id == 4) {
  4230. this.definefour = true
  4231. this.definetwo = false
  4232. this.definethree = false
  4233. this.editnavigationlinkform.navitionlinktype = 0
  4234. this.editnavigationlinkform.phone = '';
  4235. this.editnavigationlinkform.outstationlink = '';
  4236. this.editnavigationlinkform.linkaddress = '';
  4237. }
  4238. },
  4239. qrcode() {
  4240. const qrcode = new QRCode('qrcode', {
  4241. width: 100,
  4242. height: 100, // 高度
  4243. // text:'http://microweb.kuyicloud.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id, // 二维码内容
  4244. text: 'http://jk.test.sgjyun.com/#/microHome?orgid=' + this.$store.getters.xt_user.org_id // 二维码内容
  4245. })
  4246. console.log(qrcode)
  4247. },
  4248. // 添加导航设置
  4249. addNavigation(formName) {
  4250. this.$refs[formName].validate((valid) => {
  4251. if (valid) {
  4252. addNavigation(this.navigationform).then(response => {
  4253. if (response.data.state == 1) {
  4254. var navigation = response.data.data.navigation
  4255. this.navigationform = '',
  4256. console.log('返回数据', navigation)
  4257. this.navigationVisible = false
  4258. this.getNavigationList()
  4259. }
  4260. })
  4261. }
  4262. })
  4263. },
  4264. // 获取导航列表
  4265. getNavigationList() {
  4266. getNavigationList().then(response => {
  4267. if (response.data.state == 1) {
  4268. var navigation = response.data.data.navigation
  4269. this.navigationdata = response.data.data.navigation
  4270. console.log('查询数据', navigation)
  4271. }
  4272. })
  4273. },
  4274. deleteNavigation(id, index) {
  4275. this.$confirm('确认要删除该导航吗?删除后该条信息将无法恢复', '删除提示!', {
  4276. dangerouslyUseHTMLString: true,
  4277. confirmButtonText: '确定',
  4278. cancelButtonText: '取消',
  4279. type: 'warning'
  4280. }).then(() => {
  4281. deleteNavigation(id).then(response => {
  4282. if (response.data.state == 1) {
  4283. this.navigationdata.splice(index, 1)
  4284. this.navigationdatatwo.splice(index, 1)
  4285. }
  4286. }).catch(e => {})
  4287. }).catch(e => {})
  4288. },
  4289. editNavigation(id) {
  4290. editNavigation(id).then(response => {
  4291. if (response.data.state == 1) {
  4292. var navigation = response.data.data.navigation
  4293. this.editNavigationform = response.data.data.navigation
  4294. console.log('返回的导航数据', navigation)
  4295. }
  4296. })
  4297. },
  4298. SaveNavigation(formName) {
  4299. this.$refs[formName].validate((valid) => {
  4300. if (valid) {
  4301. SaveNavigation(this.editNavigationform.id, this.editNavigationform).then(response => {
  4302. if (response.data.state == 1) {
  4303. var navigation = response.data.data.navigation
  4304. var navigations = response.data.data.navigations
  4305. this.navigationdatatwo = navigations
  4306. console.log('旺仔小牛奶', navigation)
  4307. this.editNavigationVisible = false
  4308. console.log('更新的数据', navigation)
  4309. this.getNavigationList()
  4310. }
  4311. })
  4312. }
  4313. })
  4314. },
  4315. changbutton() {
  4316. var content = document.getElementById('edit').innerHTML
  4317. if (content == '编辑') {
  4318. document.getElementById('edit').innerHTML = '确认';
  4319. this.disabled = false
  4320. this.shareshow = true
  4321. }
  4322. if (content == '确认') {
  4323. document.getElementById('edit').innerHTML = '编辑';
  4324. this.disabled = true
  4325. this.shareshow = false
  4326. AddShareInfo(this.shareform).then(response => {
  4327. if (response.data.state == 1) {
  4328. var share = response.data.data.share
  4329. this.getShareInfo()
  4330. console.log('数据返回', share)
  4331. }
  4332. })
  4333. }
  4334. },
  4335. getShareInfo() {
  4336. getShareInfo().then(response => {
  4337. if (response.data.state == 1) {
  4338. var share = response.data.data.share
  4339. this.shareInfo = response.data.data.share
  4340. this.sharefive = true
  4341. this.sharepic = true
  4342. console.log('返回分享数据', share)
  4343. }
  4344. })
  4345. },
  4346. returntop() {
  4347. this.scrollToTopTimer()
  4348. },
  4349. getArticleType() {
  4350. getArticleType(this.articeTypelist).then(response => {
  4351. if (response.data.state == 1) {
  4352. var category = response.data.data.category
  4353. this.articeTypelist = response.data.data.category
  4354. this.articeTypeOptions = response.data.data.category
  4355. console.log('文章分类是什么', this.articeTypelist)
  4356. }
  4357. })
  4358. },
  4359. getAllConnecWay() {
  4360. getAllConnecWay(this.Connectways).then(response => {
  4361. if (response.data.state == 1) {
  4362. var connect = response.data.data.connect
  4363. console.log('联系是什么', connect)
  4364. this.Connectways = response.data.data.connect
  4365. console.log('方法试试', this.Connectways)
  4366. }
  4367. })
  4368. },
  4369. editConnecway(id) {
  4370. editConnecway(id).then(response => {
  4371. if (response.data.state == 1) {
  4372. var connection = response.data.data.connection
  4373. this.connectform = response.data.data.connection
  4374. }
  4375. })
  4376. },
  4377. UpdateConnectform(formName) {
  4378. this.$refs[formName].validate((valid) => {
  4379. UpdateConnectform(this.connectform.id, this.connectform).then(response => {
  4380. if (response.data.state == 1) {
  4381. var connection = response.data.data.connection
  4382. this.getAllConnecWay()
  4383. }
  4384. })
  4385. })
  4386. },
  4387. deleteConnecWay(id, index) {
  4388. deleteConnecWay(id).then(response => {
  4389. if (response.data.state == 1) {
  4390. this.Connectways.splice(index, 1)
  4391. }
  4392. })
  4393. },
  4394. UpdateContactform(formName) {
  4395. var sort = this.contactform.sort
  4396. var sorts = parseInt(sort)
  4397. this.contactform.sort = sorts
  4398. this.$refs[formName].validate((valid) => {
  4399. if (valid) {
  4400. UpdateContactform(this.contactform.id, this.contactform).then(response => {
  4401. if (response.data.state == 1) {
  4402. var ordmodel = response.data.data.ordmodel
  4403. var connectway = response.data.data.connectway
  4404. this.getOrderModel()
  4405. this.GetUserdModel()
  4406. }
  4407. })
  4408. }
  4409. })
  4410. },
  4411. addConnectways(formName) {
  4412. this.$refs[formName].validate((valid) => {
  4413. if (valid) {
  4414. addConnectways(this.contacthreeform).then(response => {
  4415. if (response.data.state == 1) {
  4416. var connection = response.data.data.connection
  4417. this.getAllConnecWay()
  4418. }
  4419. })
  4420. }
  4421. })
  4422. },
  4423. UpdateHospitalAddress(formName) {
  4424. var sort = this.hospitaladdress.sort
  4425. var sorts = parseInt(sort)
  4426. this.hospitaladdress.sort = sorts
  4427. this.$refs[formName].validate((valid) => {
  4428. if (valid) {
  4429. UpdateHospitalAddress(this.hospitaladdress.id, this.hospitaladdress).then(response => {
  4430. if (response.data.state == 1) {
  4431. var ordmodel = response.data.data.ordmodel
  4432. var hosaddress = response.data.data.hosaddress
  4433. this.getOrderModel()
  4434. this.GetUserdModel()
  4435. }
  4436. })
  4437. }
  4438. })
  4439. },
  4440. AddMacgicform(formName) {
  4441. this.$refs[formName].validate((valid) => {
  4442. if (valid) {
  4443. AddMacgicform(this.macform.id, this.macgicform).then(response => {
  4444. if (response.data.state == 1) {
  4445. var editmargin = response.data.data.editmargin
  4446. this.editImagesVisbile = false
  4447. this.getMacImagesDetail()
  4448. this.macgicform = '';
  4449. }
  4450. })
  4451. }
  4452. })
  4453. },
  4454. // deleteMacImagesDetail(id,index){
  4455. // deleteMacImagesDetail(id).then(response=>{
  4456. // if(response.data.state == 1){
  4457. // this.macdataImages.splice(index,1);
  4458. // }
  4459. // })
  4460. // },
  4461. deleteMacImagesDetail(id, index) {
  4462. this.$confirm('确认要删除该导航吗?删除后该条信息将无法恢复', '删除提示', {
  4463. dangerouslyUseHTMLString: true,
  4464. confirmButtonText: '确定',
  4465. cancelButtonText: '取消',
  4466. type: 'warning'
  4467. }).then(() => {
  4468. deleteMacImagesDetail(id, index).then(response => {
  4469. if (response.data.state == 1) {
  4470. this.macdataImages.splice(index, 1)
  4471. }
  4472. })
  4473. })
  4474. },
  4475. EditMacImages(id) {
  4476. getEditMacImageDetail(id).then(response => {
  4477. if (response.data.state == 1) {
  4478. var editmargin = response.data.data.editmargin
  4479. console.log('editmargin', editmargin)
  4480. if (editmargin.jumpset == 1) {
  4481. this.definefive = true
  4482. }
  4483. if (editmargin.jumpset == 2) {
  4484. this.definefive = false
  4485. }
  4486. this.editmacform = editmargin
  4487. }
  4488. })
  4489. },
  4490. getMacImagesDetail() {
  4491. getMacImagesDetail(this.macform.id).then(response => {
  4492. if (response.data.state == 1) {
  4493. this.macdataImages = response.data.data.editmargin
  4494. }
  4495. })
  4496. },
  4497. UpdateMacform(formName) {
  4498. var sort = this.macform.sort
  4499. var sorts = parseInt(sort)
  4500. this.macform.sort = sorts
  4501. this.$refs[formName].validate((valid) => {
  4502. if (valid) {
  4503. UpdateMacform(this.macform.id, this.macform).then(response => {
  4504. if (response.data.state == 1) {
  4505. var model = response.data.data.model
  4506. this.getMacImagesDetail()
  4507. this.getQueryNewModel()
  4508. this.getHospitaldata()
  4509. }
  4510. })
  4511. }
  4512. })
  4513. },
  4514. UpdateEditMacform(formName) {
  4515. this.$refs[formName].validate((valid) => {
  4516. if (valid) {
  4517. UpdateEditMacform(this.editmacform.id, this.editmacform).then(response => {
  4518. if (response.data.state == 1) {
  4519. var editmargin = response.data.data.editmargin
  4520. this.getMacImagesDetail()
  4521. }
  4522. })
  4523. }
  4524. })
  4525. },
  4526. getLikeMacAddressById(id) {
  4527. getLikeMacAddressById(id, this.linkform).then(response => {
  4528. if (response.data.state == 1) {
  4529. var magiclink = response.data.data.magiclink
  4530. console.log('magiclink是什么', magiclink)
  4531. if (magiclink.linktype == 2) {
  4532. this.definetwo = true
  4533. }
  4534. if (magiclink.linktype == 3) {
  4535. this.definethree = true
  4536. }
  4537. if (magiclink.linktype == 4) {
  4538. this.definefour = true
  4539. }
  4540. this.linkformfive = magiclink
  4541. console.log('中秋快乐', magiclink)
  4542. }
  4543. })
  4544. },
  4545. GetArticleName(id) {
  4546. GetArticleName(id).then(response => {
  4547. if (response.data.state == 1) {
  4548. var articlelist = response.data.data.articlelist
  4549. console.log('文章姓名列表', articlelist)
  4550. this.linkformfive.title = '';
  4551. this.articeTitlelist = articlelist
  4552. }
  4553. })
  4554. },
  4555. getAllArticelist() {
  4556. GetAllArticelist().then(response => {
  4557. if (response.data.state == 1) {
  4558. var articles = response.data.data.articles
  4559. console.log('article是什么', articles)
  4560. this.articeTitlelist = articles
  4561. this.articeNamelist = articles
  4562. }
  4563. })
  4564. },
  4565. UpdateLinkAddress(formName) {
  4566. // if(this.linkformfive.instationlink == ""){
  4567. // this.linkformfive.instationlink = 0;
  4568. // }
  4569. var instationlink = this.linkformfive.instationlink
  4570. var instationlinks = parseInt(instationlink)
  4571. this.linkformfive.instationlink = instationlinks
  4572. this.linkformfive.linkaddress = this.linkformfive.instationlink
  4573. console.log('哈哈哈哈哈哈哈', this.linkformfive.linkaddress)
  4574. this.$refs[formName].validate((valid) => {
  4575. if (valid) {
  4576. UpdateLinkAddress(this.linkformfive.id, this.linkformfive).then(response => {
  4577. if (response.data.state == 1) {
  4578. var magiclink = response.data.data.magiclink
  4579. var model = response.data.data.model
  4580. console.log('magiclink', magiclink)
  4581. console.log('model', model)
  4582. this.linkVisiblefour = false
  4583. this.linkformfive.articetype = '';
  4584. this.linkformfive.instationlink = '';
  4585. this.linkformfive.phone = '';
  4586. this.linkformfive.outstationlink = '';
  4587. this.linkformfive.title = '';
  4588. this.editmacform.marginaddress = magiclink.linkaddress
  4589. if (model.mode_type == 1) {
  4590. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4591. }
  4592. if (model.mode_type == 2) {
  4593. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4594. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/hospitalIntroduction?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4595. }
  4596. if (model.mode_type == 3) {
  4597. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4598. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/officeIntroduction?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4599. }
  4600. if (model.mode_type == 4) {
  4601. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4602. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/medicalTeam?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4603. }
  4604. if (model.mode_type == 5) {
  4605. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/departmentEnvironment?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4606. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4607. }
  4608. if (model.mode_type == 6) {
  4609. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4610. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/news?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4611. }
  4612. if (model.mode_type == 7) {
  4613. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4614. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/activity?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4615. }
  4616. if (model.mode_type == 8) {
  4617. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4618. }
  4619. }
  4620. })
  4621. }
  4622. })
  4623. },
  4624. AddMacLinkAddress(formName) {
  4625. if (this.linkformtwo.instationlink == '') {
  4626. this.linkformtwo.instationlink = 0
  4627. }
  4628. var instationlink = this.linkformtwo.instationlink
  4629. var instationlinks = parseInt(instationlink)
  4630. this.linkformtwo.instationlink = instationlinks
  4631. // this.linkformtwo.linkaddress = this.linkformtwo.instationlink;
  4632. this.$refs[formName].validate((valid) => {
  4633. if (valid) {
  4634. AddMacLinkAddress(this.linkformtwo).then(response => {
  4635. if (response.data.state == 1) {
  4636. this.linkVisibletwo = false
  4637. var magiclink = response.data.data.magiclink
  4638. console.log('magiclink', magiclink)
  4639. var model = response.data.data.model
  4640. console.log('model', model)
  4641. if (model.mode_type == 1) {
  4642. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4643. }
  4644. if (model.mode_type == 2) {
  4645. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/hospitalIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4646. this.macgicform.linkaddress = 'http://jk.test.sgjyun.com/#/hospitalIntroduction?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4647. }
  4648. if (model.mode_type == 3) {
  4649. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/officeIntroduction?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4650. this.macgicform.linkaddress = 'http://jk.test.sgjyun.com/#/officeIntroduction?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4651. }
  4652. if (model.mode_type == 4) {
  4653. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4654. this.macgicform.linkaddress = 'http://jk.test.sgjyun.com/#/medicalTeam?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4655. }
  4656. if (model.mode_type == 5) {
  4657. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/departmentEnvironment?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4658. this.editmacform.marginaddress = 'http://jk.test.sgjyun.com/#/departmentEnvironment?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4659. }
  4660. if (model.mode_type == 6) {
  4661. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/news?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4662. this.macgicform.linkaddress = 'http://jk.test.sgjyun.com/#/news?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4663. }
  4664. if (model.mode_type == 7) {
  4665. // this.macgicform.linkaddress = "http://microweb.kuyicloud.com/#/activity?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4666. this.macgicform.linkaddress = 'http://jk.test.sgjyun.com/#/activity?id=' + model.id + '&orgid=' + this.$store.getters.xt_user.org_id
  4667. }
  4668. if (model.mode_type == 8) {
  4669. // this.editmacform.marginaddress = "http://microweb.kuyicloud.com/#/medicalTeam?id="+model.id+"&orgid="+this.$store.getters.xt_user.org_id;
  4670. }
  4671. }
  4672. })
  4673. }
  4674. })
  4675. },
  4676. GetLinkAddress(id) {
  4677. GetLinkAddress(id).then(response => {
  4678. if (response.data.state == 1) {
  4679. var linkaddress = response.data.data.linkaddress
  4680. this.refform = linkaddress
  4681. console.log('中秋快乐', linkaddress)
  4682. }
  4683. })
  4684. },
  4685. GetAllActivity() {
  4686. GetAllActivity().then(response => {
  4687. if (response.data.state == 1) {
  4688. var activtity = response.data.data.activtity
  4689. console.log('所有活动', activtity)
  4690. this.articeNamelist = response.data.data.activtity
  4691. }
  4692. })
  4693. },
  4694. addNavigationlinkform(formName) {
  4695. var navitionlinktype = this.navigationlinkform.navitionlinktype
  4696. console.log('navitionlinktype', navitionlinktype)
  4697. if (navitionlinktype == '') {
  4698. navitionlinktype = 0
  4699. }
  4700. var navitionlinktype = parseInt(navitionlinktype)
  4701. this.navigationlinkform.navitionlinktype = navitionlinktype
  4702. console.log('地址', this.navigationlinkform.navitionlinktype)
  4703. if (this.navigationlinkform.phone == '') {
  4704. this.navigationlinkform.phone = '0' + this.navigationlinkform.phone
  4705. }
  4706. if (this.navigationlinkform.outstationlink == '') {
  4707. this.navigationlinkform.outstationlink = '0' + this.navigationlinkform.outstationlink
  4708. }
  4709. if (this.navigationlinkform.navitionlinktype == 1) {
  4710. // this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
  4711. this.navigationlinkform.linkaddress = 'http://jk.test.sgjyun.com/#/microHome?orgid=' + this.$store.getters.xt_user.org_id
  4712. }
  4713. if (this.navigationlinkform.navitionlinktype == 2) {
  4714. this.navigationlinkform.linkaddress = 'http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect';
  4715. }
  4716. if (this.navigationlinkform.navitionlinktype == 3) {
  4717. // this.navigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/contactus?orgid="+this.$store.getters.xt_user.org_id;
  4718. this.navigationlinkform.linkaddress = 'http://jk.test.sgjyun.com/#/contactus?orgid=' + this.$store.getters.xt_user.org_id
  4719. }
  4720. this.$refs[formName].validate((valid) => {
  4721. if (valid) {
  4722. addNavigationlinkform(this.navigationlinkform).then(response => {
  4723. if (response.data.state == 1) {
  4724. this.linkVisible = false
  4725. var navgationlink = response.data.data.navgationlink
  4726. console.log('address', navgationlink)
  4727. if (navgationlink.phone == '' && navgationlink.outstationlink == '') {
  4728. this.navigationform.navigationaddress = navgationlink.linkaddress
  4729. }
  4730. if (navgationlink.outstationlink == '' && navgationlink.linkaddress == '') {
  4731. this.navigationform.navigationaddress = navgationlink.phone
  4732. }
  4733. if (navgationlink.phone == '' && navgationlink.linkaddress == '') {
  4734. this.navigationform.navigationaddress = navgationlink.outstationlink
  4735. }
  4736. this.navigationform.linkid = navgationlink.id
  4737. this.navigationform.linktype = navgationlink.linktype
  4738. }
  4739. })
  4740. }
  4741. })
  4742. },
  4743. SetlinkAddress(id) {
  4744. getNavgitionlinkAddress(id).then(response => {
  4745. if (response.data.state == 1) {
  4746. var navgationlink = response.data.data.navgationlink
  4747. console.log('navgationlink是什么', navgationlink)
  4748. this.editnavigationlinkform = navgationlink
  4749. this.editnavigationlinkform.id = navgationlink.id
  4750. if (navgationlink.linktype == 1) {
  4751. this.definetwo = false
  4752. this.definethree = false
  4753. this.definefour = false
  4754. }
  4755. if (navgationlink.linktype == 2) {
  4756. this.definethree = false
  4757. this.definefour = false
  4758. this.definetwo = true
  4759. }
  4760. if (navgationlink.linktype == 3) {
  4761. this.definetwo = false
  4762. this.definefour = false
  4763. this.definethree = true
  4764. }
  4765. if (navgationlink.linktype == 4) {
  4766. this.definetwo = false
  4767. this.definethree = false
  4768. this.definefour = true
  4769. }
  4770. }
  4771. })
  4772. },
  4773. UpdateEditNavigationLinkform(formName) {
  4774. if (this.editnavigationlinkform.navitionlinktype == '') {
  4775. this.editnavigationlinkform.navitionlinktype = 0
  4776. }
  4777. var navigationlinktype = this.editnavigationlinkform.navitionlinktype
  4778. console.log('navigationlinktype', navigationlinktype)
  4779. var navigationlinktypes = parseInt(navigationlinktype)
  4780. this.editnavigationlinkform.navitionlinktype = navigationlinktypes
  4781. if (this.editnavigationlinkform.navitionlinktype == 1) {
  4782. // this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id;
  4783. this.editnavigationlinkform.linkaddress = 'http://jk.test.sgjyun.com/#/microHome?orgid=' + this.$store.getters.xt_user.org_id
  4784. }
  4785. if (this.editnavigationlinkform.navitionlinktype == 2) {
  4786. this.editnavigationlinkform.linkaddress = 'http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect';
  4787. // this.editnavigationlinkform.linkaddress = "http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&fxtoken=bdc5659cbd1bd67baa9af215b0d6ae4c&fxorgid=3877&timestamp=1571050598&fxadmin=185&wxref=mp.weixin.qq.com#wechat_redirect";
  4788. }
  4789. if (this.editnavigationlinkform.navitionlinktype == 3) {
  4790. // this.editnavigationlinkform.linkaddress = "http://microweb.kuyicloud.com/#//contact?orgid="+this.$store.getters.xt_user.org_id;
  4791. this.editnavigationlinkform.linkaddress = 'http://jk.test.sgjyun.com/#//contact?orgid=' + this.$store.getters.xt_user.org_id
  4792. }
  4793. this.$refs[formName].validate(response => {
  4794. UpdateEditNavigationLinkform(this.editnavigationlinkform.id, this.editnavigationlinkform).then(response => {
  4795. if (response.data.state == 1) {
  4796. this.dialogVisible = false
  4797. var navgationlink = response.data.data.navgationlink
  4798. this.editNavigationform.linkid = navgationlink.id
  4799. this.editNavigationform.linktype = navgationlink.linktype
  4800. console.log('navgationlink', navgationlink)
  4801. console.log(this.editNavigationform.linkid)
  4802. if (navgationlink.outstationlink == '' && navgationlink.phone == '') {
  4803. this.editNavigationform.navaddress = navgationlink.linkaddress
  4804. }
  4805. if (navgationlink.linkaddress == '' && navgationlink.outstationlink == '') {
  4806. this.editNavigationform.navaddress = navgationlink.phone
  4807. }
  4808. if (navgationlink.linkaddress == '' && navgationlink.phone == '') {
  4809. this.editNavigationform.navaddress = navgationlink.outstationlink
  4810. }
  4811. }
  4812. })
  4813. })
  4814. },
  4815. scrollToTop() {
  4816. this.scrollTop = document.getElementById('target').scrollTop
  4817. this.scrollTop = document.getElementById('targettwo').scrollTop
  4818. this.scrollTop = document.getElementById('targetthre').scrollTop
  4819. this.scrollTop = document.getElementById('targetfour').scrollTop
  4820. this.scrollTop = document.getElementById('targetfive').scrollTop
  4821. this.scrollTop = document.getElementById('targetsix').scrollTop
  4822. },
  4823. backTop() {
  4824. this.timer = setInterval(() => {
  4825. this.scrollToTopTimer()
  4826. }, 20)
  4827. },
  4828. scrollToTopTimer() {
  4829. let scrollTop = this.scrollTop
  4830. console.log('scrollTop是什么?', scrollTop)
  4831. if (scrollTop > 0) {
  4832. scrollTop -= 100
  4833. if (scrollTop <= 0) {
  4834. scrollTop = 0
  4835. clearInterval(this.timer)
  4836. }
  4837. }
  4838. document.getElementById('target').scrollTop = scrollTop
  4839. document.getElementById('targettwo').scrollTop = scrollTop
  4840. document.getElementById('targetthree').scrollTop = scrollTop
  4841. document.getElementById('targetfour').scrollTop = scrollTop
  4842. document.getElementById('targetfive').scrollTop = scrollTop
  4843. document.getElementById('targetsix').scrollTop = scrollTop
  4844. },
  4845. getQueryDocInfo() {
  4846. getQueryDocInfo().then(response => {
  4847. if (response.data.state == 1) {
  4848. this.docnames = response.data.data.doctor
  4849. console.log('获取医生信息', response.data.data.doctor)
  4850. }
  4851. })
  4852. },
  4853. change(id) {
  4854. change(id).then(response => {
  4855. if (response.data.state == 1) {
  4856. var docinfo = response.data.data.docinfo
  4857. this.eidtDoctorform = response.data.data.docinfo
  4858. console.log('编辑医生返回数据', docinfo)
  4859. }
  4860. })
  4861. },
  4862. AddDoctorInfoTwo(formName) {
  4863. var sort = this.eidtDoctorform.sort
  4864. var sorts = parseInt(sort)
  4865. this.eidtDoctorform.sort = sorts
  4866. console.log('排序值', sorts)
  4867. this.$refs[formName].validate((valid) => {
  4868. if (valid) {
  4869. AddDoctorInfoTwo(this.doctorform.modleid, this.eidtDoctorform).then(response => {
  4870. if (response.data.state == 1) {
  4871. this.centerDialogVisible = false
  4872. var editdoctor = response.data.data.editdoctor
  4873. this.docimages = response.data.data.editdoctors
  4874. }
  4875. })
  4876. }
  4877. })
  4878. },
  4879. GetNavigationData() {
  4880. GetNavigationData().then(response => {
  4881. if (response.data.state == 1) {
  4882. var navigation = response.data.data.navigation
  4883. for (let index = 0; index < navigation.length; index++) {
  4884. navigation[0].nonavimages = 'https://images.shengws.com/2089_o_1571990714383.png';
  4885. }
  4886. console.log('navigation是设么', navigation)
  4887. this.navigationdatatwo = navigation
  4888. }
  4889. })
  4890. },
  4891. getAllModelTitle() {
  4892. getAllModelTitle().then(response => {
  4893. if (response.data.state == 1) {
  4894. var patientModels = response.data.data.patientModels
  4895. this.modelTtile = patientModels
  4896. console.log('模块标题是什么', patientModels)
  4897. }
  4898. })
  4899. },
  4900. callPhone(title, address) {
  4901. if (title == '首页') {
  4902. this.modelshow = false
  4903. this.modelshowtwo = true
  4904. this.getHospitaldata()
  4905. }
  4906. if (title == '联系我们') {
  4907. this.modelshowtwo = false
  4908. this.modelshow = true
  4909. this.getOrderModel()
  4910. }
  4911. if (title == '在线客服') {
  4912. window.location.href = 'tel://' + address + ''
  4913. }
  4914. if (title == '微商城') {
  4915. window.location.href = address
  4916. }
  4917. },
  4918. GetDoctorDetail(id) {
  4919. this.docshow = false
  4920. this.docshowinfo = true
  4921. this.returnshow = true
  4922. GetDoctorDetail(id).then(response => {
  4923. if (response.data.state == 1) {
  4924. var editdoctor = response.data.data.editdoctor
  4925. if (editdoctor.doc_postion == 1) {
  4926. editdoctor.doc_postion = '医士'
  4927. }
  4928. if (editdoctor.doc_postion == 2) {
  4929. editdoctor.doc_postion = '医师'
  4930. }
  4931. if (editdoctor.doc_postion == 3) {
  4932. editdoctor.doc_postion = '住院医生'
  4933. }
  4934. if (editdoctor.doc_postion == 4) {
  4935. editdoctor.doc_postion = '主治医生'
  4936. }
  4937. if (editdoctor.doc_postion == 5) {
  4938. editdoctor.doc_postion = '副主任医生'
  4939. }
  4940. if (editdoctor.doc_postion == 6) {
  4941. editdoctor.doc_postion = '主任医师'
  4942. }
  4943. if (editdoctor.doc_postion == 7) {
  4944. editdoctor.doc_postion = '护士'
  4945. }
  4946. if (editdoctor.doc_postion == 8) {
  4947. editdoctor.doc_postion = '护师'
  4948. }
  4949. if (editdoctor.doc_postion == 9) {
  4950. editdoctor.doc_postion = '主管护师'
  4951. }
  4952. if (editdoctor.doc_postion == 10) {
  4953. editdoctor.doc_postion = '副主任护师'
  4954. }
  4955. if (editdoctor.doc_postion == 11) {
  4956. editdoctor.doc_postion = '主任护师'
  4957. }
  4958. this.editdoctor = editdoctor
  4959. console.log('医生详情是', editdoctor)
  4960. }
  4961. })
  4962. },
  4963. GetArticleListDetail(id) {
  4964. this.ArticlelistShow = false
  4965. this.articlelistshowinfo = true
  4966. this.returnshow = true
  4967. GetArticleListDetail(id).then(response => {
  4968. if (response.data.state == 1) {
  4969. var articles = response.data.data.articles
  4970. console.log('articels', articles)
  4971. this.articlistinfo = articles
  4972. }
  4973. })
  4974. },
  4975. ActivitiesListInfo(id) {
  4976. this.ActivitieslistShow = false
  4977. this.activitesShowinfo = true
  4978. this.returnshow = true
  4979. ActivitiesListInfo(id).then(response => {
  4980. if (response.data.state == 1) {
  4981. var activity = response.data.data.activity
  4982. console.log('activity', activity)
  4983. this.activitiesInfo = activity
  4984. }
  4985. })
  4986. }
  4987. // returnClick(){
  4988. // this.docshowinfo = false;
  4989. // this.articlelistshowinfo = false;
  4990. // this.activitesShowinfo = false;
  4991. // this.returnshow = false;
  4992. // this.docshow = true;
  4993. // this.ArticlelistShow = true;
  4994. // this.ActivitieslistShow = true;
  4995. // }
  4996. },
  4997. destroyed() {
  4998. clearInterval(this.timer)
  4999. document.getElementById('target').removeEventListener('scroll', this.scrollToTop)
  5000. document.getElementById('targettwo').removeEventListener('scroll', this.scrollToTop)
  5001. document.getElementById('targetthree').removeEventListener('scroll', this.scrollToTop)
  5002. document.getElementById('targetfour').removeEventListener('scroll', this.scrollToTop)
  5003. document.getElementById('targetfive').removeEventListener('scroll', this.scrollToTop)
  5004. document.getElementById('targetsix').removeEventListener('scroll', this.scrollToTop)
  5005. },
  5006. created() {
  5007. this.GetUserdModel()
  5008. this.getQueryNewModel()
  5009. this.getHospital()
  5010. this.getNavigationList()
  5011. this.getShareInfo()
  5012. this.getHospitaldata()
  5013. this.getOrderModel()
  5014. this.GetRotationImages()
  5015. this.getEditImages()
  5016. this.getActivities()
  5017. this.getArticlelist()
  5018. this.getArticleType()
  5019. this.getEnImages()
  5020. this.getAllConnecWay()
  5021. this.getEnImagesTwo()
  5022. this.getEnImagesThree()
  5023. this.getMacImagesDetail()
  5024. this.getAllArticelist()
  5025. this.GetAllActivity()
  5026. this.GetNavigationData()
  5027. this.getAllModelTitle()
  5028. // this.getData();
  5029. },
  5030. // updated(){
  5031. // let obj = document.getElementById('content');
  5032. // // console.log("obj谁什么?",obj)
  5033. // let imgs = obj.getElementsByTagName('img');
  5034. // console.log("imgs是什么?",imgs)
  5035. // for(let i=0;i<imgs.length;i++){
  5036. // imgs[i].style.width = '332px';
  5037. // imgs[i].style.height = '100px';
  5038. // }
  5039. // let ycontent = document.getElementById('ycontent');
  5040. // let ximgs = ycontent.getElementsByTagName('img');
  5041. // for(let j=0;j<ximgs.length;j++){
  5042. // ximgs[j].style.width = '332px';
  5043. // ximgs[j].style.height = '100px';
  5044. // }
  5045. // },
  5046. mounted() {
  5047. this.qrcode()
  5048. this.initSwiper()
  5049. },
  5050. updated() {
  5051. this.initSwiper()
  5052. // this.$previewRefresh();
  5053. }
  5054. }
  5055. </script>
  5056. <style rel="stylesheet/scss" lang="scss" scoped>
  5057. @import "../../assets/styles/mixin.scss";
  5058. .done{
  5059. position: absolute;
  5060. width: 80px;
  5061. height: 20px;
  5062. // border:solid 1px red;
  5063. margin-left: 430px;
  5064. margin-top: 460px;
  5065. font-size: 14px;
  5066. }
  5067. .done2{
  5068. position: absolute;
  5069. width: 80px;
  5070. height: 20px;
  5071. // border:solid 1px red;
  5072. margin-left: 416px;
  5073. margin-top: 510px;
  5074. font-size: 14px;
  5075. }
  5076. .dfont2{
  5077. position: absolute;
  5078. width: 40px;
  5079. height: 40px;
  5080. // border:solid 1px red;
  5081. margin-left: 376px;
  5082. margin-top: 500px;
  5083. }
  5084. .dfont{
  5085. position: absolute;
  5086. width: 40px;
  5087. height: 40px;
  5088. // border:solid 1px red;
  5089. margin-top: 450px;
  5090. margin-left: 390px;
  5091. // margin-left: 380px;
  5092. // margin-top: -200px;
  5093. }
  5094. .dfon{
  5095. position: absolute;
  5096. width: 70px;
  5097. height: 20px;
  5098. // border:solid 1px red;
  5099. margin-top: 675px;
  5100. margin-left: 920px;
  5101. }
  5102. .dtwo{
  5103. position: absolute;
  5104. width:50px;
  5105. height: 50px;
  5106. // border:solid 1px red;
  5107. margin-top: 670px;
  5108. }
  5109. .used {
  5110. ul {
  5111. li {
  5112. height: 44px;
  5113. line-height: 44px;
  5114. font-size: 14px;
  5115. display: flex;
  5116. color: #606266;
  5117. align-items: center;
  5118. justify-content: space-between;
  5119. border-bottom: 1px solid #e4e7ed;
  5120. i {
  5121. font-size: 19px;
  5122. margin: 0 6px;
  5123. cursor: pointer;
  5124. }
  5125. }
  5126. }
  5127. }
  5128. .el-row {
  5129. margin-bottom: 20px;
  5130. &:last-child {
  5131. margin-bottom: 0;
  5132. }
  5133. }
  5134. .el-col {
  5135. border-radius: 4px;
  5136. }
  5137. .qrcode{
  5138. position: absolute;
  5139. width: 110px;
  5140. height: 110px;
  5141. // border: solid 1px red;
  5142. margin-left: 380px;
  5143. margin-top: 50px;
  5144. }
  5145. .share{
  5146. position: relative;
  5147. width: 300px;
  5148. height: 720px;
  5149. border: solid 1px black;
  5150. // margin-left: -10px;
  5151. margin-top: 10px;
  5152. margin-left: 100px;
  5153. }
  5154. .share2{
  5155. position: absolute;
  5156. width: 300px;
  5157. height: 50px;
  5158. // border: solid 1px red;
  5159. background-color: #333333;
  5160. color: white;
  5161. }
  5162. .share3{
  5163. position: absolute;
  5164. margin-left: 120px;
  5165. margin-top: 15px;
  5166. }
  5167. .wrapper {
  5168. width: 314px;
  5169. // border: solid 1px green;
  5170. height: 660px;
  5171. }
  5172. .more{
  5173. position: absolute;
  5174. font-size: 14px;
  5175. color:black;
  5176. margin-left: 220px;
  5177. margin-top: -22px;
  5178. }
  5179. .text{
  5180. display: flex;
  5181. justify-content: space-around;
  5182. }
  5183. .phone{
  5184. float: left;
  5185. width: 380px;
  5186. height: 750px;
  5187. background: url(../../assets/img/phone.png) 50% no-repeat;
  5188. margin-top: -8px;
  5189. // border:solid 1px red;
  5190. }
  5191. .macgic{
  5192. @include border-top;
  5193. position: absolute;
  5194. width: 315px;
  5195. height:60px;
  5196. background-color: white;
  5197. // border: solid 1px #333333;
  5198. // margin-left: 32px;
  5199. margin-top: 654px;
  5200. z-index: 999;
  5201. border-radius: 12px 12px 30px 30px;
  5202. // border:solid 1px red;
  5203. }
  5204. .macgicone{
  5205. // position: absolute;
  5206. width: 30px;
  5207. height: 50px;
  5208. // border: solid 1px red;
  5209. margin-top: 10px;
  5210. margin-left: 40px;
  5211. display: inline-block;
  5212. }
  5213. .macgicfive{
  5214. width: 28px;
  5215. height: 20px;
  5216. // border: solid 1px blue;
  5217. margin-bottom: 8px;
  5218. }
  5219. .macgictwo{
  5220. position: absolute;
  5221. width: 30px;
  5222. height: 30px;
  5223. // border:solid 1px red;
  5224. margin-top:15px;
  5225. margin-left:100px;
  5226. }
  5227. .macgicsix{
  5228. position: absolute;
  5229. width: 60px;
  5230. height: 20px;
  5231. // border:solid 1px red;
  5232. font-size: 14px;
  5233. margin-left: -15px;
  5234. text-align: center;
  5235. // margin-left: 5px;
  5236. }
  5237. .macgicthree{
  5238. position: absolute;
  5239. width: 30px;
  5240. height: 30px;
  5241. // border:solid 1px red;
  5242. margin-left: 170px;
  5243. margin-top: 15px;
  5244. }
  5245. .macgicfour{
  5246. position: absolute;
  5247. width:30px;
  5248. height: 30px;
  5249. // border:solid 1px red;
  5250. margin-left: 240px;
  5251. margin-top: 15px;
  5252. }
  5253. .time{
  5254. width: 34px;
  5255. height: 20px;
  5256. margin-top: 44px;
  5257. margin-left: 55px;
  5258. font-size: 8px;
  5259. }
  5260. .xinhao{
  5261. width: 50px;
  5262. height: 50px;
  5263. background: url(../../assets/img/xinhao.png) 30% no-repeat;
  5264. margin-top: -40px;
  5265. margin-left: 270px;
  5266. background-size: 15px;
  5267. }
  5268. .wifi{
  5269. background: url(../../assets/img/wifi.png) 30% no-repeat;
  5270. width: 70px;
  5271. height: 60px;
  5272. background-size: 10px;
  5273. margin-top: -55px;
  5274. margin-left: 280px;
  5275. }
  5276. .dian{
  5277. background: url(../../assets/img/dian.png) 30% no-repeat;
  5278. width: 70px;
  5279. height: 60px;
  5280. background-size: 12px;
  5281. margin-top: -58px;
  5282. margin-left: 300px;
  5283. }
  5284. .mint-swipe{
  5285. height: 200px;
  5286. width: 318px;
  5287. top:-22px;
  5288. }
  5289. .mint-swipe-item{
  5290. &:nth-child(1){
  5291. background-color: white;
  5292. }
  5293. &:nth-child(2){
  5294. background-color: white;
  5295. }
  5296. &:nth-child(3){
  5297. background-color: white;
  5298. }
  5299. }
  5300. .lunimage{
  5301. width: 390px;
  5302. height: 180px;
  5303. // border:solid 1px red;
  5304. margin-left: -40px;
  5305. }
  5306. .scroll{
  5307. margin-left: 33px;
  5308. width: 314px;
  5309. height: 660px;
  5310. border: 1px;
  5311. margin-top:-22px;
  5312. overflow-y: auto;
  5313. position: absolute;
  5314. border-radius: 0 0 50px 50px;
  5315. // border: 1px solid red;
  5316. }
  5317. ::-webkit-scrollbar{width:0px;}
  5318. ::-webkit-scrollbar-track{background-color:white;}
  5319. ::-webkit-scrollbar-thumb{background-color:white;}
  5320. ::-webkit-scrollbar-thumb:hover {background-color:white}
  5321. ::-webkit-scrollbar-thumb:active {background-color:white}
  5322. #new{
  5323. position: relative;
  5324. width: 150px;
  5325. height: 200px;
  5326. border: solid red;
  5327. margin-top: -50px;
  5328. }
  5329. officexiangqing{
  5330. position: relative;
  5331. width: 315px;
  5332. height: 650px;
  5333. border: 1px solid red;
  5334. margin-left: 32px;
  5335. margin-top: -22px;
  5336. font-size: 14px;
  5337. overflow-y: auto;
  5338. color: black;
  5339. }
  5340. .backindex{
  5341. width: 50px;
  5342. height: 50px;
  5343. border: solid 1px red;
  5344. background-color: red;
  5345. margin-left: 850px;
  5346. margin-top: 350px;
  5347. }
  5348. .myjsfont{
  5349. font-size: 14px;
  5350. margin-top: -125px;
  5351. margin-bottom: 100px;
  5352. margin-left: 8px;
  5353. color: #FF6600;
  5354. }
  5355. .addbutton{
  5356. width: 104px;
  5357. height: 40px;
  5358. font-size: 14px;
  5359. color: #FF6600;
  5360. margin: 0 auto;
  5361. margin-top: 50px;
  5362. // margin-left: 150px;
  5363. // border: solid 1px red;
  5364. }
  5365. .addbuttontwo{
  5366. width: 104px;
  5367. height: 40px;
  5368. font-size: 14px;
  5369. color: #FF6600;
  5370. margin-top: 300px;
  5371. margin-left: 120px;
  5372. }
  5373. //编辑名医样式
  5374. .avatar-uploader{
  5375. border: 1px dashed #d9d9d9;
  5376. border-radius: 6px;
  5377. cursor: pointer;
  5378. position: relative;
  5379. overflow: hidden;
  5380. width: 100px;
  5381. height: 100px;
  5382. border-color: #409EFF;
  5383. // text-align: center;
  5384. // font-size: 14px;
  5385. }
  5386. .avatar-uploader-icon {
  5387. font-size: 28px;
  5388. color: #8c939d;
  5389. width: 50px;
  5390. height: 50px;
  5391. line-height: 50px;
  5392. margin-left: 25px;
  5393. margin-top: 25px;
  5394. text-align: center;
  5395. }
  5396. // 样式
  5397. .clickmore{
  5398. width: 200px;
  5399. height: 200px;
  5400. border: solid 1px red;
  5401. }
  5402. .parent{
  5403. width: 320px;
  5404. height: 230px;
  5405. /* background-color: rgba(204, 204, 204, 1); */
  5406. }
  5407. .box{
  5408. width: 320px;
  5409. height: 8px;
  5410. background-color: rgba(204, 204, 204, 1);
  5411. }
  5412. .modeone{
  5413. width:318px;
  5414. height: 9.4375rem;
  5415. // border:solid 1px red ;
  5416. }
  5417. .oldmodeone{
  5418. font-size: 1rem;
  5419. font-weight: 600;
  5420. color: rgba(7, 18, 40, 1);
  5421. width: 318px;
  5422. height: 100%;
  5423. // border: solid 1px red;
  5424. margin-bottom: 5px;
  5425. line-height: 2.375rem;
  5426. }
  5427. .swipertwo{
  5428. width:318px;
  5429. height: 9.4375rem;
  5430. margin-top: 25px;
  5431. // border:solid 1px red;
  5432. }
  5433. .modetwo{
  5434. width: 320px;
  5435. // border:solid 1px red;
  5436. // height: 250px;
  5437. // border:solid 1px red;
  5438. /* border: solid 1px red; */
  5439. /* background-color: red; */
  5440. }
  5441. .modethree{
  5442. width: 320px;
  5443. // height: 230px;
  5444. // /* border: solid 1px blue; */
  5445. // /* background-color: blue; */
  5446. }
  5447. .modefour{
  5448. width:320px;
  5449. height: 230px;
  5450. }
  5451. .modefive{
  5452. width:320px;
  5453. height: 200px;
  5454. // border: solid 1px red;
  5455. }
  5456. .modesix{
  5457. width:320px;
  5458. min-height: 250px;
  5459. // border: solid 1px red;
  5460. margin-bottom: 5px;
  5461. }
  5462. .modeseven{
  5463. width:320px;
  5464. min-height: 250px;
  5465. margin-bottom: 5px;
  5466. }
  5467. .actilist{
  5468. width:300px;
  5469. height: 90px;
  5470. // border:solid 1px red;
  5471. margin-left: 5px;
  5472. }
  5473. .acthead{
  5474. width: 80px;
  5475. height: 80px;
  5476. // border: solid 1px red;
  5477. margin-left: 5px;
  5478. margin-top: 5px;
  5479. }
  5480. .actcontent{
  5481. width: 200px;
  5482. height: 80px;
  5483. // border: solid 1px red;
  5484. margin-left: 90px;
  5485. margin-top: -82px;
  5486. }
  5487. .actname{
  5488. width:190px;
  5489. height: 16px;
  5490. // border:solid 1px red;
  5491. margin-left: 5px;
  5492. margin-top: 10px;
  5493. font-size: 14px;
  5494. overflow: hidden;
  5495. text-overflow: ellipsis;
  5496. display: -webkit-box;
  5497. -webkit-line-clamp: 1;
  5498. -webkit-box-orient: vertical;
  5499. }
  5500. .actcomments{
  5501. width: 190px;
  5502. height: 20px;
  5503. // border:solid 1px red;
  5504. margin-left: 5px;
  5505. margin-top: 2px;
  5506. font-size: 14px;
  5507. }
  5508. .progress{
  5509. width:190px;
  5510. height: 20px;
  5511. // border:solid 1px red;
  5512. margin-left: 5px;
  5513. margin-top: 2px;
  5514. font-size: 14px;
  5515. }
  5516. .modeeight{
  5517. width: 314px;
  5518. height:100%;
  5519. // border:solid 1px red;
  5520. }
  5521. .block{
  5522. width: 60px;
  5523. display: inline-block;
  5524. // border:solid 1px blue;
  5525. height: 80px;
  5526. margin-left:10px;
  5527. margin-right: 2px;
  5528. vertical-align: top;
  5529. margin-top: 5px;
  5530. }
  5531. .macimg{
  5532. width: 46px;
  5533. height: 50px;
  5534. // border:solid 1px red;
  5535. margin-top: 2px;
  5536. margin-bottom: 5px;
  5537. margin-left: 4px;
  5538. }
  5539. #macimgtwo{
  5540. width:58px;
  5541. height:18px;
  5542. font-size:14px;
  5543. position:absolute;
  5544. // overflow:hidden;
  5545. // border: solid 1px red;
  5546. text-align: center;
  5547. margin-left: -1px;
  5548. }
  5549. .mac{
  5550. position: absolute;
  5551. width: 300px;
  5552. height: 70px;
  5553. // border:solid 1px red;
  5554. margin-left: 5px;
  5555. }
  5556. .mactwo{
  5557. position: absolute;
  5558. width: 60px;
  5559. height: 70px;
  5560. // border: solid 1px red;
  5561. left: 80px;
  5562. }
  5563. .macthree{
  5564. position: absolute;
  5565. width: 60px;
  5566. height: 70px;
  5567. // border: solid 1px red;
  5568. left: 155px;
  5569. }
  5570. .macfour{
  5571. position: absolute;
  5572. width: 60px;
  5573. height: 70px;
  5574. // border: solid 1px red;
  5575. left: 230px;
  5576. }
  5577. .macone{
  5578. position: absolute;
  5579. width: 60px;
  5580. height: 70px;
  5581. // border: solid 1px red;
  5582. left: 5px;
  5583. }
  5584. .definemac{
  5585. position: absolute;
  5586. width: 300px;
  5587. height: 70px;
  5588. border: solid 1px red;
  5589. margin-top: 75px;
  5590. margin-left: 5px;
  5591. }
  5592. .definemacone{
  5593. position: absolute;
  5594. width: 60px;
  5595. height: 70px;
  5596. border:solid 1px red;
  5597. left: 5px;
  5598. float: left;
  5599. }
  5600. .deone{
  5601. width:45px;
  5602. height: 45px;
  5603. // border:solid 1px red;
  5604. margin-left: 8px;
  5605. margin-top: 5px;
  5606. }
  5607. .detwo{
  5608. width:60px;
  5609. height: 20px;
  5610. // border: solid 1px red;
  5611. margin-top: 2px;
  5612. font-size: 14px;
  5613. text-align: center;
  5614. // font-size: 14px;
  5615. // color: black;
  5616. }
  5617. .dethree{
  5618. font-size: 14px;
  5619. // color: black;
  5620. font-family: Arial, Helvetica, sans-serif;
  5621. }
  5622. .picone{
  5623. width: 45px;
  5624. height: 45px;
  5625. // border: solid 1px red;
  5626. margin-left: 8px;
  5627. margin-top: 5px;
  5628. }
  5629. .pictwo{
  5630. width:60px;
  5631. height: 20px;
  5632. // border: solid 1px red;
  5633. margin-top: 2px;
  5634. font-size: 14px;
  5635. text-align: center;
  5636. }
  5637. .logo{
  5638. position: absolute;
  5639. margin-left: 280px;
  5640. margin-top: -16px;
  5641. }
  5642. .kefont{
  5643. font-size: 14px;
  5644. color: red;
  5645. margin-left: 8px;
  5646. margin-top: -20px;
  5647. }
  5648. .more{
  5649. position: absolute;
  5650. font-size: 14px;
  5651. color:black;
  5652. margin-left: 220px;
  5653. margin-top: -15px;
  5654. }
  5655. .hoscontent{
  5656. height:auto!important;
  5657. height:200px;
  5658. min-height:200px;
  5659. font-size: 14px;
  5660. overflow: hidden;
  5661. text-overflow: ellipsis;
  5662. display: -webkit-box;
  5663. -webkit-line-clamp: 6;
  5664. -webkit-box-orient: vertical;
  5665. // border: solid 1px red;
  5666. margin-top: 7px;
  5667. }
  5668. .xcontent{
  5669. height:auto!important;
  5670. height:200px;
  5671. min-height:200px;
  5672. font-size: 14px;
  5673. overflow: hidden;
  5674. text-overflow: ellipsis;
  5675. display: -webkit-box;
  5676. -webkit-line-clamp: 6;
  5677. -webkit-box-orient: vertical;
  5678. // border: solid 1px red;
  5679. margin-top: 7px;
  5680. }
  5681. #yycontent{
  5682. overflow: hidden;
  5683. text-overflow: ellipsis;
  5684. display: -webkit-box;
  5685. -webkit-line-clamp: 6;
  5686. -webkit-box-orient: vertical;
  5687. }
  5688. #zzcontent{
  5689. overflow: hidden;
  5690. text-overflow: ellipsis;
  5691. display: -webkit-box;
  5692. -webkit-line-clamp: 5;
  5693. -webkit-box-orient: vertical;
  5694. }
  5695. .docborde{
  5696. width: 320px;
  5697. height: 200px;
  5698. // border: solid 1px red;
  5699. overflow: hidden;
  5700. }
  5701. .docborder{
  5702. width: 320px;
  5703. height: 100px;
  5704. /* border: solid 1px red; */
  5705. background-color: rgba(242, 242, 242, 1);
  5706. margin-top: 8px;
  5707. }
  5708. .docheart{
  5709. width: 310px;
  5710. height: 92px;
  5711. // border: solid 1px blue;
  5712. background-color: rgba(242, 242, 242, 1);
  5713. margin-top: 5px;
  5714. margin-left: 3px;
  5715. }
  5716. .docimage{
  5717. width: 80px;
  5718. height: 80px;
  5719. margin-left: 10px;
  5720. padding-top: 5px;
  5721. }
  5722. .doctitle{
  5723. width: 80px;
  5724. height: 20px;
  5725. // border: solid 1px blue;
  5726. float: right;
  5727. margin-right: 120px;
  5728. margin-top: -75px;
  5729. font-size: 14px;
  5730. }
  5731. .doccontent{
  5732. width: 180px;
  5733. height: 34px;
  5734. // border: solid 1px red;
  5735. margin-top: -50px;
  5736. margin-left: 108px;
  5737. font-size: 14px;
  5738. overflow: hidden;
  5739. }
  5740. .docnamefont{
  5741. font-size: 14px;
  5742. }
  5743. .dochead{
  5744. position:absolute;
  5745. width:80px;
  5746. height: 80px;
  5747. /* border:solid 1px green; */
  5748. margin-top: 10px;
  5749. margin-left: 10px;
  5750. }
  5751. .docname{
  5752. position: absolute;
  5753. width:50px;
  5754. height: 20px;
  5755. /* border: solid 1px green; */
  5756. margin-left: 130px;
  5757. margin-top: 20px;
  5758. font-size: 14px;
  5759. color:black;
  5760. }
  5761. .docintroduction{
  5762. font-size: 14px;
  5763. color: black;
  5764. }
  5765. .docone{
  5766. width:310px;
  5767. height:100px;
  5768. // border: solid red 1px;
  5769. margin-left: 5px;
  5770. overflow: hidden;
  5771. }
  5772. .doctwo{
  5773. width:80px;
  5774. height: 80px;
  5775. // border: solid red 1px;
  5776. margin-top: 10px;
  5777. margin-left: 5px;
  5778. }
  5779. .docthree{
  5780. width: 50px;
  5781. height: 20px;
  5782. // border:solid red 1px;
  5783. margin-left: 100px;
  5784. margin-top: -75px;
  5785. }
  5786. .docfour{
  5787. font-size: 14px;
  5788. }
  5789. .docfive{
  5790. width:200px;
  5791. height: 50px;
  5792. // border:solid 1px red;
  5793. margin-left: 100px;
  5794. margin-top: 5px;
  5795. }
  5796. .docsix{
  5797. font-size: 14px;
  5798. overflow: hidden;
  5799. text-overflow: ellipsis;
  5800. display: -webkit-box;
  5801. -webkit-line-clamp: 3;
  5802. -webkit-box-orient: vertical
  5803. }
  5804. .xxcontent{
  5805. overflow: hidden;
  5806. text-overflow: ellipsis;
  5807. display: -webkit-box;
  5808. -webkit-line-clamp: 2;
  5809. -webkit-box-orient: vertical;
  5810. }
  5811. #wrappertwo{
  5812. width: 50%;
  5813. }
  5814. #wrapperthree{
  5815. width: 50%;
  5816. margin-top: 5px;
  5817. }
  5818. .swiperimages{
  5819. width: 320px;
  5820. height: 150px;
  5821. // border: solid 1px red;
  5822. margin-top: 20px;
  5823. z-index: 999;
  5824. }
  5825. #swiperimagestwo{
  5826. width:314px;
  5827. height: 150px;
  5828. margin-top: 20px;
  5829. overflow: hidden;
  5830. // border: solid 1px red;
  5831. }
  5832. .navigationone{
  5833. position: relative;
  5834. width: 280px;
  5835. height: 50px;
  5836. border: solid 1px rgba(242, 242, 242, 1);
  5837. margin-top: 10px;
  5838. margin-left: 10px;
  5839. }
  5840. .navigacontent{
  5841. position: relative;
  5842. width:300px;
  5843. height: 670px;
  5844. border:solid 0.1px rgba(242, 242, 242, 1);
  5845. margin-top: 50px;
  5846. }
  5847. .navitwo{
  5848. width: 35px;
  5849. height: 35px;
  5850. // border: solid 1px blue;
  5851. margin-top: 7px;
  5852. margin-left: 10px;
  5853. }
  5854. .navithree{
  5855. width:120px;
  5856. height: 30px;
  5857. margin-left: 45px;
  5858. margin-top: -25px;
  5859. font-size: 14px;
  5860. }
  5861. .navifour{
  5862. width: 30px;
  5863. height: 30px;
  5864. margin-left: 230px;
  5865. margin-top: -27px;
  5866. // border: solid 1px red;
  5867. }
  5868. .navifive{
  5869. width: 30px;
  5870. height: 30px;
  5871. margin-left: 260px;
  5872. margin-top: -30px;
  5873. // border: solid 1px red;
  5874. }
  5875. .sharecontent{
  5876. width:345px;
  5877. height: 245px;
  5878. // border: solid 1px red;
  5879. }
  5880. .shareexam{
  5881. width:120px;
  5882. height:23px;
  5883. // border: solid 1px red;
  5884. margin-top: 10px;
  5885. margin-left: 10px;
  5886. }
  5887. .shareimg{
  5888. width:347px;
  5889. height:190px;
  5890. // border:solid 1px red;
  5891. background-color:rgba(242, 242, 242, 1);
  5892. }
  5893. .sharetwoimg{
  5894. position: absolute;
  5895. width:250px;
  5896. height: 160px;
  5897. // border:solid 1px red;
  5898. margin-left: 10px;
  5899. margin-top: 15px;
  5900. background-color: #d9d9d9;
  5901. border-radius: 5%;
  5902. }
  5903. .triangle{
  5904. margin: 0px;
  5905. border-width: 10px;
  5906. border-style: solid;
  5907. border-color: #d9d9d9 transparent transparent;
  5908. padding: 0px;
  5909. width: 0px;
  5910. height: 0px;
  5911. left: 260px;
  5912. top: 70px;
  5913. position: absolute;
  5914. transform:rotate(270deg);
  5915. }
  5916. .sharepic{
  5917. position: absolute;
  5918. width: 50px;
  5919. height: 50px;
  5920. // border: 1px solid red;
  5921. margin-left: 280px;
  5922. margin-top: 20px;
  5923. }
  5924. .sharefont{
  5925. position: absolute;
  5926. width:220px;
  5927. height: 65px;
  5928. // border: solid 1px red;
  5929. left: 10px;
  5930. top: 15px;
  5931. }
  5932. .sharefontone{
  5933. font-size: 16px;
  5934. font-weight: 100;
  5935. overflow: hidden;
  5936. text-overflow: ellipsis;
  5937. display: -webkit-box;
  5938. -webkit-line-clamp: 3;
  5939. -webkit-box-orient: vertical
  5940. }
  5941. .sharethree{
  5942. position: absolute;
  5943. width: 150px;
  5944. height: 70px;
  5945. // border:solid 1px red;
  5946. top: 75px;
  5947. left: 10px;
  5948. }
  5949. .sharefour{
  5950. font-size: 14px;
  5951. overflow: hidden;
  5952. text-overflow: ellipsis;
  5953. display: -webkit-box;
  5954. -webkit-line-clamp: 4;
  5955. -webkit-box-orient: vertical
  5956. }
  5957. .sharefive{
  5958. position: absolute;
  5959. width: 65px;
  5960. height: 70px;
  5961. // border: 1px solid red;
  5962. top: 75px;
  5963. left:165px;
  5964. }
  5965. .inputone{
  5966. position: relative;
  5967. width: 70px;
  5968. height: 25px;
  5969. // border: solid 1px red;
  5970. top:30px;
  5971. left:10px;
  5972. }
  5973. .inputfont{
  5974. font-size: 14px;
  5975. }
  5976. .inputwo{
  5977. position: relative;
  5978. width: 330px;
  5979. height: 40px;
  5980. // border: solid 1px red;
  5981. left: 10px;
  5982. top: 40px;
  5983. }
  5984. .inputhree{
  5985. position: relative;
  5986. width: 70px;
  5987. height: 25px;
  5988. // border: solid 1px red;
  5989. top:50px;
  5990. left:10px;
  5991. }
  5992. .inpufive{
  5993. position: relative;
  5994. width: 330px;
  5995. height: 40px;
  5996. // border: solid 1px red;
  5997. left: 10px;
  5998. top: 60px;
  5999. }
  6000. .inputsix{
  6001. position: relative;
  6002. width: 330px;
  6003. height: 40px;
  6004. // border: solid 1px red;
  6005. left: 10px;
  6006. top: 70px;
  6007. }
  6008. .inputserven{
  6009. position: relative;
  6010. width:100px;
  6011. height: 100px;
  6012. // border: solid 1px red;
  6013. top: 50px;
  6014. left:120px;
  6015. }
  6016. .inputten{
  6017. position: absolute;
  6018. width:100px;
  6019. height:100px;
  6020. // border: solid 1px red;
  6021. margin-top: 50px;
  6022. margin-left: 10px;
  6023. }
  6024. .returnpage{
  6025. position: absolute;
  6026. width: 50px;
  6027. height: 50px;
  6028. border:solid 1px rgb(255, 252, 252);
  6029. background-color: rgba(255, 255, 255, 1);
  6030. margin-top: 190px;
  6031. margin-left: 298px;
  6032. }
  6033. .returnimages{
  6034. position: absolute;
  6035. width: 20px;
  6036. height: 20px;
  6037. // border: solid 1px red;
  6038. left: 13px;
  6039. top: 5px;
  6040. }
  6041. .reback{
  6042. position: absolute;
  6043. width:50px;
  6044. height: 50px;
  6045. border:solid 1px rgb(255, 252, 252);
  6046. margin-left: 298px;
  6047. margin-top: 250px;
  6048. // margin-left: 298px;
  6049. // margin-top: -390px;
  6050. background-color: rgba(255, 255, 255, 1);
  6051. }
  6052. .rebackone{
  6053. position: absolute;
  6054. width:20px;
  6055. height: 20px;
  6056. // border: solid 1px red;
  6057. left: 13px;
  6058. top:5px;
  6059. }
  6060. .reindexone{
  6061. position: absolute;
  6062. width:20px;
  6063. height: 20px;
  6064. // border: solid 1px red;
  6065. left:13px;
  6066. top:5px;
  6067. }
  6068. .rebacktwo{
  6069. position: absolute;
  6070. width: 30px;
  6071. height: 20px;
  6072. // border:solid 1px red;
  6073. left: 10px;
  6074. top: 28px;
  6075. font-size: 14px;
  6076. color: #FF6600;
  6077. }
  6078. .reindextwo{
  6079. position: absolute;
  6080. width: 30px;
  6081. height: 20px;
  6082. left: 10px;
  6083. top:28px;
  6084. font-size: 14px;
  6085. color: #FF6600;
  6086. }
  6087. .reindex{
  6088. position: absolute;
  6089. width: 50px;
  6090. height: 50px;
  6091. border: solid 1px rgba(255, 255, 255, 1);
  6092. background-color: solid 1px rgba(255, 255, 255, 1);
  6093. margin-left: 300px;
  6094. margin-top: 310px;
  6095. }
  6096. .oldmodetwo{
  6097. width: 300px;
  6098. height: 100%;
  6099. /* border: solid 1px red; */
  6100. // margin-bottom: 5px;
  6101. font-size: 1rem;
  6102. font-weight: 600;
  6103. color: rgba(7, 18, 40, 1);
  6104. line-height: 2.375rem;
  6105. }
  6106. .oldmodethree{
  6107. width: 300px;
  6108. height: 100%;
  6109. font-size: 1rem;
  6110. font-weight: 600;
  6111. color: rgba(7, 18, 40, 1);
  6112. line-height: 2.375rem;
  6113. }
  6114. .oldmodefour{
  6115. width: 300px;
  6116. height: 30px;
  6117. /* border:solid 1px red; */
  6118. // margin-bottom: 5px;
  6119. font-size: 1rem;
  6120. font-weight: 600;
  6121. color: rgba(7, 18, 40, 1);
  6122. line-height: 2.375rem;
  6123. }
  6124. .oldmodethree{
  6125. width: 300px;
  6126. height: 100%;
  6127. /* border:solid 1px red; */
  6128. font-size: 14px;
  6129. // margin-bottom: 10px;
  6130. font-size: 1rem;
  6131. font-weight: 600;
  6132. color: rgba(7, 18, 40, 1);
  6133. line-height: 2.375rem;
  6134. }
  6135. .oldmodefive{
  6136. width:315px;
  6137. height: 200px;
  6138. /* border: solid 1px red; */
  6139. margin-bottom: 5px;
  6140. }
  6141. .addrot{
  6142. width: 100px;
  6143. height: 100px;
  6144. border: dashed 1px #409EFF;
  6145. }
  6146. .addrotone{
  6147. font-size: 30px;
  6148. width:50px;
  6149. height: 50px;
  6150. // border: solid 1px red;
  6151. margin-left: 35px;
  6152. margin-top: 35px;
  6153. }
  6154. .addrotwo{
  6155. width:60px;
  6156. height: 30px;
  6157. // border: solid 1px #409EFF;
  6158. margin-left: 25px;
  6159. margin-top: -25px;
  6160. }
  6161. .el-upload-list--picture-card .el-upload-list__item {
  6162. overflow: hidden;
  6163. background-color: #fff;
  6164. border: 1px solid #c0ccda;
  6165. border-radius: 6px;
  6166. -webkit-box-sizing: border-box;
  6167. box-sizing: border-box;
  6168. width: 100px;
  6169. height: 100px;
  6170. margin: 0 8px 8px 0;
  6171. display: inline-block;
  6172. }
  6173. .flex-img__image{
  6174. width: 100%;
  6175. height: 100%;
  6176. }
  6177. .addpicrot{
  6178. width: 100px;
  6179. height: 100px;
  6180. border: dashed 1px #409EFF;
  6181. }
  6182. .addpicones{
  6183. width: 30px;
  6184. height: 30px;
  6185. // border: solid 1px red;
  6186. margin-top: 30px;
  6187. margin-left: 30px;
  6188. font-size: 30px;
  6189. }
  6190. .addpictwos{
  6191. width: 70px;
  6192. height: 30px;
  6193. font-size: 14px;
  6194. // border: solid 1px red;
  6195. margin-left: -8px;
  6196. margin-top: -10px;
  6197. }
  6198. .avatar{
  6199. width:100px;
  6200. height: 100px;
  6201. }
  6202. .tpic{
  6203. margin-left: 50px;
  6204. }
  6205. .map {
  6206. width: 100%;
  6207. height: 400px;
  6208. }
  6209. .yangshi{
  6210. font-size: 14px;
  6211. margin-top: 25px;
  6212. }
  6213. .tips {
  6214. font-size: 12px;
  6215. line-height: 18px;
  6216. }
  6217. .tipstwo{
  6218. width:300px;
  6219. height: 20px;
  6220. // border:solid 1px red;
  6221. margin-left: 90px;
  6222. }
  6223. .modelshowtwo{
  6224. width: 100%;
  6225. height: 100%;
  6226. // border: solid 1px red;
  6227. }
  6228. .docheadimages{
  6229. width: 100%;
  6230. height: 80px;
  6231. // border:solid 1px red;
  6232. margin-top: 5px;
  6233. margin-left: 5px;
  6234. margin-bottom: 5px;
  6235. }
  6236. .doctorhead{
  6237. position: absolute;
  6238. width: 60px;
  6239. height: 60px;
  6240. // border: solid 1px red;
  6241. margin-left: 10px;
  6242. margin-top: 10px;
  6243. }
  6244. .doctorname{
  6245. position: absolute;
  6246. width: 100px;
  6247. height: 20px;
  6248. // border:solid 1px red;
  6249. margin-top: 15px;
  6250. margin-left: 80px;
  6251. font-size: 14px;
  6252. }
  6253. .docposition{
  6254. position: absolute;
  6255. width: 100px;
  6256. height: 20px;
  6257. // border:solid 1px red;
  6258. margin-top: 40px;
  6259. margin-left: 80px;
  6260. font-size: 14px;
  6261. }
  6262. .doctorintroduction{
  6263. margin-left: 15px;
  6264. height: 20px;
  6265. // border:solid 1px red;
  6266. margin-bottom: 5px;
  6267. font-size: 14px;
  6268. }
  6269. .doctorintroductiontwo{
  6270. margin-left: 16px;
  6271. height: 100%;
  6272. // border:solid 1px red;
  6273. font-size: 14px;
  6274. }
  6275. .articletitle{
  6276. width: 100%;
  6277. height: 20px;
  6278. font-size: 20px;
  6279. // border:solid 1px red;
  6280. // margin-left: 50px;
  6281. margin-left: 100px;
  6282. margin-top: 5px;
  6283. vertical-align: center;
  6284. }
  6285. .aticlecontent{
  6286. width: 100%;
  6287. height: 100%;
  6288. font-size: 14px;
  6289. }
  6290. .activitesimages{
  6291. width: 100%;
  6292. height: 200px;
  6293. // border:solid 1px red;
  6294. }
  6295. .activitestitle{
  6296. width: 100%;
  6297. min-height: 20px;
  6298. // border:solid 1px red;
  6299. font-size: 14px;
  6300. }
  6301. .banner {
  6302. height: 9.4375rem;
  6303. border:solid 1px red;
  6304. }
  6305. .btnList {
  6306. display: flex;
  6307. justify-content: space-around;
  6308. align-items: center;
  6309. flex-wrap: wrap;
  6310. width: 100%;
  6311. // height: 180px;
  6312. margin-top: 1.25rem;
  6313. // border:solid 1px yellow;
  6314. }
  6315. .btnOne {
  6316. display: block;
  6317. width: 25%;
  6318. text-align: center;
  6319. height: 5rem;
  6320. img {
  6321. margin-bottom: 0.3125rem;
  6322. text-align: center;
  6323. width: 3.125rem;
  6324. height: 3.125rem;
  6325. border-radius: 50%;
  6326. }
  6327. .title {
  6328. width: 100%;
  6329. height: 1.125rem;
  6330. line-height: 1.125rem;
  6331. font-size: 0.875rem;
  6332. text-align: center;
  6333. }
  6334. }
  6335. .dynamic {
  6336. margin-top: 3.0625rem;
  6337. // border: solid 1px red;
  6338. }
  6339. .common_title {
  6340. width: 20.9375rem;
  6341. height: 1.125rem;
  6342. margin: 0 auto;
  6343. }
  6344. .dynamicTxt {
  6345. float: left;
  6346. width: 6rem;
  6347. height: 1.125rem;
  6348. line-height: 1.125rem;
  6349. font-size: 1.125rem;
  6350. font-weight: 600;
  6351. color: rgba(7, 18, 40, 1);
  6352. }
  6353. .one {
  6354. margin-top: 0.125rem;
  6355. margin-right: 0.375rem;
  6356. float: left;
  6357. width: 0.125rem;
  6358. height: 0.875rem;
  6359. background: linear-gradient(
  6360. 0deg,
  6361. rgba(114, 182, 253, 1),
  6362. rgba(52, 119, 254, 1)
  6363. );
  6364. box-shadow: 0px 3px 12px 0px rgba(60, 127, 254, 0.2);
  6365. border-radius: 3px;
  6366. }
  6367. .dymore {
  6368. float: right;
  6369. margin-right: 20px;
  6370. p {
  6371. color: #b6bac1;
  6372. height: 1.125rem;
  6373. line-height: 1.125rem;
  6374. }
  6375. }
  6376. .contentOne {
  6377. margin: auto;
  6378. margin-top: 1.125rem;
  6379. width: 20.875rem;
  6380. height: 7.4375rem;
  6381. background: rgba(255, 255, 255, 1);
  6382. box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
  6383. border-radius: 1rem;
  6384. padding-left: 1rem;
  6385. padding-top: 1.125rem;
  6386. box-sizing: border-box;
  6387. .img {
  6388. float: left;
  6389. width: 5rem;
  6390. height: 5rem;
  6391. img {
  6392. border-radius: 0.75rem;
  6393. }
  6394. }
  6395. .detail {
  6396. float: left;
  6397. margin-left: 0.8125rem;
  6398. width: 13.125rem;
  6399. .detailTitle {
  6400. margin-top: 8px;
  6401. font-size: 15px;
  6402. margin-top: 0.5rem;
  6403. width: 12.6875rem;
  6404. height: 1rem;
  6405. line-height: 1rem;
  6406. font-size: 0.9375rem;
  6407. font-weight: 600;
  6408. color: rgba(7, 18, 40, 1);
  6409. overflow: hidden;
  6410. text-overflow: ellipsis;
  6411. display: -webkit-box;
  6412. -webkit-line-clamp: 1;
  6413. -webkit-box-orient: vertical;
  6414. }
  6415. .detailMessage {
  6416. margin-top: 0.25rem;
  6417. width: 13.25rem;
  6418. height: 3.3rem;
  6419. font-size: 0.75rem;
  6420. font-weight: 400;
  6421. color: rgba(155, 155, 155, 1);
  6422. line-height: 1.125rem;
  6423. overflow: hidden;
  6424. text-overflow: ellipsis;
  6425. display: -webkit-box;
  6426. -webkit-line-clamp: 1;
  6427. -webkit-box-orient: vertical;
  6428. // border: solid 1px red;
  6429. }
  6430. .noImg {
  6431. width: 6.25rem;
  6432. height: 6.25rem;
  6433. margin: 0 auto;
  6434. img {
  6435. width: 6.25rem;
  6436. height: 6.25rem;
  6437. }
  6438. }
  6439. }
  6440. // border: solid 1px red;
  6441. }
  6442. .common {
  6443. margin-top: 1.875rem;
  6444. .commonBox {
  6445. margin: auto;
  6446. margin-top: 1.25rem;
  6447. width: 20.875rem;
  6448. height: 20.3125rem;
  6449. background: rgba(255, 255, 255, 1);
  6450. box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
  6451. border-radius: 16px;
  6452. padding: 1.125rem 1.3125rem 1.3125rem 1.3125rem;
  6453. overflow: hidden;
  6454. text-overflow: ellipsis;
  6455. .noImg {
  6456. width: 6.25rem;
  6457. height: 6.25rem;
  6458. margin: 0 auto;
  6459. img {
  6460. width: 6.25rem;
  6461. height: 6.25rem;
  6462. }
  6463. }
  6464. }
  6465. .commonImg {
  6466. width: 18.4375rem;
  6467. height: 10.5625rem;
  6468. border-radius: 10px;
  6469. }
  6470. .commonMessage {
  6471. margin-top: 1.375rem;
  6472. width: 17.75rem;
  6473. height: 15rem;
  6474. font-size: 0.875rem;
  6475. color: rgba(60, 60, 60, 1);
  6476. line-height: 1.375rem;
  6477. overflow: hidden;
  6478. // border: solid 1px red;
  6479. display: -webkit-box;
  6480. -webkit-line-clamp: 8;
  6481. -webkit-box-orient: vertical;
  6482. p {
  6483. height: 100%;
  6484. line-height: 1.375rem;
  6485. }
  6486. }
  6487. // border:solid 1px red;
  6488. }
  6489. .imgs {
  6490. margin-top: 1.875rem;
  6491. // height: 7.8125rem;
  6492. overflow-x: hidden;
  6493. img {
  6494. width: 10.75rem;
  6495. height: 7.8125rem;
  6496. border-radius: 10px;
  6497. }
  6498. .carousel {
  6499. width: 100%;
  6500. height: 100%;
  6501. float: left;
  6502. padding-left: 1.25rem;
  6503. }
  6504. }
  6505. .tabs {
  6506. @include border-top;
  6507. width: 100%;
  6508. margin-top: 660px;
  6509. margin-left: -400px;
  6510. height: 3.125rem;
  6511. box-sizing: border-box;
  6512. border:solid 1px red;
  6513. z-index: 999999;
  6514. }
  6515. .tabList {
  6516. display: flex;
  6517. justify-content: space-around;
  6518. height: 100%;
  6519. .tabOne {
  6520. display: flex;
  6521. flex-direction: column;
  6522. justify-content: center;
  6523. align-items: center;
  6524. img {
  6525. // margin-top: 0.5rem;
  6526. width: 1.875rem;
  6527. height: 1.875rem;
  6528. }
  6529. span {
  6530. font-size: 0.75rem;
  6531. color: #999;
  6532. // line-height: 1.3125rem;
  6533. }
  6534. }
  6535. // border:solid 1px blue;
  6536. }
  6537. </style>