PageView.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977
  1. <template>
  2. <div class="containe">
  3. <div class="top">
  4. <div class="left">
  5. <div class="left1">
  6. <div class="left-top">
  7. <h3>通知</h3>
  8. </div>
  9. <ul class="left-main">
  10. <li>
  11. <div class="one">通知标题:7月报表收集</div>
  12. <div class="two">截止时间:2022-07-17</div>
  13. <div class="three">通知类型:文档搜集</div>
  14. <div class="four">
  15. <p class="four1">通知内容:</p>
  16. <p>文档搜集文档搜集文档搜集文档搜集文档搜集...</p>
  17. </div>
  18. <div class="five">
  19. <span>查看详细</span>
  20. <span>上传文件</span>
  21. </div>
  22. </li>
  23. </ul>
  24. <ul class="left-main">
  25. <li>
  26. <div class="one">通知标题:7月报表收集</div>
  27. <div class="two">截止时间:2022-07-17</div>
  28. <div class="three">通知类型:文档搜集</div>
  29. <div class="four">
  30. <p class="four1">通知内容:</p>
  31. <p>文档搜集文档搜集文档搜集文档搜集文档搜集...</p>
  32. </div>
  33. <div class="five">
  34. <span>查看详细</span>
  35. <span>上传文件</span>
  36. </div>
  37. </li>
  38. </ul>
  39. <ul class="left-main">
  40. <li>
  41. <div class="one">通知标题:7月报表收集</div>
  42. <div class="two">截止时间:2022-07-17</div>
  43. <div class="three">通知类型:文档搜集</div>
  44. <div class="four">
  45. <p class="four1">通知内容:</p>
  46. <p>文档搜集文档搜集文档搜集文档搜集文档搜集...</p>
  47. </div>
  48. <div class="five">
  49. <span>查看详细</span>
  50. <span>上传文件</span>
  51. </div>
  52. </li>
  53. </ul>
  54. </div>
  55. </div>
  56. <div class="cen">
  57. <div class="cen—top">
  58. <el-dropdown class="cen—top-left">
  59. <span class="el-dropdown-link">
  60. 全部文档<i class="el-icon-caret-bottom el-icon--right"></i>
  61. </span>
  62. <el-dropdown-menu slot="dropdown">
  63. <el-dropdown-item>个人文档</el-dropdown-item>
  64. <el-dropdown-item>部门文档</el-dropdown-item>
  65. <el-dropdown-item>公共文档</el-dropdown-item>
  66. </el-dropdown-menu>
  67. </el-dropdown>
  68. <div class="cen—top-right">
  69. <div class="cen—top-div">
  70. <input
  71. type="text"
  72. placeholder="请输入文档信息"
  73. class="cen—top-input"
  74. />
  75. <span class="cen—top-but">快速搜索</span>
  76. <img
  77. src="../../assets/img/ri:search-2-line@2x.png"
  78. class="cen—top-img"
  79. />
  80. </div>
  81. </div>
  82. </div>
  83. <div class="cen—bottom">
  84. <div class="one">
  85. <p>个人文档</p>
  86. <img src="../../assets/img/MMB1.png" alt="" />
  87. </div>
  88. <div class="two">
  89. <p>部门文档</p>
  90. <img src="../../assets/img/MMB2.png" alt="" />
  91. </div>
  92. <div class="three">
  93. <p>公共文档</p>
  94. <img src="../../assets/img/MMB3.png" alt="" />
  95. </div>
  96. <div class="four">
  97. <p>文档设置</p>
  98. <img src="../../assets/img/MMB4.png" alt="" />
  99. </div>
  100. </div>
  101. </div>
  102. <div class="right">
  103. <div class="left1">
  104. <div class="left-top">
  105. <h3>通知</h3>
  106. </div>
  107. <ul class="left-main">
  108. <li>
  109. <div class="one">通知标题:7月报表收集</div>
  110. <div class="two">截止时间:2022-07-17</div>
  111. <div class="three">通知类型:文档搜集</div>
  112. <div class="four">
  113. <p class="four1">通知内容:</p>
  114. <p>文档搜集文档搜集文档搜集文档搜集文档搜集...</p>
  115. </div>
  116. <div class="five">
  117. <span>查看详细</span>
  118. <span>上传文件</span>
  119. </div>
  120. </li>
  121. </ul>
  122. <ul class="left-main">
  123. <li>
  124. <div class="one">通知标题:7月报表收集</div>
  125. <div class="two">截止时间:2022-07-17</div>
  126. <div class="three">通知类型:文档搜集</div>
  127. <div class="four">
  128. <p class="four1">通知内容:</p>
  129. <p>文档搜集文档搜集文档搜集文档搜集文档搜集...</p>
  130. </div>
  131. <div class="five">
  132. <span>查看详细</span>
  133. <span>上传文件</span>
  134. </div>
  135. </li>
  136. </ul>
  137. <ul class="left-main">
  138. <li>
  139. <div class="one">通知标题:7月报表收集</div>
  140. <div class="two">截止时间:2022-07-17</div>
  141. <div class="three">通知类型:文档搜集</div>
  142. <div class="four">
  143. <p class="four1">通知内容:</p>
  144. <p>文档搜集文档搜集文档搜集文档搜集文档搜集...</p>
  145. </div>
  146. <div class="five">
  147. <span>查看详细</span>
  148. <span>上传文件</span>
  149. </div>
  150. </li>
  151. </ul>
  152. </div>
  153. </div>
  154. </div>
  155. <div class="bottom">
  156. <div class="left">
  157. <div class="left-top">
  158. <h3>最近收到的文件</h3>
  159. </div>
  160. <el-table
  161. :data="tableData1"
  162. stripe
  163. style="width: 99%"
  164. class="left-main"
  165. height="calc(100vh * (230 / 1080))"
  166. >
  167. <el-table-column prop="docName" label="文件名" width="180">
  168. </el-table-column>
  169. <el-table-column prop="user" label="发件人" width="140">
  170. </el-table-column>
  171. <el-table-column prop="createTime" label="收到时间" width="160">
  172. </el-table-column>
  173. <el-table-column prop="docType" label="文件类型" width="100">
  174. </el-table-column>
  175. <el-table-column prop="isSecret" label="机密" width="50">
  176. </el-table-column>
  177. <el-table-column
  178. label="操作"
  179. align="center"
  180. class-name="small-padding fixed-width"
  181. >
  182. <template slot-scope="scope">
  183. <el-button
  184. size="mini"
  185. type="text"
  186. icon="el-icon-view"
  187. @click="isSecretRole(scope.row)"
  188. >预览</el-button
  189. >
  190. </template>
  191. </el-table-column>
  192. </el-table>
  193. </div>
  194. <div class="right">
  195. <div class="right-top">
  196. <h3>最近发送的文件</h3>
  197. </div>
  198. <el-table
  199. :data="tableData2"
  200. stripe
  201. style="width: 99%"
  202. class="right-main"
  203. height="calc(100vh * (230 / 1080))"
  204. >
  205. <el-table-column prop="docName" label="文件名" width="200">
  206. </el-table-column>
  207. <el-table-column prop="createTime" label="收到时间" width="180">
  208. </el-table-column>
  209. <el-table-column prop="docType" label="文件类型" width="120">
  210. </el-table-column>
  211. <el-table-column prop="isSecret" label="机密" width="50">
  212. </el-table-column>
  213. <el-table-column
  214. label="操作"
  215. align="center"
  216. class-name="small-padding fixed-width"
  217. >
  218. <template slot-scope="scope">
  219. <el-button
  220. size="mini"
  221. type="text"
  222. icon="el-icon-view"
  223. @click="isSecretRole(scope.row)"
  224. >预览</el-button
  225. >
  226. </template>
  227. </el-table-column>
  228. </el-table>
  229. </div>
  230. </div>
  231. <!-- 预览对话框 -->
  232. <div class="dhk" v-if="preview">
  233. <video :src="vid" controls v-if="vid1"></video>
  234. <audio :src="aud" controls v-if="aud1"></audio>
  235. <div class="image-container" v-if="img1">
  236. <el-image :src="imgg" ref="imageRef" style="max-width: 100%" />
  237. <el-button-group>
  238. <el-button icon="el-icon-refresh" @click="rotate(-90)"></el-button>
  239. <el-button
  240. icon="el-icon-refresh-right"
  241. @click="rotate(90)"
  242. ></el-button>
  243. <el-button icon="el-icon-zoom-in" @click="scale(0.1)"></el-button>
  244. <el-button icon="el-icon-zoom-out" @click="scale(-0.1)"></el-button>
  245. </el-button-group>
  246. </div>
  247. <el-button class="gb" icon="el-icon-close" circle @click="gb" />
  248. </div>
  249. <!-- 是否机密文件 -->
  250. <div class="jm" v-if="check">
  251. <el-form
  252. ref="loginForm"
  253. :model="loginForm"
  254. :rules="loginRules"
  255. label-width="100px"
  256. class="login-form"
  257. >
  258. <el-form-item label="手机号/邮箱" prop="username">
  259. <el-input
  260. type="password"
  261. v-model="loginForm.username"
  262. autocomplete="off"
  263. ></el-input>
  264. </el-form-item>
  265. <el-form-item label="密码" prop="password">
  266. <el-input
  267. type="password"
  268. v-model="loginForm.password"
  269. autocomplete="off"
  270. ></el-input>
  271. </el-form-item>
  272. <el-form-item style="width: 100%">
  273. <el-button
  274. size="medium"
  275. type="primary"
  276. style="width: 30%"
  277. @click="submitForm"
  278. >
  279. 提交
  280. </el-button>
  281. </el-form-item>
  282. </el-form>
  283. <el-button class="gb1" icon="el-icon-close" circle @click="gb1" />
  284. </div>
  285. </div>
  286. </template>
  287. <script>
  288. import Cookies from "js-cookie";
  289. import { delShare1, delShare2 } from "@/api/doc/share1";
  290. export default {
  291. data() {
  292. return {
  293. //机密文件的账号密码内容
  294. loginForm: {
  295. username: "admin",
  296. password: "admin123",
  297. },
  298. //机密文件的账号密码验证规则
  299. loginRules: {
  300. username: [
  301. { required: true, trigger: "blur", message: "请输入您的账号" },
  302. ],
  303. password: [
  304. { required: true, trigger: "blur", message: "请输入您的密码" },
  305. ],
  306. },
  307. //底部左边表格数据
  308. tableData1: [],
  309. //底部右边表格数据
  310. tableData2: [],
  311. //预览图片的旋转
  312. scalePercentage: 1,
  313. //预览图片的缩放
  314. rotationAngle: 0,
  315. // 预览界面
  316. preview: false,
  317. // 机密界面
  318. check: false,
  319. //视频路径和显示
  320. vid: "",
  321. vid1: false,
  322. //音频路径和显示
  323. aud: "",
  324. aud1: false,
  325. //图片路径和显示
  326. imgg: "",
  327. img1: false,
  328. // 临时保存当前点击行 row
  329. currentRow: {},
  330. };
  331. },
  332. methods: {
  333. //底部表格数据
  334. getList() {
  335. //左边表格
  336. delShare1(this.queryParams).then((response) => {
  337. // console.log(response.rows,'111111111');
  338. // 给定义的列表空数组赋值
  339. this.tableData1 = response.rows;
  340. //改变是否机密的值
  341. var newisSecret = this.tableData1.map((item) => item.isSecret);
  342. // console.log(a);
  343. newisSecret = response.rows.map(
  344. (i) => (i.isSecret = i.isSecret == 1 ? "是" : "否")
  345. );
  346. // console.log(newisSecret);
  347. });
  348. //右边边表格
  349. delShare2(this.queryParams).then((response) => {
  350. // console.log(response.rows,'111111111');
  351. // 给定义的列表空数组赋值
  352. this.tableData2 = response.rows;
  353. //改变是否机密的值
  354. var newisSecret = this.tableData2.map((item) => item.isSecret);
  355. // console.log(a);
  356. newisSecret = response.rows.map(
  357. (i) => (i.isSecret = i.isSecret == 1 ? "是" : "否")
  358. );
  359. // console.log(newisSecret);
  360. });
  361. },
  362. //预览图片的缩放
  363. rotate(angle) {
  364. this.rotationAngle += angle;
  365. const image = this.$refs.imageRef.$el.querySelector("img");
  366. image.style.transform = `rotate(${this.rotationAngle}deg)`;
  367. },
  368. //预览图片的旋转
  369. scale(delta) {
  370. this.scalePercentage += delta;
  371. const image = this.$refs.imageRef.$el.querySelector("img");
  372. image.style.transform = `scale(${this.scalePercentage})`;
  373. },
  374. // 检验关闭
  375. gb1() {
  376. this.check = false;
  377. },
  378. // 预览关闭
  379. gb() {
  380. this.preview = false;
  381. },
  382. // 是否机密
  383. isSecretRole(row) {
  384. console.log(`row=${row}`);
  385. if (row.isSecret == "是") {
  386. this.check = true;
  387. this.currentRow = row;
  388. }
  389. },
  390. //预览
  391. handlePreview() {
  392. const previewRow = this.currentRow;
  393. // console.log("handlePreview started");
  394. //图片后缀名
  395. var pictures = ["jpeg", "tiff", "raw", "bmp", "gif", "png", "jpg"];
  396. //音频后缀名
  397. var audios = [
  398. "mid",
  399. "mp3",
  400. "wav",
  401. "wma",
  402. "ra",
  403. "ogg",
  404. "flac",
  405. "aac",
  406. "ape",
  407. ];
  408. //视频后缀名
  409. var videos = [
  410. "asf",
  411. "avi",
  412. "mp4",
  413. "ogm",
  414. "ifo",
  415. "mpg",
  416. "mov",
  417. "mpeg",
  418. "mpg",
  419. "vob",
  420. "wmv",
  421. "rm",
  422. "rmvb",
  423. ];
  424. //判断后缀名
  425. if (videos.some((item) => item == previewRow.docType)) {
  426. this.preview = true;
  427. this.vid1 = true;
  428. this.aud1 = false;
  429. this.img1 = false;
  430. this.vid = previewRow.docPath;
  431. } else if (audios.some((item) => item == previewRow.docType)) {
  432. this.preview = true;
  433. this.aud1 = true;
  434. this.vid1 = false;
  435. this.img1 = false;
  436. this.aud = previewRow.docPath;
  437. } else if (pictures.some((item) => item == previewRow.docType)) {
  438. this.preview = true;
  439. this.aud1 = false;
  440. this.vid1 = false;
  441. this.img1 = true;
  442. this.imgg = previewRow.docPath;
  443. } else {
  444. this.$tab.openPage(
  445. window.open("/individual/Pre/user/" + previewRow.docId, "_blank"),
  446. localStorage.setItem("docName", previewRow.docName)
  447. );
  448. }
  449. },
  450. //验证账号密码
  451. getCookie() {
  452. const username = Cookies.get("username");
  453. const password = Cookies.get("password");
  454. const rememberMe = Cookies.get("rememberMe");
  455. this.loginForm = {
  456. username: username === undefined ? this.loginForm.username : username,
  457. password:
  458. password === undefined ? this.loginForm.password : decrypt(password),
  459. rememberMe: rememberMe === undefined ? false : Boolean(rememberMe),
  460. };
  461. },
  462. //验证账号密码
  463. submitForm(row) {
  464. // this.$refs.loginForm.validate((valid) => {
  465. // if (valid) {
  466. // login(this.loginForm.username, this.loginForm.password).then(
  467. // );
  468. // }
  469. // });
  470. this.$refs.loginForm.validate((valid) => {
  471. if (valid) {
  472. if (this.loginForm.rememberMe) {
  473. Cookies.set("username", this.loginForm.username, { expires: 30 });
  474. Cookies.set("password", encrypt(this.loginForm.password), {
  475. expires: 30,
  476. });
  477. } else {
  478. Cookies.remove("username");
  479. Cookies.remove("password");
  480. }
  481. this.$store
  482. .dispatch("Login", this.loginForm)
  483. .then(() => {
  484. // 登录成功
  485. this.currentLoginStatus = 1;
  486. // 关闭登录界面
  487. this.check = false;
  488. // console.log("登录成功", "关闭登录界面");
  489. // console.log("预览界面");
  490. this.handlePreview(row);
  491. })
  492. .catch(() => {
  493. this.currentLoginStatus = 0;
  494. });
  495. }
  496. });
  497. },
  498. },
  499. mounted() {
  500. this.getList();
  501. },
  502. };
  503. </script>
  504. <style scoped lang='scss'>
  505. .containe {
  506. color: #7ea4c8ff;
  507. font-size: 0.14rem;
  508. font-family: PingFang SC-Medium, PingFang SC;
  509. background: url(../../assets/img/background.png);
  510. background-size: 100% 100%;
  511. padding-top: calc(100vh * (50 / 1080));
  512. .top {
  513. width: 100%;
  514. height: calc(100vh * (600 / 1080));
  515. padding-left: calc(100vw * (34 / 1920));
  516. padding-right: calc(100vw * (30 / 1920));
  517. display: flex;
  518. justify-content: space-between;
  519. .left,
  520. .right {
  521. //滚动条样式
  522. ::-webkit-scrollbar {
  523. width: 3.5px;
  524. }
  525. ::-webkit-scrollbar-track {
  526. background-color: rgba(0, 0, 0, 0);
  527. }
  528. ::-webkit-scrollbar-thumb {
  529. background: #2e8aec;
  530. border-radius: 3px;
  531. }
  532. ::-webkit-scrollbar-thumb:hover {
  533. background: #2e8aec;
  534. }
  535. width: calc(100vw * (395 / 1920));
  536. height: calc(100vh * (568 / 1080));
  537. background: url(../../assets/img/main_BG_left.png);
  538. background-size: calc(100vw * (395 / 1920)) calc(100vh * (568 / 1080));
  539. padding-left: 10px;
  540. padding-top: 5px;
  541. .left1 {
  542. width: calc(100vw * (375 / 1920));
  543. height: calc(100vh * (556 / 1080));
  544. overflow: auto;
  545. .left-top {
  546. width: calc(100vw * (365 / 1920));
  547. height: calc(100vh * (40 / 1080));
  548. font-size: 16px;
  549. font-weight: 400;
  550. color: #ffffff;
  551. margin-top: 5px;
  552. background: url(../../assets/img/main_left_decorate.png);
  553. background-size: calc(100vw * (365 / 1920)) calc(100vh * (40 / 1080));
  554. position: sticky;
  555. left: 0;
  556. top: 0;
  557. h3 {
  558. padding-top: 6px;
  559. padding-left: 10px;
  560. margin: 0;
  561. font-size: 0.2rem;
  562. font-weight: 400;
  563. }
  564. }
  565. }
  566. .left-main {
  567. list-style: none;
  568. padding: 0;
  569. margin-top: 10px;
  570. li {
  571. width: calc(100vw * (365 / 1920));
  572. height: calc(100vh * (230 / 1080));
  573. background: rgba(18, 32, 80, 0.4);
  574. border-radius: 2px 2px 2px 2px;
  575. opacity: 1;
  576. div {
  577. padding-top: 8px;
  578. padding-left: 20px;
  579. padding-right: 5px;
  580. }
  581. .one {
  582. padding-top: 12px;
  583. }
  584. .five {
  585. display: flex;
  586. justify-content: space-evenly;
  587. color: #2e8aecff;
  588. padding-top: 8px;
  589. }
  590. .four {
  591. display: flex;
  592. .four1 {
  593. width: calc(100vw * (90 / 1920));
  594. }
  595. }
  596. }
  597. }
  598. }
  599. .cen {
  600. width: calc(100vw * (784 / 1920));
  601. height: calc(100vh * (600 / 1080));
  602. // background: aqua;
  603. position: relative;
  604. .cen—top {
  605. width: calc(100vw * (633 / 1920));
  606. height: calc(100vh * (40 / 1080));
  607. // background: salmon;
  608. // overflow: hidden;
  609. margin-left: calc(100vw * (81 / 1920));
  610. display: flex;
  611. align-items: center;
  612. .cen—top-left {
  613. width: calc(100vw * (90 / 1920));
  614. height: calc(100vh * (36 / 1080));
  615. // background: seagreen;
  616. margin-right: calc(100vw * (5 / 1920));
  617. font-size: 12px;
  618. color: #2e8aecff;
  619. display: flex;
  620. align-items: center;
  621. .el-dropdown-link {
  622. cursor: pointer;
  623. color: #409eff;
  624. }
  625. .el-icon-arrow-down {
  626. font-size: 12px;
  627. }
  628. // .cen-cen {
  629. // width: calc(100vw * (96 / 1920));
  630. // height: calc(100vh * (136 / 1080));
  631. // background: #0f1540ff;
  632. // position: absolute;
  633. // top: 30px;
  634. // left: 25px;
  635. // list-style: none;
  636. // padding: 0 calc(100vw * (3 / 1920));
  637. // padding-top: calc(100vh * (10 / 1080));
  638. // border: 1px solid #00000040;
  639. // border-radius: 2px 2px 2px 2px;
  640. // z-index: 99;
  641. // // display: none;
  642. // li {
  643. // padding: calc(100vh * (6 / 1080)) calc(100vw * (10 / 1920));
  644. // }
  645. // }
  646. }
  647. .cen—top-right {
  648. width: calc(100vw * (536 / 1920));
  649. height: calc(100vh * (36 / 1080));
  650. // background: skyblue;
  651. .cen—top-div {
  652. position: relative;
  653. .cen—top-img {
  654. // background-size: calc(100vw * (24 / 1920)) calc(100vh * (24/ 1080));
  655. width: calc(100vw * (24 / 1920));
  656. height: calc(100vh * (24 / 1080));
  657. position: absolute;
  658. left: calc(100vw * (15 / 1920));
  659. top: calc(100vh * (7 / 1080));
  660. }
  661. .cen—top-input {
  662. width: calc(100vw * (436 / 1920));
  663. height: calc(100vh * (36 / 1080));
  664. padding-left: calc(100vw * (53 / 1920));
  665. background: #14265e80;
  666. border: 1px solid #01d1ffff;
  667. }
  668. .cen—top-but {
  669. width: calc(100vw * (100 / 1920));
  670. height: calc(100vh * (36 / 1080));
  671. display: inline-block;
  672. text-align: center;
  673. line-height: calc(100vh * (36 / 1080));
  674. background: #01d1ff80;
  675. color: #ffffffcc;
  676. vertical-align: top;
  677. }
  678. }
  679. }
  680. }
  681. .cen—bottom {
  682. width: calc(100vw * (784 / 1920));
  683. height: calc(100vh * (477 / 1080));
  684. background: url(../../assets/img/MMB.png);
  685. background-size: calc(100vw * (784 / 1920)) calc(100vh * (477 / 1080));
  686. margin-top: calc(100vh * (80 / 1080));
  687. position: relative;
  688. font-size: 0.18rem;
  689. color: #ffffffff;
  690. font-weight: 400;
  691. .one {
  692. position: absolute;
  693. display: flex;
  694. flex-direction: column;
  695. align-items: center;
  696. left: calc(100vw * (172 / 1920));
  697. top: -30px;
  698. width: calc(100vw * (140 / 1920));
  699. height: calc(100vh * (153 / 1080));
  700. img {
  701. width: 100%;
  702. height: calc(100vh * (130 / 1080));
  703. }
  704. }
  705. .two {
  706. position: absolute;
  707. display: flex;
  708. flex-direction: column;
  709. align-items: center;
  710. left: calc(100vw * (442 / 1920));
  711. top: -30px;
  712. width: calc(100vw * (140 / 1920));
  713. height: calc(100vh * (153 / 1080));
  714. img {
  715. width: 100%;
  716. height: calc(100vh * (130 / 1080));
  717. }
  718. }
  719. .three {
  720. display: flex;
  721. flex-direction: column;
  722. align-items: center;
  723. position: absolute;
  724. left: calc(100vw * (36 / 1920));
  725. top: calc(100vh * (150 / 1080));
  726. width: calc(100vw * (140 / 1920));
  727. height: calc(100vh * (153 / 1080));
  728. img {
  729. width: 100%;
  730. height: calc(100vh * (130 / 1080));
  731. }
  732. }
  733. .four {
  734. display: flex;
  735. flex-direction: column;
  736. align-items: center;
  737. position: absolute;
  738. right: calc(100vw * (57 / 1920));
  739. top: calc(100vh * (150 / 1080));
  740. width: calc(100vw * (140 / 1920));
  741. height: calc(100vh * (153 / 1080));
  742. img {
  743. width: 100%;
  744. height: calc(100vh * (130 / 1080));
  745. }
  746. }
  747. }
  748. }
  749. }
  750. .bottom {
  751. width: 100%;
  752. height: calc(100vh * (304 / 1080));
  753. background-size: cover;
  754. margin-top: calc(100vh * (30 / 1080));
  755. padding-left: calc(100vw * (30 / 1920));
  756. padding-right: calc(100vw * (34 / 1920));
  757. display: flex;
  758. justify-content: space-between;
  759. .left {
  760. width: calc(100vw * (920 / 1920));
  761. height: calc(100vh * (304 / 1080));
  762. background: url(../../assets/img/footer.png);
  763. background-size: calc(100vw * (920 / 1920)) calc(100vh * (304 / 1080));
  764. padding-left: 10px;
  765. .left-top {
  766. width: calc(100vw * (880 / 1920));
  767. height: calc(100vh * (40 / 1080));
  768. font-size: 16px;
  769. font-weight: 400;
  770. color: #ffffff;
  771. margin-top: 10px;
  772. background: url(../../assets/img/main_left_decorate.png);
  773. background-size: cover;
  774. h3 {
  775. padding-top: 3px;
  776. padding-left: 10px;
  777. margin: 0;
  778. }
  779. }
  780. .left-main {
  781. margin-top: calc(100vh * (8 / 1080));
  782. color: #7ea4c8ff;
  783. background: transparent;
  784. height: calc(100vh * (230 / 1080));
  785. overflow: auto;
  786. font-size: 0.14rem;
  787. }
  788. //滚动条样式
  789. ::-webkit-scrollbar {
  790. width: 3.5px;
  791. }
  792. ::-webkit-scrollbar-track {
  793. background-color: rgba(0, 0, 0, 0);
  794. }
  795. ::-webkit-scrollbar-thumb {
  796. background: #2e8aec;
  797. border-radius: 3px;
  798. }
  799. ::-webkit-scrollbar-thumb:hover {
  800. background: #2e8aec;
  801. }
  802. }
  803. .right {
  804. width: calc(100vw * (920 / 1920));
  805. height: calc(100vh * (304 / 1080));
  806. background: url(../../assets/img/footer.png);
  807. background-size: calc(100vw * (920 / 1920)) calc(100vh * (304 / 1080));
  808. padding-left: 10px;
  809. .right-top {
  810. width: calc(100vw * (900 / 1920));
  811. height: calc(100vh * (40 / 1080));
  812. font-size: 16px;
  813. font-weight: 400;
  814. color: #ffffff;
  815. margin-top: 10px;
  816. background: url(../../assets/img/main_left_decorate.png);
  817. background-size: cover;
  818. h3 {
  819. padding-top: 3px;
  820. padding-left: 10px;
  821. margin: 0;
  822. }
  823. }
  824. .right-main {
  825. margin-top: calc(100vh * (8 / 1080));
  826. color: #7ea4c8ff;
  827. background: transparent;
  828. height: calc(100vh * (230 / 1080));
  829. overflow: auto;
  830. font-size: 0.14rem;
  831. }
  832. //滚动条样式
  833. ::-webkit-scrollbar {
  834. width: 3.5px;
  835. }
  836. ::-webkit-scrollbar-track {
  837. background-color: rgba(0, 0, 0, 0);
  838. }
  839. ::-webkit-scrollbar-thumb {
  840. background: #2e8aec;
  841. border-radius: 3px;
  842. }
  843. ::-webkit-scrollbar-thumb:hover {
  844. background: #2e8aec;
  845. }
  846. }
  847. }
  848. .dhk {
  849. width: calc(100vw * (1500 / 1920));
  850. height: calc(100vh * (850 / 1080));
  851. // background: salmon;
  852. background: #0f1540ff;
  853. position: absolute;
  854. top: 10%;
  855. left: 10%;
  856. z-index: 99;
  857. display: flex;
  858. justify-content: center;
  859. align-items: center;
  860. .gb {
  861. position: absolute;
  862. top: 0;
  863. right: 0;
  864. }
  865. video {
  866. width: calc(100vw * (1440 / 1920));
  867. height: calc(100vh * (810 / 1080));
  868. }
  869. .el-image {
  870. width: calc(100vw * (960 / 1920));
  871. height: calc(100vh * (720 / 1080));
  872. }
  873. .el-button-group {
  874. position: absolute;
  875. top: 10%;
  876. right: 1%;
  877. }
  878. }
  879. .jm {
  880. width: calc(100vw * (530 / 1920));
  881. height: calc(100vh * (370 / 1080));
  882. // background: salmon;
  883. background: #0f1540ff;
  884. position: absolute;
  885. top: 25%;
  886. left: 35%;
  887. z-index: 99;
  888. display: flex;
  889. // justify-content: center;
  890. align-items: center;
  891. .gb1 {
  892. position: absolute;
  893. top: 0;
  894. right: 0;
  895. }
  896. .el-button-group {
  897. position: absolute;
  898. top: 10%;
  899. right: 1%;
  900. }
  901. }
  902. }
  903. ::v-deep .el-icon-arrow-down:before {
  904. display: none;
  905. }
  906. //table样式
  907. ::v-deep .el-table th {
  908. background: #016c9aa6;
  909. color: #2e8aecff;
  910. }
  911. ::v-deep .el-table tr {
  912. background: transparent;
  913. }
  914. ::v-deep
  915. .el-table--striped
  916. .el-table__body
  917. tr.el-table__row--striped
  918. td.el-table__cell {
  919. background: transparent;
  920. }
  921. //table顶部白线消失处理
  922. ::v-deep .el-table th.el-table__cell.is-leaf {
  923. border-bottom: 1px solid #006c9aff;
  924. padding: 0;
  925. }
  926. //table底下白线消失处理
  927. ::v-deep .el-table {
  928. color: #ffffffff;
  929. }
  930. ::v-deep .el-table::before {
  931. width: 0;
  932. }
  933. //tr下面边框
  934. ::v-deep .el-table td.el-table__cell {
  935. border-bottom: 1px solid #083b61ff;
  936. padding: 8px 0;
  937. }
  938. ::v-deep .el-table tbody tr:hover > td {
  939. background-color: #016c9a78 !important;
  940. }
  941. </style>
  942. <style>
  943. /* 中间下拉菜单样式 */
  944. .el-dropdown-menu {
  945. background-color: #0f1540;
  946. border: 1px solid #0f1540ff;
  947. }
  948. .el-dropdown-menu__item {
  949. color: #006c9aff;
  950. }
  951. .el-dropdown-menu__item:hover {
  952. background: #01d1ff3b !important;
  953. }
  954. </style>