Menu.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. <template>
  2. <div>
  3. <TopPage></TopPage>
  4. <el-row class="main_right_height">
  5. <el-col :span="4" class="menu_style" style="position: relative">
  6. <div class="menu_title_top">
  7. <span class="menu_title_top_des">自助式认知行为干预系统</span>
  8. </div>
  9. <div class="menu_feature">
  10. <div style="margin-left: 10%">
  11. <img
  12. v-show="userType === 1"
  13. width="60px"
  14. height="60px"
  15. src="../assets/newImage/peopleUser.png"
  16. />
  17. <img
  18. v-show="userType === 2"
  19. width="60px"
  20. height="60px"
  21. src="../assets/newImage/peopleAdmin.png"
  22. />
  23. </div>
  24. <div class="update_pass">
  25. <div style="color: #ffffff; margin-bottom: 10px">
  26. {{ acount }}
  27. </div>
  28. <div>
  29. <span
  30. @click="updatePass()"
  31. style="cursor: pointer; color: #ffffff; font-size: 12px"
  32. >修改密码</span
  33. >
  34. </div>
  35. </div>
  36. </div>
  37. <el-menu
  38. :default-active="defaultUrl"
  39. class="el-menu-vertical-demo"
  40. @open="handleOpen"
  41. @close="handleClose"
  42. background-color="transparent"
  43. text-color="#d9dbdc"
  44. active-text-color="#ffffff"
  45. :popper-append-to-body="false"
  46. :router="true"
  47. >
  48. <!-- <el-menu-item index="" @click="goMain" v-show="true">
  49. <img class="menu_icon_cla" src="../assets/menuIcon/main.png" />
  50. <span slot="title" class="menu_text_cla">主页</span>
  51. </el-menu-item>
  52. <el-menu-item
  53. index="/menu/smart1"
  54. v-show="userType === 1"
  55. @click="menuClick('rjdh')"
  56. >
  57. <img
  58. class="menu_icon_cla"
  59. :src="require('@/assets/menuIcon/' + rjdhUrl)"
  60. />
  61. <span
  62. slot="title"
  63. class="menu_text_span"
  64. :style="{ color: rjdh ? '#ffffff' : '#0FB577' }"
  65. >智能对话</span
  66. >
  67. </el-menu-item>
  68. <el-menu-item
  69. index="/menu/evaluation"
  70. v-show="userType === 1"
  71. @click="menuClick('xlcp')"
  72. >
  73. <img
  74. class="menu_icon_cla"
  75. :src="require('@/assets/menuIcon/' + xlcpUrl)"
  76. />
  77. <span
  78. slot="title"
  79. class=""
  80. :style="{ color: xlcp ? '#ffffff' : '#0FB577' }"
  81. >心理测评</span
  82. >
  83. </el-menu-item>
  84. <el-menu-item
  85. index="/menu/relax"
  86. v-show="userType === 1"
  87. @click="menuClick('xlfs')"
  88. >
  89. <img
  90. class="menu_icon_cla"
  91. :src="require('@/assets/menuIcon/' + xlfsUrl)"
  92. />
  93. <span
  94. slot="title"
  95. :style="{ color: xlfs ? '#ffffff' : '#0FB577' }"
  96. class="menu_text_cla"
  97. >心理放松</span
  98. >
  99. </el-menu-item> -->
  100. <el-menu-item
  101. index="/menu/intervene"
  102. v-show="userType === 1"
  103. @click="menuClick('rzgy')"
  104. >
  105. <img
  106. class="menu_icon_cla"
  107. :src="require('@/assets/menuIcon/' + rzgyUrl)"
  108. />
  109. <span
  110. slot="title"
  111. :style="{ color: rzgy ? '#ffffff' : '#0FB577' }"
  112. class="menu_text_cla"
  113. >认知行为干预</span
  114. >
  115. </el-menu-item>
  116. <!-- <el-menu-item
  117. index="/menu/animation"
  118. v-show="userType === 1"
  119. @click="menuClick('swfk')"
  120. >
  121. <img
  122. class="menu_icon_cla"
  123. :src="require('@/assets/menuIcon/' + swfkUrl)"
  124. />
  125. <span slot="title" :style="{ color: swfk ? '#ffffff' : '#0FB577' }"
  126. >生物反馈训练</span
  127. >
  128. </el-menu-item> -->
  129. <el-menu-item
  130. index="/menu/manageUser"
  131. v-show="userType === 2"
  132. @click="menuManageClick('yhgl')"
  133. >
  134. <img
  135. class="menu_icon_cla"
  136. :src="require('@/assets/menuIcon/' + yhglUrl)"
  137. />
  138. <span
  139. slot="title"
  140. class="menu_text_cla"
  141. :style="{ color: yhgl ? '#ffffff' : '#0FB577' }"
  142. >用户管理</span
  143. >
  144. </el-menu-item>
  145. <!-- <el-menu-item
  146. index="/menu/manageUserScale"
  147. v-show="userType === 2"
  148. @click="menuManageClick('yhlt')"
  149. >
  150. <img
  151. class="menu_icon_cla"
  152. :src="require('@/assets/menuIcon/' + yhltUrl)"
  153. />
  154. <span
  155. slot="title"
  156. class="menu_text_cla"
  157. :style="{ color: yhlt ? '#ffffff' : '#0FB577' }"
  158. >用户聊天记录</span
  159. >
  160. </el-menu-item>
  161. <el-menu-item
  162. index="/menu/manageScaleUser"
  163. v-show="userType === 2"
  164. @click="menuManageClick('yhcp')"
  165. >
  166. <img
  167. class="menu_icon_cla"
  168. :src="require('@/assets/menuIcon/' + yhcpUrl)"
  169. />
  170. <span
  171. slot="title"
  172. class="menu_text_cla"
  173. :style="{ color: yhcp ? '#ffffff' : '#0FB577' }"
  174. >量表测评记录</span
  175. >
  176. </el-menu-item>
  177. <el-menu-item
  178. index="/menu/manageElectrical"
  179. v-show="userType === 2"
  180. @click="menuManageClick('yhfk')"
  181. >
  182. <img
  183. class="menu_icon_cla"
  184. :src="require('@/assets/menuIcon/' + yhfkUrl)"
  185. />
  186. <span
  187. slot="title"
  188. class="menu_text_cla"
  189. :style="{ color: yhfk ? '#ffffff' : '#0FB577' }"
  190. >生物反馈记录</span
  191. >
  192. </el-menu-item> -->
  193. <el-menu-item
  194. index="/menu/managePluse"
  195. v-show="userType === 2"
  196. @click="menuManageClick('yhgy')"
  197. >
  198. <img
  199. class="menu_icon_cla"
  200. :src="require('@/assets/menuIcon/' + yhgyUrl)"
  201. />
  202. <span
  203. slot="title"
  204. class="menu_text_cla"
  205. :style="{ color: yhgy ? '#ffffff' : '#0FB577' }"
  206. >认知行为干预记录</span
  207. >
  208. </el-menu-item>
  209. <!-- <el-menu-item
  210. index="/menu/manageEquipment"
  211. v-show="userType === 2"
  212. @click="menuManageClick('yhsb')"
  213. >
  214. <img
  215. class="menu_icon_cla"
  216. :src="require('@/assets/menuIcon/' + yhsbUrl)"
  217. />
  218. <span
  219. slot="title"
  220. class="menu_text_cla"
  221. :style="{ color: yhsb ? '#ffffff' : '#0FB577' }"
  222. >设备管理</span
  223. >
  224. </el-menu-item> -->
  225. </el-menu>
  226. <div class="foot_main_exit">
  227. <div class="menu_main_exit">
  228. <img
  229. @click="userExit"
  230. class="imgStyle"
  231. align="center"
  232. src="../assets/newImage/exit1.png"
  233. />&nbsp;&nbsp;
  234. <span class="exitLogin" @click="userExit" style="font-size: 14px"
  235. >退出登录</span
  236. >
  237. </div>
  238. </div>
  239. <!-- <div class="foot_main_menu">&nbsp;</div> -->
  240. </el-col>
  241. <el-col
  242. style="
  243. height: 100vh;
  244. overflow-y: no;
  245. overflow-x: no;
  246. position: relative;
  247. "
  248. :span="20"
  249. >
  250. <div class="menu_left_new">
  251. <router-view
  252. v-if="!$route.meta.keepAlive"
  253. class="menu_left_keep"
  254. ></router-view>
  255. <keep-alive>
  256. <router-view v-if="$route.meta.keepAlive" class="menu_left_keep" />
  257. </keep-alive>
  258. </div>
  259. <!-- <div class="foot_main">Copyright© 北京决明科技有限公司</div> -->
  260. <div class="foot_main">Copyright© 2023</div>
  261. </el-col>
  262. </el-row>
  263. <el-dialog
  264. title="修改密码"
  265. :visible.sync="centerDialogPass"
  266. width="45%"
  267. center
  268. >
  269. <el-form
  270. :model="ruleForm"
  271. :rules="rules"
  272. ref="ruleForm"
  273. label-width="100px"
  274. class="demo-ruleForm"
  275. >
  276. <el-form-item label="旧密码" prop="oldPass">
  277. <el-input
  278. type="password"
  279. v-model="ruleForm.oldPass"
  280. autocomplete="off"
  281. ></el-input>
  282. </el-form-item>
  283. <el-form-item label="新密码" prop="pass">
  284. <el-input
  285. type="password"
  286. v-model="ruleForm.pass"
  287. autocomplete="off"
  288. ></el-input>
  289. </el-form-item>
  290. <el-form-item label="确认密码" prop="checkPass">
  291. <el-input
  292. type="password"
  293. v-model="ruleForm.checkPass"
  294. autocomplete="off"
  295. ></el-input>
  296. </el-form-item>
  297. </el-form>
  298. <span slot="footer" class="dialog-footer">
  299. <el-button @click="centerDialogPass = false">取 消</el-button>
  300. <el-button type="primary" @click="submitForm('ruleForm')"
  301. >确 定</el-button
  302. >
  303. </span>
  304. </el-dialog>
  305. </div>
  306. </template>
  307. <script>
  308. const { ipcRenderer } = require("electron");
  309. import Utils from "./util.js";
  310. export default {
  311. data() {
  312. var validateOldPass = (rule, value, callback) => {
  313. if (!value) {
  314. return callback(new Error("旧密码不能为空"));
  315. } else if (value.length < 6) {
  316. return callback(new Error("旧密码不能小于6位"));
  317. } else {
  318. callback();
  319. }
  320. };
  321. var validatePass = (rule, value, callback) => {
  322. if (!value) {
  323. return callback(new Error("新密码不能为空"));
  324. } else if (value.length < 6) {
  325. return callback(new Error("新密码不能小于6位"));
  326. } else {
  327. callback();
  328. }
  329. };
  330. var validateCheckPass = (rule, value, callback) => {
  331. if (!value) {
  332. return callback(new Error("新密码不能为空"));
  333. } else if (value.length < 6) {
  334. return callback(new Error("新密码不能小于6位"));
  335. } else if (value !== this.ruleForm.pass) {
  336. return callback(new Error("两次输入密码不一致"));
  337. } else {
  338. callback();
  339. }
  340. };
  341. return {
  342. //人机对话
  343. rjdhUrl: "rjdh1.png",
  344. rjdh: true,
  345. //心理测评
  346. xlcpUrl: "rjdh.png",
  347. xlcp: true,
  348. xlfsUrl: "xlfs.png",
  349. xlfs: true,
  350. //认知干预
  351. rzgyUrl: "rzgy.png",
  352. rzgy: true,
  353. //生物反馈
  354. swfkUrl: "swfk.png",
  355. swfk: true,
  356. //管理页面
  357. //用户管理
  358. yhglUrl: "yhgl.png",
  359. yhgl: true,
  360. //用户聊天记录
  361. yhltUrl: "yhlt.png",
  362. yhlt: true,
  363. //用户测评
  364. yhcpUrl: "yhcp.png",
  365. yhcp: true,
  366. //用户反馈
  367. yhfkUrl: "yhfk.png",
  368. yhfk: true,
  369. //用户干预
  370. yhgyUrl: "yhgy.png",
  371. yhgy: true,
  372. //设别管理
  373. yhsbUrl: "yhgy.png",
  374. yhsb: true,
  375. userType: 0,
  376. defaultUrl: "",
  377. acount: "",
  378. centerDialogPass: false,
  379. ruleForm: {
  380. oldPass: "",
  381. pass: "",
  382. checkPass: "",
  383. },
  384. rules: {
  385. oldPass: [{ validator: validateOldPass, trigger: "blur" }],
  386. pass: [{ validator: validatePass, trigger: "blur" }],
  387. checkPass: [{ validator: validateCheckPass, trigger: "blur" }],
  388. },
  389. };
  390. },
  391. mounted() {
  392. this.acount = sessionStorage.getItem("num");
  393. this.defaultUrl = sessionStorage.getItem("defaultUrl");
  394. //sessionStorage
  395. let queryUrl = this.$route.query.url;
  396. this.menuClick(queryUrl);
  397. this.menuManageClick(queryUrl);
  398. this.userType = sessionStorage.getItem("userType");
  399. this.userType = parseInt(this.userType);
  400. this.$root.topPageFlag = true;
  401. },
  402. methods: {
  403. menuManageClick(val) {
  404. if (val == "yhgl") {
  405. this.yhglUrl = "yhgl1.png";
  406. this.yhgl = false;
  407. this.yhltUrl = "yhlt.png";
  408. this.yhlt = true;
  409. this.yhcpUrl = "yhcp.png";
  410. this.yhcp = true;
  411. this.yhfkUrl = "yhfk.png";
  412. this.yhfk = true;
  413. this.yhgyUrl = "yhgy.png";
  414. this.yhgy = true;
  415. this.yhsbUrl = "yhgy.png";
  416. this.yhsb = true;
  417. }
  418. if (val == "yhlt") {
  419. this.yhltUrl = "yhlt1.png";
  420. this.yhlt = false;
  421. this.yhglUrl = "yhgl.png";
  422. this.yhgl = true;
  423. this.yhcpUrl = "yhcp.png";
  424. this.yhcp = true;
  425. this.yhfkUrl = "yhfk.png";
  426. this.yhfk = true;
  427. this.yhgyUrl = "yhgy.png";
  428. this.yhgy = true;
  429. this.yhsbUrl = "yhgy.png";
  430. this.yhsb = true;
  431. }
  432. if (val == "yhcp") {
  433. this.yhcpUrl = "yhcp1.png";
  434. this.yhcp = false;
  435. this.yhglUrl = "yhgl.png";
  436. this.yhgl = true;
  437. this.yhltUrl = "yhlt.png";
  438. this.yhlt = true;
  439. this.yhfkUrl = "yhfk.png";
  440. this.yhfk = true;
  441. this.yhgyUrl = "yhgy.png";
  442. this.yhgy = true;
  443. this.yhsbUrl = "yhgy.png";
  444. this.yhsb = true;
  445. }
  446. if (val == "yhfk") {
  447. this.yhfkUrl = "yhfk1.png";
  448. this.yhfk = false;
  449. this.yhglUrl = "yhgl.png";
  450. this.yhgl = true;
  451. this.yhltUrl = "yhlt.png";
  452. this.yhlt = true;
  453. this.yhcpUrl = "yhcp.png";
  454. this.yhcp = true;
  455. this.yhgyUrl = "yhgy.png";
  456. this.yhgy = true;
  457. this.yhsbUrl = "yhgy.png";
  458. this.yhsb = true;
  459. }
  460. if (val == "yhgy") {
  461. this.yhgyUrl = "yhgy1.png";
  462. this.yhgy = false;
  463. this.yhglUrl = "yhgl.png";
  464. this.yhgl = true;
  465. this.yhltUrl = "yhlt.png";
  466. this.yhlt = true;
  467. this.yhcpUrl = "yhcp.png";
  468. this.yhcp = true;
  469. this.yhfkUrl = "yhfk.png";
  470. this.yhfk = true;
  471. this.yhsbUrl = "yhgy.png";
  472. this.yhsb = true;
  473. }
  474. if (val == "yhsb") {
  475. this.yhsbUrl = "yhgy1.png";
  476. this.yhsb = false;
  477. this.yhgyUrl = "yhgy.png";
  478. this.yhgy = true;
  479. this.yhglUrl = "yhgl.png";
  480. this.yhgl = true;
  481. this.yhltUrl = "yhlt.png";
  482. this.yhlt = true;
  483. this.yhcpUrl = "yhcp.png";
  484. this.yhcp = true;
  485. this.yhfkUrl = "yhfk.png";
  486. this.yhfk = true;
  487. }
  488. },
  489. menuClick(val) {
  490. console.log(val);
  491. if (val == "rjdh") {
  492. this.rjdhUrl = "rjdh1.png";
  493. this.rjdh = false;
  494. this.xlcpUrl = "xlcp.png";
  495. this.xlcp = true;
  496. this.xlfsUrl = "xlfs.png";
  497. this.xlfs = true;
  498. this.rzgyUrl = "rzgy.png";
  499. this.rzgy = true;
  500. this.swfkUrl = "swfk.png";
  501. this.swfk = true;
  502. }
  503. if (val == "xlcp") {
  504. this.xlcpUrl = "xlcp1.png";
  505. this.xlcp = false;
  506. this.rjdhUrl = "rjdh.png";
  507. this.rjdh = true;
  508. this.xlfsUrl = "xlfs.png";
  509. this.xlfs = true;
  510. this.rzgyUrl = "rzgy.png";
  511. this.rzgy = true;
  512. this.swfkUrl = "swfk.png";
  513. this.swfk = true;
  514. }
  515. if (val == "xlfs") {
  516. this.xlfsUrl = "xlfs1.png";
  517. this.xlfs = false;
  518. this.xlcpUrl = "xlcp.png";
  519. this.xlcp = true;
  520. this.rjdhUrl = "rjdh.png";
  521. this.rjdh = true;
  522. this.rzgyUrl = "rzgy.png";
  523. this.rzgy = true;
  524. this.swfkUrl = "swfk.png";
  525. this.swfk = true;
  526. }
  527. if (val == "rzgy") {
  528. this.rzgyUrl = "rzgy1.png";
  529. this.rzgy = false;
  530. this.xlfsUrl = "xlfs.png";
  531. this.xlfs = true;
  532. this.xlcpUrl = "xlcp.png";
  533. this.xlcp = true;
  534. this.rjdhUrl = "rjdh.png";
  535. this.rjdh = true;
  536. this.swfkUrl = "swfk.png";
  537. this.swfk = true;
  538. }
  539. if (val == "swfk") {
  540. this.swfkUrl = "swfk1.png";
  541. this.swfk = false;
  542. this.rzgyUrl = "rzgy.png";
  543. this.rzgy = true;
  544. this.xlfsUrl = "xlfs.png";
  545. this.xlfs = true;
  546. this.xlcpUrl = "xlcp.png";
  547. this.xlcp = true;
  548. this.rjdhUrl = "rjdh.png";
  549. this.rjdh = true;
  550. }
  551. },
  552. submitForm(formName) {
  553. let that = this;
  554. let num = sessionStorage.getItem("num");
  555. this.$refs[formName].validate((valid) => {
  556. if (valid) {
  557. that.$http.post(
  558. `v1/user/change/password`,
  559. {
  560. identifier: num,
  561. password: that.$md5(that.ruleForm.oldPass),
  562. newPassword: that.$md5(that.ruleForm.pass),
  563. },
  564. (res) => {
  565. if (res.data.code == 200) {
  566. that.centerDialogPass = false;
  567. that.$message.success("修改成功");
  568. that.$router.push("/");
  569. } else {
  570. this.$message.error("访问服务器失败!");
  571. }
  572. }
  573. );
  574. } else {
  575. return false;
  576. }
  577. });
  578. },
  579. updatePass() {
  580. this.centerDialogPass = true;
  581. },
  582. //销毁所有定时器
  583. desTimer() {
  584. for (let i = 1; i < 100000; i++) {
  585. clearInterval(i);
  586. }
  587. },
  588. goMain() {
  589. this.$router.push("/mainTable");
  590. ipcRenderer.removeAllListeners();
  591. Utils.$off();
  592. this.desTimer();
  593. },
  594. handleOpen(key, keyPath) {},
  595. handleClose(key, keyPath) {},
  596. userExit() {
  597. this.$router.push("/");
  598. ipcRenderer.removeAllListeners();
  599. Utils.$off();
  600. this.desTimer();
  601. },
  602. },
  603. };
  604. </script>
  605. <style scoped>
  606. .imgStyle {
  607. width: 14px;
  608. height: 14px;
  609. cursor: pointer;
  610. }
  611. .exitLogin {
  612. font-size: 14px;
  613. color: #ffffff;
  614. cursor: pointer;
  615. display: block;
  616. }
  617. .el-menu-item {
  618. margin-left: 10px !important;
  619. height: 40px;
  620. line-height: 40px;
  621. margin-top: 15px;
  622. margin-bottom: 15px;
  623. }
  624. .el-menu-item:hover {
  625. color: #ffffff !important;
  626. background-color: transparent !important;
  627. }
  628. .el-menu-item:focus {
  629. color: #ffffff !important;
  630. background-color: #ffffff !important;
  631. color: #04d1a7 !important;
  632. border-radius: 10px;
  633. margin-left: 10px;
  634. width: 170px;
  635. /* margin-top:5px;
  636. margin-bottom:5px; */
  637. }
  638. .el-menu-item.is-active {
  639. background-color: #ffffff !important;
  640. color: #04d1a7 !important;
  641. border-radius: 10px;
  642. margin-left: 10px;
  643. width: 170px;
  644. }
  645. .el-menu-item:active {
  646. color: #ffffff !important;
  647. background-color: #ffffff !important;
  648. color: #04d1a7 !important;
  649. border-radius: 10px;
  650. margin-left: 10px;
  651. width: 170px;
  652. }
  653. .el-menu-item {
  654. /* color: #ffffff !important;
  655. background-color: #ffffff !important;
  656. color: #04d1a7 !important;
  657. border-radius: 20px;
  658. margin-left: 10px; */
  659. border-radius: 10px;
  660. width: 170px;
  661. }
  662. /* .el-menu-item:active {
  663. color: #ffffff !important;
  664. background-color: #ffffff !important;
  665. } */
  666. li.hover {
  667. }
  668. ul {
  669. background-color: transparent !important ;
  670. /* background: linear-gradient(0deg, #4ab3c6 0%, #001e78 100%) !important */
  671. /* background-color: linear-gradient(0deg, #4ab3c6 0%, #001e78 100%) !important; */
  672. /* background-color:linear-gradient(0deg, #4ab3c6 0%, #001e78 100%) !important; */
  673. /* background-color: linear-gradient(0deg, #4ab3c6 0%, #001e78 100%) !important; */
  674. }
  675. .menu_style {
  676. background: linear-gradient(0deg, #09b3ff 0%, #04d1a7 100%) !important;
  677. height: 100vh;
  678. }
  679. .foot_main {
  680. width: 100%;
  681. position: absolute;
  682. bottom: 0px;
  683. line-height: 35px;
  684. display: block;
  685. font-size: 14px;
  686. background-color: transparent;
  687. text-align: center;
  688. color: #0f0f0f;
  689. }
  690. .foot_main_menu {
  691. width: 100%;
  692. position: absolute;
  693. bottom: 0px;
  694. line-height: 40px;
  695. display: block;
  696. font-size: 10px;
  697. background-color: rgb(94, 125, 221);
  698. text-align: center;
  699. }
  700. .el-menu {
  701. border-right: solid 0px #e6e6e6 !important;
  702. list-style: none;
  703. position: relative;
  704. margin: 0;
  705. padding-left: 0;
  706. background-color: #fff;
  707. }
  708. .foot_main_exit {
  709. line-height: 300px;
  710. width: 100%;
  711. position: absolute;
  712. bottom: 40px;
  713. left: -40px;
  714. line-height: 20px;
  715. display: block;
  716. font-size: 10px;
  717. /* background-color: rgb(94, 125, 221); */
  718. /* text-align: center; */
  719. }
  720. /* .main_right_height {
  721. height: 95vh !important;
  722. display: block !important;
  723. overflow-y: auto !important;
  724. } */
  725. .menu_left_new {
  726. background: linear-gradient(0deg, #09b3ff 0%, #04d1a7 100%) !important;
  727. height: 100vh;
  728. /* background: linear-gradient(0deg,#09B3FF 0%, #04D1A7 100%) !important; */
  729. }
  730. .menu_left_keep {
  731. border-top-left-radius: 36px;
  732. border-bottom-left-radius: 36px;
  733. /* background: #09b3ff; */
  734. height: 100vh;
  735. /* background: linear-gradient(0deg,#09B3FF 0%, #04D1A7 100%) !important; */
  736. }
  737. .menu_title_top {
  738. display: flex;
  739. justify-content: center;
  740. color: #ffffff;
  741. margin-top: 40px;
  742. }
  743. .menu_title_top_des {
  744. border-bottom: 1px solid #ffffff;
  745. padding-bottom: 10px;
  746. padding-left: 4px;
  747. padding-right: 4px;
  748. }
  749. .menu_feature {
  750. margin-top: 20px;
  751. display: flex;
  752. flex-direction: row;
  753. align-items: center;
  754. margin-bottom: 20px;
  755. }
  756. .update_pass {
  757. margin-left: 5px;
  758. display: flex;
  759. flex-direction: column;
  760. }
  761. .menu_main_exit {
  762. display: flex;
  763. flex-direction: row;
  764. justify-content: center;
  765. align-items: center;
  766. }
  767. .menu_icon_cla {
  768. height: 14px;
  769. margin-right: 4px;
  770. }
  771. .menu_text_cla {
  772. color: #ffffff;
  773. }
  774. </style>