| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934 |
- <template>
- <div class="pinBottom-container" @touchstart.stop @keydown.stop>
- <Iframe :url="iframeUrl" :myIframe.sync="myIframe" />
- <div class="pinBottom center">
- <div id="view-controllers"></div>
- </div>
- <div class="pinBottom left" v-show="!myIframe">
- <div>
- <div class="viewContainer">
- <div
- id="previous"
- class="previous desktop-only ui-icon"
- style="display: none"
- >
- <a>
- <img
- rel="tooltip"
- title=""
- :src="require('@/assets/images/play.png')"
- width="24"
- height="24"
- data-original-title="播放"
- />
- </a>
- </div>
- <div
- id="play"
- class="ui-icon"
- rel="tooltip"
- data-original-title="播放"
- >
- <a>
- <img
- title="自动漫游"
- :src="require('@/assets/images/icon/play.png')"
- width="24"
- height="24"
- />
- </a>
- </div>
- <div id="pause" class="ui-icon" style="display: none">
- <a>
- <img
- rel="tooltip"
- title=""
- :src="require('@/assets/images/icon/pause.png')"
- width="24"
- height="24"
- data-original-title="暂停"
- />
- </a>
- </div>
- <div
- id="next"
- class="next desktop-only ui-icon wide"
- style="display: none"
- >
- <a>
- <i
- rel="tooltip"
- title=""
- class="icon icon-dpad-right"
- data-original-title="下一个"
- ></i>
- </a>
- </div>
- <div id="gui-modes-map" class="ui-icon double active">
- <div
- data-original-title="导览"
- @click="isGuide = !isGuide"
- id="pullTab"
- rel="tooltip"
- title="场景导览"
- >
- <img
- class="icon icon-inside"
- :src="
- require(`@/assets/images/icon/auto${
- !isGuide ? '_active' : ''
- }.png`)
- "
- />
- </div>
- <div
- title="全景漫游"
- data-original-title="全景漫游"
- id="gui-modes-inside"
- rel="tooltip"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/icon/inside.png')"
- />
- <img
- class="icon icon-inside active"
- :src="require('@/assets/images/icon/inside_active.png')"
- />
- </div>
- <div
- title="迷你漫游"
- data-original-title="迷你模型"
- id="gui-modes-dollhouse"
- rel="tooltip"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/icon/dollhouse.png')"
- />
- <img
- class="icon icon-inside active"
- :src="require('@/assets/images/icon/dollhouse_active.png')"
- title="navigation icon "
- />
- </div>
- <div
- data-original-title="俯视图"
- id="gui-modes-floorplan"
- rel="tooltip"
- title="顶部俯视"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/icon/floor.png')"
- />
- <img
- class="active icon icon-inside active"
- :src="require('@/assets/images/icon/floor_active.png')"
- />
- </div>
- <!-- 音乐 -->
- <!-- <div id="volume" @click="switchBGM" class="ui-icon bgandshare wide">
- <div>
- <img :src="require('@/assets/images/icon/musicon.png')" />
- </div>
- </div> -->
- <div
- style="display: none"
- @click="switchBGM"
- id="myMoMu"
- data-original-title="音乐"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/icon/musicoff.png')"
- title="关闭音乐"
- />
- </div>
- <div
- data-original-title="VR"
- id="vr"
- rel="tooltip"
- title=""
- style="display: none"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/VR.png')"
- />
- </div>
- <!-- <div
- data-original-title="热点列表"
- id="hotList"
- rel="tooltip"
- title=""
- style="display: none"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/hotlist.png')"
-
- />
- <img
- class="icon icon-inside active"
- :src="require('@/assets/images/hotlist.png')"
-
- />
- </div> -->
- <div
- data-original-title="消除外壳"
- id="gui-remove-face"
- rel="tooltip"
- title=""
- style="display: none; float: left"
- >
- <img
- class="icon icon-inside"
- :src="require('@/assets/images/face.jpg')"
- />
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="pinBottom right hideTarget">
- <div class="rightViewContainer clearfix">
- <div class="gui-floor">
- <div class="gui-floor-title"></div>
- <div class="gui-floor-icon">
- <span class="gui-floor-number"></span>
- </div>
- <div class="container"></div>
- </div>
- <div id="volume" @click="switchBGM" class="ui-icon bgandshare wide">
- <div>
- <img :src="require('@/assets/images/icon/musicon.png')" />
- </div>
- </div>
- <div id="vr" class="ui-icon wide hidden" style="display: none">
- <a>
- <i
- rel="tooltip"
- title="{[{ VIEW_IN_VR }]}"
- class="icon icon-webvr"
- ></i>
- </a>
- </div>
- <div id="sharing" class="ui-icon wide hidden" style="display: none">
- <a>
- <i
- rel="tooltip"
- title="{[{ SOCIAL_SHARING }]}"
- class="icon icon-share"
- ></i>
- </a>
- </div>
- <div
- id="gui-fullscreen"
- class="ui-icon wide"
- data-placement="top"
- rel="tooltip"
- title="全屏"
- >
- <a>
- <img :src="require('@/assets/images/icon/fullscreen.png')" />
- </a>
- </div>
- <div
- id="gui-fullscreen-exit"
- class="ui-icon wide"
- data-placement="top"
- rel="tooltip"
- title="关闭全屏"
- style="display: none"
- >
- <a>
- <img
- :src="require('@/assets/images/icon/fullscreen_exit.png')"
- style="width: 50px"
- />
- </a>
- </div>
- <div class="pull-right terms terms2">
- <a>{[{ TERMS }]}</a>
- </div>
- </div>
- </div>
- <!-- 中间名字 -->
- <!-- <div class="centenName">珠海高新区中共党史学习教育园地线上展厅</div> -->
- <!-- 右侧菜单栏 -->
- <div class="rightTab" v-if="!isMobile">
- <div
- :title="item.name"
- v-for="(item, index) in rightTab"
- :key="index"
- @click="open(index)"
- >
- <img :src="require('@/assets/tab/ac' + item.img)" v-if="item.isShow" />
- <img :src="require('@/assets/tab/' + item.img)" v-else />
- </div>
- </div>
- <!-- 菜单栏-手机 -->
- <div
- v-else
- class="shouji"
- @touchstart="isShowMo = !isShowMo"
- v-show="!myIframe"
- >
- <img src="@/assets/tab/shouji.png" alt="" />
- <ul v-show="isShowMo">
- <li
- v-for="(item, index) in rightTab2"
- :key="index"
- @touchstart="openMo(index)"
- >
- <img :src="require('@/assets/tab/' + item.img)" alt="" />
- <span v-html="item.name"></span>
- </li>
- </ul>
- </div>
- <!-- 移动端-----路线-------------------------------------------------->
- <div class="MoTab1 MoTab" v-if="rightTab2[0].isShow" v-show="!myIframe">
- <div class="conten">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab2[0].isShow = false">
- <img src="@/assets/tab/×Red.png" alt="" />
- </div>
- <!-- 标题 -->
- <div
- class="Motitle"
- @click="(rightTab2[0].isShow = false), $emit('openIndex')"
- ></div>
- <!-- 地图 -->
- <!-- <div class="MoMap">
- <img src="@/assets/tabMo/bg.png" alt="" />
- </div> -->
- <!-- 3个小地图 -->
- <div class="MMapBox">
- <a
- class="MMInco MMInco1"
- href="javascript:;"
- @click="
- skipIframe('http://www.4dmodel.com/SuperTwo/index.html?m=1257')
- "
- ></a>
- <a
- class="MMInco MMInco2"
- href="javascript:;"
- @click="toHideHot('Neqcxm724686')"
- ></a>
- <a
- class="MMInco MMInco3"
- href="javascript:;"
- @click="
- skipIframe(
- 'https://www.4dkankan.com/spc.html?m=uqNseUZY9F&lang=zh'
- )
- "
- ></a>
- <a
- class="MMInco MMInco4"
- href="javascript:;"
- @click="
- skipIframe(
- 'https://www.4dkankan.com/spc.html?m=rVuZY399SA&lang=zh'
- )
- "
- ></a>
- <a
- class="MMInco MMInco5"
- href="javascript:;"
- @click="
- skipIframe('https://www.4dmodel.com/SuperTwo/index.html?m=997')
- "
- ></a>
- <a class="MMInco MMInco6" href="javascript:;"></a>
- <a
- class="MMInco MMInco7"
- href="javascript:;"
- @click="toHideHot('vcRAFg9726463')"
- ></a>
- <a
- class="MMInco MMInco8"
- href="javascript:;"
- @click="
- skipIframe(
- 'https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh'
- )
- "
- ></a>
- <a
- class="MMInco MMInco9"
- href="javascript:;"
- @click="toHideHot('JH45h719118')"
- ></a>
- <a
- class="MMInco MMInco10"
- href="javascript:;"
- @click="toHideHot('le9ylR723111')"
- ></a>
- <a
- class="MMInco MMInco11"
- href="javascript:;"
- @click="toHideHot('3nMrybB722566')"
- ></a>
- </div>
- </div>
- </div>
- <!-- 移动端-----问答-------------------------------------------------->
- <!-- 点击确定之后生成的div图片 -->
- <div class="toPicture" ref="topicDui" v-if="toPictureShow">
- <div>党史答题记录</div>
- <div>共答题10道,正确{{ cunot }}道</div>
- <div class="renwu">
- 答题人:<span>{{ inpName }}</span>
- </div>
- <p v-for="(item, index) in topic" :key="index">
- {{ index + 1 }}、 {{ item.title }}
- </p>
- </div>
- <div class="MoTab2 MoTab" v-if="rightTab2[1].isShow" v-show="!myIframe">
- <div class="conten">
- <!-- -->
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab2[1].isShow = false">
- <img src="@/assets/tab/×.png" alt="" />
- </div>
- <!-- 标题 -->
- <div class="Motitle">党史问答</div>
- <!-- 题目 -->
- <div class="moTopic" v-if="state === 'one'">
- <div class="topic_head">
- <p>{{ topicInd + 1 }}、{{ topic[topicInd].title }}</p>
- </div>
- <ul class="moTopic_con">
- <li v-for="(item, index) in topic[topicInd].answer" :key="index">
- <div class="case" @touchstart="select(index, item.id)">
- <!-- 选中了之后的显示 -->
- <div v-show="caseInd === index"></div>
- </div>
- <span
- @touchstart="select(index, item.id)"
- :class="{ active: caseInd === index }"
- >{{ item.id + "、" + item.txt }}</span
- >
- </li>
- <!-- 下面的按钮 -->
- <div class="Motopic_btn" @touchstart="btnOk">确 定</div>
- </ul>
- <!-- 答错之后的提示 -->
- <div class="Moerror" v-if="caseErr">
- <p>对不起,您答错了</p>
- <p>正确答案:</p>
- <p>{{ caseErrTxt }}</p>
- <div class="errBtn" @touchstart="nextTi">下一题</div>
- </div>
- </div>
- <!-- 答对了 -->
- <div class="MotopicDui" v-if="state === 'tow'">
- <!-- 弹窗输入姓名 -->
- <div class="inpName" v-if="stateTowInp">
- <div class="MoShuru">
- <el-input
- v-model="inpName"
- placeholder="请输入您的名字"
- ></el-input>
- <p>填写姓名后,即可下载答题记录</p>
- </div>
- <div class="inpBtnOk" @touchstart="stateTowBtnOk(true)">确 定</div>
- </div>
- <div class="MotopicDui1">答题成功!</div>
- <div class="MotopicDui1">共答题10道,正确{{ cunot }}道</div>
- <div class="MotopicDui1">
- 答题人:<span>{{ inpName }}</span>
- </div>
- <p v-for="(item, index) in topic" :key="index">
- {{ index + 1 }}、 {{ item.title }}
- </p>
- <!-- 生成的二维码 -->
- <!-- <div class="MoqrCode" v-if="qrCodeUrl">
- <img :src="qrCodeUrl" alt="" />
- </div> -->
- </div>
- <!-- 答错了 -->
- <div class="MotopicCuo" v-if="state === 'three'">
- <div>
- <img src="../../assets/tab/error.png" alt="" />
- <p>答题失败,请再接再厉!</p>
- </div>
- <div class="btnAga" @touchstart="MobtnAga">再来一次</div>
- </div>
- <a class="Modownload" :href="base64SUrl" download v-if="qrCodeUrl"
- >下载答题记录</a
- >
- </div>
- </div>
- <!-- 移动端-----留言板-------------------------------------------------->
- <div class="MoTab3 MoTab" v-if="rightTab2[2].isShow" v-show="!myIframe">
- <div class="conten">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab2[2].isShow = false">
- <img src="@/assets/tab/×.png" alt="" />
- </div>
- <!-- 标题 -->
- <div class="Motitle">留 言 板</div>
- <!-- --------------留言板信息----------------------- -->
- <!-- 留言内容 -->
- <ul class="moLiuYan" v-if="MoTab3LiuShow">
- <li v-for="(item, index) in tableData" :key="index">
- <div>
- <span class="name">{{ item.userName }}</span>
- <span>{{ item.updateTime }}</span>
- </div>
- <p>{{ item.content }}</p>
- </li>
- <!-- 我要留言的按钮 -->
- <div class="MoTab3Liu" @click="MoTab3LiuShow = false">我要留言</div>
- </ul>
- <!-- --------------留言板输入----------------------- -->
- <div class="MoTab3LiuInp" v-else>
- <span>{{ textarea.length }} / 100</span>
- <el-input
- resize="none"
- type="textarea"
- :rows="8"
- placeholder="欢迎提交您的珍贵留言,100字以内~"
- v-model="textarea"
- >
- </el-input>
- <el-radio v-model="radio" label="1">匿名发表</el-radio>
- <el-radio v-model="radio" label="2">
- <el-input
- placeholder="请填写您的姓名"
- :disabled="radio === '1'"
- v-model="myName"
- ></el-input>
- </el-radio>
- <!-- 提交按钮 -->
- <div class="Momybtn" @touchstart="liuyanBtn">提 交</div>
- </div>
- </div>
- </div>
- <!-- 移动端-----打卡-------------------------------------------------->
- <div class="MoTab4 MoTab" v-if="rightTab2[3].isShow" v-show="!myIframe">
- <div class="conten" ref="pcTab4">
- <!-- 人物背景底纹 选择不同的图片打卡-->
- <div class="MoRWbac" :class="'MoRWbac' + tab3DataInd">
- <a class="MoDownload" :href="base64SUrlTab4" download v-if="qrCodeUrl"
- >点击保存打卡主题</a
- >
- <!-- 关闭按钮 -->
- <div
- class="btnX"
- :class="'btnX' + tab3DataInd"
- @click="rightTab2[3].isShow = false"
- v-if="topicXShow"
- ></div>
- <!-- 标题 -->
- <div class="Motitle">珠海高新区中共党史学习教育园地</div>
- <!-- 文字内容 -->
- <p class="tab4Name">
- 党史学习打卡<span>{{ tab4Name }}</span>
- </p>
- </div>
- <!-- 弹窗输入姓名 -->
- <div class="MoinpName" v-if="tab4NameShow">
- <div class="shuru">
- <!-- 下拉框 -->
- <el-select v-model="tab3DataInd" placeholder="请选择主题">
- <el-option label="永恒课题" :value="1"></el-option>
- <el-option label="农民运动" :value="2"></el-option>
- <el-option label="苏兆征故居" :value="3"></el-option>
- <el-option label="金鼎线" :value="4"></el-option>
- <el-option label="淇澳线" :value="5"></el-option>
- <el-option label="唐家线" :value="6"></el-option>
- </el-select>
- <el-input
- v-model="tab4Name"
- placeholder="请输入您的名字"
- ></el-input>
- <p>选择主题,填写姓名后,即可打卡</p>
- </div>
- <div class="MoinpBtnOk" @touchstart="tab4NameBtnOk">确 定</div>
- </div>
- <!-- 生成的二维码 -->
- <!-- <div class="MoqrCode" v-if="qrCodeUrl">
- <img :src="qrCodeUrl" alt="" />
- </div> -->
- </div>
- </div>
- <!-- 移动端-----分享-------------------------------------------------->
- <div class="MoTab5 MoTab" v-if="rightTab2[4].isShow" v-show="!myIframe">
- <div class="conten">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab2[4].isShow = false">
- <img src="@/assets/tab/×.png" alt="" />
- </div>
- <!-- 标题 -->
- <div class="Motitle">分 享</div>
- <p class="biaoti">珠海高新区"红色云展厅"</p>
- <!-- <p class="biaoti">虚拟展厅</p> -->
- <div class="Motab5ER">
- <img src="tab5Ma.png" alt="" />
- <p>请使用手机扫描二维码</p>
- <a href="tab5Ma.png" download class="tab5Box">下 载 二 维 码</a>
- </div>
- </div>
- </div>
- <!-- PC------------------------------------------------------------------------- -->
- <!-- pc --路线 ----------------------->
- <div class="pcTab1 myTab" v-if="rightTab[0].isShow">
- <div class="conten">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab[0].isShow = false">
- <img src="@/assets/tab/×Red.png" alt="" />
- </div>
- <!-- 标题 -->
- <!-- <div class="title">
- <h3>珠海高新区中共党史学习教育园地</h3>
- </div> -->
- <div
- title="首页"
- class="toIndexTxt"
- @click="(rightTab[0].isShow = false), $emit('openIndex')"
- ></div>
- <!-- 地图 -->
- <div class="map">
- <img src="../../assets/tab/weBac.jpg" alt="" />
- </div>
- <!-- 后面加的图片对应的点击事件 -->
- <a
- class="imgClick imgClick1"
- target="_blank"
- href="http://www.4dmodel.com/SuperTwo/index.html?m=1257"
- title="金鼎党群服务中心"
- ></a>
- <div
- @click="toHideHot('Neqcxm724686')"
- class="imgClick imgClick2"
- title="上栅村史馆"
- ></div>
- <a
- class="imgClick imgClick3"
- target="_blank"
- href="https://www.4dkankan.com/spc.html?m=uqNseUZY9F&lang=zh"
- title="淇澳广场"
- ></a>
- <a
- class="imgClick imgClick4"
- target="_blank"
- href="https://www.4dkankan.com/spc.html?m=rVuZY399SA&lang=zh"
- title="淇澳村使馆"
- ></a>
- <a
- class="imgClick imgClick5"
- target="_blank"
- href="https://www.4dmodel.com/SuperTwo/index.html?m=997"
- title="苏兆征故居陈列馆"
- ></a>
- <a
- class="imgClick imgClick7"
- href="javascript:;"
- @click="toHideHot('vcRAFg9726463')"
- title="望慈山房"
- ></a>
- <a
- class="imgClick imgClick8"
- target="_blank"
- href="https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh"
- title="共乐园"
- ></a>
- <a
- class="imgClick imgClick9"
- href="javascript:;"
- title="金山软件"
- @click="toHideHot('JH45h719118')"
- ></a>
- <a
- class="imgClick imgClick10"
- href="javascript:;"
- title="世纪鼎利"
- @click="toHideHot('le9ylR723111')"
- ></a>
- <a
- class="imgClick imgClick11"
- href="javascript:;"
- title="派诺科技"
- @click="toHideHot('3nMrybB722566')"
- ></a>
- </div>
- </div>
- <!-- pc --答题 -------------------------->
- <div class="pcTab2 myTab" v-if="rightTab[1].isShow">
- <div class="conten" ref="topicDui">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab[1].isShow = false" v-if="topicXShow">
- <img src="@/assets/tab/×.png" alt="" />
- </div>
- <!-- 标题 -->
- <div class="title" v-if="state === 'one'">
- <h3>党史问答</h3>
- </div>
- <!-- 答对了之后的标题 -->
- <div class="mytitle" v-else>
- <h3>党史答题记录</h3>
- <div>共答题10道,正确{{ cunot }}道</div>
- <div class="ren">
- 答题人:<span>{{ inpName }}</span>
- </div>
- <div class="biaoti">珠 海 高 新 区 中 共 党 史 学 习 教 育 园 地</div>
- </div>
- <p class="mintit" v-if="state === 'one'">
- 珠海高新区中共党史学习教育园地
- </p>
- <!-- 题目 -->
- <div class="topic" v-if="state === 'one'">
- <div class="topic_head">
- <p>{{ topic[topicInd].title }}</p>
- <span>第{{ topicInd + 1 }}题 / 第10题</span>
- </div>
- <ul class="topic_con">
- <li v-for="(item, index) in topic[topicInd].answer" :key="index">
- <div class="case" @click="select(index, item.id)">
- <!-- 选中了之后的显示 -->
- <div v-show="caseInd === index"></div>
- </div>
- <span
- @click="select(index, item.id)"
- :class="{ active: caseInd === index }"
- >{{ item.id + "、" + item.txt }}</span
- >
- </li>
- <!-- 下面的按钮 -->
- <div class="topic_btn" @click="btnOk">确 定</div>
- </ul>
- <!-- 答错之后的提示 -->
- <div class="error" v-if="caseErr">
- <p>对不起,您答错了</p>
- <p>正确答案:</p>
- <p>{{ caseErrTxt }}</p>
- <div class="errBtn" @click="nextTi">下一题</div>
- </div>
- </div>
- <!-- 答对了 -->
- <div class="topicDui" v-if="state === 'tow'">
- <!-- 弹窗输入姓名 -->
- <div class="inpName" v-if="stateTowInp">
- <div class="shuru">
- <el-input
- v-model="inpName"
- placeholder="请输入您的名字"
- ></el-input>
- <p>填写姓名后,即可下载答题记录</p>
- </div>
- <div class="inpBtnOk" @click="stateTowBtnOk(false)">确 定</div>
- </div>
- <p v-for="(item, index) in topic" :key="index">
- {{ index + 1 }}、 {{ item.title }}
- </p>
- <!-- 生成的二维码 -->
- <div class="qrCode" v-if="qrCodeUrl">
- <img :src="qrCodeUrl" alt="" />
- <a class="el-icon-download" :href="base64SUrl" download
- >下载答题记录</a
- >
- </div>
- </div>
- <!-- 答错了 -->
- <div class="topicCuo" v-if="state === 'three'">
- <div>
- <img src="../../assets/tab/error.png" alt="" />
- <p>答题失败,请再接再厉!</p>
- </div>
- </div>
- </div>
- </div>
- <!-- pc --留言板 --------------------------->
- <div class="pcTab3 myTab" v-if="rightTab[2].isShow">
- <div class="conten">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab[2].isShow = false">
- <img src="@/assets/tab/×.png" alt="" />
- </div>
- <!-- 标题 -->
- <div class="title">
- <h3>留 言 板</h3>
- </div>
- <!-- 内容 -->
- <ul class="liuyan">
- <li v-for="(item, index) in tableData" :key="index">
- <div class="name">{{ item.userName }}</div>
- <div class="con">
- {{ item.content }}
- </div>
- <div class="time">{{ item.updateTime }}</div>
- </li>
- </ul>
- <!-- 分页器 -->
- <div class="pagination">
- <el-pagination
- layout="prev, pager, next"
- :total="total"
- @current-change="currentChange"
- >
- </el-pagination>
- </div>
- <!-- 文本域 -->
- <div class="texe">
- <span>{{ textarea.length }} / 100</span>
- <el-input
- resize="none"
- type="textarea"
- :rows="3"
- placeholder="欢迎提交您的珍贵留言,100字以内~"
- v-model="textarea"
- >
- </el-input>
- </div>
- <!-- 底部输入框和按钮 -->
- <div class="bottBtn">
- <el-radio v-model="radio" label="1">匿名发表</el-radio>
- <el-radio v-model="radio" label="2">
- <el-input
- placeholder="请输入您的姓名"
- :disabled="radio === '1'"
- v-model="myName"
- ></el-input>
- </el-radio>
- <!-- 提交按钮 -->
- <div class="mybtn" @click="liuyanBtn">提 交</div>
- </div>
- </div>
- </div>
- <!-- pc ---打卡------------------------>
- <div class="pcTab4 myTab" v-if="rightTab[3].isShow">
- <div class="conten" ref="pcTab4">
- <!-- 人物背景底纹 选择不同的背景打卡-->
- <div class="RWbac" :class="'RWbac' + tab3DataInd">
- <!-- 关闭按钮 -->
- <div
- class="btnX"
- :class="'btnX' + tab3DataInd"
- @click="rightTab[3].isShow = false"
- v-if="topicXShow"
- ></div>
- <!-- 生成的二维码 -->
- <div class="qrCode" v-if="qrCodeUrl">
- <img :src="qrCodeUrl" alt="" />
- <a class="el-icon-download" :href="base64SUrlTab4" download
- >点 击 下 载</a
- >
- </div>
- <!-- 标题 -->
- <div class="title">
- <h3>珠 海 高 新 区 中 共 党 史 学 习 教 育 园 地</h3>
- </div>
- <!-- 文字内容 -->
- <p class="tab4Name">
- 党史学习打卡:<span>{{ tab4Name }}</span>
- </p>
- <div class="txt" v-html="tab3Data[tab3DataInd].txt"></div>
- </div>
- <!-- 弹窗输入姓名 -->
- <div class="inpName" v-if="tab4NameShow">
- <div class="shuru">
- <!-- 下拉框 -->
- <el-select v-model="tab3DataInd" placeholder="请选择主题">
- <el-option label="永恒课题" :value="1"></el-option>
- <el-option label="农民运动" :value="2"></el-option>
- <el-option label="苏兆征故居" :value="3"></el-option>
- <el-option label="金鼎线" :value="4"></el-option>
- <el-option label="淇澳线" :value="5"></el-option>
- <el-option label="唐家线" :value="6"></el-option>
- </el-select>
- <el-input
- v-model="tab4Name"
- placeholder="请输入您的名字"
- ></el-input>
- <p>选择主题,填写姓名后,即可打卡</p>
- </div>
- <div class="inpBtnOk" @click="tab4NameBtnOk">确 定</div>
- </div>
- </div>
- </div>
- <!-- pc ---分享------------------------>
- <div class="pcTab5 myTab" v-if="rightTab[4].isShow">
- <div class="conten">
- <!-- 关闭按钮 -->
- <div class="btnX" @click="rightTab[4].isShow = false">
- <img src="@/assets/tab/×.png" alt="" />
- </div>
- <!-- 标题 -->
- <div class="tab5Tit">
- <p>珠海高新区"红色云展厅"</p>
- <!-- <p>虚拟展厅</p> -->
- </div>
- <!-- 二维码图片+按钮盒子 -->
- <div class="tab5Ma">
- <img src="tab5Ma.png" alt="" />
- <p>请用手机扫描二维码</p>
- <a href="tab5Ma.png" download class="tab5Box">下 载 二 维 码</a>
- <div class="tab5Box" @click="copyPcTxt">复 制 链 接</div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import Iframe from "@/components/iframe";
- //引入题目
- import { questions } from "@/assets/js/data.js";
- import html2canvas from "html2canvas";
- export default {
- components: { Iframe },
- data() {
- return {
- baseUrl: "http://8.135.106.227:8011", //线上调试
- // baseUrl:'',//打包
- isGuide: true,
- //--------------手机端数据------------------
- iframeUrl: "",
- myIframe: false,
- //留言板
- MoTab3LiuShow: true, //控制留言板信息和输入的切换
- //-----------------党史问答数据-----------------
- toPictureShow: false, //---------------手机端答题成功页面的显示和隐藏
- inpName: "",
- base64SUrl: "", //党史问答的图片地址
- qrCodeUrl: "", //党史问答生成的二维码图片地址
- topicXShow: true, //关闭按钮,答题成功输入名字后,生成图片,需要隐藏
- state: "one", //用来控制显示答题--答题错误--答题正确的模块
- stateTowInp: true, //答对了出现的输入框,输入名字
- topicInd: 0, //用来控制题目的索引
- //题目数据
- topic: [], //随机生成的10个题目数据
- // 控制答题选中
- cunot: 0, //用来记录答对的题目个数
- caseInd: null, //用来控制选择的样式
- caseABC: null, //用来记录当前选择的答案,进行判断
- caseErr: false, //答错了显示的弹窗
- caseErrTxt: "", //答错了显示的正确答案
- rightTab: [
- { name: "党历路线", img: "tab1.png", isShow: false },
- { name: "党历问答", img: "tab2.png", isShow: false },
- { name: "留 言 板", img: "tab4.png", isShow: false },
- { name: " 打 卡 ", img: "tab3.png", isShow: false },
- { name: " 分 享 ", img: "tab5.png", isShow: false },
- ],
- rightTab2: [
- { name: "党历路线", img: "tab1.png", isShow: false },
- { name: "党历问答", img: "tab2.png", isShow: false },
- { name: "留 言 板 ", img: "tab4.png", isShow: false },
- { name: "打  卡", img: "tab3.png", isShow: false },
- { name: "分  享", img: "tab5.png", isShow: false },
- ],
- //-----------------留言板数据--------------------------------
- total: 0,
- tableData: [],
- textarea: "", //文本域
- radio: "1",
- myName: "",
- //----------------------打卡数据-------------------------------
- tab3Data: [
- {},
- { txt: "  党的建设的永恒课题" },
- { txt: "  唐家湾农民运动陈列馆" },
- { txt: "  苏兆征故居陈列馆" },
- { txt: "  金鼎线学习教育园地" },
- { txt: "  淇澳线学习教育园地" },
- { txt: "  唐家线学习教育园地" },
- ],
- tab3DataInd: 1,
- tab4NameShow: true, //输入名字的弹窗
- tab4Name: "", //输入的名字
- base64SUrlTab4: "",
- //------------手机端-------------------
- isShowMo: false, //手机端下拉框的显示
- };
- },
- computed: {},
- mounted() {},
- methods: {
- // 给父组件调用的方法
- openOneSon() {
- if (this.isMobile) {
- this.rightTab2[0].isShow = true;
- } else this.rightTab[0].isShow = true;
- },
- toHideHot(id) {
- let temp = window.myHotList.filter((v) => v.sid == id)[0];
- setTimeout(() => {
- temp && temp.examine(window.player, true);
- }, 200);
- console.log("----", temp);
- },
- //移动端跳转
- skipIframe(url) {
- this.iframeUrl = url;
- this.myIframe = true;
- },
- //移动端答错再来一次
- MobtnAga() {
- this.rightTab2[1].isShow = false;
- this.openMo(1);
- },
- //-----------------打卡------------------
- //点击复制链接
- copyPcTxt() {
- // 存储传递过来的数据
- let OrderNumber = window.location.href;
- // 创建一个input 元素
- // createElement() 方法通过指定名称创建一个元素
- let newInput = document.createElement("input");
- // 讲存储的数据赋值给input的value值
- newInput.value = OrderNumber;
- // appendChild() 方法向节点添加最后一个子节点。
- document.body.appendChild(newInput);
- // 选中input元素中的文本
- // select() 方法用于选择该元素中的文本。
- newInput.select();
- // 执行浏览器复制命令
- // execCommand方法是执行一个对当前文档,当前选择或者给出范围的命令
- document.execCommand("Copy");
- // 清空输入框
- newInput.remove();
- // 下面是element的弹窗 不需要的自行删除就好
- this.$message({
- message: "复制成功",
- type: "success",
- });
- },
- //---------------------------------------------------------pc--------------------------------------------------
- //输入名字,点击确定
- tab4NameBtnOk() {
- if (this.tab4Name.trim() === "")
- return this.$message.warning("名字不能为空");
- if (this.tab4Name.length > 5)
- return this.$message.warning("名字不能超过5个字");
- this.tab4NameShow = false;
- this.topicXShow = false;
- setTimeout(() => {
- //第一个参数是需要生成截图的元素,第二个是自己需要配置的参数,宽高等
- html2canvas(this.$refs.pcTab4, {
- backgroundColor: null,
- useCORS: true, //如果截图的内容里有图片,可能会有跨域的情况,加上这个参数,解决文件跨域问题
- }).then((canvas) => {
- let base64String = canvas.toDataURL("image/png"); //最终生成图片的url
- this.base64SUrlTab4 = base64String;
- // console.log(999, base64String);
- //base64格式图片转换为FormData对象进行上传
- let bytes = window.atob(base64String.split(",")[1]);
- let array = [];
- for (let i = 0; i < bytes.length; i++) {
- array.push(bytes.charCodeAt(i));
- }
- let blob = new Blob([new Uint8Array(array)], { type: "image/jpeg" });
- let fd = new FormData();
- fd.append("file", blob, Date.now() + ".jpg");
- //Ajax上传FormData对象
- // eslint-disable-next-line no-undef
- $.ajax({
- url: this.baseUrl + "/show/upload",
- type: "POST",
- cache: false,
- data: fd,
- processData: false,
- contentType: false,
- })
- .done((res) => {
- console.log("上传图片成功", res);
- if (res.code === 0) {
- this.$message.success("生成图片成功");
- this.qrCodeUrl = this.baseUrl + res.data;
- this.topicXShow = true;
- }
- })
- .fail((res) => {
- console.log(222, res);
- });
- });
- }, 100);
- },
- //--------------留言板-------------------------
- //点击提交
- liuyanBtn() {
- if (this.textarea.length > 100)
- return this.$message.warning("留言内容不能超过100个字");
- if (this.textarea.trim() === "")
- return this.$message.warning("留言内容不能为空");
- let data = {};
- data.content = this.textarea;
- if (this.radio === "1") {
- //匿名
- data.userName = "";
- } else if (this.radio === "2") {
- if (this.myName.trim() === "")
- return this.$message.warning("名字不能为空");
- if (this.myName.length > 5)
- return this.$message.warning("名字不能超过5个字");
- //输入名字
- data.userName = this.myName;
- }
- //发送请求
- // eslint-disable-next-line no-undef
- $.ajax({
- url: this.baseUrl + "/show/comment/save",
- type: "POST",
- data: JSON.stringify(data),
- dataType: "json",
- contentType: "application/json;charset=UTF-8",
- })
- .done((res) => {
- console.log("留言成功", res);
- if (res.code === 0) {
- this.$message.success("留言成功,等待管理员审核");
- this.myName = this.textarea = "";
- }
- })
- .fail((res) => {
- console.log(222, res);
- });
- },
- //-----------------党史问答---------------------------
- //点击答错里面的下一题
- nextTi() {
- // 最后一题
- if (this.topicInd === 9 && this.cunot >= 5) {
- this.state = "tow";
- this.topic.forEach((v) => {
- let temp = "";
- v.answer.forEach((p) => {
- if (p.id === v.correct) temp = p.txt;
- });
- v.title += "---" + temp;
- });
- } else if (this.topicInd === 9 && this.cunot < 5) {
- this.state = "three";
- }
- this.caseInd = null;
- this.caseErr = false;
- if (this.topicInd < 10) this.topicInd++;
- },
- //点击确定
- btnOk() {
- if (this.caseInd === null) return this.$message.warning("未选择答案");
- // 最后一题
- if (this.topicInd === 9 && this.cunot >= 5) {
- this.state = "tow";
- this.topic.forEach((v) => {
- let temp = "";
- v.answer.forEach((p) => {
- if (p.id === v.correct) temp = p.txt;
- });
- v.title += "---" + temp;
- });
- } else if (this.topicInd === 9 && this.cunot < 5) {
- this.state = "three";
- }
- if (this.topic[this.topicInd].correct === this.caseABC) {
- // console.log('答对了');
- this.caseInd = null;
- if (this.topicInd < 10) this.topicInd++;
- this.cunot++;
- } else {
- // console.log('答错了');
- this.caseErr = true;
- this.topic[this.topicInd].answer.forEach((v) => {
- if (v.id === this.topic[this.topicInd].correct)
- this.caseErrTxt = v.id + "、" + v.txt;
- });
- }
- },
- //选择题目
- select(index, id) {
- this.caseInd = index;
- this.caseABC = id;
- },
- //答对了输入名字点击确定
- stateTowBtnOk(myBoo) {
- if (this.inpName.trim() === "")
- return this.$message.warning("名字不能为空");
- if (this.inpName.length > 5)
- return this.$message.warning("名字不能超过5个字");
- if (myBoo) this.toPictureShow = true;
- this.stateTowInp = false;
- this.topicXShow = false;
- setTimeout(() => {
- //第一个参数是需要生成截图的元素,第二个是自己需要配置的参数,宽高等
- html2canvas(this.$refs.topicDui, {
- backgroundColor: null,
- useCORS: true, //如果截图的内容里有图片,可能会有跨域的情况,加上这个参数,解决文件跨域问题
- }).then((canvas) => {
- let base64String = canvas.toDataURL("image/png"); //最终生成图片的url
- this.base64SUrl = base64String;
- // console.log(999, base64String);
- //base64格式图片转换为FormData对象进行上传
- let bytes = window.atob(base64String.split(",")[1]);
- let array = [];
- for (let i = 0; i < bytes.length; i++) {
- array.push(bytes.charCodeAt(i));
- }
- let blob = new Blob([new Uint8Array(array)], { type: "image/jpeg" });
- let fd = new FormData();
- fd.append("file", blob, Date.now() + ".jpg");
- //Ajax上传FormData对象
- // eslint-disable-next-line no-undef
- $.ajax({
- url: this.baseUrl + "/show/upload",
- type: "POST",
- cache: false,
- data: fd,
- processData: false,
- contentType: false,
- })
- .done((res) => {
- console.log("上传图片成功", res);
- if (res.code === 0) {
- this.$message.success("生成图片成功");
- this.qrCodeUrl = this.baseUrl + res.data;
- this.topicXShow = true;
- if (myBoo) this.toPictureShow = false;
- }
- })
- .fail((res) => {
- console.log(222, res);
- });
- });
- }, 100);
- },
- //手机端点击
- openMo(index) {
- this.rightTab2.forEach((v, i) => {
- if (i === index) v.isShow = true;
- else v.isShow = false;
- });
- //点击的是答题--随机选10题
- if (index === 1) {
- this.qrCodeUrl = "";
- this.topicXShow = true;
- this.stateTowInp = true;
- this.inpName = "";
- this.caseErr = false;
- this.topicInd = 0;
- this.cunot = 0;
- this.caseInd = null;
- this.state = "one";
- this.topic = [];
- let arr = [];
- for (let i = 0; i < 200; i++) {
- //一个从0到100的数组
- arr.push(i);
- }
- arr.sort(function () {
- //随机打乱这个数组
- return Math.random() - 0.5;
- });
- arr.length = 10; //改写长度
- arr.forEach((v) => {
- this.topic.push(questions[v]);
- });
- // console.log(999,this.topic); //控制台会输出10个不同的数
- }
- //点击的是打卡
- if (index === 3) {
- this.base64SUrlTab4 = "";
- this.tab4Name = "";
- this.tab4NameShow = true;
- this.qrCodeUrl = "";
- }
- //点击的是留言板
- if (index === 2) {
- this.MoTab3LiuShow = true;
- this.getList({ pageNum: 1, pageSize: 99999 });
- }
- },
- //点击右侧tab栏
- open(index) {
- this.rightTab.forEach((v, i) => {
- if (i === index) v.isShow = true;
- else v.isShow = false;
- });
- //点击的是答题--随机选10题
- if (index === 1) {
- this.qrCodeUrl = "";
- this.topicXShow = true;
- this.stateTowInp = true;
- this.inpName = "";
- this.caseErr = false;
- this.topicInd = 0;
- this.cunot = 0;
- this.caseInd = null;
- this.state = "one";
- this.topic = [];
- let arr = [];
- for (let i = 0; i < 200; i++) {
- //一个从0到100的数组
- arr.push(i);
- }
- arr.sort(function () {
- //随机打乱这个数组
- return Math.random() - 0.5;
- });
- arr.length = 10; //改写长度
- arr.forEach((v) => {
- this.topic.push(questions[v]);
- });
- // console.log(999,this.topic); //控制台会输出10个不同的数
- }
- //点击的是打卡
- if (index === 3) {
- this.base64SUrlTab4 = "";
- this.tab4Name = "";
- this.tab4NameShow = true;
- this.qrCodeUrl = "";
- }
- //点击的留言板
- if (index === 2) {
- this.getList({ pageNum: 1, pageSize: 10 });
- }
- },
- // 分页器方法
- currentChange(val) {
- // console.log('当前页改变了', val)
- this.getList({ pageNum: val, pageSize: 10 });
- },
- //封装获取留言信息方法
- getList(data) {
- // eslint-disable-next-line no-undef
- $.ajax({
- type: "POST",
- url: this.baseUrl + "/show/comment/list",
- data: JSON.stringify(data),
- dataType: "json",
- contentType: "application/json;charset=UTF-8",
- })
- .done((res) => {
- console.log("获取留言信息成功", res);
- this.tableData = res.data.records;
- this.total = res.data.total;
- this.tableData.forEach((v) => {
- if (v.userName === "") v.userName = "匿名";
- v.updateTime = v.updateTime.slice(0, -3);
- });
- })
- .fail((res) => {
- console.log(111, res);
- });
- },
- switchBGM() {
- // if ($("#volume img")[0].src.indexOf("on.png") > -1) {
- // window.manage.switchBgmState(true);
- // } else if ($("#volume img")[0].src.indexOf("off.png") > -1) {
- // window.manage.switchBgmState(false);
- // }
- },
- },
- };
- </script>
- <style lang="less" scoped>
- ::-webkit-scrollbar {
- width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
- }
- ::-webkit-scrollbar-thumb {
- // box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
- background: #edd3b0;
- border-color: #edd3b0;
- color: #edd3b0;
- outline: none;
- }
- .pcTab1 {
- .conten {
- position: relative;
- .map {
- margin: 0 !important;
- width: 100% !important;
- height: 100% !important;
- }
- .toIndexTxt {
- width: 250px;
- height: 75px;
- cursor: pointer;
- position: absolute;
- top: 45px;
- left: 54px;
- font-size: 26px;
- color: #edd3b0;
- letter-spacing: 2px;
- font-weight: 700;
- }
- .imgClick {
- cursor: pointer;
- position: absolute;
- z-index: 10;
- }
- .imgClick1 {
- top: 365px;
- left: 316px;
- width: 108px;
- height: 34px;
- }
- .imgClick2 {
- top: 240px;
- left: 348px;
- width: 82px;
- height: 45px;
- }
- .imgClick3 {
- top: 164px;
- left: 1026px;
- width: 38px;
- height: 21px;
- }
- .imgClick4 {
- top: 185px;
- left: 1050px;
- width: 64px;
- height: 19px;
- }
- .imgClick5 {
- top: 201px;
- left: 966px;
- width: 82px;
- height: 23px;
- }
- .imgClick7 {
- top: 447px;
- left: 630px;
- width: 108px;
- height: 25px;
- }
- .imgClick8 {
- top: 416px;
- left: 609px;
- width: 93px;
- height: 30px;
- }
- .imgClick9 {
- top: 481px;
- left: 769px;
- width: 40px;
- height: 37px;
- }
- .imgClick10 {
- top: 302px;
- left: 568px;
- width: 49px;
- height: 33px;
- }
- }
- .imgClick11 {
- top: 256px;
- left: 523px;
- width: 49px;
- height: 33px;
- }
- }
- .myTab {
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: 100vh;
- background-color: rgba(0, 0, 0, 0.3);
- .conten {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 1258px;
- height: 778px;
- // background-color: #ac3334;
- background: url("../../assets/tab/tabC.png");
- background-size: 100% 100%;
- .btnX {
- width: 36px;
- height: 36px;
- cursor: pointer;
- position: absolute;
- right: 40px;
- top: 40px;
- & > img {
- width: 100%;
- height: 100%;
- }
- }
- .title {
- width: 90%;
- margin: 40px auto 0;
- border-bottom: 2px solid #e2b79c;
- padding-bottom: 20px;
- h3 {
- padding-left: 15px;
- font-size: 26px;
- color: #edd3b0;
- letter-spacing: 2px;
- }
- }
- .RWbac {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background: url("../../assets/tab/tab1dw.png");
- background-size: 100% 100%;
- }
- .map {
- width: 680px;
- height: 540px;
- margin: 20px auto;
- & > img {
- width: 100%;
- height: 100%;
- }
- }
- .bottom {
- display: flex;
- justify-content: space-between;
- width: 94%;
- height: 44px;
- margin: 0 auto;
- & > div {
- padding-left: 42px;
- display: flex;
- justify-content: space-around;
- width: 330px;
- height: 44px;
- margin-right: 40px;
- &:nth-of-type(1) {
- background: url("../../assets/tab/tab1_1.png");
- background-size: 100% 100%;
- }
- &:nth-of-type(2) {
- background: url("../../assets/tab/tab1_2.png");
- background-size: 100% 100%;
- }
- &:nth-of-type(3) {
- background: url("../../assets/tab/tab1_3.png");
- background-size: 100% 100%;
- }
- &:nth-of-type(4) {
- background: url("../../assets/tab/tab1_4.png");
- background-size: 100% 100%;
- margin-right: 0;
- }
- & > a {
- z-index: 999;
- width: 65px;
- background-color: transparent;
- }
- }
- }
- }
- }
- .pcTab2 {
- .conten {
- .mytitle {
- width: 90%;
- font-size: 18px;
- margin: 80px auto 30px;
- color: #edd3b0;
- border-bottom: 2px solid #eed7b7;
- padding-bottom: 15px;
- h3 {
- font-size: 24px;
- margin-bottom: 15px;
- }
- .ren {
- margin: 15px 0 30px;
- span {
- font-size: 24px;
- }
- }
- .biaoti {
- font-weight: 700;
- font-size: 28px;
- }
- }
- }
- }
- .pcTab2 {
- .conten {
- background: url("../../assets/tab/tab2C.png");
- background-size: 100% 100%;
- }
- .mintit {
- margin: 15px 0;
- padding-left: 80px;
- color: #e9cfac;
- font-size: 14px;
- }
- .topic {
- position: relative;
- border-radius: 5px;
- margin: 0 auto;
- width: 87%;
- height: 530px;
- background-color: #edd3b0;
- .topic_head {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 96%;
- margin: 0 auto;
- color: #5e1616;
- height: 108px;
- padding: 0 20px;
- border-bottom: 2px solid #ac3334;
- & > P {
- font-weight: 700;
- font-size: 24px;
- max-width: 850px;
- }
- & > span {
- font-size: 16px;
- }
- }
- .topic_con {
- color: #5e1616;
- width: 90%;
- margin: 0 auto;
- li {
- display: flex;
- height: 80px;
- align-items: center;
- .case {
- cursor: pointer;
- width: 30px;
- height: 30px;
- border: 2px solid #ac3334;
- margin-right: 30px;
- & > div {
- margin: 3px;
- width: 20px;
- height: 20px;
- background-color: #ac3334;
- }
- }
- & > span {
- cursor: pointer;
- font-size: 22px;
- }
- .active {
- color: #b54a46;
- }
- }
- }
- .topic_btn {
- border-radius: 8px;
- font-size: 24px;
- color: #edd3b0;
- background-color: #ac3334;
- cursor: pointer;
- height: 72px;
- line-height: 72px;
- padding: 0 40px;
- position: absolute;
- bottom: 27px;
- left: 50%;
- transform: translateX(-50%);
- }
- .error {
- position: absolute;
- bottom: 0;
- left: 0;
- height: 100%;
- width: 100%;
- background-color: rgba(0, 0, 0, 0.8);
- p {
- margin: 20px;
- font-size: 24px;
- text-align: center;
- }
- div {
- border-radius: 8px;
- font-size: 24px;
- color: #edd3b0;
- background-color: #ac3334;
- cursor: pointer;
- height: 72px;
- line-height: 72px;
- padding: 0 40px;
- position: absolute;
- bottom: 27px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- }
- .topicDui {
- width: 88%;
- margin: 20px auto 0;
- div {
- color: #edd3b0;
- font-size: 20px;
- margin-bottom: 15px;
- }
- p {
- font-size: 16px;
- margin-bottom: 10px;
- color: #edd3b0;
- }
- .inpName {
- display: flex;
- justify-content: center;
- position: absolute;
- left: 0;
- bottom: -15px;
- background-color: rgba(0, 0, 0, 0.8);
- width: 100%;
- height: 84%;
- .shuru {
- /deep/.el-input__inner {
- height: 40px;
- }
- width: 500px;
- height: 300px;
- margin: 200px auto 0;
- text-align: center;
- & > p {
- color: #fff;
- font-size: 24px;
- }
- }
- .inpBtnOk {
- border-radius: 8px;
- font-size: 24px;
- color: #edd3b0;
- background-color: #ac3334;
- cursor: pointer;
- height: 72px;
- line-height: 72px;
- padding: 0 40px;
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- .qrCode {
- text-align: right;
- position: absolute;
- top: 140px;
- right: 62px;
- width: 120px;
- height: 120px;
- img {
- width: 100px;
- height: 100px;
- }
- a {
- margin-top: 10px;
- display: block;
- color: #edd3b0;
- font-size: 16px;
- i {
- font-size: 20px;
- }
- }
- }
- }
- .topicCuo {
- div {
- margin-top: 20px;
- text-align: center;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 220px;
- height: 220px;
- img {
- width: 178px;
- height: 178px;
- }
- p {
- margin-top: 24px;
- text-align: center;
- color: #edd3b0;
- font-size: 18px;
- }
- }
- }
- }
- .pcTab3 {
- .conten {
- background: url("../../assets/tab/tab3c.png") !important;
- background-size: 100% 100% !important;
- }
- .liuyan {
- padding-right: 20px;
- margin: 20px auto 0;
- width: 88%;
- height: 350px;
- overflow-y: auto;
- li {
- color: #f0af7c;
- font-size: 20px;
- border-bottom: 1px dashed #f0af7c;
- display: flex;
- text-align: center;
- & > div {
- padding: 12px 0;
- }
- .name {
- width: 150px;
- }
- .con {
- width: 700px;
- margin-right: 20px;
- }
- .time {
- width: 180px;
- }
- }
- }
- .pagination {
- width: 380px;
- margin: 20px auto;
- }
- .texe {
- width: 86%;
- margin: 0 auto;
- }
- .bottBtn {
- position: relative;
- width: 86%;
- margin: 20px auto 0;
- .mybtn {
- font-size: 18px;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- width: 120px;
- background-color: #edd3b0;
- border-radius: 8px;
- color: #ae3939;
- height: 30px;
- position: absolute;
- right: 0;
- top: 50%;
- transform: translateY(-50%);
- }
- }
- }
- .pcTab4 {
- .RWbac {
- & > img {
- width: 100%;
- height: 100%;
- }
- }
- .tab4Name {
- width: 400px;
- margin: 20px 0 10px 80px;
- color: #edd3b0;
- font-size: 24px;
- span {
- font-weight: 300;
- font-size: 32px;
- }
- }
- .txt {
- font-size: 20px;
- color: #edd3b0;
- margin: 10px 80px 0;
- /deep/span {
- font-weight: 700;
- font-size: 18px;
- }
- }
- .conten {
- .btnX {
- background: url("../../assets/tab/×.png");
- }
- .btnX3 {
- background: url("../../assets/tab/×.png");
- }
- .btnX4 {
- background: url("../../assets/tab/×Red.png");
- }
- .btnX5 {
- background: url("../../assets/tab/×Red.png");
- }
- .btnX6 {
- background: url("../../assets/tab/×Red.png");
- }
- .RWbac1 {
- background: url("../../assets/tab/daka1.png");
- background-size: 100% 100%;
- }
- .RWbac2 {
- background: url("../../assets/tab/daka2.png");
- background-size: 100% 100%;
- .qrCode a {
- color: #edd3b0;
- }
- }
- .RWbac3 {
- background: url("../../assets/tab/daka3.png");
- background-size: 100% 100%;
- // .tab4Name {
- // color: #ac3334;
- // }
- // .txt {
- // color: #ac3334;
- // }
- .qrCode a {
- color: #fff;
- }
- }
- .RWbac4 {
- background: url("../../assets/tab/daka4.png");
- background-size: 100% 100%;
- .title h3 {
- color: #ac3334;
- }
- .tab4Name {
- color: #ac3334;
- }
- .txt {
- color: #ac3334;
- }
- .qrCode a {
- color: #fff;
- }
- .title {
- border-bottom: 2px solid #ac3334;
- }
- }
- .RWbac5 {
- background: url("../../assets/tab/daka5.png");
- background-size: 100% 100%;
- .title h3 {
- color: #ac3334;
- }
- .tab4Name {
- color: #ac3334;
- }
- .txt {
- color: #ac3334;
- }
- .title {
- border-bottom: 2px solid #ac3334;
- }
- }
- .RWbac6 {
- background: url("../../assets/tab/daka6.png");
- background-size: 100% 100%;
- .title h3 {
- color: #ac3334;
- }
- .tab4Name {
- color: #ac3334;
- }
- .txt {
- color: #ac3334;
- }
- .qrCode a {
- color: #fff;
- }
- .title {
- border-bottom: 2px solid #ac3334;
- }
- }
- background: none !important;
- .qrCode {
- text-align: center;
- position: absolute;
- bottom: 30px;
- right: 50px;
- width: 120px;
- height: 120px;
- img {
- width: 100px;
- height: 100px;
- }
- a {
- margin-top: 10px;
- display: block;
- color: #edd3b0;
- font-size: 16px;
- i {
- font-size: 20px;
- }
- }
- }
- .inpName {
- display: flex;
- justify-content: center;
- position: absolute;
- left: 0;
- bottom: 0px;
- background-color: rgba(0, 0, 0, 0.5);
- width: 100%;
- height: 86%;
- .shuru {
- /deep/.el-select {
- width: 100%;
- margin-bottom: 50px;
- }
- /deep/.el-input__inner {
- height: 40px;
- }
- width: 300px;
- height: 300px;
- margin: 150px auto 0;
- text-align: center;
- & > p {
- margin-top: 20px;
- color: #fff;
- font-size: 18px;
- }
- }
- .inpBtnOk {
- border-radius: 8px;
- font-size: 24px;
- color: #edd3b0;
- background-color: #ac3334;
- cursor: pointer;
- height: 72px;
- line-height: 72px;
- padding: 0 40px;
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- .title {
- h3 {
- font-size: 28px;
- }
- }
- }
- }
- .pcTab5 {
- .conten {
- color: #edd3b0;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 540px;
- height: 800px;
- background: url("../../assets/tab/tab5C.png");
- background-size: 100% 100%;
- .tab5Tit {
- margin-top: 120px;
- padding: 0 45px;
- & > p {
- text-align: center;
- font-size: 30px;
- }
- }
- .tab5Ma {
- width: 313px;
- height: 570px;
- margin: 20px auto 0;
- & > img {
- width: 313px;
- height: 313px;
- }
- & > p {
- margin: 10px 0;
- font-size: 20px;
- text-align: center;
- }
- .tab5Box {
- cursor: pointer;
- text-align: center;
- font-size: 20px;
- color: #edd3b0;
- border-radius: 10px;
- margin: 20px 0;
- background-color: rgba(237, 211, 176, 0.3);
- display: block;
- width: 313px;
- height: 60px;
- line-height: 58px;
- border: 1px solid #edd3b0;
- }
- }
- }
- }
- .shouji {
- width: 30px;
- height: 30px;
- position: fixed;
- top: 10px;
- right: 5px;
- img {
- width: 30px;
- height: 30px;
- }
- ul {
- position: fixed;
- top: 55px;
- right: 5px;
- width: 108px;
- height: 175px;
- background-color: rgba(0, 0, 0, 0.5);
- li {
- display: flex;
- justify-content: start;
- align-items: center;
- width: 100%;
- height: 20%;
- img {
- margin: 0 10px;
- width: 20px;
- height: 20px;
- }
- }
- }
- }
- .centenName {
- padding: 10px 40px;
- border-radius: 45px;
- background-color: rgba(0, 0, 0, 0.5);
- position: fixed;
- top: 15px;
- left: 50%;
- transform: translateX(-50%);
- font-size: 20px;
- color: #fff;
- }
- .rightTab {
- position: fixed;
- right: -7px;
- top: 50%;
- transform: translateY(-50%);
- width: 110px;
- height: 465px;
- background-color: rgba(0, 0, 0, 0.5);
- & > div {
- cursor: pointer;
- width: 100%;
- height: 20%;
- display: flex;
- justify-content: center;
- align-items: center;
- & > img {
- width: 45px;
- height: 45px;
- }
- }
- }
- // 右侧菜单栏
- @wh: 22px;
- @margin: 0px;
- #play,
- #pause {
- margin-right: @margin;
- img {
- width: @wh;
- height: @wh;
- }
- }
- .rightViewContainer {
- display: flex !important;
- align-items: center !important;
- }
- #gui-modes-map {
- > div {
- margin-right: @margin;
- > img {
- width: @wh;
- height: @wh;
- display: block !important;
- }
- .active {
- display: none !important;
- }
- }
- .active {
- > img {
- display: none !important;
- }
- .active {
- display: block !important;
- }
- }
- }
- .pinBottom.right .ui-icon {
- background: none;
- }
- #gui-fullscreen img {
- width: 22px;
- }
- #volume {
- width: 50px;
- padding: 10px;
- background-color: rgba(0, 0, 0, 0.5) !important;
- border-radius: 50%;
- }
- #gui-fullscreen {
- background-color: rgba(0, 0, 0, 0.5) !important;
- border-radius: 50%;
- }
- #gui-fullscreen-exit {
- width: 50px;
- background-color: rgba(0, 0, 0, 0.5) !important;
- border-radius: 50%;
- }
- #gui-fullscreen-exit img {
- width: 22px !important;
- }
- .bgandshare {
- background: none !important;
- // margin-right: 20px!important;
- > div {
- width: 22px !important;
- margin-left: 3px;
- cursor: pointer;
- img {
- width: 100%;
- }
- }
- }
- @media only screen and (max-width: 900px) {
- .centenName {
- text-align: center;
- font-size: 14px;
- width: 78%;
- padding: 8px;
- }
- .MoTab1 {
- .conten {
- background: url("../../assets/tabMo/bg.jpg") !important;
- background-size: 100% 100% !important;
- .btnX {
- z-index: 99;
- }
- .Motitle {
- margin: 0 auto !important;
- position: relative;
- width: 141px;
- height: 63px;
- border: none !important;
- }
- }
- }
- //-------------------------------------------------移动端的个样式调整-------------------------------
- .MoTab {
- color: #edd3b0;
- z-index: 9999;
- position: fixed;
- left: 0;
- top: 0;
- width: 100vw;
- height: 100vh;
- background-color: rgba(0, 0, 0, 0.5);
- .conten {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 310px;
- height: 520px;
- background: url("../../assets/tabMo/moTabBac.png");
- background-size: 100% 100%;
- .btnX {
- position: absolute;
- right: 20px;
- top: 20px;
- width: 20px;
- height: 20px;
- img {
- width: 100%;
- height: 100%;
- }
- }
- }
- .Motitle {
- width: 90%;
- margin: 20px auto 10px;
- font-size: 20px;
- border-bottom: 1px solid #edd3b0;
- padding: 0px 0px 10px 10px;
- }
- .MoMap {
- margin: 0 auto;
- width: 284px;
- height: 193px;
- & > img {
- width: 100%;
- height: 100%;
- }
- }
- .MMapBox {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 240px;
- .MMInco {
- position: absolute;
- top: 10px;
- left: 10px;
- width: 80px;
- height: 35px;
- }
- .MMInco1 {
- top: 25px;
- left: 45px;
- width: 122px;
- }
- .MMInco2 {
- top: 25px;
- left: 191px;
- width: 98px;
- }
- .MMInco3 {
- top: 80px;
- left: 45px;
- width: 62px;
- }
- .MMInco4 {
- top: 80px;
- left: 125px;
- width: 62px;
- }
- .MMInco5 {
- top: 80px;
- left: 195px;
- width: 82px;
- }
- .MMInco6 {
- top: 136px;
- left: 45px;
- width: 63px;
- }
- .MMInco7 {
- top: 136px;
- left: 124px;
- width: 61px;
- }
- .MMInco8 {
- top: 136px;
- left: 193px;
- width: 82px;
- }
- .MMInco9 {
- top: 192px;
- left: 45px;
- width: 64px;
- }
- .MMInco10 {
- top: 192px;
- left: 124px;
- width: 59px;
- }
- .MMInco11 {
- top: 192px;
- left: 191px;
- width: 64px;
- }
- }
- }
- .toPicture {
- color: #edd3b0;
- background: url("../../assets/tabMo/moTabBac2.png");
- background-size: 100% 100%;
- z-index: 99999;
- position: fixed;
- top: 0;
- left: 0;
- width: 100vw;
- height: auto;
- padding: 24px 20px 10px;
- div {
- text-align: center;
- margin: 5px;
- font-size: 16px;
- span {
- font-size: 22px;
- }
- }
- p {
- font-size: 12px;
- font-weight: 200;
- margin-bottom: 2px;
- }
- }
- .MoTab2 {
- .conten {
- z-index: 9999;
- background: url("../../assets/tabMo/moTabBac2.png");
- background-size: 100% 100%;
- // overflow-y: auto;
- .Modownload {
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 182px;
- height: 34px;
- background-color: rgba(237, 211, 176, 0.4);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%;);
- }
- }
- .moTopic {
- margin: 20px auto 0;
- font-size: 16px;
- width: 90%;
- .moTopic_con {
- margin: 20px 0 0;
- li {
- display: flex;
- align-items: center;
- margin: 10px 0;
- }
- .case {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-right: 20px;
- width: 20px;
- height: 20px;
- border: 1px solid #edd3b0;
- & > div {
- width: 80%;
- height: 80%;
- background-color: #e4cba9;
- }
- }
- span {
- display: block;
- max-width: 230px;
- }
- .Motopic_btn {
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 182px;
- height: 34px;
- background-color: rgba(237, 211, 176, 0.4);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- .Moerror {
- padding-top: 20px;
- font-size: 20px;
- text-align: center;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- color: #fff;
- .errBtn {
- color: #b24340;
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 182px;
- height: 34px;
- background-color: rgba(237, 211, 176, 1);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- }
- .MotopicCuo {
- text-align: center;
- img {
- width: 120px;
- height: 120px;
- margin: 50px 0 30px;
- }
- p {
- font-size: 18px;
- }
- .btnAga {
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 182px;
- height: 34px;
- background-color: rgba(237, 211, 176, 0.4);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- .MotopicDui {
- & > p {
- font-size: 14px;
- font-weight: 200;
- margin-bottom: 3px;
- }
- padding: 0 15px;
- position: relative;
- max-height: 340px;
- overflow-y: auto;
- .inpName {
- color: #fff;
- position: absolute;
- left: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.7);
- .MoShuru {
- text-align: center;
- font-size: 16px;
- width: 80%;
- margin: 20px auto;
- p {
- margin: 20px 0;
- }
- }
- .inpBtnOk {
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 182px;
- height: 34px;
- background-color: rgba(237, 211, 176, 0.4);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%;);
- }
- }
- .MoqrCode {
- position: absolute;
- top: 0px;
- right: 15px;
- width: 80px;
- height: 80px;
- img {
- width: 100%;
- height: 100%;
- }
- }
- .MotopicDui1 {
- font-size: 16px;
- margin-bottom: 5px;
- span {
- font-size: 20px;
- }
- }
- }
- }
- .MoTab3 {
- .conten {
- background: url("../../assets/tabMo/moTabBac3.png") !important;
- background-size: 100% 100% !important;
- }
- .moLiuYan {
- padding-right: 10px;
- height: 330px;
- overflow-y: auto;
- width: 90%;
- margin: 0 auto;
- li {
- border-bottom: 1px dashed #edd3b0;
- padding: 10px 0;
- width: 100%;
- & > div {
- margin-bottom: 5px;
- display: flex;
- justify-content: space-between;
- & > span {
- font-weight: 200;
- font-size: 14px;
- }
- .name {
- font-weight: 500;
- font-size: 18px;
- }
- }
- p {
- width: 100%;
- height: auto;
- word-wrap: break-word;
- word-break: break-all;
- font-size: 16px;
- }
- }
- }
- .MoTab3Liu {
- color: #b24340;
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 131px;
- height: 34px;
- background-color: rgba(237, 211, 176, 1);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- .MoTab3LiuInp {
- /deep/.el-textarea {
- border-radius: 8px;
- border: 1px solid #edd3b0;
- margin-bottom: 15px;
- }
- /deep/.el-radio__inner::after {
- background-color: #f0af7c;
- }
- /deep/.el-radio__input.is-checked .el-radio__inner::after {
- transform: translate(-50%, -50%) scale(2.5);
- }
- /deep/.el-radio__inner {
- background-color: transparent;
- }
- width: 90%;
- margin: 0 auto;
- /deep/.el-input__inner {
- background-color: transparent;
- border-bottom: 1px solid #f0af7c;
- }
- /deep/.el-radio {
- margin: 10px 0;
- }
- /deep/.el-radio__input.is-checked .el-radio__inner {
- border-color: #f0af7c;
- background: transparent;
- }
- /deep/.el-radio__inner {
- width: 16px;
- height: 16px;
- }
- .Momybtn {
- color: #b24340;
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 131px;
- height: 34px;
- background-color: rgba(237, 211, 176, 1);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- }
- .MoTab4 {
- /deep/.el-select .el-input .el-select__caret {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .MoRWbac {
- background: url("../../assets/tab/dakaMo1.png");
- background-size: 100% 100%;
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- & > img {
- width: 100%;
- height: 100%;
- }
- }
- .MoRWbac2 {
- background: url("../../assets/tab/dakaMo2.png");
- background-size: 100% 100%;
- }
- .MoRWbac3 {
- background: url("../../assets/tab/dakaMo3.png");
- background-size: 100% 100%;
- // .Motitle {
- // color: #b24340;
- // border-bottom: 1px solid #b24340;
- // }
- // .tab4Name {
- // color: #b24340;
- // }
- }
- .MoRWbac4 {
- background: url("../../assets/tab/dakaMo4.png");
- background-size: 100% 100%;
- .Motitle {
- color: #b24340;
- border-bottom: 1px solid #b24340;
- }
- .tab4Name {
- color: #b24340;
- }
- }
- .MoRWbac5 {
- background: url("../../assets/tab/dakaMo5.png");
- background-size: 100% 100%;
- .Motitle {
- color: #b24340;
- border-bottom: 1px solid #b24340;
- }
- .tab4Name {
- color: #b24340;
- }
- }
- .MoRWbac6 {
- background: url("../../assets/tab/dakaMo6.png");
- background-size: 100% 100%;
- .Motitle {
- color: #b24340;
- border-bottom: 1px solid #b24340;
- }
- .tab4Name {
- color: #b24340;
- }
- }
- .Motitle {
- font-size: 16px;
- }
- .conten {
- .btnX {
- background: url("../../assets/tab/×.png");
- background-size: 100% 100%;
- }
- .btnX3 {
- background: url("../../assets/tab/×.png");
- background-size: 100% 100%;
- }
- .btnX4 {
- background: url("../../assets/tab/×Red.png");
- background-size: 100% 100%;
- }
- .btnX5 {
- background: url("../../assets/tab/×Red.png");
- background-size: 100% 100%;
- }
- .btnX6 {
- background: url("../../assets/tab/×Red.png");
- background-size: 100% 100%;
- }
- background: none;
- .MoinpName {
- z-index: 999;
- position: absolute;
- background-color: rgba(0, 0, 0, 0.5);
- left: 0;
- bottom: 0;
- width: 100%;
- height: 90%;
- .shuru {
- width: 220px;
- margin: 50px auto 0;
- /deep/.el-input {
- width: 220px;
- margin: 20px 0;
- }
- }
- .MoinpBtnOk {
- color: #b24340;
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 131px;
- height: 34px;
- background-color: rgba(237, 211, 176, 1);
- position: absolute;
- bottom: 20px;
- left: 50%;
- transform: translateX(-50%);
- }
- }
- .tab4Name {
- margin: 20px 0 0 0;
- text-align: center;
- font-size: 20px;
- & > span {
- margin: 20px 0 0 0;
- display: block;
- font-size: 26px;
- }
- }
- .MoqrCode {
- position: absolute;
- left: 5px;
- top: 85px;
- width: 100px;
- height: 100px;
- & > img {
- width: 100%;
- height: 100%;
- }
- }
- .MoDownload {
- color: #b24340;
- border-radius: 6px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 182px;
- height: 34px;
- background-color: #edd3b0;
- position: absolute;
- bottom: 15px;
- left: 50%;
- transform: translateX(-50%;);
- }
- }
- }
- .MoTab5 {
- .conten {
- background: url("../../assets/tabMo/moTabBac5.png");
- background-size: 100% 100%;
- .biaoti {
- font-size: 20px;
- width: 80%;
- margin: 0 auto 0;
- text-align: center;
- margin-bottom: 30px;
- margin-top: 30px;
- }
- .Motab5ER {
- margin: 20px auto 0;
- width: 180px;
- height: 300px;
- & > img {
- width: 180px;
- height: 180px;
- }
- & > p {
- text-align: center;
- margin: 30px 0;
- }
- .tab5Box {
- color: #edd3b0;
- margin: 0 auto;
- border-radius: 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- width: 180px;
- height: 34px;
- background-color: rgba(237, 211, 176, 0.4);
- }
- }
- }
- }
- }
- @media only screen and (max-width: 487px) {
- #myMoMu {
- display: none !important;
- }
- #gui-modes-floorplan {
- margin-bottom: 0 !important;
- }
- #myMoMu img {
- margin-left: 12px;
- }
- .viewContainer {
- background-color: rgba(0, 0, 0, 0.5);
- padding: 15px 0 10px;
- border-radius: 50px;
- }
- @wh: 22px;
- @margin: 10px;
- #play,
- #pause {
- margin-bottom: @margin;
- img {
- width: @wh;
- height: @wh;
- }
- }
- #gui-modes-map {
- > div {
- margin-bottom: @margin;
- > img {
- width: @wh;
- height: @wh;
- display: block;
- }
- .active {
- display: none;
- }
- }
- .active {
- > img {
- display: none;
- }
- .active {
- display: block;
- }
- }
- }
- .bgandshare {
- display: none !important;
- display: flex;
- position: fixed;
- left: 50px;
- bottom: 25px;
- flex-direction: column;
- margin-right: 10px !important;
- > div {
- width: @wh!important;
- img {
- width: 100%;
- }
- }
- }
- #volume {
- background-color: transparent !important;
- }
- }
- @media only screen and (max-width: 360px) {
- .centenName {
- left: 45%;
- font-size: 12px;
- }
- }
- </style>
|