navigation.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. <template>
  2. <div class="main_container">
  3. <div style="background-color: #F5F7FB;overflow: hidden;">
  4. <div class="top">
  5. <div class="top_one">
  6. <div class="top_one left">
  7. <span>会助理平台</span>
  8. </div>
  9. <div class="top_one middle">
  10. <el-input popper-class="my-autocomplete" v-model="queryWord" style="width: 81.25%;"
  11. placeholder="搜索关键信息">
  12. <i class="el-icon-search" slot="suffix" @click="handleQuery()"
  13. style="width:6%; height: 100%; display: flex;align-items: center;cursor: pointer;margin-right: 1vh;">
  14. </i>
  15. </el-input>
  16. </div>
  17. <div class="top_one right">
  18. <div style="display: flex;justify-content: flex-end;align-items: center;font-weight: 400;
  19. font-size: 14px; text-overflow: ellipsis;width: 40vh;">
  20. <!-- <el-avatar size="medium"
  21. src="https://hzl.willalp.com/static/img/profile.b87e3d56.jpg"></el-avatar> -->
  22. <img :src="avatar" class="user-avatar" />
  23. <span class="user-nickname">{{ nickname }}</span>
  24. </div>
  25. <div style="margin-left: 10%;margin-right: 8%">
  26. <span style="cursor: pointer" @click="logout">退出登录</span>
  27. </div>
  28. </div>
  29. </div>
  30. <div class="top_two">
  31. <div class="top_two left">
  32. <img :src="thisTenant.agencyLogo" alt="" style="width: 4vh;">
  33. <span style="margin-left: 2%;">{{ thisTenant.agencyName }}</span>
  34. </div>
  35. <div class="top_two middle">
  36. <el-menu default-active="1" class="top_two_menu" mode="horizontal" @select="handleSelect">
  37. <el-menu-item index="1">首页</el-menu-item>
  38. <el-menu-item index="2">操作台</el-menu-item>
  39. <el-menu-item index="3">个人中心</el-menu-item>
  40. </el-menu>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="left">
  45. <div class="left_top">
  46. <div class="left_top left">
  47. <div class="block" style="height:100%;width: 100%;">
  48. <el-carousel height="29.5vh">
  49. <el-carousel-item v-for="(item, index) in leftTopPics" :key="index">
  50. <img :src="item.icon" alt="" style="width: 100%;height: 100%;">
  51. </el-carousel-item>
  52. </el-carousel>
  53. </div>
  54. </div>
  55. <div class="left_top right">
  56. <a class="moreMessage" @click="leftTopMore">更多</a>
  57. <el-tabs v-model="leftTopRight" @tab-click="" style="width: 98%; margin: 0px auto">
  58. <el-tab-pane label="机构资讯" name="1">
  59. <div style="overflow-y: auto;height: 20vh;">
  60. <el-row v-for="(item, index) of leftTopOne" :key="index">
  61. <div style="margin-bottom: 1.3vh;cursor: pointer;"
  62. @click="leftTopOneDetail(index)">
  63. <el-row style="border-bottom: 1px solid #F2F2F2;">
  64. <el-col :span="16">
  65. <span class="leftContent"> {{ item.text }}</span>
  66. </el-col>
  67. <el-col :span="8">
  68. <span class="rightContent">{{ parseTime(item.updateTime) }}</span>
  69. </el-col>
  70. </el-row>
  71. </div>
  72. </el-row>
  73. </div>
  74. </el-tab-pane>
  75. <el-tab-pane label="公司要闻" name="2"></el-tab-pane>
  76. <el-tab-pane label="通知公告" name="3"></el-tab-pane>
  77. </el-tabs>
  78. </div>
  79. </div>
  80. <div class="left_middle">
  81. <a class="moreMessage" @click="">更多</a>
  82. <el-tabs v-model="leftMiddle" @tab-click="" style="width: 98%; margin: 0px auto">
  83. <el-tab-pane label="专栏" name="1">
  84. <div style="overflow-y: auto;height: 30vh;">
  85. <el-row v-for="(item, index) of dataList2" :key="index">
  86. <div style="margin-bottom: 1.3vh;">
  87. <el-row style="border-bottom: 1px solid #F2F2F2;">
  88. <div style="margin-bottom: 5px;">
  89. <el-col :span="3">
  90. <div class="leftContentPrefix">[ {{ item.tag }} ]</div>
  91. </el-col>
  92. <el-col :span="16">
  93. <span class="leftContent"> {{ item.title }}</span>
  94. </el-col>
  95. <el-col :span="5">
  96. <span class="rightContent">{{ parseTime(item.createTime) }}</span>
  97. </el-col>
  98. </div>
  99. </el-row>
  100. </div>
  101. </el-row>
  102. </div>
  103. </el-tab-pane>
  104. <el-tab-pane label="党建" name="2"></el-tab-pane>
  105. <el-tab-pane label="团建" name="3"></el-tab-pane>
  106. <el-tab-pane label="工会" name="4"></el-tab-pane>
  107. <el-tab-pane label="政策" name="5"></el-tab-pane>
  108. </el-tabs>
  109. </div>
  110. <div class="left_bottom">
  111. <a class="moreMessage" @click="leftBottomMore">更多</a>
  112. <el-tabs v-model="leftBottom" @tab-click="" style="width: 98%; margin: 0px auto">
  113. <el-tab-pane label="平台资讯" name="">
  114. <div class="sys_card" v-for="item in leftBottomList">
  115. <img :src="item.coverPic"
  116. style="width: 100%;height: 100%;border-radius: 4px;cursor: pointer;"
  117. @click="leftBottomDetail(item.id)"></img>
  118. <div class="sys_card_title">
  119. <div style="width: 98%;">
  120. <el-row>
  121. <span class="sys_card_title_font"
  122. style="color: #fff;font-size: 13px;font-weight: bold;margin-left: 1vh;margin-top: 1vh; ">
  123. {{ item.title }}
  124. </span>
  125. </el-row>
  126. <el-row>
  127. <span class="sys_card_title_font"
  128. style="color: #fff;font-size: 12px;margin-left: 1vh;">
  129. {{ item.sketch }}
  130. </span>
  131. </el-row>
  132. </div>
  133. </div>
  134. </div>
  135. </el-tab-pane>
  136. </el-tabs>
  137. </div>
  138. </div>
  139. <div class="right">
  140. <div class="right_top">
  141. <!-- <a class="moreMessage" @click="">更多</a> -->
  142. <el-tabs @tab-click="" style="width: 98%; margin: 0px auto">
  143. <el-tab-pane label="跳转模块" name="">
  144. <div v-for="(item, index) of rightTopLink" :key="index" style="display: inline">
  145. <div class="listItem" @click="goPage(item.path)" style="cursor: pointer">
  146. <div>
  147. <div class="menuImg">
  148. <img class="imgSty" :src="item.icon" />
  149. </div>
  150. <div class="titleSty">
  151. <span>{{ item.name }}</span>
  152. </div>
  153. </div>
  154. </div>
  155. </div>
  156. </el-tab-pane>
  157. </el-tabs>
  158. </div>
  159. <div class="right_middle">
  160. <a class="moreMessage" @click="">更多</a>
  161. <el-tabs v-model="rightMiddle" @tab-click="" style="width: 98%; margin: 0px auto">
  162. <el-tab-pane label="规章制度" name="">
  163. <div style="overflow-y: auto;height: 30vh;">
  164. <el-row v-for="(item, index) of dataList2" :key="index">
  165. <div style="margin-bottom: 1.3vh;">
  166. <el-row style="border-bottom: 1px solid #F2F2F2;">
  167. <div style="margin-bottom: 5px;">
  168. <el-col :span="18">
  169. <span class="leftContent"> {{ item.title }}</span>
  170. </el-col>
  171. <el-col :span="6">
  172. <span class="rightContent">{{ parseTime(item.createTime) }}</span>
  173. </el-col>
  174. <!-- <div class="leftContentPrefix">[ {{ item.tag }} ]</div> -->
  175. </div>
  176. </el-row>
  177. </div>
  178. </el-row>
  179. </div>
  180. </el-tab-pane>
  181. </el-tabs>
  182. </div>
  183. <div class="right_bottom">
  184. <a class="moreMessage" @click="">更多</a>
  185. <el-tabs v-model="rightBottom" @tab-click="" style="width: 98%; margin: 0px auto">
  186. <el-tab-pane label="文件下载" name="">
  187. <div style="overflow-y: auto;height: 20vh;">
  188. <el-row v-for="(item, index) of dataList2" :key="index">
  189. <div>
  190. <el-row style="border-bottom: 1px solid #F2F2F2;">
  191. <div style="margin-bottom: 5px;">
  192. <!-- <div class="leftContentPrefix">[ {{ item.tag }} ]</div> -->
  193. <div style="display: inline-block;">
  194. <div class="leftContent">{{ item.title }}</div>
  195. <div style="width: 20vh;">{{ item.createTime }}</div>
  196. </div>
  197. <div style="float: right;">
  198. <el-button class="rightBottomButter">下载</el-button>
  199. </div>
  200. </div>
  201. </el-row>
  202. </div>
  203. </el-row>
  204. </div>
  205. </el-tab-pane>
  206. </el-tabs>
  207. </div>
  208. </div>
  209. <div class="bottom">
  210. </div>
  211. <el-dialog :title="detailTitle1" :visible.sync="openDetail1" width="800px" v-dialogDrag append-to-body>
  212. <div style="padding: 5rpx;width: 700px" v-html="detail1">
  213. </div>
  214. </el-dialog>
  215. </div>
  216. </div>
  217. </template>
  218. <script>
  219. import { mapGetters } from "vuex";
  220. import {
  221. getEnableList,
  222. getEnableListPic,
  223. } from "@/api/system/moduleConfig";
  224. import {
  225. getHomePlatFormForWeb,
  226. getXGZXForWeb,
  227. getPlatformInfo,
  228. } from "@/api/content/platformInfo";
  229. import { getThisAgencyInfo } from "@/api/content/agencyInfo";
  230. import { getPath } from "@/utils/ruoyi";
  231. import defaultLogo1 from '@/assets/logo/defaultLogo1.png'
  232. export default {
  233. name: "Navigation",
  234. components: {
  235. },
  236. computed: {
  237. ...mapGetters(["sidebar", "avatar", "nickname", "device"]),
  238. },
  239. data() {
  240. return {
  241. detailTitle1: "",
  242. openDetail1: false,
  243. detail1: undefined,
  244. //当前机构
  245. thisTenant: { agencyLogo: defaultLogo1, },
  246. //左上轮播图
  247. leftTopPics: [],
  248. //右上跳转模块
  249. rightTopLink: [
  250. { name: "市场1", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  251. { name: "市场2", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  252. { name: "市场3", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  253. { name: "市场4", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  254. { name: "市场5", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  255. { name: "市场6", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  256. { name: "市场7", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  257. { name: "市场8", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  258. { name: "市场9", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  259. { name: "市场10", icon: "https://hzl.willalp.com:9000/willalpbucket/2.png" },
  260. ],
  261. //左上机构咨询
  262. leftTopOne: [],
  263. //左下角平台咨询
  264. leftBottomList: [],
  265. queryWord: undefined,
  266. leftTopRight: '1',
  267. leftMiddle: '1',
  268. rightMiddle: undefined,
  269. leftBottom: undefined,
  270. rightBottom: undefined,
  271. // dataList: [
  272. // { title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  273. // { title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  274. // { title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  275. // { title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  276. // ],
  277. dataList2: [
  278. { tag: "党政要闻", title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  279. { tag: "党政要闻", title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  280. { tag: "党政要闻", title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  281. { tag: "党政要闻", title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  282. { tag: "党政要闻", title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  283. { tag: "党政要闻", title: "这是标题这是标题", createTime: "2024-09-07 15:23:22" },
  284. ],
  285. ptzxList: [
  286. { coverPic: "https://ts.willalp.com:9002/willalpbucket/微信图片_2024032809233720240328092531.png", title: "清明放假通知", sketch: "放假时间:4月4-6日放假,共3天。4月7日(星期日)上班。" },
  287. { coverPic: "https://ts.willalp.com:9002/willalpbucket/微信图片_2024032809233720240328092531.png", title: "清明放假通知", sketch: "放假时间:4月4-6日放假,共3天。4月7日(星期日)上班。" },
  288. { coverPic: "https://ts.willalp.com:9002/willalpbucket/微信图片_2024032809233720240328092531.png", title: "清明放假通知", sketch: "放假时间:4月4-6日放假,共3天。4月7日(星期日)上班。" }
  289. ],
  290. };
  291. },
  292. beforeCreate() {
  293. },
  294. created() {
  295. this.getTemplate();
  296. },
  297. methods: {
  298. //页面初始化数据获取
  299. getTemplate() {
  300. //获得当前机构信息
  301. getThisAgencyInfo().then(res => {
  302. this.thisTenant = res.data;
  303. if (res.data.agencyLogo) {
  304. this.thisTenant.agencyLogo = JSON.parse(res.data.agencyLogo)[0].url;
  305. }
  306. })
  307. //获得左上轮播图
  308. getEnableListPic().then(res => {
  309. this.leftTopPics = res.data;
  310. });
  311. //获得右上跳转模块
  312. getEnableList().then(res => {
  313. this.rightTopLink = res.data;
  314. });
  315. //平台资讯
  316. getHomePlatFormForWeb().then(res => {
  317. this.leftBottomList = res.data;
  318. });
  319. //相关资讯
  320. getXGZXForWeb().then(res => {
  321. if (res.data.size < 5) {
  322. this.leftTopOne = res.data;
  323. } else {
  324. this.leftTopOne = res.data.slice(0, 4);
  325. }
  326. });
  327. },
  328. /** 注销 */
  329. async logout() {
  330. this.$modal
  331. .confirm("确定注销并退出系统吗?", "提示")
  332. .then(() => {
  333. this.$store.dispatch("LogOut").then(() => {
  334. location.href = getPath("/navigation");
  335. });
  336. })
  337. .catch(() => { });
  338. },
  339. /** 处理搜索 */
  340. handleQuery() {
  341. console.log(this.queryWord)
  342. },
  343. /** 处理跳转 */
  344. goPage(path) {
  345. this.$router.push(path);
  346. },
  347. //导航栏跳转
  348. handleSelect(key, keyPath) {
  349. if (key == 2) {
  350. this.$router.push("/index");
  351. }
  352. if (key == 3) {
  353. this.$router.push("/user/profile");
  354. }
  355. },
  356. /** 左上更多按钮跳转 */
  357. leftTopMore() {
  358. if (this.leftTopRight == '1') {
  359. this.$router.push("/xzUnit/news");
  360. } else if (this.leftTopRight == '2') {
  361. } else if (this.leftTopRight == '3') {
  362. }
  363. },
  364. leftTopOneDetail(index) {
  365. this.detail1 = undefined;
  366. this.detailTitle1 = "机构资讯详情";
  367. this.detail1 = this.leftTopOne[index].link;
  368. this.detail1 = this.detail1.replace('<img', '<img style="max-width:100%;height:100%"');
  369. this.openDetail1 = true;
  370. },
  371. /** 左中更多按钮跳转 */
  372. leftMiddleMore() {
  373. },
  374. /** 左下更多按钮跳转 */
  375. leftBottomMore() {
  376. this.$router.push("/xzUnit/platformInfo");
  377. },
  378. leftBottomDetail(id) {
  379. this.detail1 = undefined;
  380. this.detailTitle1 = "平台资讯详情";
  381. getPlatformInfo(id).then(res => {
  382. this.detail1 = res.data.content;
  383. this.detail1 = this.detail1.replace('<img', '<img style="max-width:100%;height:100%"');
  384. this.openDetail1 = true;
  385. })
  386. },
  387. /** 右上更多按钮跳转 */
  388. rightTopMore() {
  389. },
  390. /** 右中更多按钮跳转 */
  391. rightMiddleMore() {
  392. },
  393. /** 右下更多按钮跳转 */
  394. rightBottomMore() {
  395. },
  396. },
  397. };
  398. </script>
  399. <style scoped>
  400. ::v-deep .el-tabs__item {
  401. color: #6F6F6F;
  402. }
  403. ::v-deep .el-tabs__item.is-active {
  404. color: #333333;
  405. }
  406. ::v-deep .el-input--medium .el-input__inner {
  407. border-radius: 47px 47px 47px 47px;
  408. border: 2px solid #FFFFFF;
  409. }
  410. ::v-deep .el-menu--horizontal>.el-menu-item {
  411. display: flex;
  412. height: 85%;
  413. align-items: center;
  414. line-height: 100%;
  415. }
  416. .rightBottomButter {
  417. background: #FF9736;
  418. border-radius: 4px 4px 4px 4px;
  419. border: 1px solid #FF9736;
  420. font-family: Inter, Inter;
  421. font-weight: 400;
  422. font-size: 14px;
  423. color: #FFFFFF;
  424. line-height: 16px;
  425. text-align: left;
  426. font-style: normal;
  427. text-transform: none;
  428. margin-top: 6%;
  429. }
  430. .sys_card_title_font {
  431. display: block;
  432. overflow: hidden;
  433. white-space: nowrap;
  434. text-overflow: ellipsis;
  435. -o-text-overflow: ellipsis;
  436. }
  437. .sys_card_title {
  438. position: absolute;
  439. width: 100%;
  440. height: 35%;
  441. background-color: rgba(0, 0, 0, 0.3);
  442. border-bottom-left-radius: 4px;
  443. border-bottom-right-radius: 4px;
  444. bottom: 0;
  445. display: block;
  446. white-space: nowrap;
  447. text-overflow: ellipsis;
  448. -o-text-overflow: ellipsis;
  449. }
  450. .sys_card {
  451. width: 31%;
  452. height: 19vh;
  453. border-radius: 4px;
  454. border: 1px solid #f2f2f2;
  455. margin: auto 1%;
  456. position: relative;
  457. float: left;
  458. }
  459. .titleSty {
  460. margin-top: 10px;
  461. margin-bottom: 5px;
  462. text-align: center;
  463. }
  464. .imgSty {
  465. width: 100%;
  466. height: 100%;
  467. }
  468. .menuImg {
  469. width: 5vh;
  470. height: 5vh;
  471. /* margin: 1vh auto 0 auto; */
  472. margin: 1vh auto 0 auto;
  473. }
  474. .listItem {
  475. width: 20%;
  476. /* height: 14vh; */
  477. display: inline-block;
  478. }
  479. .rightContent {
  480. display: block;
  481. /* float: right; */
  482. margin-right: 25px;
  483. font-family: Microsoft YaHei, Microsoft YaHei;
  484. font-weight: 400;
  485. font-size: 12px;
  486. color: #6F6F6F;
  487. line-height: 25px;
  488. text-align: right;
  489. font-style: normal;
  490. text-transform: none;
  491. overflow: hidden;
  492. white-space: nowrap;
  493. text-overflow: ellipsis;
  494. -o-text-overflow: ellipsis;
  495. }
  496. .leftContentPrefix {
  497. display: block;
  498. font-family: Microsoft YaHei, Microsoft YaHei;
  499. font-weight: 400;
  500. font-size: 16px;
  501. color: #3B71DD;
  502. text-align: left;
  503. font-style: normal;
  504. text-transform: none;
  505. margin-right: 1%;
  506. overflow: hidden;
  507. white-space: nowrap;
  508. text-overflow: ellipsis;
  509. -o-text-overflow: ellipsis;
  510. }
  511. .leftContent {
  512. display: block;
  513. font-family: Microsoft YaHei, Microsoft YaHei;
  514. font-weight: 400;
  515. font-size: 16px;
  516. color: #333333;
  517. text-align: left;
  518. font-style: normal;
  519. overflow: hidden;
  520. white-space: nowrap;
  521. text-overflow: ellipsis;
  522. -o-text-overflow: ellipsis;
  523. }
  524. .moreMessage {
  525. position: absolute;
  526. right: 20px;
  527. top: 12px;
  528. z-index: 9;
  529. }
  530. .left_bottom .left {
  531. height: 100vh;
  532. width: 49.5%;
  533. /* background-color: #fff; */
  534. border-radius: 6px;
  535. position: relative;
  536. }
  537. .el-carousel__item h3 {
  538. color: #475669;
  539. font-size: 14px;
  540. opacity: 0.75;
  541. line-height: 150px;
  542. margin: 0;
  543. }
  544. .el-carousel__item:nth-child(2n) {
  545. background-color: #99a9bf;
  546. }
  547. .el-carousel__item:nth-child(2n+1) {
  548. background-color: #d3dce6;
  549. }
  550. .top {
  551. height: 13vh;
  552. width: 100%;
  553. margin-bottom: 10px;
  554. /* background-color: red; */
  555. }
  556. .top_one {
  557. height: 7.5vh;
  558. width: 100%;
  559. background-color: #1890FF;
  560. display: flex;
  561. align-items: center;
  562. }
  563. .top_one .left {
  564. width: 33.33%;
  565. height: 85%;
  566. display: flex;
  567. justify-content: flex-start;
  568. span {
  569. font-family: Microsoft YaHei, Microsoft YaHei;
  570. font-weight: bold;
  571. font-size: 24px;
  572. color: #FFFFFF;
  573. /* line-height: 28px; */
  574. letter-spacing: 8px;
  575. font-style: normal;
  576. text-transform: none;
  577. /* margin-left: 40px; */
  578. text-align: left;
  579. }
  580. }
  581. .top_one .middle {
  582. width: 33.33%;
  583. }
  584. .top_one .right {
  585. justify-content: flex-end;
  586. width: 33.33%;
  587. height: 85%;
  588. span {
  589. font-family: Microsoft YaHei, Microsoft YaHei;
  590. font-weight: 400;
  591. font-size: 14px;
  592. color: #FFFFFF;
  593. line-height: 16px;
  594. text-align: left;
  595. font-style: normal;
  596. text-transform: none;
  597. }
  598. .user-avatar {
  599. cursor: pointer;
  600. width: 6vh;
  601. height: 6vh;
  602. border-radius: 50%;
  603. }
  604. .user-nickname {
  605. margin-left: 2vh;
  606. cursor: pointer;
  607. }
  608. }
  609. .top_two {
  610. height: 6.5vh;
  611. width: 100%;
  612. background-color: #FFFFFF;
  613. display: flex;
  614. align-items: center;
  615. }
  616. .top_two .left {
  617. width: 20%;
  618. height: 85%;
  619. display: flex;
  620. margin-top: 0;
  621. align-items: center;
  622. justify-content: flex-start;
  623. span {
  624. font-family: Microsoft YaHei, Microsoft YaHei;
  625. font-weight: 400;
  626. font-size: 24px;
  627. letter-spacing: 3px;
  628. line-height: 28px;
  629. text-align: left;
  630. font-style: normal;
  631. text-transform: none;
  632. }
  633. }
  634. .top_two .middle {
  635. width: 60%;
  636. }
  637. .top_two_menu {
  638. height: 100%;
  639. display: flex;
  640. align-items: center;
  641. justify-content: center;
  642. width: 100%;
  643. font-family: Inter, Inter;
  644. font-weight: 400;
  645. font-size: 24px;
  646. color: #6F6F6F;
  647. line-height: 28px;
  648. text-align: center;
  649. font-style: normal;
  650. text-transform: none;
  651. }
  652. .el-menu-item {
  653. margin: 0 6%;
  654. }
  655. .left {
  656. height: 100vh;
  657. width: 54.25%;
  658. margin-left: 1.5%;
  659. margin-top: 1vh;
  660. float: left;
  661. /* background-color: blue; */
  662. }
  663. .left_top {
  664. margin-top: 0;
  665. height: 29.5vh;
  666. background-color: #FFFFFF;
  667. display: flex;
  668. }
  669. .left_top .left {
  670. display: flex;
  671. width: 42%;
  672. height: 100%;
  673. /* background-color: rgb(255, 0, 0); */
  674. }
  675. .left_top .right {
  676. margin-top: 0;
  677. display: flex;
  678. width: 58%;
  679. height: 100%;
  680. /* background-color: rgb(255, 0, 191); */
  681. /* height: 100vh; */
  682. /* width: 49.5%; */
  683. position: relative;
  684. }
  685. .left_middle {
  686. height: 37vh;
  687. margin-top: 2vh;
  688. background-color: #FFFFFF;
  689. position: relative;
  690. }
  691. .left_bottom {
  692. height: 28.5vh;
  693. margin-top: 2vh;
  694. background-color: #FFFFFF;
  695. position: relative;
  696. }
  697. .right {
  698. height: 100vh;
  699. width: 41.25%;
  700. margin-left: 1.5%;
  701. margin-top: 1vh;
  702. float: left;
  703. /* background-color: green; */
  704. }
  705. .right_top {
  706. height: 29.5vh;
  707. background-color: #FFFFFF;
  708. ;
  709. position: relative;
  710. }
  711. .right_middle {
  712. height: 37vh;
  713. margin-top: 2vh;
  714. background-color: #FFFFFF;
  715. position: relative;
  716. }
  717. .right_bottom {
  718. height: 28.5vh;
  719. margin-top: 2vh;
  720. background-color: #FFFFFF;
  721. position: relative;
  722. }
  723. .bottom {
  724. height: 5vh;
  725. width: 100%;
  726. margin-top: 2vh;
  727. float: left;
  728. /* background-color: rgb(1, 7, 1); */
  729. }
  730. </style>