App.vue 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. <template>
  2. <div class="page core_dialogue">
  3. <el-header v-if="$route.meta.isAuth">
  4. <img src="./assets/img/sclogo4.png" alt="">
  5. <!-- <img src="@/assets/img/szjsxy.png" alt=""> -->
  6. <div class="homeExitContent">
  7. <div>{{ $store.state.userInfo.tname }}</div>
  8. <div class="homeExit" @click="homeExit">退出</div>
  9. </div>
  10. </el-header>
  11. <router-view ></router-view>
  12. </div>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. }
  19. },
  20. methods:{
  21. homeExit(){
  22. this.$router.push('/login')
  23. }
  24. }
  25. }
  26. </script>
  27. <style lang="less">
  28. *{
  29. margin: 0;
  30. padding: 0;
  31. }
  32. html,body{
  33. height: 100%;
  34. width: 100%;
  35. overflow:hidden ;
  36. }
  37. .textArea{
  38. font-size: 16px !important;
  39. }
  40. .page{ //app最基础页面
  41. height: 100%;
  42. width: 100%;
  43. background: #e6eaf0;
  44. img{
  45. height: 60px;
  46. }
  47. .el-header { //顶部退出区域
  48. background-color: #3d67bc;
  49. color: #333;
  50. text-align: center;
  51. display: flex;
  52. justify-content: space-between;
  53. align-items: center;
  54. min-height: 70px;
  55. .homeExitContent{
  56. color: #fff;
  57. display: flex;
  58. justify-content:flex-end;
  59. width: 300px;
  60. .homeExit{
  61. background: #ffffff;
  62. color: #000;
  63. cursor: pointer;
  64. margin-left: 15px;
  65. width: 90px;
  66. }
  67. }
  68. }
  69. }
  70. hr{ //hr横线
  71. border: none;
  72. height: 1px;
  73. width: 100%;
  74. margin: 0px 0px 10px 0px;
  75. background: #ccc;
  76. }
  77. .pAHeader{ //一级页面一级标题
  78. width: 100%;
  79. display: flex;
  80. height: 35px;
  81. justify-content: space-between;
  82. margin-bottom: 15px;
  83. .pAHeader1{
  84. font-weight: 600;
  85. font-size: 26px;
  86. text-align: left;
  87. }
  88. [type='button']{
  89. background: #0e72e6 !important;
  90. color: #fff !important;
  91. display: flex;
  92. font-size: 16px;
  93. display: flex;
  94. border-radius: 5px;
  95. justify-content: center;
  96. align-items: center;
  97. }
  98. [type='button']:hover{
  99. background: #3b85d9 !important;
  100. }
  101. }
  102. .vfpHeader{ //二级页面一级标题
  103. width: 100%;
  104. display: flex;
  105. justify-content:flex-start;
  106. margin-bottom: 15px;
  107. position: relative;
  108. .titleOne{
  109. text-align: left;
  110. font-weight: 600;
  111. font-size: 22px;
  112. flex-shrink: 0;
  113. }
  114. .smallTitle{
  115. position: absolute;
  116. top: 8px;
  117. left: 160px;
  118. font-size: 16px;
  119. }
  120. [type='button']{
  121. background: #0e72e6 !important;
  122. color: #fff !important;
  123. display: flex;
  124. position: absolute;
  125. top: -8px;
  126. right: 0;
  127. border-radius: 5px;
  128. box-sizing: border-box;
  129. padding: 9px 0;
  130. justify-content: center;
  131. font-size: 16px;
  132. width: 100px;
  133. align-items: center;
  134. }
  135. }
  136. .tabTit{ //二级页面二级标题
  137. width: 100%;
  138. font-size: 18px;
  139. font-weight:bold;
  140. margin-top: 20px;
  141. height: 29px;
  142. margin-bottom: 15px;
  143. display: flex;
  144. text-align: end;
  145. border-radius: 5px;
  146. position: relative;
  147. justify-content: space-between;
  148. align-items: flex-end;
  149. div{
  150. position: absolute;
  151. left: 0;
  152. bottom: 0;
  153. text-align: left;
  154. display: flex;
  155. align-items: flex-end;
  156. p{
  157. position: relative;
  158. width: auto;
  159. }
  160. span{
  161. font-size: 14px;
  162. margin-left: 10px;
  163. color: gray;
  164. }
  165. }
  166. [type='button']{
  167. color: #fff !important;
  168. display: flex;
  169. position: absolute;
  170. right: 0;
  171. top: -8px;
  172. box-sizing: border-box;
  173. padding: 9px 0;
  174. justify-content: center;
  175. font-size: 16px;
  176. width: 100px;
  177. border-radius: 5px;
  178. align-items: center;
  179. }
  180. }
  181. // 滚动条样式
  182. .core_dialogue {
  183. height: 100%;
  184. overflow: overlay !important;
  185. }
  186. .core_dialogue::-webkit-scrollbar-track-piece {
  187. background-color: #f8f8f800;
  188. }
  189. .core_dialogue::-webkit-scrollbar {
  190. width: 6px;
  191. transition: all 2s;
  192. }
  193. .core_dialogue::-webkit-scrollbar-thumb {
  194. background-color: #929292;
  195. border-radius: 100px;
  196. }
  197. .core_dialogue::-webkit-scrollbar-thumb:hover {
  198. background-color: #bbb;
  199. }
  200. .core_dialogue::-webkit-scrollbar-corner {
  201. background-color: rgba(255, 255, 255, 0);
  202. }
  203. // .core_dialogue::-webkit-scrollbar {
  204. // /*滚动条整体样式*/
  205. // width: 6px;
  206. // /*高宽分别对应横竖滚动条的尺寸*/
  207. // height: 6px;
  208. // }
  209. // /*定义滚动条轨道 内阴影+圆角*/
  210. // .core_dialogue::-webkit-scrollbar {
  211. // border-radius: 10px;
  212. // background-color: #b8bdc9;
  213. // }
  214. // /*定义滑块 内阴影+圆角*/
  215. // .core_dialogue::-webkit-scrollbar-thumb {
  216. // border-radius: 10px;
  217. // -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
  218. // background-color: #2c5ab3;
  219. // }
  220. .select{ //活动申请填写信息区域
  221. width: 100%;
  222. box-sizing: border-box;
  223. margin-top: 30px;
  224. // margin-bottom: 8px;
  225. .label{ //label标签
  226. min-width: 98px;
  227. margin-right: 5px;
  228. display: inline-block;
  229. text-align: justify;
  230. text-justify:distribute-all-lines;
  231. text-align-last: justify;
  232. transform: translate(0,22%);
  233. padding-right: 15px;
  234. font-size: 16px;
  235. }
  236. .inpBlock{ //一个个输入框小方块
  237. display: flex;
  238. margin-bottom: 15px;
  239. position: relative;
  240. input::-webkit-outer-spin-button,
  241. input::-webkit-inner-spin-button {
  242. -webkit-appearance: none !important;
  243. }
  244. input[type='number'] {
  245. -moz-appearance: textfield;
  246. }
  247. }
  248. .selectTop{
  249. width: 86%;
  250. display: flex;
  251. }
  252. .selectMid{
  253. display: flex;
  254. margin-top: 16px;
  255. .selectLeft{
  256. width: 40%;
  257. display: flex;
  258. flex-direction: column;
  259. margin-right: 70px;
  260. // align-items: center;
  261. }
  262. .selectRight{
  263. width: 40%;
  264. height: 150px;
  265. display: flex;
  266. flex-direction: column;
  267. .el-cascader{
  268. width: 100%;
  269. }
  270. }
  271. }
  272. }
  273. .AppBar{ //横行的跳转导航栏
  274. display: flex;
  275. margin-top: 15px;
  276. margin-bottom: 20px;
  277. div{
  278. // width: 110px;
  279. cursor: pointer;
  280. font-weight: 550;
  281. font-size: 18px;
  282. margin-right: 30px;
  283. position: relative;
  284. .pr1TitBass{
  285. // position: absolute;
  286. // width: 100%;
  287. // height: 4px;
  288. // left: 0;
  289. // top: 28px;
  290. // border-radius: 2px;
  291. // background: #2a7ea9;
  292. position: absolute;
  293. width: 100%;
  294. height: 4px;
  295. left: 0;
  296. top: 30px;
  297. border-radius: 2px;
  298. background: #2a7ea9;
  299. }
  300. }
  301. // .AppBarActive::after{
  302. // }
  303. }
  304. .addMoneyBtn{ //自定义写的的添加框
  305. width: 120px;
  306. cursor: pointer;
  307. height: 40px;
  308. border: #000 1px dashed;
  309. border-radius: 5px;
  310. margin: 18px 10px 30px;
  311. display: flex;
  312. justify-content: center;
  313. line-height: 40px;
  314. font-size: 16px;
  315. position: relative;
  316. .jia{
  317. border-radius: 50%;
  318. border: 1.5px #ccc solid;
  319. font-size: 25px;
  320. line-height: 26px;
  321. font-weight: 10;
  322. display: flex;
  323. justify-content: center;
  324. margin-top: 6px;
  325. margin-right: 5px;
  326. height: 27px;
  327. width: 27px;
  328. color: #ccc;
  329. }
  330. #upFile{
  331. position: absolute;
  332. width: 100%;
  333. height: 100%;
  334. transform: scale(1.1,1.1);
  335. opacity: 0;
  336. }
  337. }
  338. .baseBtn{ //所有页面底部按钮框
  339. width:100%;
  340. display: flex;
  341. justify-content: flex-end;
  342. margin: 10px 0;
  343. margin-top: 30px;
  344. .blockWidth{
  345. display: flex;
  346. justify-content:space-between;
  347. [type='button']{
  348. background: #409eff !important;
  349. color: #fff !important;
  350. display: flex;
  351. justify-content: center;
  352. font-size: 16px;
  353. width: 120px;
  354. margin-left: 20px;
  355. height: 40px;
  356. align-items: center;
  357. }
  358. }
  359. }
  360. .twoStyle{ //左边两边对齐,右边靠右的靠右样式资金管理页面里的
  361. display: flex !important;
  362. justify-content: flex-end;
  363. }
  364. .AddMember{ //添加成员对话框
  365. .el-input__inner{
  366. width: 300px;
  367. }
  368. .el-dialog{
  369. width: 600px;
  370. border-radius: 5px;
  371. overflow: hidden;
  372. }
  373. .el-dialog__body{
  374. display: flex;
  375. align-items: center;
  376. flex-direction: column;
  377. }
  378. .el-dialog__header{
  379. background: #32455b;
  380. text-align: center;
  381. }
  382. .el-dialog__title{
  383. color: #fff;
  384. position: relative;
  385. top: -2px;
  386. font-size: 18px;
  387. }
  388. .littleBlock{ //添加对话框 label和input框
  389. display: flex;
  390. // width: 70%;
  391. justify-content: center;
  392. width: 100%;
  393. margin: 10px;
  394. .dialogLabel{ //label
  395. width: 14%;
  396. font-size: 16px;
  397. align-items: center;
  398. margin-right: 10px;
  399. line-height: 25px;
  400. display: inline-block;
  401. text-align: justify;
  402. text-justify:distribute-all-lines;
  403. text-align-last: justify;
  404. }
  405. }
  406. .littleBlock:nth-last-of-type(-n+2){
  407. // line-height: 20px !important;
  408. // color: #0e72e6;
  409. display: flex;
  410. align-items: center;
  411. }
  412. .el-dialog__footer{
  413. padding-top: 0;
  414. }
  415. .footer{
  416. width: 100%;
  417. display: flex;
  418. justify-content: center;
  419. [type="button"]{
  420. font-size: 16px;
  421. }
  422. }
  423. }
  424. .selects{ //一级页面搜索框,不包含项目管理、成果展示
  425. width: 100%;
  426. margin-top: 20px;
  427. display: flex;
  428. flex-wrap: wrap;
  429. margin-bottom: 20px 0 10px;
  430. .selectsBlock{
  431. display: flex;
  432. margin-right: 30px;
  433. margin-bottom: 20px;
  434. }
  435. .selectLabel{
  436. width: 64px;
  437. font-size: 16px;
  438. margin-right: 10px;
  439. display: inline-block;
  440. font-weight:bolder;
  441. text-align: justify;
  442. text-justify:distribute-all-lines;
  443. text-align-last: justify;
  444. transform: translate(0,22%);
  445. }
  446. }
  447. .selectInp{// 一级页面搜索框 项目管理、成果展示
  448. display: flex;
  449. justify-content: space-between;
  450. margin-top: 20px;
  451. position: relative;
  452. width: 99%;
  453. .manageSelects{
  454. display: flex;
  455. flex-wrap: wrap;
  456. width: 80%;
  457. .selectsBlock{
  458. display: flex;
  459. margin-right: 30px;
  460. margin-bottom: 20px;
  461. }
  462. .selectLabel{
  463. width: 64px;
  464. font-size: 16px;
  465. margin-right: 10px;
  466. display: inline-block;
  467. font-weight:bolder;
  468. text-align: justify;
  469. text-justify:distribute-all-lines;
  470. text-align-last: justify;
  471. transform: translate(0,22%);
  472. }
  473. }
  474. .ProjectManagementQuery{
  475. display: flex;
  476. position: absolute;
  477. right: 0;
  478. .btn{
  479. font-size: 16px;
  480. margin-left: 10px;
  481. background: #2268bc;
  482. }
  483. }
  484. }
  485. .twoSelectInp{ //一级页面搜索框 创业公司登记、消息提示
  486. width: 100%;
  487. display: flex;
  488. justify-content: space-between;
  489. margin-top: 20px;
  490. margin-bottom: 10px;
  491. .selectTwo{
  492. display: flex;
  493. flex-wrap: wrap;
  494. width: 80%;
  495. .selectsBlock{
  496. margin-bottom: 5px;
  497. .btn2{
  498. font-size: 14px;
  499. margin-left: 10px;
  500. background: #2268bc;
  501. }
  502. }
  503. }
  504. }
  505. .inputNumber{ //输入框只能数字
  506. /* 普通IE浏览器 样式清除 */
  507. input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
  508. -webkit-appearance: none !important;
  509. }
  510. /* 火狐浏览器样式清除 */
  511. input[type="number"]{
  512. -moz-appearance:textfield;
  513. }
  514. }
  515. .fontSize{ //所有表格字体大小
  516. margin-top: 15px;
  517. // margin-bottom: 60px;
  518. font-size: 16px !important;
  519. .operations{ //所有表格按钮栏
  520. flex-shrink: 0;
  521. [type='button']{
  522. font-size: 14px;
  523. border-radius: 5px;
  524. }
  525. }
  526. }
  527. .paginations{ //分页栏
  528. position: relative;
  529. display: flex;
  530. justify-content: flex-end;
  531. margin: 20px 50px 0 0;
  532. right: 30px;
  533. bottom: 0;
  534. }
  535. .AllDialogBtn{ //所有对话框按钮
  536. width: 120px;
  537. font-size: 16px !important;
  538. }
  539. .showFileArea { //在线查看文档内容居中
  540. width: 100%;
  541. height: 70vh;
  542. display: flex;
  543. justify-content: center;
  544. }
  545. .pTit{ //项目详情类大标题
  546. color: #3994ff;
  547. font-weight: 550;
  548. font-size: 18px;
  549. margin: 15px 0;
  550. }
  551. .pTit2{ //项目详情类小标题
  552. margin-top: 15px;
  553. color: #3994ff;
  554. font-weight: 550;
  555. font-size: 16px;
  556. }
  557. .editor{ //显示栏
  558. width: 100%;
  559. box-sizing: border-box;
  560. padding: 15px 0px 10px 0px;
  561. }
  562. .pageSubmitData{ //页面提交数据,删除成员,对话框样式
  563. .el-dialog__header{
  564. display: flex;
  565. justify-content: center;
  566. }
  567. .el-dialog{
  568. border-radius: 5px;
  569. overflow: hidden;
  570. top: 10%;
  571. }
  572. .deleteContent{
  573. width: 100%;
  574. text-align: center;
  575. font-size: 22px;
  576. color: #000;
  577. }
  578. .addDialogLogo{
  579. width: 60px;
  580. height: 30px;
  581. border-radius: 5px;
  582. display: flex;
  583. justify-content: center;
  584. line-height: 30px;
  585. background: #f2f2f2;
  586. position: absolute;
  587. left: 20px; top: 15px;
  588. }
  589. .el-dialog__header{
  590. background: #32455b;
  591. }
  592. .el-dialog__title{
  593. color:#fff;
  594. display: flex;
  595. justify-content: center;
  596. font-size: 18px;
  597. position: relative;
  598. top: -2px;
  599. }
  600. .addDialogMid{
  601. box-sizing: border-box;
  602. padding:0 60px 0 10px;
  603. .addDialogTit{
  604. display: flex;
  605. span{
  606. width: 80px;
  607. line-height: 40px;
  608. text-align: left;
  609. }
  610. }
  611. .addDialogTit1{
  612. display: flex;
  613. justify-content: space-between;
  614. margin-bottom: 15px;
  615. }
  616. .addDialogTit2{
  617. margin-top: 10px;
  618. font-size: 18px;
  619. color: #000;
  620. text-indent: 2em;
  621. }
  622. .addDialogCon{
  623. margin-top: 20px;
  624. }
  625. }
  626. .dialog-footer{
  627. display: flex;
  628. justify-content: center;
  629. // .btn5{
  630. // height: 40px;
  631. // font-size: 16px;
  632. // background: #0e72e6;
  633. // width: 200px;
  634. // }
  635. }
  636. }
  637. </style>