menu.vue 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934
  1. <template>
  2. <div class="pinBottom-container" @touchstart.stop @keydown.stop>
  3. <Iframe :url="iframeUrl" :myIframe.sync="myIframe" />
  4. <div class="pinBottom center">
  5. <div id="view-controllers"></div>
  6. </div>
  7. <div class="pinBottom left" v-show="!myIframe">
  8. <div>
  9. <div class="viewContainer">
  10. <div
  11. id="previous"
  12. class="previous desktop-only ui-icon"
  13. style="display: none"
  14. >
  15. <a>
  16. <img
  17. rel="tooltip"
  18. title=""
  19. :src="require('@/assets/images/play.png')"
  20. width="24"
  21. height="24"
  22. data-original-title="播放"
  23. />
  24. </a>
  25. </div>
  26. <div
  27. id="play"
  28. class="ui-icon"
  29. rel="tooltip"
  30. data-original-title="播放"
  31. >
  32. <a>
  33. <img
  34. title="自动漫游"
  35. :src="require('@/assets/images/icon/play.png')"
  36. width="24"
  37. height="24"
  38. />
  39. </a>
  40. </div>
  41. <div id="pause" class="ui-icon" style="display: none">
  42. <a>
  43. <img
  44. rel="tooltip"
  45. title=""
  46. :src="require('@/assets/images/icon/pause.png')"
  47. width="24"
  48. height="24"
  49. data-original-title="暂停"
  50. />
  51. </a>
  52. </div>
  53. <div
  54. id="next"
  55. class="next desktop-only ui-icon wide"
  56. style="display: none"
  57. >
  58. <a>
  59. <i
  60. rel="tooltip"
  61. title=""
  62. class="icon icon-dpad-right"
  63. data-original-title="下一个"
  64. ></i>
  65. </a>
  66. </div>
  67. <div id="gui-modes-map" class="ui-icon double active">
  68. <div
  69. data-original-title="导览"
  70. @click="isGuide = !isGuide"
  71. id="pullTab"
  72. rel="tooltip"
  73. title="场景导览"
  74. >
  75. <img
  76. class="icon icon-inside"
  77. :src="
  78. require(`@/assets/images/icon/auto${
  79. !isGuide ? '_active' : ''
  80. }.png`)
  81. "
  82. />
  83. </div>
  84. <div
  85. title="全景漫游"
  86. data-original-title="全景漫游"
  87. id="gui-modes-inside"
  88. rel="tooltip"
  89. >
  90. <img
  91. class="icon icon-inside"
  92. :src="require('@/assets/images/icon/inside.png')"
  93. />
  94. <img
  95. class="icon icon-inside active"
  96. :src="require('@/assets/images/icon/inside_active.png')"
  97. />
  98. </div>
  99. <div
  100. title="迷你漫游"
  101. data-original-title="迷你模型"
  102. id="gui-modes-dollhouse"
  103. rel="tooltip"
  104. >
  105. <img
  106. class="icon icon-inside"
  107. :src="require('@/assets/images/icon/dollhouse.png')"
  108. />
  109. <img
  110. class="icon icon-inside active"
  111. :src="require('@/assets/images/icon/dollhouse_active.png')"
  112. title="navigation icon "
  113. />
  114. </div>
  115. <div
  116. data-original-title="俯视图"
  117. id="gui-modes-floorplan"
  118. rel="tooltip"
  119. title="顶部俯视"
  120. >
  121. <img
  122. class="icon icon-inside"
  123. :src="require('@/assets/images/icon/floor.png')"
  124. />
  125. <img
  126. class="active icon icon-inside active"
  127. :src="require('@/assets/images/icon/floor_active.png')"
  128. />
  129. </div>
  130. <!-- 音乐 -->
  131. <!-- <div id="volume" @click="switchBGM" class="ui-icon bgandshare wide">
  132. <div>
  133. <img :src="require('@/assets/images/icon/musicon.png')" />
  134. </div>
  135. </div> -->
  136. <div
  137. style="display: none"
  138. @click="switchBGM"
  139. id="myMoMu"
  140. data-original-title="音乐"
  141. >
  142. <img
  143. class="icon icon-inside"
  144. :src="require('@/assets/images/icon/musicoff.png')"
  145. title="关闭音乐"
  146. />
  147. </div>
  148. <div
  149. data-original-title="VR"
  150. id="vr"
  151. rel="tooltip"
  152. title=""
  153. style="display: none"
  154. >
  155. <img
  156. class="icon icon-inside"
  157. :src="require('@/assets/images/VR.png')"
  158. />
  159. </div>
  160. <!-- <div
  161. data-original-title="热点列表"
  162. id="hotList"
  163. rel="tooltip"
  164. title=""
  165. style="display: none"
  166. >
  167. <img
  168. class="icon icon-inside"
  169. :src="require('@/assets/images/hotlist.png')"
  170. />
  171. <img
  172. class="icon icon-inside active"
  173. :src="require('@/assets/images/hotlist.png')"
  174. />
  175. </div> -->
  176. <div
  177. data-original-title="消除外壳"
  178. id="gui-remove-face"
  179. rel="tooltip"
  180. title=""
  181. style="display: none; float: left"
  182. >
  183. <img
  184. class="icon icon-inside"
  185. :src="require('@/assets/images/face.jpg')"
  186. />
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. </div>
  192. <div class="pinBottom right hideTarget">
  193. <div class="rightViewContainer clearfix">
  194. <div class="gui-floor">
  195. <div class="gui-floor-title"></div>
  196. <div class="gui-floor-icon">
  197. <span class="gui-floor-number"></span>
  198. </div>
  199. <div class="container"></div>
  200. </div>
  201. <div id="volume" @click="switchBGM" class="ui-icon bgandshare wide">
  202. <div>
  203. <img :src="require('@/assets/images/icon/musicon.png')" />
  204. </div>
  205. </div>
  206. <div id="vr" class="ui-icon wide hidden" style="display: none">
  207. <a>
  208. <i
  209. rel="tooltip"
  210. title="{[{ VIEW_IN_VR }]}"
  211. class="icon icon-webvr"
  212. ></i>
  213. </a>
  214. </div>
  215. <div id="sharing" class="ui-icon wide hidden" style="display: none">
  216. <a>
  217. <i
  218. rel="tooltip"
  219. title="{[{ SOCIAL_SHARING }]}"
  220. class="icon icon-share"
  221. ></i>
  222. </a>
  223. </div>
  224. <div
  225. id="gui-fullscreen"
  226. class="ui-icon wide"
  227. data-placement="top"
  228. rel="tooltip"
  229. title="全屏"
  230. >
  231. <a>
  232. <img :src="require('@/assets/images/icon/fullscreen.png')" />
  233. </a>
  234. </div>
  235. <div
  236. id="gui-fullscreen-exit"
  237. class="ui-icon wide"
  238. data-placement="top"
  239. rel="tooltip"
  240. title="关闭全屏"
  241. style="display: none"
  242. >
  243. <a>
  244. <img
  245. :src="require('@/assets/images/icon/fullscreen_exit.png')"
  246. style="width: 50px"
  247. />
  248. </a>
  249. </div>
  250. <div class="pull-right terms terms2">
  251. <a>{[{ TERMS }]}</a>
  252. </div>
  253. </div>
  254. </div>
  255. <!-- 中间名字 -->
  256. <!-- <div class="centenName">珠海高新区中共党史学习教育园地线上展厅</div> -->
  257. <!-- 右侧菜单栏 -->
  258. <div class="rightTab" v-if="!isMobile">
  259. <div
  260. :title="item.name"
  261. v-for="(item, index) in rightTab"
  262. :key="index"
  263. @click="open(index)"
  264. >
  265. <img :src="require('@/assets/tab/ac' + item.img)" v-if="item.isShow" />
  266. <img :src="require('@/assets/tab/' + item.img)" v-else />
  267. </div>
  268. </div>
  269. <!-- 菜单栏-手机 -->
  270. <div
  271. v-else
  272. class="shouji"
  273. @touchstart="isShowMo = !isShowMo"
  274. v-show="!myIframe"
  275. >
  276. <img src="@/assets/tab/shouji.png" alt="" />
  277. <ul v-show="isShowMo">
  278. <li
  279. v-for="(item, index) in rightTab2"
  280. :key="index"
  281. @touchstart="openMo(index)"
  282. >
  283. <img :src="require('@/assets/tab/' + item.img)" alt="" />
  284. <span v-html="item.name"></span>
  285. </li>
  286. </ul>
  287. </div>
  288. <!-- 移动端-----路线-------------------------------------------------->
  289. <div class="MoTab1 MoTab" v-if="rightTab2[0].isShow" v-show="!myIframe">
  290. <div class="conten">
  291. <!-- 关闭按钮 -->
  292. <div class="btnX" @click="rightTab2[0].isShow = false">
  293. <img src="@/assets/tab/×Red.png" alt="" />
  294. </div>
  295. <!-- 标题 -->
  296. <div
  297. class="Motitle"
  298. @click="(rightTab2[0].isShow = false), $emit('openIndex')"
  299. ></div>
  300. <!-- 地图 -->
  301. <!-- <div class="MoMap">
  302. <img src="@/assets/tabMo/bg.png" alt="" />
  303. </div> -->
  304. <!-- 3个小地图 -->
  305. <div class="MMapBox">
  306. <a
  307. class="MMInco MMInco1"
  308. href="javascript:;"
  309. @click="
  310. skipIframe('http://www.4dmodel.com/SuperTwo/index.html?m=1257')
  311. "
  312. ></a>
  313. <a
  314. class="MMInco MMInco2"
  315. href="javascript:;"
  316. @click="toHideHot('Neqcxm724686')"
  317. ></a>
  318. <a
  319. class="MMInco MMInco3"
  320. href="javascript:;"
  321. @click="
  322. skipIframe(
  323. 'https://www.4dkankan.com/spc.html?m=uqNseUZY9F&lang=zh'
  324. )
  325. "
  326. ></a>
  327. <a
  328. class="MMInco MMInco4"
  329. href="javascript:;"
  330. @click="
  331. skipIframe(
  332. 'https://www.4dkankan.com/spc.html?m=rVuZY399SA&lang=zh'
  333. )
  334. "
  335. ></a>
  336. <a
  337. class="MMInco MMInco5"
  338. href="javascript:;"
  339. @click="
  340. skipIframe('https://www.4dmodel.com/SuperTwo/index.html?m=997')
  341. "
  342. ></a>
  343. <a class="MMInco MMInco6" href="javascript:;"></a>
  344. <a
  345. class="MMInco MMInco7"
  346. href="javascript:;"
  347. @click="toHideHot('vcRAFg9726463')"
  348. ></a>
  349. <a
  350. class="MMInco MMInco8"
  351. href="javascript:;"
  352. @click="
  353. skipIframe(
  354. 'https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh'
  355. )
  356. "
  357. ></a>
  358. <a
  359. class="MMInco MMInco9"
  360. href="javascript:;"
  361. @click="toHideHot('JH45h719118')"
  362. ></a>
  363. <a
  364. class="MMInco MMInco10"
  365. href="javascript:;"
  366. @click="toHideHot('le9ylR723111')"
  367. ></a>
  368. <a
  369. class="MMInco MMInco11"
  370. href="javascript:;"
  371. @click="toHideHot('3nMrybB722566')"
  372. ></a>
  373. </div>
  374. </div>
  375. </div>
  376. <!-- 移动端-----问答-------------------------------------------------->
  377. <!-- 点击确定之后生成的div图片 -->
  378. <div class="toPicture" ref="topicDui" v-if="toPictureShow">
  379. <div>党史答题记录</div>
  380. <div>共答题10道,正确{{ cunot }}道</div>
  381. <div class="renwu">
  382. 答题人:<span>{{ inpName }}</span>
  383. </div>
  384. <p v-for="(item, index) in topic" :key="index">
  385. {{ index + 1 }}、 {{ item.title }}
  386. </p>
  387. </div>
  388. <div class="MoTab2 MoTab" v-if="rightTab2[1].isShow" v-show="!myIframe">
  389. <div class="conten">
  390. <!-- -->
  391. <!-- 关闭按钮 -->
  392. <div class="btnX" @click="rightTab2[1].isShow = false">
  393. <img src="@/assets/tab/×.png" alt="" />
  394. </div>
  395. <!-- 标题 -->
  396. <div class="Motitle">党史问答</div>
  397. <!-- 题目 -->
  398. <div class="moTopic" v-if="state === 'one'">
  399. <div class="topic_head">
  400. <p>{{ topicInd + 1 }}、{{ topic[topicInd].title }}</p>
  401. </div>
  402. <ul class="moTopic_con">
  403. <li v-for="(item, index) in topic[topicInd].answer" :key="index">
  404. <div class="case" @touchstart="select(index, item.id)">
  405. <!-- 选中了之后的显示 -->
  406. <div v-show="caseInd === index"></div>
  407. </div>
  408. <span
  409. @touchstart="select(index, item.id)"
  410. :class="{ active: caseInd === index }"
  411. >{{ item.id + "、" + item.txt }}</span
  412. >
  413. </li>
  414. <!-- 下面的按钮 -->
  415. <div class="Motopic_btn" @touchstart="btnOk">确 定</div>
  416. </ul>
  417. <!-- 答错之后的提示 -->
  418. <div class="Moerror" v-if="caseErr">
  419. <p>对不起,您答错了</p>
  420. <p>正确答案:</p>
  421. <p>{{ caseErrTxt }}</p>
  422. <div class="errBtn" @touchstart="nextTi">下一题</div>
  423. </div>
  424. </div>
  425. <!-- 答对了 -->
  426. <div class="MotopicDui" v-if="state === 'tow'">
  427. <!-- 弹窗输入姓名 -->
  428. <div class="inpName" v-if="stateTowInp">
  429. <div class="MoShuru">
  430. <el-input
  431. v-model="inpName"
  432. placeholder="请输入您的名字"
  433. ></el-input>
  434. <p>填写姓名后,即可下载答题记录</p>
  435. </div>
  436. <div class="inpBtnOk" @touchstart="stateTowBtnOk(true)">确 定</div>
  437. </div>
  438. <div class="MotopicDui1">答题成功!</div>
  439. <div class="MotopicDui1">共答题10道,正确{{ cunot }}道</div>
  440. <div class="MotopicDui1">
  441. 答题人:<span>{{ inpName }}</span>
  442. </div>
  443. <p v-for="(item, index) in topic" :key="index">
  444. {{ index + 1 }}、 {{ item.title }}
  445. </p>
  446. <!-- 生成的二维码 -->
  447. <!-- <div class="MoqrCode" v-if="qrCodeUrl">
  448. <img :src="qrCodeUrl" alt="" />
  449. </div> -->
  450. </div>
  451. <!-- 答错了 -->
  452. <div class="MotopicCuo" v-if="state === 'three'">
  453. <div>
  454. <img src="../../assets/tab/error.png" alt="" />
  455. <p>答题失败,请再接再厉!</p>
  456. </div>
  457. <div class="btnAga" @touchstart="MobtnAga">再来一次</div>
  458. </div>
  459. <a class="Modownload" :href="base64SUrl" download v-if="qrCodeUrl"
  460. >下载答题记录</a
  461. >
  462. </div>
  463. </div>
  464. <!-- 移动端-----留言板-------------------------------------------------->
  465. <div class="MoTab3 MoTab" v-if="rightTab2[2].isShow" v-show="!myIframe">
  466. <div class="conten">
  467. <!-- 关闭按钮 -->
  468. <div class="btnX" @click="rightTab2[2].isShow = false">
  469. <img src="@/assets/tab/×.png" alt="" />
  470. </div>
  471. <!-- 标题 -->
  472. <div class="Motitle">留 言 板</div>
  473. <!-- --------------留言板信息----------------------- -->
  474. <!-- 留言内容 -->
  475. <ul class="moLiuYan" v-if="MoTab3LiuShow">
  476. <li v-for="(item, index) in tableData" :key="index">
  477. <div>
  478. <span class="name">{{ item.userName }}</span>
  479. <span>{{ item.updateTime }}</span>
  480. </div>
  481. <p>{{ item.content }}</p>
  482. </li>
  483. <!-- 我要留言的按钮 -->
  484. <div class="MoTab3Liu" @click="MoTab3LiuShow = false">我要留言</div>
  485. </ul>
  486. <!-- --------------留言板输入----------------------- -->
  487. <div class="MoTab3LiuInp" v-else>
  488. <span>{{ textarea.length }} / 100</span>
  489. <el-input
  490. resize="none"
  491. type="textarea"
  492. :rows="8"
  493. placeholder="欢迎提交您的珍贵留言,100字以内~"
  494. v-model="textarea"
  495. >
  496. </el-input>
  497. <el-radio v-model="radio" label="1">匿名发表</el-radio>
  498. <el-radio v-model="radio" label="2">
  499. <el-input
  500. placeholder="请填写您的姓名"
  501. :disabled="radio === '1'"
  502. v-model="myName"
  503. ></el-input>
  504. </el-radio>
  505. <!-- 提交按钮 -->
  506. <div class="Momybtn" @touchstart="liuyanBtn">提 交</div>
  507. </div>
  508. </div>
  509. </div>
  510. <!-- 移动端-----打卡-------------------------------------------------->
  511. <div class="MoTab4 MoTab" v-if="rightTab2[3].isShow" v-show="!myIframe">
  512. <div class="conten" ref="pcTab4">
  513. <!-- 人物背景底纹 选择不同的图片打卡-->
  514. <div class="MoRWbac" :class="'MoRWbac' + tab3DataInd">
  515. <a class="MoDownload" :href="base64SUrlTab4" download v-if="qrCodeUrl"
  516. >点击保存打卡主题</a
  517. >
  518. <!-- 关闭按钮 -->
  519. <div
  520. class="btnX"
  521. :class="'btnX' + tab3DataInd"
  522. @click="rightTab2[3].isShow = false"
  523. v-if="topicXShow"
  524. ></div>
  525. <!-- 标题 -->
  526. <div class="Motitle">珠海高新区中共党史学习教育园地</div>
  527. <!-- 文字内容 -->
  528. <p class="tab4Name">
  529. 党史学习打卡<span>{{ tab4Name }}</span>
  530. </p>
  531. </div>
  532. <!-- 弹窗输入姓名 -->
  533. <div class="MoinpName" v-if="tab4NameShow">
  534. <div class="shuru">
  535. <!-- 下拉框 -->
  536. <el-select v-model="tab3DataInd" placeholder="请选择主题">
  537. <el-option label="永恒课题" :value="1"></el-option>
  538. <el-option label="农民运动" :value="2"></el-option>
  539. <el-option label="苏兆征故居" :value="3"></el-option>
  540. <el-option label="金鼎线" :value="4"></el-option>
  541. <el-option label="淇澳线" :value="5"></el-option>
  542. <el-option label="唐家线" :value="6"></el-option>
  543. </el-select>
  544. <el-input
  545. v-model="tab4Name"
  546. placeholder="请输入您的名字"
  547. ></el-input>
  548. <p>选择主题,填写姓名后,即可打卡</p>
  549. </div>
  550. <div class="MoinpBtnOk" @touchstart="tab4NameBtnOk">确 定</div>
  551. </div>
  552. <!-- 生成的二维码 -->
  553. <!-- <div class="MoqrCode" v-if="qrCodeUrl">
  554. <img :src="qrCodeUrl" alt="" />
  555. </div> -->
  556. </div>
  557. </div>
  558. <!-- 移动端-----分享-------------------------------------------------->
  559. <div class="MoTab5 MoTab" v-if="rightTab2[4].isShow" v-show="!myIframe">
  560. <div class="conten">
  561. <!-- 关闭按钮 -->
  562. <div class="btnX" @click="rightTab2[4].isShow = false">
  563. <img src="@/assets/tab/×.png" alt="" />
  564. </div>
  565. <!-- 标题 -->
  566. <div class="Motitle">分 享</div>
  567. <p class="biaoti">珠海高新区"红色云展厅"</p>
  568. <!-- <p class="biaoti">虚拟展厅</p> -->
  569. <div class="Motab5ER">
  570. <img src="tab5Ma.png" alt="" />
  571. <p>请使用手机扫描二维码</p>
  572. <a href="tab5Ma.png" download class="tab5Box">下 载 二 维 码</a>
  573. </div>
  574. </div>
  575. </div>
  576. <!-- PC------------------------------------------------------------------------- -->
  577. <!-- pc --路线 ----------------------->
  578. <div class="pcTab1 myTab" v-if="rightTab[0].isShow">
  579. <div class="conten">
  580. <!-- 关闭按钮 -->
  581. <div class="btnX" @click="rightTab[0].isShow = false">
  582. <img src="@/assets/tab/×Red.png" alt="" />
  583. </div>
  584. <!-- 标题 -->
  585. <!-- <div class="title">
  586. <h3>珠海高新区中共党史学习教育园地</h3>
  587. </div> -->
  588. <div
  589. title="首页"
  590. class="toIndexTxt"
  591. @click="(rightTab[0].isShow = false), $emit('openIndex')"
  592. ></div>
  593. <!-- 地图 -->
  594. <div class="map">
  595. <img src="../../assets/tab/weBac.jpg" alt="" />
  596. </div>
  597. <!-- 后面加的图片对应的点击事件 -->
  598. <a
  599. class="imgClick imgClick1"
  600. target="_blank"
  601. href="http://www.4dmodel.com/SuperTwo/index.html?m=1257"
  602. title="金鼎党群服务中心"
  603. ></a>
  604. <div
  605. @click="toHideHot('Neqcxm724686')"
  606. class="imgClick imgClick2"
  607. title="上栅村史馆"
  608. ></div>
  609. <a
  610. class="imgClick imgClick3"
  611. target="_blank"
  612. href="https://www.4dkankan.com/spc.html?m=uqNseUZY9F&lang=zh"
  613. title="淇澳广场"
  614. ></a>
  615. <a
  616. class="imgClick imgClick4"
  617. target="_blank"
  618. href="https://www.4dkankan.com/spc.html?m=rVuZY399SA&lang=zh"
  619. title="淇澳村使馆"
  620. ></a>
  621. <a
  622. class="imgClick imgClick5"
  623. target="_blank"
  624. href="https://www.4dmodel.com/SuperTwo/index.html?m=997"
  625. title="苏兆征故居陈列馆"
  626. ></a>
  627. <a
  628. class="imgClick imgClick7"
  629. href="javascript:;"
  630. @click="toHideHot('vcRAFg9726463')"
  631. title="望慈山房"
  632. ></a>
  633. <a
  634. class="imgClick imgClick8"
  635. target="_blank"
  636. href="https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh"
  637. title="共乐园"
  638. ></a>
  639. <a
  640. class="imgClick imgClick9"
  641. href="javascript:;"
  642. title="金山软件"
  643. @click="toHideHot('JH45h719118')"
  644. ></a>
  645. <a
  646. class="imgClick imgClick10"
  647. href="javascript:;"
  648. title="世纪鼎利"
  649. @click="toHideHot('le9ylR723111')"
  650. ></a>
  651. <a
  652. class="imgClick imgClick11"
  653. href="javascript:;"
  654. title="派诺科技"
  655. @click="toHideHot('3nMrybB722566')"
  656. ></a>
  657. </div>
  658. </div>
  659. <!-- pc --答题 -------------------------->
  660. <div class="pcTab2 myTab" v-if="rightTab[1].isShow">
  661. <div class="conten" ref="topicDui">
  662. <!-- 关闭按钮 -->
  663. <div class="btnX" @click="rightTab[1].isShow = false" v-if="topicXShow">
  664. <img src="@/assets/tab/×.png" alt="" />
  665. </div>
  666. <!-- 标题 -->
  667. <div class="title" v-if="state === 'one'">
  668. <h3>党史问答</h3>
  669. </div>
  670. <!-- 答对了之后的标题 -->
  671. <div class="mytitle" v-else>
  672. <h3>党史答题记录</h3>
  673. <div>共答题10道,正确{{ cunot }}道</div>
  674. <div class="ren">
  675. 答题人:<span>{{ inpName }}</span>
  676. </div>
  677. <div class="biaoti">珠 海 高 新 区 中 共 党 史 学 习 教 育 园 地</div>
  678. </div>
  679. <p class="mintit" v-if="state === 'one'">
  680. 珠海高新区中共党史学习教育园地
  681. </p>
  682. <!-- 题目 -->
  683. <div class="topic" v-if="state === 'one'">
  684. <div class="topic_head">
  685. <p>{{ topic[topicInd].title }}</p>
  686. <span>第{{ topicInd + 1 }}题 / 第10题</span>
  687. </div>
  688. <ul class="topic_con">
  689. <li v-for="(item, index) in topic[topicInd].answer" :key="index">
  690. <div class="case" @click="select(index, item.id)">
  691. <!-- 选中了之后的显示 -->
  692. <div v-show="caseInd === index"></div>
  693. </div>
  694. <span
  695. @click="select(index, item.id)"
  696. :class="{ active: caseInd === index }"
  697. >{{ item.id + "、" + item.txt }}</span
  698. >
  699. </li>
  700. <!-- 下面的按钮 -->
  701. <div class="topic_btn" @click="btnOk">确 定</div>
  702. </ul>
  703. <!-- 答错之后的提示 -->
  704. <div class="error" v-if="caseErr">
  705. <p>对不起,您答错了</p>
  706. <p>正确答案:</p>
  707. <p>{{ caseErrTxt }}</p>
  708. <div class="errBtn" @click="nextTi">下一题</div>
  709. </div>
  710. </div>
  711. <!-- 答对了 -->
  712. <div class="topicDui" v-if="state === 'tow'">
  713. <!-- 弹窗输入姓名 -->
  714. <div class="inpName" v-if="stateTowInp">
  715. <div class="shuru">
  716. <el-input
  717. v-model="inpName"
  718. placeholder="请输入您的名字"
  719. ></el-input>
  720. <p>填写姓名后,即可下载答题记录</p>
  721. </div>
  722. <div class="inpBtnOk" @click="stateTowBtnOk(false)">确 定</div>
  723. </div>
  724. <p v-for="(item, index) in topic" :key="index">
  725. {{ index + 1 }}、 {{ item.title }}
  726. </p>
  727. <!-- 生成的二维码 -->
  728. <div class="qrCode" v-if="qrCodeUrl">
  729. <img :src="qrCodeUrl" alt="" />
  730. <a class="el-icon-download" :href="base64SUrl" download
  731. >下载答题记录</a
  732. >
  733. </div>
  734. </div>
  735. <!-- 答错了 -->
  736. <div class="topicCuo" v-if="state === 'three'">
  737. <div>
  738. <img src="../../assets/tab/error.png" alt="" />
  739. <p>答题失败,请再接再厉!</p>
  740. </div>
  741. </div>
  742. </div>
  743. </div>
  744. <!-- pc --留言板 --------------------------->
  745. <div class="pcTab3 myTab" v-if="rightTab[2].isShow">
  746. <div class="conten">
  747. <!-- 关闭按钮 -->
  748. <div class="btnX" @click="rightTab[2].isShow = false">
  749. <img src="@/assets/tab/×.png" alt="" />
  750. </div>
  751. <!-- 标题 -->
  752. <div class="title">
  753. <h3>留 言 板</h3>
  754. </div>
  755. <!-- 内容 -->
  756. <ul class="liuyan">
  757. <li v-for="(item, index) in tableData" :key="index">
  758. <div class="name">{{ item.userName }}</div>
  759. <div class="con">
  760. {{ item.content }}
  761. </div>
  762. <div class="time">{{ item.updateTime }}</div>
  763. </li>
  764. </ul>
  765. <!-- 分页器 -->
  766. <div class="pagination">
  767. <el-pagination
  768. layout="prev, pager, next"
  769. :total="total"
  770. @current-change="currentChange"
  771. >
  772. </el-pagination>
  773. </div>
  774. <!-- 文本域 -->
  775. <div class="texe">
  776. <span>{{ textarea.length }} / 100</span>
  777. <el-input
  778. resize="none"
  779. type="textarea"
  780. :rows="3"
  781. placeholder="欢迎提交您的珍贵留言,100字以内~"
  782. v-model="textarea"
  783. >
  784. </el-input>
  785. </div>
  786. <!-- 底部输入框和按钮 -->
  787. <div class="bottBtn">
  788. <el-radio v-model="radio" label="1">匿名发表</el-radio>
  789. <el-radio v-model="radio" label="2">
  790. <el-input
  791. placeholder="请输入您的姓名"
  792. :disabled="radio === '1'"
  793. v-model="myName"
  794. ></el-input>
  795. </el-radio>
  796. <!-- 提交按钮 -->
  797. <div class="mybtn" @click="liuyanBtn">提 交</div>
  798. </div>
  799. </div>
  800. </div>
  801. <!-- pc ---打卡------------------------>
  802. <div class="pcTab4 myTab" v-if="rightTab[3].isShow">
  803. <div class="conten" ref="pcTab4">
  804. <!-- 人物背景底纹 选择不同的背景打卡-->
  805. <div class="RWbac" :class="'RWbac' + tab3DataInd">
  806. <!-- 关闭按钮 -->
  807. <div
  808. class="btnX"
  809. :class="'btnX' + tab3DataInd"
  810. @click="rightTab[3].isShow = false"
  811. v-if="topicXShow"
  812. ></div>
  813. <!-- 生成的二维码 -->
  814. <div class="qrCode" v-if="qrCodeUrl">
  815. <img :src="qrCodeUrl" alt="" />
  816. <a class="el-icon-download" :href="base64SUrlTab4" download
  817. >点 击 下 载</a
  818. >
  819. </div>
  820. <!-- 标题 -->
  821. <div class="title">
  822. <h3>珠 海 高 新 区 中 共 党 史 学 习 教 育 园 地</h3>
  823. </div>
  824. <!-- 文字内容 -->
  825. <p class="tab4Name">
  826. 党史学习打卡:<span>{{ tab4Name }}</span>
  827. </p>
  828. <div class="txt" v-html="tab3Data[tab3DataInd].txt"></div>
  829. </div>
  830. <!-- 弹窗输入姓名 -->
  831. <div class="inpName" v-if="tab4NameShow">
  832. <div class="shuru">
  833. <!-- 下拉框 -->
  834. <el-select v-model="tab3DataInd" placeholder="请选择主题">
  835. <el-option label="永恒课题" :value="1"></el-option>
  836. <el-option label="农民运动" :value="2"></el-option>
  837. <el-option label="苏兆征故居" :value="3"></el-option>
  838. <el-option label="金鼎线" :value="4"></el-option>
  839. <el-option label="淇澳线" :value="5"></el-option>
  840. <el-option label="唐家线" :value="6"></el-option>
  841. </el-select>
  842. <el-input
  843. v-model="tab4Name"
  844. placeholder="请输入您的名字"
  845. ></el-input>
  846. <p>选择主题,填写姓名后,即可打卡</p>
  847. </div>
  848. <div class="inpBtnOk" @click="tab4NameBtnOk">确 定</div>
  849. </div>
  850. </div>
  851. </div>
  852. <!-- pc ---分享------------------------>
  853. <div class="pcTab5 myTab" v-if="rightTab[4].isShow">
  854. <div class="conten">
  855. <!-- 关闭按钮 -->
  856. <div class="btnX" @click="rightTab[4].isShow = false">
  857. <img src="@/assets/tab/×.png" alt="" />
  858. </div>
  859. <!-- 标题 -->
  860. <div class="tab5Tit">
  861. <p>珠海高新区"红色云展厅"</p>
  862. <!-- <p>虚拟展厅</p> -->
  863. </div>
  864. <!-- 二维码图片+按钮盒子 -->
  865. <div class="tab5Ma">
  866. <img src="tab5Ma.png" alt="" />
  867. <p>请用手机扫描二维码</p>
  868. <a href="tab5Ma.png" download class="tab5Box">下 载 二 维 码</a>
  869. <div class="tab5Box" @click="copyPcTxt">复 制 链 接</div>
  870. </div>
  871. </div>
  872. </div>
  873. </div>
  874. </template>
  875. <script>
  876. import Iframe from "@/components/iframe";
  877. //引入题目
  878. import { questions } from "@/assets/js/data.js";
  879. import html2canvas from "html2canvas";
  880. export default {
  881. components: { Iframe },
  882. data() {
  883. return {
  884. baseUrl: "http://8.135.106.227:8011", //线上调试
  885. // baseUrl:'',//打包
  886. isGuide: true,
  887. //--------------手机端数据------------------
  888. iframeUrl: "",
  889. myIframe: false,
  890. //留言板
  891. MoTab3LiuShow: true, //控制留言板信息和输入的切换
  892. //-----------------党史问答数据-----------------
  893. toPictureShow: false, //---------------手机端答题成功页面的显示和隐藏
  894. inpName: "",
  895. base64SUrl: "", //党史问答的图片地址
  896. qrCodeUrl: "", //党史问答生成的二维码图片地址
  897. topicXShow: true, //关闭按钮,答题成功输入名字后,生成图片,需要隐藏
  898. state: "one", //用来控制显示答题--答题错误--答题正确的模块
  899. stateTowInp: true, //答对了出现的输入框,输入名字
  900. topicInd: 0, //用来控制题目的索引
  901. //题目数据
  902. topic: [], //随机生成的10个题目数据
  903. // 控制答题选中
  904. cunot: 0, //用来记录答对的题目个数
  905. caseInd: null, //用来控制选择的样式
  906. caseABC: null, //用来记录当前选择的答案,进行判断
  907. caseErr: false, //答错了显示的弹窗
  908. caseErrTxt: "", //答错了显示的正确答案
  909. rightTab: [
  910. { name: "党历路线", img: "tab1.png", isShow: false },
  911. { name: "党历问答", img: "tab2.png", isShow: false },
  912. { name: "留 言 板", img: "tab4.png", isShow: false },
  913. { name: " 打 卡 ", img: "tab3.png", isShow: false },
  914. { name: " 分 享 ", img: "tab5.png", isShow: false },
  915. ],
  916. rightTab2: [
  917. { name: "党历路线", img: "tab1.png", isShow: false },
  918. { name: "党历问答", img: "tab2.png", isShow: false },
  919. { name: "留 言 板 ", img: "tab4.png", isShow: false },
  920. { name: "打&emsp;&emsp;卡", img: "tab3.png", isShow: false },
  921. { name: "分&emsp;&emsp;享", img: "tab5.png", isShow: false },
  922. ],
  923. //-----------------留言板数据--------------------------------
  924. total: 0,
  925. tableData: [],
  926. textarea: "", //文本域
  927. radio: "1",
  928. myName: "",
  929. //----------------------打卡数据-------------------------------
  930. tab3Data: [
  931. {},
  932. { txt: "&emsp;&emsp;党的建设的永恒课题" },
  933. { txt: "&emsp;&emsp;唐家湾农民运动陈列馆" },
  934. { txt: "&emsp;&emsp;苏兆征故居陈列馆" },
  935. { txt: "&emsp;&emsp;金鼎线学习教育园地" },
  936. { txt: "&emsp;&emsp;淇澳线学习教育园地" },
  937. { txt: "&emsp;&emsp;唐家线学习教育园地" },
  938. ],
  939. tab3DataInd: 1,
  940. tab4NameShow: true, //输入名字的弹窗
  941. tab4Name: "", //输入的名字
  942. base64SUrlTab4: "",
  943. //------------手机端-------------------
  944. isShowMo: false, //手机端下拉框的显示
  945. };
  946. },
  947. computed: {},
  948. mounted() {},
  949. methods: {
  950. // 给父组件调用的方法
  951. openOneSon() {
  952. if (this.isMobile) {
  953. this.rightTab2[0].isShow = true;
  954. } else this.rightTab[0].isShow = true;
  955. },
  956. toHideHot(id) {
  957. let temp = window.myHotList.filter((v) => v.sid == id)[0];
  958. setTimeout(() => {
  959. temp && temp.examine(window.player, true);
  960. }, 200);
  961. console.log("----", temp);
  962. },
  963. //移动端跳转
  964. skipIframe(url) {
  965. this.iframeUrl = url;
  966. this.myIframe = true;
  967. },
  968. //移动端答错再来一次
  969. MobtnAga() {
  970. this.rightTab2[1].isShow = false;
  971. this.openMo(1);
  972. },
  973. //-----------------打卡------------------
  974. //点击复制链接
  975. copyPcTxt() {
  976. // 存储传递过来的数据
  977. let OrderNumber = window.location.href;
  978. // 创建一个input 元素
  979. // createElement() 方法通过指定名称创建一个元素
  980. let newInput = document.createElement("input");
  981. // 讲存储的数据赋值给input的value值
  982. newInput.value = OrderNumber;
  983. // appendChild() 方法向节点添加最后一个子节点。
  984. document.body.appendChild(newInput);
  985. // 选中input元素中的文本
  986. // select() 方法用于选择该元素中的文本。
  987. newInput.select();
  988. // 执行浏览器复制命令
  989. // execCommand方法是执行一个对当前文档,当前选择或者给出范围的命令
  990. document.execCommand("Copy");
  991. // 清空输入框
  992. newInput.remove();
  993. // 下面是element的弹窗 不需要的自行删除就好
  994. this.$message({
  995. message: "复制成功",
  996. type: "success",
  997. });
  998. },
  999. //---------------------------------------------------------pc--------------------------------------------------
  1000. //输入名字,点击确定
  1001. tab4NameBtnOk() {
  1002. if (this.tab4Name.trim() === "")
  1003. return this.$message.warning("名字不能为空");
  1004. if (this.tab4Name.length > 5)
  1005. return this.$message.warning("名字不能超过5个字");
  1006. this.tab4NameShow = false;
  1007. this.topicXShow = false;
  1008. setTimeout(() => {
  1009. //第一个参数是需要生成截图的元素,第二个是自己需要配置的参数,宽高等
  1010. html2canvas(this.$refs.pcTab4, {
  1011. backgroundColor: null,
  1012. useCORS: true, //如果截图的内容里有图片,可能会有跨域的情况,加上这个参数,解决文件跨域问题
  1013. }).then((canvas) => {
  1014. let base64String = canvas.toDataURL("image/png"); //最终生成图片的url
  1015. this.base64SUrlTab4 = base64String;
  1016. // console.log(999, base64String);
  1017. //base64格式图片转换为FormData对象进行上传
  1018. let bytes = window.atob(base64String.split(",")[1]);
  1019. let array = [];
  1020. for (let i = 0; i < bytes.length; i++) {
  1021. array.push(bytes.charCodeAt(i));
  1022. }
  1023. let blob = new Blob([new Uint8Array(array)], { type: "image/jpeg" });
  1024. let fd = new FormData();
  1025. fd.append("file", blob, Date.now() + ".jpg");
  1026. //Ajax上传FormData对象
  1027. // eslint-disable-next-line no-undef
  1028. $.ajax({
  1029. url: this.baseUrl + "/show/upload",
  1030. type: "POST",
  1031. cache: false,
  1032. data: fd,
  1033. processData: false,
  1034. contentType: false,
  1035. })
  1036. .done((res) => {
  1037. console.log("上传图片成功", res);
  1038. if (res.code === 0) {
  1039. this.$message.success("生成图片成功");
  1040. this.qrCodeUrl = this.baseUrl + res.data;
  1041. this.topicXShow = true;
  1042. }
  1043. })
  1044. .fail((res) => {
  1045. console.log(222, res);
  1046. });
  1047. });
  1048. }, 100);
  1049. },
  1050. //--------------留言板-------------------------
  1051. //点击提交
  1052. liuyanBtn() {
  1053. if (this.textarea.length > 100)
  1054. return this.$message.warning("留言内容不能超过100个字");
  1055. if (this.textarea.trim() === "")
  1056. return this.$message.warning("留言内容不能为空");
  1057. let data = {};
  1058. data.content = this.textarea;
  1059. if (this.radio === "1") {
  1060. //匿名
  1061. data.userName = "";
  1062. } else if (this.radio === "2") {
  1063. if (this.myName.trim() === "")
  1064. return this.$message.warning("名字不能为空");
  1065. if (this.myName.length > 5)
  1066. return this.$message.warning("名字不能超过5个字");
  1067. //输入名字
  1068. data.userName = this.myName;
  1069. }
  1070. //发送请求
  1071. // eslint-disable-next-line no-undef
  1072. $.ajax({
  1073. url: this.baseUrl + "/show/comment/save",
  1074. type: "POST",
  1075. data: JSON.stringify(data),
  1076. dataType: "json",
  1077. contentType: "application/json;charset=UTF-8",
  1078. })
  1079. .done((res) => {
  1080. console.log("留言成功", res);
  1081. if (res.code === 0) {
  1082. this.$message.success("留言成功,等待管理员审核");
  1083. this.myName = this.textarea = "";
  1084. }
  1085. })
  1086. .fail((res) => {
  1087. console.log(222, res);
  1088. });
  1089. },
  1090. //-----------------党史问答---------------------------
  1091. //点击答错里面的下一题
  1092. nextTi() {
  1093. // 最后一题
  1094. if (this.topicInd === 9 && this.cunot >= 5) {
  1095. this.state = "tow";
  1096. this.topic.forEach((v) => {
  1097. let temp = "";
  1098. v.answer.forEach((p) => {
  1099. if (p.id === v.correct) temp = p.txt;
  1100. });
  1101. v.title += "---" + temp;
  1102. });
  1103. } else if (this.topicInd === 9 && this.cunot < 5) {
  1104. this.state = "three";
  1105. }
  1106. this.caseInd = null;
  1107. this.caseErr = false;
  1108. if (this.topicInd < 10) this.topicInd++;
  1109. },
  1110. //点击确定
  1111. btnOk() {
  1112. if (this.caseInd === null) return this.$message.warning("未选择答案");
  1113. // 最后一题
  1114. if (this.topicInd === 9 && this.cunot >= 5) {
  1115. this.state = "tow";
  1116. this.topic.forEach((v) => {
  1117. let temp = "";
  1118. v.answer.forEach((p) => {
  1119. if (p.id === v.correct) temp = p.txt;
  1120. });
  1121. v.title += "---" + temp;
  1122. });
  1123. } else if (this.topicInd === 9 && this.cunot < 5) {
  1124. this.state = "three";
  1125. }
  1126. if (this.topic[this.topicInd].correct === this.caseABC) {
  1127. // console.log('答对了');
  1128. this.caseInd = null;
  1129. if (this.topicInd < 10) this.topicInd++;
  1130. this.cunot++;
  1131. } else {
  1132. // console.log('答错了');
  1133. this.caseErr = true;
  1134. this.topic[this.topicInd].answer.forEach((v) => {
  1135. if (v.id === this.topic[this.topicInd].correct)
  1136. this.caseErrTxt = v.id + "、" + v.txt;
  1137. });
  1138. }
  1139. },
  1140. //选择题目
  1141. select(index, id) {
  1142. this.caseInd = index;
  1143. this.caseABC = id;
  1144. },
  1145. //答对了输入名字点击确定
  1146. stateTowBtnOk(myBoo) {
  1147. if (this.inpName.trim() === "")
  1148. return this.$message.warning("名字不能为空");
  1149. if (this.inpName.length > 5)
  1150. return this.$message.warning("名字不能超过5个字");
  1151. if (myBoo) this.toPictureShow = true;
  1152. this.stateTowInp = false;
  1153. this.topicXShow = false;
  1154. setTimeout(() => {
  1155. //第一个参数是需要生成截图的元素,第二个是自己需要配置的参数,宽高等
  1156. html2canvas(this.$refs.topicDui, {
  1157. backgroundColor: null,
  1158. useCORS: true, //如果截图的内容里有图片,可能会有跨域的情况,加上这个参数,解决文件跨域问题
  1159. }).then((canvas) => {
  1160. let base64String = canvas.toDataURL("image/png"); //最终生成图片的url
  1161. this.base64SUrl = base64String;
  1162. // console.log(999, base64String);
  1163. //base64格式图片转换为FormData对象进行上传
  1164. let bytes = window.atob(base64String.split(",")[1]);
  1165. let array = [];
  1166. for (let i = 0; i < bytes.length; i++) {
  1167. array.push(bytes.charCodeAt(i));
  1168. }
  1169. let blob = new Blob([new Uint8Array(array)], { type: "image/jpeg" });
  1170. let fd = new FormData();
  1171. fd.append("file", blob, Date.now() + ".jpg");
  1172. //Ajax上传FormData对象
  1173. // eslint-disable-next-line no-undef
  1174. $.ajax({
  1175. url: this.baseUrl + "/show/upload",
  1176. type: "POST",
  1177. cache: false,
  1178. data: fd,
  1179. processData: false,
  1180. contentType: false,
  1181. })
  1182. .done((res) => {
  1183. console.log("上传图片成功", res);
  1184. if (res.code === 0) {
  1185. this.$message.success("生成图片成功");
  1186. this.qrCodeUrl = this.baseUrl + res.data;
  1187. this.topicXShow = true;
  1188. if (myBoo) this.toPictureShow = false;
  1189. }
  1190. })
  1191. .fail((res) => {
  1192. console.log(222, res);
  1193. });
  1194. });
  1195. }, 100);
  1196. },
  1197. //手机端点击
  1198. openMo(index) {
  1199. this.rightTab2.forEach((v, i) => {
  1200. if (i === index) v.isShow = true;
  1201. else v.isShow = false;
  1202. });
  1203. //点击的是答题--随机选10题
  1204. if (index === 1) {
  1205. this.qrCodeUrl = "";
  1206. this.topicXShow = true;
  1207. this.stateTowInp = true;
  1208. this.inpName = "";
  1209. this.caseErr = false;
  1210. this.topicInd = 0;
  1211. this.cunot = 0;
  1212. this.caseInd = null;
  1213. this.state = "one";
  1214. this.topic = [];
  1215. let arr = [];
  1216. for (let i = 0; i < 200; i++) {
  1217. //一个从0到100的数组
  1218. arr.push(i);
  1219. }
  1220. arr.sort(function () {
  1221. //随机打乱这个数组
  1222. return Math.random() - 0.5;
  1223. });
  1224. arr.length = 10; //改写长度
  1225. arr.forEach((v) => {
  1226. this.topic.push(questions[v]);
  1227. });
  1228. // console.log(999,this.topic); //控制台会输出10个不同的数
  1229. }
  1230. //点击的是打卡
  1231. if (index === 3) {
  1232. this.base64SUrlTab4 = "";
  1233. this.tab4Name = "";
  1234. this.tab4NameShow = true;
  1235. this.qrCodeUrl = "";
  1236. }
  1237. //点击的是留言板
  1238. if (index === 2) {
  1239. this.MoTab3LiuShow = true;
  1240. this.getList({ pageNum: 1, pageSize: 99999 });
  1241. }
  1242. },
  1243. //点击右侧tab栏
  1244. open(index) {
  1245. this.rightTab.forEach((v, i) => {
  1246. if (i === index) v.isShow = true;
  1247. else v.isShow = false;
  1248. });
  1249. //点击的是答题--随机选10题
  1250. if (index === 1) {
  1251. this.qrCodeUrl = "";
  1252. this.topicXShow = true;
  1253. this.stateTowInp = true;
  1254. this.inpName = "";
  1255. this.caseErr = false;
  1256. this.topicInd = 0;
  1257. this.cunot = 0;
  1258. this.caseInd = null;
  1259. this.state = "one";
  1260. this.topic = [];
  1261. let arr = [];
  1262. for (let i = 0; i < 200; i++) {
  1263. //一个从0到100的数组
  1264. arr.push(i);
  1265. }
  1266. arr.sort(function () {
  1267. //随机打乱这个数组
  1268. return Math.random() - 0.5;
  1269. });
  1270. arr.length = 10; //改写长度
  1271. arr.forEach((v) => {
  1272. this.topic.push(questions[v]);
  1273. });
  1274. // console.log(999,this.topic); //控制台会输出10个不同的数
  1275. }
  1276. //点击的是打卡
  1277. if (index === 3) {
  1278. this.base64SUrlTab4 = "";
  1279. this.tab4Name = "";
  1280. this.tab4NameShow = true;
  1281. this.qrCodeUrl = "";
  1282. }
  1283. //点击的留言板
  1284. if (index === 2) {
  1285. this.getList({ pageNum: 1, pageSize: 10 });
  1286. }
  1287. },
  1288. // 分页器方法
  1289. currentChange(val) {
  1290. // console.log('当前页改变了', val)
  1291. this.getList({ pageNum: val, pageSize: 10 });
  1292. },
  1293. //封装获取留言信息方法
  1294. getList(data) {
  1295. // eslint-disable-next-line no-undef
  1296. $.ajax({
  1297. type: "POST",
  1298. url: this.baseUrl + "/show/comment/list",
  1299. data: JSON.stringify(data),
  1300. dataType: "json",
  1301. contentType: "application/json;charset=UTF-8",
  1302. })
  1303. .done((res) => {
  1304. console.log("获取留言信息成功", res);
  1305. this.tableData = res.data.records;
  1306. this.total = res.data.total;
  1307. this.tableData.forEach((v) => {
  1308. if (v.userName === "") v.userName = "匿名";
  1309. v.updateTime = v.updateTime.slice(0, -3);
  1310. });
  1311. })
  1312. .fail((res) => {
  1313. console.log(111, res);
  1314. });
  1315. },
  1316. switchBGM() {
  1317. // if ($("#volume img")[0].src.indexOf("on.png") > -1) {
  1318. // window.manage.switchBgmState(true);
  1319. // } else if ($("#volume img")[0].src.indexOf("off.png") > -1) {
  1320. // window.manage.switchBgmState(false);
  1321. // }
  1322. },
  1323. },
  1324. };
  1325. </script>
  1326. <style lang="less" scoped>
  1327. ::-webkit-scrollbar {
  1328. width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
  1329. }
  1330. ::-webkit-scrollbar-thumb {
  1331. // box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2);
  1332. background: #edd3b0;
  1333. border-color: #edd3b0;
  1334. color: #edd3b0;
  1335. outline: none;
  1336. }
  1337. .pcTab1 {
  1338. .conten {
  1339. position: relative;
  1340. .map {
  1341. margin: 0 !important;
  1342. width: 100% !important;
  1343. height: 100% !important;
  1344. }
  1345. .toIndexTxt {
  1346. width: 250px;
  1347. height: 75px;
  1348. cursor: pointer;
  1349. position: absolute;
  1350. top: 45px;
  1351. left: 54px;
  1352. font-size: 26px;
  1353. color: #edd3b0;
  1354. letter-spacing: 2px;
  1355. font-weight: 700;
  1356. }
  1357. .imgClick {
  1358. cursor: pointer;
  1359. position: absolute;
  1360. z-index: 10;
  1361. }
  1362. .imgClick1 {
  1363. top: 365px;
  1364. left: 316px;
  1365. width: 108px;
  1366. height: 34px;
  1367. }
  1368. .imgClick2 {
  1369. top: 240px;
  1370. left: 348px;
  1371. width: 82px;
  1372. height: 45px;
  1373. }
  1374. .imgClick3 {
  1375. top: 164px;
  1376. left: 1026px;
  1377. width: 38px;
  1378. height: 21px;
  1379. }
  1380. .imgClick4 {
  1381. top: 185px;
  1382. left: 1050px;
  1383. width: 64px;
  1384. height: 19px;
  1385. }
  1386. .imgClick5 {
  1387. top: 201px;
  1388. left: 966px;
  1389. width: 82px;
  1390. height: 23px;
  1391. }
  1392. .imgClick7 {
  1393. top: 447px;
  1394. left: 630px;
  1395. width: 108px;
  1396. height: 25px;
  1397. }
  1398. .imgClick8 {
  1399. top: 416px;
  1400. left: 609px;
  1401. width: 93px;
  1402. height: 30px;
  1403. }
  1404. .imgClick9 {
  1405. top: 481px;
  1406. left: 769px;
  1407. width: 40px;
  1408. height: 37px;
  1409. }
  1410. .imgClick10 {
  1411. top: 302px;
  1412. left: 568px;
  1413. width: 49px;
  1414. height: 33px;
  1415. }
  1416. }
  1417. .imgClick11 {
  1418. top: 256px;
  1419. left: 523px;
  1420. width: 49px;
  1421. height: 33px;
  1422. }
  1423. }
  1424. .myTab {
  1425. position: fixed;
  1426. top: 0;
  1427. left: 0;
  1428. width: 100vw;
  1429. height: 100vh;
  1430. background-color: rgba(0, 0, 0, 0.3);
  1431. .conten {
  1432. position: absolute;
  1433. left: 50%;
  1434. top: 50%;
  1435. transform: translate(-50%, -50%);
  1436. width: 1258px;
  1437. height: 778px;
  1438. // background-color: #ac3334;
  1439. background: url("../../assets/tab/tabC.png");
  1440. background-size: 100% 100%;
  1441. .btnX {
  1442. width: 36px;
  1443. height: 36px;
  1444. cursor: pointer;
  1445. position: absolute;
  1446. right: 40px;
  1447. top: 40px;
  1448. & > img {
  1449. width: 100%;
  1450. height: 100%;
  1451. }
  1452. }
  1453. .title {
  1454. width: 90%;
  1455. margin: 40px auto 0;
  1456. border-bottom: 2px solid #e2b79c;
  1457. padding-bottom: 20px;
  1458. h3 {
  1459. padding-left: 15px;
  1460. font-size: 26px;
  1461. color: #edd3b0;
  1462. letter-spacing: 2px;
  1463. }
  1464. }
  1465. .RWbac {
  1466. position: absolute;
  1467. left: 0;
  1468. top: 0;
  1469. width: 100%;
  1470. height: 100%;
  1471. background: url("../../assets/tab/tab1dw.png");
  1472. background-size: 100% 100%;
  1473. }
  1474. .map {
  1475. width: 680px;
  1476. height: 540px;
  1477. margin: 20px auto;
  1478. & > img {
  1479. width: 100%;
  1480. height: 100%;
  1481. }
  1482. }
  1483. .bottom {
  1484. display: flex;
  1485. justify-content: space-between;
  1486. width: 94%;
  1487. height: 44px;
  1488. margin: 0 auto;
  1489. & > div {
  1490. padding-left: 42px;
  1491. display: flex;
  1492. justify-content: space-around;
  1493. width: 330px;
  1494. height: 44px;
  1495. margin-right: 40px;
  1496. &:nth-of-type(1) {
  1497. background: url("../../assets/tab/tab1_1.png");
  1498. background-size: 100% 100%;
  1499. }
  1500. &:nth-of-type(2) {
  1501. background: url("../../assets/tab/tab1_2.png");
  1502. background-size: 100% 100%;
  1503. }
  1504. &:nth-of-type(3) {
  1505. background: url("../../assets/tab/tab1_3.png");
  1506. background-size: 100% 100%;
  1507. }
  1508. &:nth-of-type(4) {
  1509. background: url("../../assets/tab/tab1_4.png");
  1510. background-size: 100% 100%;
  1511. margin-right: 0;
  1512. }
  1513. & > a {
  1514. z-index: 999;
  1515. width: 65px;
  1516. background-color: transparent;
  1517. }
  1518. }
  1519. }
  1520. }
  1521. }
  1522. .pcTab2 {
  1523. .conten {
  1524. .mytitle {
  1525. width: 90%;
  1526. font-size: 18px;
  1527. margin: 80px auto 30px;
  1528. color: #edd3b0;
  1529. border-bottom: 2px solid #eed7b7;
  1530. padding-bottom: 15px;
  1531. h3 {
  1532. font-size: 24px;
  1533. margin-bottom: 15px;
  1534. }
  1535. .ren {
  1536. margin: 15px 0 30px;
  1537. span {
  1538. font-size: 24px;
  1539. }
  1540. }
  1541. .biaoti {
  1542. font-weight: 700;
  1543. font-size: 28px;
  1544. }
  1545. }
  1546. }
  1547. }
  1548. .pcTab2 {
  1549. .conten {
  1550. background: url("../../assets/tab/tab2C.png");
  1551. background-size: 100% 100%;
  1552. }
  1553. .mintit {
  1554. margin: 15px 0;
  1555. padding-left: 80px;
  1556. color: #e9cfac;
  1557. font-size: 14px;
  1558. }
  1559. .topic {
  1560. position: relative;
  1561. border-radius: 5px;
  1562. margin: 0 auto;
  1563. width: 87%;
  1564. height: 530px;
  1565. background-color: #edd3b0;
  1566. .topic_head {
  1567. display: flex;
  1568. justify-content: space-between;
  1569. align-items: center;
  1570. width: 96%;
  1571. margin: 0 auto;
  1572. color: #5e1616;
  1573. height: 108px;
  1574. padding: 0 20px;
  1575. border-bottom: 2px solid #ac3334;
  1576. & > P {
  1577. font-weight: 700;
  1578. font-size: 24px;
  1579. max-width: 850px;
  1580. }
  1581. & > span {
  1582. font-size: 16px;
  1583. }
  1584. }
  1585. .topic_con {
  1586. color: #5e1616;
  1587. width: 90%;
  1588. margin: 0 auto;
  1589. li {
  1590. display: flex;
  1591. height: 80px;
  1592. align-items: center;
  1593. .case {
  1594. cursor: pointer;
  1595. width: 30px;
  1596. height: 30px;
  1597. border: 2px solid #ac3334;
  1598. margin-right: 30px;
  1599. & > div {
  1600. margin: 3px;
  1601. width: 20px;
  1602. height: 20px;
  1603. background-color: #ac3334;
  1604. }
  1605. }
  1606. & > span {
  1607. cursor: pointer;
  1608. font-size: 22px;
  1609. }
  1610. .active {
  1611. color: #b54a46;
  1612. }
  1613. }
  1614. }
  1615. .topic_btn {
  1616. border-radius: 8px;
  1617. font-size: 24px;
  1618. color: #edd3b0;
  1619. background-color: #ac3334;
  1620. cursor: pointer;
  1621. height: 72px;
  1622. line-height: 72px;
  1623. padding: 0 40px;
  1624. position: absolute;
  1625. bottom: 27px;
  1626. left: 50%;
  1627. transform: translateX(-50%);
  1628. }
  1629. .error {
  1630. position: absolute;
  1631. bottom: 0;
  1632. left: 0;
  1633. height: 100%;
  1634. width: 100%;
  1635. background-color: rgba(0, 0, 0, 0.8);
  1636. p {
  1637. margin: 20px;
  1638. font-size: 24px;
  1639. text-align: center;
  1640. }
  1641. div {
  1642. border-radius: 8px;
  1643. font-size: 24px;
  1644. color: #edd3b0;
  1645. background-color: #ac3334;
  1646. cursor: pointer;
  1647. height: 72px;
  1648. line-height: 72px;
  1649. padding: 0 40px;
  1650. position: absolute;
  1651. bottom: 27px;
  1652. left: 50%;
  1653. transform: translateX(-50%);
  1654. }
  1655. }
  1656. }
  1657. .topicDui {
  1658. width: 88%;
  1659. margin: 20px auto 0;
  1660. div {
  1661. color: #edd3b0;
  1662. font-size: 20px;
  1663. margin-bottom: 15px;
  1664. }
  1665. p {
  1666. font-size: 16px;
  1667. margin-bottom: 10px;
  1668. color: #edd3b0;
  1669. }
  1670. .inpName {
  1671. display: flex;
  1672. justify-content: center;
  1673. position: absolute;
  1674. left: 0;
  1675. bottom: -15px;
  1676. background-color: rgba(0, 0, 0, 0.8);
  1677. width: 100%;
  1678. height: 84%;
  1679. .shuru {
  1680. /deep/.el-input__inner {
  1681. height: 40px;
  1682. }
  1683. width: 500px;
  1684. height: 300px;
  1685. margin: 200px auto 0;
  1686. text-align: center;
  1687. & > p {
  1688. color: #fff;
  1689. font-size: 24px;
  1690. }
  1691. }
  1692. .inpBtnOk {
  1693. border-radius: 8px;
  1694. font-size: 24px;
  1695. color: #edd3b0;
  1696. background-color: #ac3334;
  1697. cursor: pointer;
  1698. height: 72px;
  1699. line-height: 72px;
  1700. padding: 0 40px;
  1701. position: absolute;
  1702. bottom: 20px;
  1703. left: 50%;
  1704. transform: translateX(-50%);
  1705. }
  1706. }
  1707. .qrCode {
  1708. text-align: right;
  1709. position: absolute;
  1710. top: 140px;
  1711. right: 62px;
  1712. width: 120px;
  1713. height: 120px;
  1714. img {
  1715. width: 100px;
  1716. height: 100px;
  1717. }
  1718. a {
  1719. margin-top: 10px;
  1720. display: block;
  1721. color: #edd3b0;
  1722. font-size: 16px;
  1723. i {
  1724. font-size: 20px;
  1725. }
  1726. }
  1727. }
  1728. }
  1729. .topicCuo {
  1730. div {
  1731. margin-top: 20px;
  1732. text-align: center;
  1733. position: absolute;
  1734. left: 50%;
  1735. top: 50%;
  1736. transform: translate(-50%, -50%);
  1737. width: 220px;
  1738. height: 220px;
  1739. img {
  1740. width: 178px;
  1741. height: 178px;
  1742. }
  1743. p {
  1744. margin-top: 24px;
  1745. text-align: center;
  1746. color: #edd3b0;
  1747. font-size: 18px;
  1748. }
  1749. }
  1750. }
  1751. }
  1752. .pcTab3 {
  1753. .conten {
  1754. background: url("../../assets/tab/tab3c.png") !important;
  1755. background-size: 100% 100% !important;
  1756. }
  1757. .liuyan {
  1758. padding-right: 20px;
  1759. margin: 20px auto 0;
  1760. width: 88%;
  1761. height: 350px;
  1762. overflow-y: auto;
  1763. li {
  1764. color: #f0af7c;
  1765. font-size: 20px;
  1766. border-bottom: 1px dashed #f0af7c;
  1767. display: flex;
  1768. text-align: center;
  1769. & > div {
  1770. padding: 12px 0;
  1771. }
  1772. .name {
  1773. width: 150px;
  1774. }
  1775. .con {
  1776. width: 700px;
  1777. margin-right: 20px;
  1778. }
  1779. .time {
  1780. width: 180px;
  1781. }
  1782. }
  1783. }
  1784. .pagination {
  1785. width: 380px;
  1786. margin: 20px auto;
  1787. }
  1788. .texe {
  1789. width: 86%;
  1790. margin: 0 auto;
  1791. }
  1792. .bottBtn {
  1793. position: relative;
  1794. width: 86%;
  1795. margin: 20px auto 0;
  1796. .mybtn {
  1797. font-size: 18px;
  1798. display: flex;
  1799. justify-content: center;
  1800. align-items: center;
  1801. cursor: pointer;
  1802. width: 120px;
  1803. background-color: #edd3b0;
  1804. border-radius: 8px;
  1805. color: #ae3939;
  1806. height: 30px;
  1807. position: absolute;
  1808. right: 0;
  1809. top: 50%;
  1810. transform: translateY(-50%);
  1811. }
  1812. }
  1813. }
  1814. .pcTab4 {
  1815. .RWbac {
  1816. & > img {
  1817. width: 100%;
  1818. height: 100%;
  1819. }
  1820. }
  1821. .tab4Name {
  1822. width: 400px;
  1823. margin: 20px 0 10px 80px;
  1824. color: #edd3b0;
  1825. font-size: 24px;
  1826. span {
  1827. font-weight: 300;
  1828. font-size: 32px;
  1829. }
  1830. }
  1831. .txt {
  1832. font-size: 20px;
  1833. color: #edd3b0;
  1834. margin: 10px 80px 0;
  1835. /deep/span {
  1836. font-weight: 700;
  1837. font-size: 18px;
  1838. }
  1839. }
  1840. .conten {
  1841. .btnX {
  1842. background: url("../../assets/tab/×.png");
  1843. }
  1844. .btnX3 {
  1845. background: url("../../assets/tab/×.png");
  1846. }
  1847. .btnX4 {
  1848. background: url("../../assets/tab/×Red.png");
  1849. }
  1850. .btnX5 {
  1851. background: url("../../assets/tab/×Red.png");
  1852. }
  1853. .btnX6 {
  1854. background: url("../../assets/tab/×Red.png");
  1855. }
  1856. .RWbac1 {
  1857. background: url("../../assets/tab/daka1.png");
  1858. background-size: 100% 100%;
  1859. }
  1860. .RWbac2 {
  1861. background: url("../../assets/tab/daka2.png");
  1862. background-size: 100% 100%;
  1863. .qrCode a {
  1864. color: #edd3b0;
  1865. }
  1866. }
  1867. .RWbac3 {
  1868. background: url("../../assets/tab/daka3.png");
  1869. background-size: 100% 100%;
  1870. // .tab4Name {
  1871. // color: #ac3334;
  1872. // }
  1873. // .txt {
  1874. // color: #ac3334;
  1875. // }
  1876. .qrCode a {
  1877. color: #fff;
  1878. }
  1879. }
  1880. .RWbac4 {
  1881. background: url("../../assets/tab/daka4.png");
  1882. background-size: 100% 100%;
  1883. .title h3 {
  1884. color: #ac3334;
  1885. }
  1886. .tab4Name {
  1887. color: #ac3334;
  1888. }
  1889. .txt {
  1890. color: #ac3334;
  1891. }
  1892. .qrCode a {
  1893. color: #fff;
  1894. }
  1895. .title {
  1896. border-bottom: 2px solid #ac3334;
  1897. }
  1898. }
  1899. .RWbac5 {
  1900. background: url("../../assets/tab/daka5.png");
  1901. background-size: 100% 100%;
  1902. .title h3 {
  1903. color: #ac3334;
  1904. }
  1905. .tab4Name {
  1906. color: #ac3334;
  1907. }
  1908. .txt {
  1909. color: #ac3334;
  1910. }
  1911. .title {
  1912. border-bottom: 2px solid #ac3334;
  1913. }
  1914. }
  1915. .RWbac6 {
  1916. background: url("../../assets/tab/daka6.png");
  1917. background-size: 100% 100%;
  1918. .title h3 {
  1919. color: #ac3334;
  1920. }
  1921. .tab4Name {
  1922. color: #ac3334;
  1923. }
  1924. .txt {
  1925. color: #ac3334;
  1926. }
  1927. .qrCode a {
  1928. color: #fff;
  1929. }
  1930. .title {
  1931. border-bottom: 2px solid #ac3334;
  1932. }
  1933. }
  1934. background: none !important;
  1935. .qrCode {
  1936. text-align: center;
  1937. position: absolute;
  1938. bottom: 30px;
  1939. right: 50px;
  1940. width: 120px;
  1941. height: 120px;
  1942. img {
  1943. width: 100px;
  1944. height: 100px;
  1945. }
  1946. a {
  1947. margin-top: 10px;
  1948. display: block;
  1949. color: #edd3b0;
  1950. font-size: 16px;
  1951. i {
  1952. font-size: 20px;
  1953. }
  1954. }
  1955. }
  1956. .inpName {
  1957. display: flex;
  1958. justify-content: center;
  1959. position: absolute;
  1960. left: 0;
  1961. bottom: 0px;
  1962. background-color: rgba(0, 0, 0, 0.5);
  1963. width: 100%;
  1964. height: 86%;
  1965. .shuru {
  1966. /deep/.el-select {
  1967. width: 100%;
  1968. margin-bottom: 50px;
  1969. }
  1970. /deep/.el-input__inner {
  1971. height: 40px;
  1972. }
  1973. width: 300px;
  1974. height: 300px;
  1975. margin: 150px auto 0;
  1976. text-align: center;
  1977. & > p {
  1978. margin-top: 20px;
  1979. color: #fff;
  1980. font-size: 18px;
  1981. }
  1982. }
  1983. .inpBtnOk {
  1984. border-radius: 8px;
  1985. font-size: 24px;
  1986. color: #edd3b0;
  1987. background-color: #ac3334;
  1988. cursor: pointer;
  1989. height: 72px;
  1990. line-height: 72px;
  1991. padding: 0 40px;
  1992. position: absolute;
  1993. bottom: 20px;
  1994. left: 50%;
  1995. transform: translateX(-50%);
  1996. }
  1997. }
  1998. .title {
  1999. h3 {
  2000. font-size: 28px;
  2001. }
  2002. }
  2003. }
  2004. }
  2005. .pcTab5 {
  2006. .conten {
  2007. color: #edd3b0;
  2008. position: absolute;
  2009. left: 50%;
  2010. top: 50%;
  2011. transform: translate(-50%, -50%);
  2012. width: 540px;
  2013. height: 800px;
  2014. background: url("../../assets/tab/tab5C.png");
  2015. background-size: 100% 100%;
  2016. .tab5Tit {
  2017. margin-top: 120px;
  2018. padding: 0 45px;
  2019. & > p {
  2020. text-align: center;
  2021. font-size: 30px;
  2022. }
  2023. }
  2024. .tab5Ma {
  2025. width: 313px;
  2026. height: 570px;
  2027. margin: 20px auto 0;
  2028. & > img {
  2029. width: 313px;
  2030. height: 313px;
  2031. }
  2032. & > p {
  2033. margin: 10px 0;
  2034. font-size: 20px;
  2035. text-align: center;
  2036. }
  2037. .tab5Box {
  2038. cursor: pointer;
  2039. text-align: center;
  2040. font-size: 20px;
  2041. color: #edd3b0;
  2042. border-radius: 10px;
  2043. margin: 20px 0;
  2044. background-color: rgba(237, 211, 176, 0.3);
  2045. display: block;
  2046. width: 313px;
  2047. height: 60px;
  2048. line-height: 58px;
  2049. border: 1px solid #edd3b0;
  2050. }
  2051. }
  2052. }
  2053. }
  2054. .shouji {
  2055. width: 30px;
  2056. height: 30px;
  2057. position: fixed;
  2058. top: 10px;
  2059. right: 5px;
  2060. img {
  2061. width: 30px;
  2062. height: 30px;
  2063. }
  2064. ul {
  2065. position: fixed;
  2066. top: 55px;
  2067. right: 5px;
  2068. width: 108px;
  2069. height: 175px;
  2070. background-color: rgba(0, 0, 0, 0.5);
  2071. li {
  2072. display: flex;
  2073. justify-content: start;
  2074. align-items: center;
  2075. width: 100%;
  2076. height: 20%;
  2077. img {
  2078. margin: 0 10px;
  2079. width: 20px;
  2080. height: 20px;
  2081. }
  2082. }
  2083. }
  2084. }
  2085. .centenName {
  2086. padding: 10px 40px;
  2087. border-radius: 45px;
  2088. background-color: rgba(0, 0, 0, 0.5);
  2089. position: fixed;
  2090. top: 15px;
  2091. left: 50%;
  2092. transform: translateX(-50%);
  2093. font-size: 20px;
  2094. color: #fff;
  2095. }
  2096. .rightTab {
  2097. position: fixed;
  2098. right: -7px;
  2099. top: 50%;
  2100. transform: translateY(-50%);
  2101. width: 110px;
  2102. height: 465px;
  2103. background-color: rgba(0, 0, 0, 0.5);
  2104. & > div {
  2105. cursor: pointer;
  2106. width: 100%;
  2107. height: 20%;
  2108. display: flex;
  2109. justify-content: center;
  2110. align-items: center;
  2111. & > img {
  2112. width: 45px;
  2113. height: 45px;
  2114. }
  2115. }
  2116. }
  2117. // 右侧菜单栏
  2118. @wh: 22px;
  2119. @margin: 0px;
  2120. #play,
  2121. #pause {
  2122. margin-right: @margin;
  2123. img {
  2124. width: @wh;
  2125. height: @wh;
  2126. }
  2127. }
  2128. .rightViewContainer {
  2129. display: flex !important;
  2130. align-items: center !important;
  2131. }
  2132. #gui-modes-map {
  2133. > div {
  2134. margin-right: @margin;
  2135. > img {
  2136. width: @wh;
  2137. height: @wh;
  2138. display: block !important;
  2139. }
  2140. .active {
  2141. display: none !important;
  2142. }
  2143. }
  2144. .active {
  2145. > img {
  2146. display: none !important;
  2147. }
  2148. .active {
  2149. display: block !important;
  2150. }
  2151. }
  2152. }
  2153. .pinBottom.right .ui-icon {
  2154. background: none;
  2155. }
  2156. #gui-fullscreen img {
  2157. width: 22px;
  2158. }
  2159. #volume {
  2160. width: 50px;
  2161. padding: 10px;
  2162. background-color: rgba(0, 0, 0, 0.5) !important;
  2163. border-radius: 50%;
  2164. }
  2165. #gui-fullscreen {
  2166. background-color: rgba(0, 0, 0, 0.5) !important;
  2167. border-radius: 50%;
  2168. }
  2169. #gui-fullscreen-exit {
  2170. width: 50px;
  2171. background-color: rgba(0, 0, 0, 0.5) !important;
  2172. border-radius: 50%;
  2173. }
  2174. #gui-fullscreen-exit img {
  2175. width: 22px !important;
  2176. }
  2177. .bgandshare {
  2178. background: none !important;
  2179. // margin-right: 20px!important;
  2180. > div {
  2181. width: 22px !important;
  2182. margin-left: 3px;
  2183. cursor: pointer;
  2184. img {
  2185. width: 100%;
  2186. }
  2187. }
  2188. }
  2189. @media only screen and (max-width: 900px) {
  2190. .centenName {
  2191. text-align: center;
  2192. font-size: 14px;
  2193. width: 78%;
  2194. padding: 8px;
  2195. }
  2196. .MoTab1 {
  2197. .conten {
  2198. background: url("../../assets/tabMo/bg.jpg") !important;
  2199. background-size: 100% 100% !important;
  2200. .btnX {
  2201. z-index: 99;
  2202. }
  2203. .Motitle {
  2204. margin: 0 auto !important;
  2205. position: relative;
  2206. width: 141px;
  2207. height: 63px;
  2208. border: none !important;
  2209. }
  2210. }
  2211. }
  2212. //-------------------------------------------------移动端的个样式调整-------------------------------
  2213. .MoTab {
  2214. color: #edd3b0;
  2215. z-index: 9999;
  2216. position: fixed;
  2217. left: 0;
  2218. top: 0;
  2219. width: 100vw;
  2220. height: 100vh;
  2221. background-color: rgba(0, 0, 0, 0.5);
  2222. .conten {
  2223. position: absolute;
  2224. left: 50%;
  2225. top: 50%;
  2226. transform: translate(-50%, -50%);
  2227. width: 310px;
  2228. height: 520px;
  2229. background: url("../../assets/tabMo/moTabBac.png");
  2230. background-size: 100% 100%;
  2231. .btnX {
  2232. position: absolute;
  2233. right: 20px;
  2234. top: 20px;
  2235. width: 20px;
  2236. height: 20px;
  2237. img {
  2238. width: 100%;
  2239. height: 100%;
  2240. }
  2241. }
  2242. }
  2243. .Motitle {
  2244. width: 90%;
  2245. margin: 20px auto 10px;
  2246. font-size: 20px;
  2247. border-bottom: 1px solid #edd3b0;
  2248. padding: 0px 0px 10px 10px;
  2249. }
  2250. .MoMap {
  2251. margin: 0 auto;
  2252. width: 284px;
  2253. height: 193px;
  2254. & > img {
  2255. width: 100%;
  2256. height: 100%;
  2257. }
  2258. }
  2259. .MMapBox {
  2260. position: absolute;
  2261. bottom: 0;
  2262. left: 0;
  2263. width: 100%;
  2264. height: 240px;
  2265. .MMInco {
  2266. position: absolute;
  2267. top: 10px;
  2268. left: 10px;
  2269. width: 80px;
  2270. height: 35px;
  2271. }
  2272. .MMInco1 {
  2273. top: 25px;
  2274. left: 45px;
  2275. width: 122px;
  2276. }
  2277. .MMInco2 {
  2278. top: 25px;
  2279. left: 191px;
  2280. width: 98px;
  2281. }
  2282. .MMInco3 {
  2283. top: 80px;
  2284. left: 45px;
  2285. width: 62px;
  2286. }
  2287. .MMInco4 {
  2288. top: 80px;
  2289. left: 125px;
  2290. width: 62px;
  2291. }
  2292. .MMInco5 {
  2293. top: 80px;
  2294. left: 195px;
  2295. width: 82px;
  2296. }
  2297. .MMInco6 {
  2298. top: 136px;
  2299. left: 45px;
  2300. width: 63px;
  2301. }
  2302. .MMInco7 {
  2303. top: 136px;
  2304. left: 124px;
  2305. width: 61px;
  2306. }
  2307. .MMInco8 {
  2308. top: 136px;
  2309. left: 193px;
  2310. width: 82px;
  2311. }
  2312. .MMInco9 {
  2313. top: 192px;
  2314. left: 45px;
  2315. width: 64px;
  2316. }
  2317. .MMInco10 {
  2318. top: 192px;
  2319. left: 124px;
  2320. width: 59px;
  2321. }
  2322. .MMInco11 {
  2323. top: 192px;
  2324. left: 191px;
  2325. width: 64px;
  2326. }
  2327. }
  2328. }
  2329. .toPicture {
  2330. color: #edd3b0;
  2331. background: url("../../assets/tabMo/moTabBac2.png");
  2332. background-size: 100% 100%;
  2333. z-index: 99999;
  2334. position: fixed;
  2335. top: 0;
  2336. left: 0;
  2337. width: 100vw;
  2338. height: auto;
  2339. padding: 24px 20px 10px;
  2340. div {
  2341. text-align: center;
  2342. margin: 5px;
  2343. font-size: 16px;
  2344. span {
  2345. font-size: 22px;
  2346. }
  2347. }
  2348. p {
  2349. font-size: 12px;
  2350. font-weight: 200;
  2351. margin-bottom: 2px;
  2352. }
  2353. }
  2354. .MoTab2 {
  2355. .conten {
  2356. z-index: 9999;
  2357. background: url("../../assets/tabMo/moTabBac2.png");
  2358. background-size: 100% 100%;
  2359. // overflow-y: auto;
  2360. .Modownload {
  2361. border-radius: 8px;
  2362. display: flex;
  2363. justify-content: center;
  2364. align-items: center;
  2365. width: 182px;
  2366. height: 34px;
  2367. background-color: rgba(237, 211, 176, 0.4);
  2368. position: absolute;
  2369. bottom: 20px;
  2370. left: 50%;
  2371. transform: translateX(-50%;);
  2372. }
  2373. }
  2374. .moTopic {
  2375. margin: 20px auto 0;
  2376. font-size: 16px;
  2377. width: 90%;
  2378. .moTopic_con {
  2379. margin: 20px 0 0;
  2380. li {
  2381. display: flex;
  2382. align-items: center;
  2383. margin: 10px 0;
  2384. }
  2385. .case {
  2386. display: flex;
  2387. justify-content: center;
  2388. align-items: center;
  2389. margin-right: 20px;
  2390. width: 20px;
  2391. height: 20px;
  2392. border: 1px solid #edd3b0;
  2393. & > div {
  2394. width: 80%;
  2395. height: 80%;
  2396. background-color: #e4cba9;
  2397. }
  2398. }
  2399. span {
  2400. display: block;
  2401. max-width: 230px;
  2402. }
  2403. .Motopic_btn {
  2404. border-radius: 8px;
  2405. display: flex;
  2406. justify-content: center;
  2407. align-items: center;
  2408. width: 182px;
  2409. height: 34px;
  2410. background-color: rgba(237, 211, 176, 0.4);
  2411. position: absolute;
  2412. bottom: 20px;
  2413. left: 50%;
  2414. transform: translateX(-50%);
  2415. }
  2416. }
  2417. .Moerror {
  2418. padding-top: 20px;
  2419. font-size: 20px;
  2420. text-align: center;
  2421. position: absolute;
  2422. left: 0;
  2423. top: 0;
  2424. width: 100%;
  2425. height: 100%;
  2426. background-color: rgba(0, 0, 0, 0.5);
  2427. color: #fff;
  2428. .errBtn {
  2429. color: #b24340;
  2430. border-radius: 8px;
  2431. display: flex;
  2432. justify-content: center;
  2433. align-items: center;
  2434. width: 182px;
  2435. height: 34px;
  2436. background-color: rgba(237, 211, 176, 1);
  2437. position: absolute;
  2438. bottom: 20px;
  2439. left: 50%;
  2440. transform: translateX(-50%);
  2441. }
  2442. }
  2443. }
  2444. .MotopicCuo {
  2445. text-align: center;
  2446. img {
  2447. width: 120px;
  2448. height: 120px;
  2449. margin: 50px 0 30px;
  2450. }
  2451. p {
  2452. font-size: 18px;
  2453. }
  2454. .btnAga {
  2455. border-radius: 8px;
  2456. display: flex;
  2457. justify-content: center;
  2458. align-items: center;
  2459. width: 182px;
  2460. height: 34px;
  2461. background-color: rgba(237, 211, 176, 0.4);
  2462. position: absolute;
  2463. bottom: 20px;
  2464. left: 50%;
  2465. transform: translateX(-50%);
  2466. }
  2467. }
  2468. .MotopicDui {
  2469. & > p {
  2470. font-size: 14px;
  2471. font-weight: 200;
  2472. margin-bottom: 3px;
  2473. }
  2474. padding: 0 15px;
  2475. position: relative;
  2476. max-height: 340px;
  2477. overflow-y: auto;
  2478. .inpName {
  2479. color: #fff;
  2480. position: absolute;
  2481. left: 0;
  2482. bottom: 0;
  2483. width: 100%;
  2484. height: 100%;
  2485. background-color: rgba(0, 0, 0, 0.7);
  2486. .MoShuru {
  2487. text-align: center;
  2488. font-size: 16px;
  2489. width: 80%;
  2490. margin: 20px auto;
  2491. p {
  2492. margin: 20px 0;
  2493. }
  2494. }
  2495. .inpBtnOk {
  2496. border-radius: 8px;
  2497. display: flex;
  2498. justify-content: center;
  2499. align-items: center;
  2500. width: 182px;
  2501. height: 34px;
  2502. background-color: rgba(237, 211, 176, 0.4);
  2503. position: absolute;
  2504. bottom: 20px;
  2505. left: 50%;
  2506. transform: translateX(-50%;);
  2507. }
  2508. }
  2509. .MoqrCode {
  2510. position: absolute;
  2511. top: 0px;
  2512. right: 15px;
  2513. width: 80px;
  2514. height: 80px;
  2515. img {
  2516. width: 100%;
  2517. height: 100%;
  2518. }
  2519. }
  2520. .MotopicDui1 {
  2521. font-size: 16px;
  2522. margin-bottom: 5px;
  2523. span {
  2524. font-size: 20px;
  2525. }
  2526. }
  2527. }
  2528. }
  2529. .MoTab3 {
  2530. .conten {
  2531. background: url("../../assets/tabMo/moTabBac3.png") !important;
  2532. background-size: 100% 100% !important;
  2533. }
  2534. .moLiuYan {
  2535. padding-right: 10px;
  2536. height: 330px;
  2537. overflow-y: auto;
  2538. width: 90%;
  2539. margin: 0 auto;
  2540. li {
  2541. border-bottom: 1px dashed #edd3b0;
  2542. padding: 10px 0;
  2543. width: 100%;
  2544. & > div {
  2545. margin-bottom: 5px;
  2546. display: flex;
  2547. justify-content: space-between;
  2548. & > span {
  2549. font-weight: 200;
  2550. font-size: 14px;
  2551. }
  2552. .name {
  2553. font-weight: 500;
  2554. font-size: 18px;
  2555. }
  2556. }
  2557. p {
  2558. width: 100%;
  2559. height: auto;
  2560. word-wrap: break-word;
  2561. word-break: break-all;
  2562. font-size: 16px;
  2563. }
  2564. }
  2565. }
  2566. .MoTab3Liu {
  2567. color: #b24340;
  2568. border-radius: 8px;
  2569. display: flex;
  2570. justify-content: center;
  2571. align-items: center;
  2572. width: 131px;
  2573. height: 34px;
  2574. background-color: rgba(237, 211, 176, 1);
  2575. position: absolute;
  2576. bottom: 20px;
  2577. left: 50%;
  2578. transform: translateX(-50%);
  2579. }
  2580. .MoTab3LiuInp {
  2581. /deep/.el-textarea {
  2582. border-radius: 8px;
  2583. border: 1px solid #edd3b0;
  2584. margin-bottom: 15px;
  2585. }
  2586. /deep/.el-radio__inner::after {
  2587. background-color: #f0af7c;
  2588. }
  2589. /deep/.el-radio__input.is-checked .el-radio__inner::after {
  2590. transform: translate(-50%, -50%) scale(2.5);
  2591. }
  2592. /deep/.el-radio__inner {
  2593. background-color: transparent;
  2594. }
  2595. width: 90%;
  2596. margin: 0 auto;
  2597. /deep/.el-input__inner {
  2598. background-color: transparent;
  2599. border-bottom: 1px solid #f0af7c;
  2600. }
  2601. /deep/.el-radio {
  2602. margin: 10px 0;
  2603. }
  2604. /deep/.el-radio__input.is-checked .el-radio__inner {
  2605. border-color: #f0af7c;
  2606. background: transparent;
  2607. }
  2608. /deep/.el-radio__inner {
  2609. width: 16px;
  2610. height: 16px;
  2611. }
  2612. .Momybtn {
  2613. color: #b24340;
  2614. border-radius: 8px;
  2615. display: flex;
  2616. justify-content: center;
  2617. align-items: center;
  2618. width: 131px;
  2619. height: 34px;
  2620. background-color: rgba(237, 211, 176, 1);
  2621. position: absolute;
  2622. bottom: 20px;
  2623. left: 50%;
  2624. transform: translateX(-50%);
  2625. }
  2626. }
  2627. }
  2628. .MoTab4 {
  2629. /deep/.el-select .el-input .el-select__caret {
  2630. display: flex;
  2631. justify-content: center;
  2632. align-items: center;
  2633. }
  2634. .MoRWbac {
  2635. background: url("../../assets/tab/dakaMo1.png");
  2636. background-size: 100% 100%;
  2637. position: absolute;
  2638. left: 0;
  2639. top: 0;
  2640. width: 100%;
  2641. height: 100%;
  2642. & > img {
  2643. width: 100%;
  2644. height: 100%;
  2645. }
  2646. }
  2647. .MoRWbac2 {
  2648. background: url("../../assets/tab/dakaMo2.png");
  2649. background-size: 100% 100%;
  2650. }
  2651. .MoRWbac3 {
  2652. background: url("../../assets/tab/dakaMo3.png");
  2653. background-size: 100% 100%;
  2654. // .Motitle {
  2655. // color: #b24340;
  2656. // border-bottom: 1px solid #b24340;
  2657. // }
  2658. // .tab4Name {
  2659. // color: #b24340;
  2660. // }
  2661. }
  2662. .MoRWbac4 {
  2663. background: url("../../assets/tab/dakaMo4.png");
  2664. background-size: 100% 100%;
  2665. .Motitle {
  2666. color: #b24340;
  2667. border-bottom: 1px solid #b24340;
  2668. }
  2669. .tab4Name {
  2670. color: #b24340;
  2671. }
  2672. }
  2673. .MoRWbac5 {
  2674. background: url("../../assets/tab/dakaMo5.png");
  2675. background-size: 100% 100%;
  2676. .Motitle {
  2677. color: #b24340;
  2678. border-bottom: 1px solid #b24340;
  2679. }
  2680. .tab4Name {
  2681. color: #b24340;
  2682. }
  2683. }
  2684. .MoRWbac6 {
  2685. background: url("../../assets/tab/dakaMo6.png");
  2686. background-size: 100% 100%;
  2687. .Motitle {
  2688. color: #b24340;
  2689. border-bottom: 1px solid #b24340;
  2690. }
  2691. .tab4Name {
  2692. color: #b24340;
  2693. }
  2694. }
  2695. .Motitle {
  2696. font-size: 16px;
  2697. }
  2698. .conten {
  2699. .btnX {
  2700. background: url("../../assets/tab/×.png");
  2701. background-size: 100% 100%;
  2702. }
  2703. .btnX3 {
  2704. background: url("../../assets/tab/×.png");
  2705. background-size: 100% 100%;
  2706. }
  2707. .btnX4 {
  2708. background: url("../../assets/tab/×Red.png");
  2709. background-size: 100% 100%;
  2710. }
  2711. .btnX5 {
  2712. background: url("../../assets/tab/×Red.png");
  2713. background-size: 100% 100%;
  2714. }
  2715. .btnX6 {
  2716. background: url("../../assets/tab/×Red.png");
  2717. background-size: 100% 100%;
  2718. }
  2719. background: none;
  2720. .MoinpName {
  2721. z-index: 999;
  2722. position: absolute;
  2723. background-color: rgba(0, 0, 0, 0.5);
  2724. left: 0;
  2725. bottom: 0;
  2726. width: 100%;
  2727. height: 90%;
  2728. .shuru {
  2729. width: 220px;
  2730. margin: 50px auto 0;
  2731. /deep/.el-input {
  2732. width: 220px;
  2733. margin: 20px 0;
  2734. }
  2735. }
  2736. .MoinpBtnOk {
  2737. color: #b24340;
  2738. border-radius: 8px;
  2739. display: flex;
  2740. justify-content: center;
  2741. align-items: center;
  2742. width: 131px;
  2743. height: 34px;
  2744. background-color: rgba(237, 211, 176, 1);
  2745. position: absolute;
  2746. bottom: 20px;
  2747. left: 50%;
  2748. transform: translateX(-50%);
  2749. }
  2750. }
  2751. .tab4Name {
  2752. margin: 20px 0 0 0;
  2753. text-align: center;
  2754. font-size: 20px;
  2755. & > span {
  2756. margin: 20px 0 0 0;
  2757. display: block;
  2758. font-size: 26px;
  2759. }
  2760. }
  2761. .MoqrCode {
  2762. position: absolute;
  2763. left: 5px;
  2764. top: 85px;
  2765. width: 100px;
  2766. height: 100px;
  2767. & > img {
  2768. width: 100%;
  2769. height: 100%;
  2770. }
  2771. }
  2772. .MoDownload {
  2773. color: #b24340;
  2774. border-radius: 6px;
  2775. display: flex;
  2776. justify-content: center;
  2777. align-items: center;
  2778. width: 182px;
  2779. height: 34px;
  2780. background-color: #edd3b0;
  2781. position: absolute;
  2782. bottom: 15px;
  2783. left: 50%;
  2784. transform: translateX(-50%;);
  2785. }
  2786. }
  2787. }
  2788. .MoTab5 {
  2789. .conten {
  2790. background: url("../../assets/tabMo/moTabBac5.png");
  2791. background-size: 100% 100%;
  2792. .biaoti {
  2793. font-size: 20px;
  2794. width: 80%;
  2795. margin: 0 auto 0;
  2796. text-align: center;
  2797. margin-bottom: 30px;
  2798. margin-top: 30px;
  2799. }
  2800. .Motab5ER {
  2801. margin: 20px auto 0;
  2802. width: 180px;
  2803. height: 300px;
  2804. & > img {
  2805. width: 180px;
  2806. height: 180px;
  2807. }
  2808. & > p {
  2809. text-align: center;
  2810. margin: 30px 0;
  2811. }
  2812. .tab5Box {
  2813. color: #edd3b0;
  2814. margin: 0 auto;
  2815. border-radius: 8px;
  2816. display: flex;
  2817. justify-content: center;
  2818. align-items: center;
  2819. width: 180px;
  2820. height: 34px;
  2821. background-color: rgba(237, 211, 176, 0.4);
  2822. }
  2823. }
  2824. }
  2825. }
  2826. }
  2827. @media only screen and (max-width: 487px) {
  2828. #myMoMu {
  2829. display: none !important;
  2830. }
  2831. #gui-modes-floorplan {
  2832. margin-bottom: 0 !important;
  2833. }
  2834. #myMoMu img {
  2835. margin-left: 12px;
  2836. }
  2837. .viewContainer {
  2838. background-color: rgba(0, 0, 0, 0.5);
  2839. padding: 15px 0 10px;
  2840. border-radius: 50px;
  2841. }
  2842. @wh: 22px;
  2843. @margin: 10px;
  2844. #play,
  2845. #pause {
  2846. margin-bottom: @margin;
  2847. img {
  2848. width: @wh;
  2849. height: @wh;
  2850. }
  2851. }
  2852. #gui-modes-map {
  2853. > div {
  2854. margin-bottom: @margin;
  2855. > img {
  2856. width: @wh;
  2857. height: @wh;
  2858. display: block;
  2859. }
  2860. .active {
  2861. display: none;
  2862. }
  2863. }
  2864. .active {
  2865. > img {
  2866. display: none;
  2867. }
  2868. .active {
  2869. display: block;
  2870. }
  2871. }
  2872. }
  2873. .bgandshare {
  2874. display: none !important;
  2875. display: flex;
  2876. position: fixed;
  2877. left: 50px;
  2878. bottom: 25px;
  2879. flex-direction: column;
  2880. margin-right: 10px !important;
  2881. > div {
  2882. width: @wh!important;
  2883. img {
  2884. width: 100%;
  2885. }
  2886. }
  2887. }
  2888. #volume {
  2889. background-color: transparent !important;
  2890. }
  2891. }
  2892. @media only screen and (max-width: 360px) {
  2893. .centenName {
  2894. left: 45%;
  2895. font-size: 12px;
  2896. }
  2897. }
  2898. </style>