home.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. <template>
  2. <view class="mybody bgclF8 df fdc">
  3. <TopMenu ref="TopMenu" v-on:onTopSYClick="onTopSYClick" v-on:onTopQXZBClick="onTopQXZBClick"
  4. v-on:onLoginClick="onLoginClick" v-on:onTopXXYSYClick="onTopXXYSYClick"
  5. v-on:onTopMenuIconClick="onTopMenuIconClick" v-on:onClick_return="onClick_return"
  6. v-on:onClick_avatar="onClick_avatar" v-on:onClick_topMenu_sy="onClick_topMenu_sy"
  7. v-on:onClick_exit="onClick_userExit"></TopMenu>
  8. <view class="content homeContent">
  9. <Login ref="Login" v-show="bShow[0]" v-on:onLogin="onLogin"></Login>
  10. <SYJJ ref="SYJJ" v-show="bShow[1]" v-on:onClick_Btn1="onClick_SYJJ_btn1"></SYJJ>
  11. <!-- <XXLC ref="XXLC" v-show="bShow[2]" v-on:onClick_ksxx="onClick_ksxx"></XXLC> -->
  12. <XQDL ref="XQDL" v-show="bShow[2]" v-on:onClick_Btn1="onClick_XQDL_btn1"></XQDL>
  13. <KSXX ref="KSXX" v-show="bShow[3]" v-on:on2thTitleClick="on2thKSXXClick"></KSXX>
  14. <!-- <image v-show="bShow[4]" class="homeBG" mode="aspectFill" src="../assets/home/homeBG.png"></image> -->
  15. <SY ref="SY" v-show="bShow[4]" v-on:onClick_menu_btn="onClick_sy_btn"></SY>
  16. <QXZB ref="QXZB" v-show="bShow[5]"></QXZB>
  17. <XXYSY ref="XXYSY" v-show="bShow[6]" v-on:onClick_KSRZ="onClick_KSRZ" v-on:onClick_KSKC="onClick_KSKC"
  18. v-on:onShowWebview720="onShowWebview720"></XXYSY>
  19. <YLRZ ref="YLRZ" v-show="bShow[7]"></YLRZ>
  20. <SYJJ2 ref="SYJJ2" v-show="bShow[8]"></SYJJ2>
  21. <simulation ref="simulation" v-show="bShow[9]"></simulation>
  22. <simulationLibrary ref="simulationLibrary" v-show="bShow[10]"></simulationLibrary>
  23. <simulationcore ref="simulationcore" v-show="bShow[11]" v-on:goToTeachCreation="goToTeachCreation"
  24. v-on:goToStudentPlatform="goToStudentPlatform"></simulationcore>
  25. <simulationBase ref="simulationBase" v-show="bShow[12]"></simulationBase>
  26. <teacherCreation ref="teacherCreation" v-show="bShow[13]"></teacherCreation>
  27. <User ref="User" v-show="bShow[14]" v-on:onClick_proManage="onClick_proManage"></User>
  28. <XXGY ref="XXGY" v-show="bShow[15]"></XXGY>
  29. <SYBZ ref="SYBZ" v-show="bShow[16]" v-on:onClick_ksxx="onClick_ksxx"></SYBZ>
  30. <SYYDSP ref="SYYDSP" v-show="bShow[17]"></SYYDSP>
  31. <student ref="student" v-show="bShow[18]"></student>
  32. <vstudentPlatform ref="vstudentPlatform" v-show="bShow[19]"></vstudentPlatform>
  33. <survey ref="survey" v-show="bShow[20]"></survey>
  34. <SJKC ref="SJKC" v-show="bShow[21]"></SJKC>
  35. <XXZLXZ ref="XXZLXZ" v-show="bShow[22]"></XXZLXZ>
  36. </view>
  37. <!-- 左侧导航栏永远保持在最上层 -->
  38. <LeftMenu ref="LeftMenu" v-on:onLeftMenuClick="onLeftMenuClick"></LeftMenu>
  39. <webview720 ref="webview720"></webview720>
  40. <shutDownWebview ref="shutDownWebview" v-on:onHideWebview="onHideWebview" v-on:onClick_KSKC="onClick_KSKC"></shutDownWebview>
  41. </view>
  42. </template>
  43. <script>
  44. import SY from '../components/home/sy.vue'
  45. import LeftMenu from '../components/leftMenu.vue'
  46. import TopMenu from '../components/topMenu.vue'
  47. import Login from '../components/login/login.vue'
  48. import simulation from "../components/home/simulation.vue"
  49. import simulationLibrary from "../components/home/simulationLibrary.vue"
  50. import simulationcore from "../components/home/simulationCore.vue"
  51. import simulationBase from "../components/home/simulationBase.vue"
  52. import teacherCreation from "../components/home/teacherCreation.vue"
  53. import vstudentPlatform from "../components/student/Index.vue"
  54. import student from "../components/student/commoand.vue"
  55. import survey from "../components/student/survey.vue"
  56. //一级页面
  57. import KSXX from '../components/startLearning/startLearning.vue' //开始学习
  58. import SYJJ from '../components/introductionToTheExperiment/introductionToTheExperiment.vue' //实验简介
  59. // import XXLC from '../components/learningProcess/learningProcess.vue' //学习流程
  60. //二级页面
  61. //开始学习
  62. import QXZB from '../components/startLearning/preludePreparation/preludePreparation.vue' //前序准备
  63. import XXYSY from '../components/startLearning/learningAndExperiment/learningAndExperiment.vue' //学习与实验
  64. import YLRZ from '../components/startLearning/learningAndExperiment/ksxx_xxysy_ylrz/ksxx_xxysy_ylrz.vue' //原理认知
  65. //实验简介的详情页
  66. import SYJJ2 from '../components/introductionToTheExperiment/syjj_second.vue' //实验简介的详情页
  67. import User from '../components/user/user.vue' //用户信息等
  68. import XQDL from '../components/learningProcess/xqdl.vue' //学前导览
  69. import XXGY from '../components/learningProcess/xxgy.vue' //学习概要
  70. import SYBZ from '../components/learningProcess/learningProcess.vue' //实验步骤
  71. import SYYDSP from '../components/learningProcess/syydsp.vue' //实验引导视频
  72. import XXZLXZ from '../components/learningProcess/xxzlxz.vue' //学习资料下载
  73. import SJKC from '../components/startLearning/learningAndExperiment/ksxx_xxysy_sjkc/ksxx_xxysy_sjkc.vue' //实景勘察
  74. import shutDownWebview from '../components/home/shutDownWebview.vue' //实景勘察720
  75. import webview720 from '../components/home/webview720.vue' //实景勘察720
  76. export default {
  77. components: {
  78. LeftMenu,
  79. TopMenu,
  80. Login,
  81. SYJJ,
  82. XQDL,
  83. KSXX,
  84. QXZB,
  85. XXYSY,
  86. YLRZ,
  87. SYJJ2,
  88. simulation,
  89. simulationLibrary,
  90. simulationcore,
  91. simulationBase,
  92. teacherCreation,
  93. User,
  94. XXGY,
  95. SYBZ,
  96. SYYDSP,
  97. SY,
  98. student,
  99. vstudentPlatform,
  100. survey,
  101. SJKC,
  102. XXZLXZ,
  103. shutDownWebview,
  104. webview720
  105. },
  106. data() {
  107. return {
  108. curShowPage: 4,
  109. //这里记录当前需要显示哪个页面。每新添加一个页面,都需要在这里注册。
  110. bShow: [
  111. false, //0登录
  112. false, //1实验简介一级页面
  113. false, //2学习流程一级页面----改为学前导览
  114. false, //3开始学习一级页面
  115. true, //4首页
  116. false, //5开始学习-前序准备
  117. false, //6开始学习-学习与实验
  118. false, //7开始学习-学习与实验-原理认知
  119. false, //8实验简介的详情页
  120. false, //9虚拟仿真1号摄影棚
  121. false, //10虚拟仿真资产库
  122. false, //11虚拟影视项目开发管理中心
  123. false, //12虚拟仿真真题拍摄基地
  124. false, //13老师创作管理平台
  125. false, //14用户(个人信息等)
  126. false, //15学习概要
  127. false, //16实验步骤
  128. false, //17实验引导视频
  129. false, //18 学生信息
  130. false, //19 学生创作项目管理平台
  131. false, //20开始勘测
  132. false, //21实景勘察
  133. false, //22学习资料下载
  134. ],
  135. checkedIndex_SYJJ: 0, //实验简介选中标题索引值
  136. }
  137. },
  138. onLoad() {
  139. let account = localStorage.getItem("account");
  140. let password = localStorage.getItem("password");
  141. if (account != null && password != null) {
  142. let url = this.$Api + "/user/loginin";
  143. uni.request({
  144. header: {
  145. 'Content-Type': 'application/json;charset=UTF-8'
  146. },
  147. url: url,
  148. method: 'POST',
  149. data: {
  150. "IlabAccount": account,
  151. "Password": password
  152. },
  153. dataType: 'json',
  154. success: (res) => {
  155. let data = res.data;
  156. //登录成功
  157. if (data.Code == 100) {
  158. // console.log("登陆成功");
  159. if (data.Image != '') {
  160. mydata_userInfo.avatarSrc = data.Image;
  161. }
  162. console.log("登陆成功data=", data);
  163. mydata_userInfo.Name = data.Name;
  164. mydata_userInfo.UserID = data.UserID;
  165. mydata_userInfo.Position = data.Position;
  166. mydata_userInfo.role = data.Type;
  167. if (mydata_userInfo.role == '老师') {
  168. userController.updateStudentList(null, null);
  169. }
  170. userController.updateUserInfo();
  171. userController.updateScore();
  172. // MyRequest.SetUserType(mydata_userInfo.role,null,null);
  173. getApp().globalData.bLogin = true;
  174. this.onLogin();
  175. }
  176. },
  177. fail: (res) => {
  178. console.log("fail+**+*", res)
  179. }
  180. });
  181. }
  182. },
  183. methods: {
  184. onTopSYClick(index) {
  185. if (!getApp().globalData.bLogin) {
  186. alert('请先登录')
  187. return
  188. };
  189. // console.log("点击了首页标题", index, myData_QXZB_SYQY.length);
  190. let pageIndex = -1;
  191. switch (index) {
  192. case 0: //实验简介
  193. pageIndex = 1;
  194. // this.$refs.SYJJ.initData();
  195. break;
  196. case 1: //学习流程
  197. pageIndex = 2;
  198. // this.$refs.XXLC.initData();
  199. break;
  200. case 2: //开始学习
  201. pageIndex = 3;
  202. this.$refs.KSXX.initData();
  203. break;
  204. default:
  205. console.log("选中状态为home:", state);
  206. }
  207. this.showPage(pageIndex);
  208. },
  209. onLogin: function() {
  210. // console.log("登陆成功home");
  211. this.$refs.TopMenu.switchLoginState(true);
  212. this.showPage(4);
  213. },
  214. showPage(index) {
  215. this.curShowPage = index;
  216. for (let i = 0; i < this.bShow.length; i++) {
  217. if (i == index) {
  218. this.bShow[i] = true;
  219. } else {
  220. this.bShow[i] = false;
  221. }
  222. }
  223. // console.log("显示页面", index, this.bShow, this.bShow.length);
  224. this.$forceUpdate();
  225. },
  226. //2级开始学习标题点击事件
  227. on2thKSXXClick(data) {
  228. // console.log("2级点击", data);
  229. let lineIndex = data.indexOf("-");
  230. let type = data.substr(0, lineIndex)
  231. let index = data.substr(lineIndex + 1, data.length - 1)
  232. // console.log("2级点击home---", type, index);
  233. //前序准备
  234. if (type == "QXZB") {
  235. this.showPage(5)
  236. this.$refs.TopMenu.switchMiddleState(topMenuS.QXZB, index);
  237. this.$refs.QXZB.onTopQXZBClick(index);
  238. }
  239. //学习与实验
  240. else if (type == "XXYSY") {
  241. this.showPage(6)
  242. this.$refs.TopMenu.switchMiddleState(topMenuS.XXYSY, index);
  243. this.$refs.XXYSY.onTopXXYSYClick(index);
  244. } else {
  245. console.log("2级点击---", lineIndex, type, index);
  246. }
  247. },
  248. //顶部前序准备小标题点击事件
  249. onTopQXZBClick(index) {
  250. // console.log("顶部点击home",index);
  251. this.$refs.QXZB.onTopQXZBClick(index);
  252. },
  253. //顶部学习与实验小标题点击事件
  254. onTopXXYSYClick(index) {
  255. // console.log("顶部点击home",index);
  256. this.$refs.XXYSY.onTopXXYSYClick(index);
  257. },
  258. //左侧导航点击事件
  259. onLeftMenuClick(indexArr) {
  260. let targetPage = -1;
  261. let topMiddleState = '';
  262. let target2thIndex = indexArr[1];
  263. switch (indexArr[0]) {
  264. case 0: //首页
  265. if (indexArr[1] == 0) {
  266. targetPage = 9;
  267. topMiddleState = topMenuS.home1;
  268. } else if (indexArr[1] == 1) {
  269. targetPage = 10;
  270. topMiddleState = topMenuS.home2;
  271. } else if (indexArr[1] == 2) {
  272. targetPage = 11;
  273. topMiddleState = topMenuS.home3;
  274. } else if (indexArr[1] == 3) {
  275. targetPage = 12;
  276. topMiddleState = topMenuS.home4;
  277. } else if (indexArr[1] == 4) {
  278. targetPage = 13;
  279. topMiddleState = topMenuS.home5;
  280. } else {
  281. targetPage = 4;
  282. topMiddleState = topMenuS.SY;
  283. }
  284. break;
  285. case 1: //实验简介
  286. if (indexArr[1] == 1) {
  287. //点击快速进入实验后跳转到原理认知页
  288. targetPage = 6;
  289. topMiddleState = topMenuS.XXYSY;
  290. this.$refs.XXYSY.onTopXXYSYClick(0);
  291. target2thIndex = 0;
  292. } else {
  293. targetPage = 8;
  294. topMiddleState = topMenuS.SYJJ;
  295. this.$refs.SYJJ2.showPage(indexArr[1]);
  296. this.$refs.TopMenu.switchState_syjj(indexArr[1]);
  297. }
  298. break;
  299. case 2: //学习流程
  300. switch (indexArr[1]) {
  301. case 0: //学习概要
  302. targetPage = indexArr[1] + 15;
  303. topMiddleState = topMenuS.XXGY;
  304. break;
  305. case 1: //实验步骤
  306. targetPage = indexArr[1] + 15;
  307. topMiddleState = topMenuS.SYBZ;
  308. break;
  309. case 2: //实验引导视频
  310. targetPage = indexArr[1] + 15;
  311. topMiddleState = topMenuS.SYYDSP;
  312. break;
  313. case 3: //学习资料下载
  314. targetPage = 22;
  315. topMiddleState = topMenuS.XXZLXZ;
  316. break;
  317. default:
  318. }
  319. break;
  320. case 3: //开始学习
  321. targetPage = 6;
  322. topMiddleState = topMenuS.XXYSY;
  323. this.$refs.XXYSY.checkedIndex_topTitle = indexArr[1];
  324. break;
  325. case 4:
  326. targetPage = 18;
  327. topMiddleState = topMenuS.info;
  328. break;
  329. case 5:
  330. targetPage = 19;
  331. topMiddleState = topMenuS.info;
  332. break;
  333. case 6:
  334. targetPage = 20;
  335. topMiddleState = '开始勘测'
  336. break;
  337. default:
  338. console.log("展示页面home:", this.curShowPage);
  339. }
  340. this.showPage(targetPage);
  341. this.$refs.TopMenu.switchMiddleState(topMiddleState, target2thIndex);
  342. // console.log("左侧导航点击home", indexArr);
  343. this.$forceUpdate();
  344. },
  345. goToTeachCreation() {
  346. this.showPage(13);
  347. },
  348. goToStudentPlatform() {
  349. this.showPage(19);
  350. this.$refs.vstudentPlatform.updateInfo();
  351. },
  352. //顶部导航左上角icon点击事件
  353. onTopMenuIconClick() {
  354. if (!getApp().globalData.bLogin) {
  355. alert('请先登录')
  356. return
  357. };
  358. let indexArr = [];
  359. switch (this.curShowPage) {
  360. case 0: //登录
  361. indexArr = [-1, -1];
  362. break;
  363. case 1: //实验简介1级
  364. indexArr = [1, -1];
  365. break;
  366. case 2: //学习流程1级
  367. indexArr = [2, -1];
  368. break;
  369. case 3: //开始学习1级
  370. indexArr = [3, -1];
  371. break;
  372. case 4: //首页
  373. indexArr = [0, -1];
  374. break;
  375. case 5: //开始学习-前序准备
  376. indexArr = [3, 0];
  377. break;
  378. case 6: //开始学习-学习与实验
  379. indexArr = [3, 1];
  380. break;
  381. case 7: //开始学习-学习与实验-原理认知
  382. indexArr = [3, 1];
  383. break;
  384. case 8: //实验简介2级
  385. indexArr = [1, this.checkedIndex_SYJJ];
  386. break;
  387. default:
  388. console.log("展示页面home:", this.curShowPage);
  389. }
  390. this.$refs.LeftMenu.show(indexArr);
  391. },
  392. //开始学习-学习与实验-开始认知按钮
  393. onClick_KSRZ() {
  394. this.showPage(7);
  395. this.$refs.TopMenu.switchMiddleState(topMenuS.YLRZ, -1);
  396. },
  397. //开始学习-实景勘察-开始勘察按钮
  398. onClick_KSKC() {
  399. this.showPage(21);
  400. this.$refs.TopMenu.switchMiddleState(topMenuS.SJKC, -1);
  401. },
  402. onClick_return(type) {
  403. //从首页建筑页返回到首页
  404. if (type == 9 || type == 10 || type == 11 || type == 12) {
  405. this.showPage(4);
  406. this.$refs.SY.initData();
  407. }
  408. //学前导览三级级返回到学前导览
  409. else if (type == 5 || type == 6 || type == 7 || type == 8) {
  410. this.showPage(2);
  411. } else {
  412. switch (type) {
  413. case 1: //前序准备-返回上一层:返回到开始学习-前序准备的展开页 type-1
  414. this.showPage(3);
  415. this.$refs.KSXX.switchSecondTitle(0);
  416. break;
  417. case 2: //学习与实验-返回上一层:返回到开始学习-学习与实验的展开页 type-2
  418. this.showPage(3);
  419. this.$refs.KSXX.switchSecondTitle(1);
  420. break;
  421. case 3: //原理认知-返回上一层:返回到开始学习-学习与实验-原理认知页 type-3
  422. this.showPage(6);
  423. this.$refs.XXYSY.checkedIndex_topTitle = 0;
  424. break;
  425. case 4: //实验简介-返回上一层:返回到实验简介的展开页 type-4
  426. this.showPage(1);
  427. break;
  428. case 14: //开始勘察-返回上一层:返回到开始学习-实景勘察页
  429. this.showPage(6);
  430. this.$refs.XXYSY.checkedIndex_topTitle = 1;
  431. break;
  432. default:
  433. console.log("返回上一层", type);
  434. }
  435. }
  436. },
  437. //实验简介按钮点击
  438. onClick_SYJJ_btn1(index) {
  439. if (index == 1) { //点击快速进入实验后跳转到原理认知页
  440. this.showPage(6)
  441. this.$refs.TopMenu.switchMiddleState(topMenuS.XXYSY, 0);
  442. this.$refs.XXYSY.onTopXXYSYClick(0);
  443. } else {
  444. this.showPage(8);
  445. this.checkedIndex_SYJJ = index;
  446. this.$refs.SYJJ2.showPage(index);
  447. this.$refs.TopMenu.switchMiddleState(topMenuS.SYJJ, -1);
  448. this.$refs.TopMenu.switchState_syjj(index);
  449. this.$forceUpdate();
  450. }
  451. },
  452. onClick_ksxx() {
  453. this.showPage(3);
  454. this.$refs.KSXX.initData();
  455. this.$refs.TopMenu.switchMiddleState(topMenuS.SY, 2);
  456. },
  457. //顶部导航栏-头像点击事件
  458. onClick_avatar() {
  459. this.showPage(14);
  460. this.$refs.User.initData();
  461. },
  462. //学前导览
  463. onClick_XQDL_btn1(index) {
  464. let targetPage = 0;
  465. switch (index) {
  466. case 0: //学习概要
  467. this.$refs.TopMenu.switchMiddleState(topMenuS.XXGY, -1);
  468. targetPage = index + 15;
  469. break;
  470. case 1: //实验步骤
  471. this.$refs.TopMenu.switchMiddleState(topMenuS.SYBZ, -1);
  472. targetPage = index + 15;
  473. break;
  474. case 2: //实验引导视频
  475. this.$refs.TopMenu.switchMiddleState(topMenuS.SYYDSP, -1);
  476. targetPage = index + 15;
  477. break;
  478. case 3: //学习资料下载
  479. this.$refs.TopMenu.switchMiddleState(topMenuS.XXZLXZ, -1);
  480. targetPage = 22;
  481. break;
  482. default:
  483. console.log("onClick_XQDL_btn1", type);
  484. }
  485. this.showPage(targetPage);
  486. },
  487. //顶部导航点击"影视现场实时特效虚拟仿真实验"
  488. onClick_topMenu_sy() {
  489. this.showPage(4);
  490. this.$refs.SY.initData();
  491. },
  492. //首页建筑按钮点击事件
  493. onClick_sy_btn(index) {
  494. let targetPage = -1;
  495. let topMiddleState = '';
  496. switch (index) {
  497. case 0: //资产库
  498. targetPage = 10;
  499. topMiddleState = topMenuS.home2;
  500. this.$refs.simulationLibrary.init();
  501. break;
  502. case 1: //摄影棚
  503. targetPage = 9;
  504. topMiddleState = topMenuS.home1;
  505. break;
  506. case 2: //管理中心
  507. targetPage = 11;
  508. topMiddleState = topMenuS.home3;
  509. this.$refs.simulationcore.init();
  510. break;
  511. case 3: //拍摄基地
  512. targetPage = 12;
  513. topMiddleState = topMenuS.home4;
  514. break;
  515. default:
  516. console.log("展示页面home:", this.curShowPage);
  517. }
  518. this.showPage(targetPage);
  519. this.$refs.TopMenu.switchMiddleState(topMiddleState, index);
  520. this.$forceUpdate();
  521. },
  522. //项目管理平台
  523. onClick_proManage() {
  524. let targetPage = -1;
  525. let topMiddleState = '';
  526. if (mydata_userInfo.role == '老师') {
  527. targetPage = 13;
  528. } else {
  529. targetPage = 19;
  530. this.$refs.vstudentPlatform.updateInfo();
  531. }
  532. topMiddleState = topMenuS.SY;
  533. this.showPage(targetPage);
  534. this.$refs.TopMenu.switchMiddleState(topMiddleState, -1);
  535. this.$forceUpdate();
  536. },
  537. //用户退出
  538. onClick_userExit() {
  539. this.showPage(4);
  540. this.$refs.TopMenu.switchMiddleState(topMenuS.SY, -1);
  541. },
  542. onLoginClick() {
  543. this.showPage(0);
  544. this.$refs.Login.initData();
  545. this.$refs.TopMenu.switchMiddleState(topMenuS.SY, -1);
  546. },
  547. onHideWebview() {
  548. this.$refs.TopMenu.hideTopMenu(true);
  549. this.$refs.webview720.onClickShutWebview();
  550. },
  551. onShowWebview720() {
  552. this.$refs.TopMenu.hideTopMenu(false);
  553. this.$refs.shutDownWebview.onClickShow();
  554. this.$refs.webview720.onClickShow();
  555. }
  556. }
  557. }
  558. </script>
  559. <style lang="scss">
  560. .homeBG {
  561. width: 100%;
  562. height: 100%;
  563. }
  564. .homeContent {
  565. margin-top: px2vw(120);
  566. }
  567. </style>