App.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <template>
  2. <div class="page">
  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: 22px;
  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. div{
  149. position: relative;
  150. p{
  151. position: absolute;
  152. width: 200px;
  153. text-align: left;
  154. left: 0;
  155. bottom: 0;
  156. }
  157. }
  158. [type='button']{
  159. color: #fff !important;
  160. display: flex;
  161. position: absolute;
  162. right: 0;
  163. top: -8px;
  164. box-sizing: border-box;
  165. padding: 9px 0;
  166. justify-content: center;
  167. font-size: 16px;
  168. width: 100px;
  169. border-radius: 5px;
  170. align-items: center;
  171. }
  172. }
  173. // 滚动条样式
  174. .core_dialogue {
  175. height: 100%;
  176. overflow: scroll;
  177. }
  178. .core_dialogue::-webkit-scrollbar-track-piece {
  179. background-color: #f8f8f800;
  180. }
  181. .core_dialogue::-webkit-scrollbar {
  182. width: 6px;
  183. transition: all 2s;
  184. }
  185. .core_dialogue::-webkit-scrollbar-thumb {
  186. background-color: #929292;
  187. border-radius: 100px;
  188. }
  189. .core_dialogue::-webkit-scrollbar-thumb:hover {
  190. background-color: #bbb;
  191. }
  192. .core_dialogue::-webkit-scrollbar-corner {
  193. background-color: rgba(255, 255, 255, 0);
  194. }
  195. // .core_dialogue::-webkit-scrollbar {
  196. // /*滚动条整体样式*/
  197. // width: 6px;
  198. // /*高宽分别对应横竖滚动条的尺寸*/
  199. // height: 6px;
  200. // }
  201. // /*定义滚动条轨道 内阴影+圆角*/
  202. // .core_dialogue::-webkit-scrollbar {
  203. // border-radius: 10px;
  204. // background-color: #b8bdc9;
  205. // }
  206. // /*定义滑块 内阴影+圆角*/
  207. // .core_dialogue::-webkit-scrollbar-thumb {
  208. // border-radius: 10px;
  209. // -webkit-box-shadow: inset 0 0 6px rgb(96, 125, 184);
  210. // background-color: #2c5ab3;
  211. // }
  212. .select{ //活动申请填写信息区域
  213. width: 100%;
  214. box-sizing: border-box;
  215. margin-top: 16px;
  216. .label{ //label标签
  217. min-width: 98px;
  218. margin-right: 5px;
  219. display: inline-block;
  220. text-align: justify;
  221. text-justify:distribute-all-lines;
  222. text-align-last: justify;
  223. transform: translate(0,22%);
  224. padding-right: 15px;
  225. font-size: 16px;
  226. }
  227. .inpBlock{ //一个个输入框小方块
  228. display: flex;
  229. margin-bottom: 15px;
  230. position: relative;
  231. input::-webkit-outer-spin-button,
  232. input::-webkit-inner-spin-button {
  233. -webkit-appearance: none !important;
  234. }
  235. input[type='number'] {
  236. -moz-appearance: textfield;
  237. }
  238. }
  239. .selectTop{
  240. width: 64.3%;
  241. display: flex;
  242. }
  243. .selectMid{
  244. display: flex;
  245. margin-top: 16px;
  246. .selectLeft{
  247. width: 30%;
  248. display: flex;
  249. flex-direction: column;
  250. margin-right: 70px;
  251. // align-items: center;
  252. }
  253. .selectRight{
  254. width: 29%;
  255. height: 150px;
  256. display: flex;
  257. flex-direction: column;
  258. }
  259. }
  260. }
  261. .AppBar{ //横行的跳转导航栏
  262. display: flex;
  263. margin-top: 15px;
  264. margin-bottom: 20px;
  265. div{
  266. // width: 110px;
  267. cursor: pointer;
  268. font-weight: 550;
  269. font-size: 18px;
  270. margin-right: 30px;
  271. position: relative;
  272. }
  273. .AppBarActive::after{
  274. content: "";
  275. position: absolute;
  276. width: 100%;
  277. height: 4px;
  278. left: 0;
  279. top: 28px;
  280. border-radius: 2px;
  281. background: #2a7ea9;
  282. }
  283. // .pr1TitBass{
  284. // margin-top: 2px;
  285. // height: 4px;
  286. // border-radius: 2px;
  287. // width: 100%;
  288. // background: #2a7ea9;
  289. // }
  290. }
  291. .addMoneyBtn{ //自定义写的的添加框
  292. width: 120px;
  293. cursor: pointer;
  294. height: 40px;
  295. border: #000 1px dashed;
  296. border-radius: 5px;
  297. margin: 18px 10px 30px;
  298. display: flex;
  299. justify-content: center;
  300. line-height: 40px;
  301. font-size: 16px;
  302. position: relative;
  303. .jia{
  304. border-radius: 50%;
  305. border: 1.5px #ccc solid;
  306. font-size: 25px;
  307. line-height: 26px;
  308. font-weight: 10;
  309. display: flex;
  310. justify-content: center;
  311. margin-top: 6px;
  312. margin-right: 5px;
  313. height: 27px;
  314. width: 27px;
  315. color: #ccc;
  316. }
  317. #upFile{
  318. position: absolute;
  319. width: 100%;
  320. height: 100%;
  321. transform: scale(1.1,1.1);
  322. opacity: 0;
  323. }
  324. }
  325. .baseBtn{ //所有页面底部按钮框
  326. width:100%;
  327. display: flex;
  328. justify-content: flex-end;
  329. margin: 10px 0;
  330. .blockWidth{
  331. display: flex;
  332. justify-content:space-between;
  333. [type='button']{
  334. background: #409eff !important;
  335. color: #fff !important;
  336. display: flex;
  337. justify-content: center;
  338. font-size: 16px;
  339. width: 120px;
  340. margin-left: 20px;
  341. height: 40px;
  342. align-items: center;
  343. }
  344. }
  345. }
  346. .twoStyle{ //左边两边对齐,右边靠右的靠右样式资金管理页面里的
  347. display: flex !important;
  348. justify-content: flex-end;
  349. }
  350. .AddMember{ //添加对话框只包括三个input框的
  351. .el-input__inner{
  352. width: 300px;
  353. }
  354. .el-dialog{
  355. width: 600px;
  356. border-radius: 5px;
  357. overflow: hidden;
  358. }
  359. .el-dialog__body{
  360. display: flex;
  361. align-items: center;
  362. flex-direction: column;
  363. }
  364. .el-dialog__header{
  365. background: #32455b;
  366. text-align: center;
  367. }
  368. .el-dialog__title{
  369. color: #fff;
  370. position: relative;
  371. top: -2px;
  372. font-size: 18px;
  373. }
  374. .littleBlock{ //添加对话框 label和input框
  375. display: flex;
  376. width: 70%;
  377. margin-top: 20px;
  378. .dialogLabel{ //label
  379. max-width: 60px;
  380. min-width: 65px;
  381. font-size: 16px;
  382. margin-right: 10px;
  383. display: inline-block;
  384. text-align: justify;
  385. text-justify:distribute-all-lines;
  386. text-align-last: justify;
  387. transform: translate(0,22%);
  388. }
  389. }
  390. .footer{
  391. width: 100%;
  392. display: flex;
  393. justify-content: center;
  394. [type="button"]{
  395. font-size: 16px;
  396. }
  397. }
  398. }
  399. .selects{ //一级页面搜索框,不包含项目管理、成果展示
  400. width: 100%;
  401. margin-top: 20px;
  402. display: flex;
  403. flex-wrap: wrap;
  404. margin-bottom: 20px 0 10px;
  405. .selectsBlock{
  406. display: flex;
  407. margin-right: 30px;
  408. margin-bottom: 20px;
  409. }
  410. .selectLabel{
  411. width: 64px;
  412. font-size: 16px;
  413. margin-right: 10px;
  414. display: inline-block;
  415. font-weight:bolder;
  416. text-align: justify;
  417. text-justify:distribute-all-lines;
  418. text-align-last: justify;
  419. transform: translate(0,22%);
  420. }
  421. }
  422. .selectInp{// 一级页面搜索框 项目管理、成果展示
  423. display: flex;
  424. justify-content: space-between;
  425. margin-top: 20px;
  426. position: relative;
  427. width: 99%;
  428. .manageSelects{
  429. display: flex;
  430. flex-wrap: wrap;
  431. width: 80%;
  432. .selectsBlock{
  433. display: flex;
  434. margin-right: 30px;
  435. margin-bottom: 20px;
  436. }
  437. .selectLabel{
  438. width: 64px;
  439. font-size: 16px;
  440. margin-right: 10px;
  441. display: inline-block;
  442. font-weight:bolder;
  443. text-align: justify;
  444. text-justify:distribute-all-lines;
  445. text-align-last: justify;
  446. transform: translate(0,22%);
  447. }
  448. }
  449. .ProjectManagementQuery{
  450. display: flex;
  451. position: absolute;
  452. right: 0;
  453. .btn{
  454. font-size: 16px;
  455. margin-left: 10px;
  456. background: #2268bc;
  457. }
  458. }
  459. }
  460. .twoSelectInp{ //一级页面搜索框 创业公司登记、消息提示
  461. width: 100%;
  462. display: flex;
  463. justify-content: space-between;
  464. margin-top: 20px;
  465. margin-bottom: 10px;
  466. .selectTwo{
  467. display: flex;
  468. flex-wrap: wrap;
  469. width: 80%;
  470. .selectsBlock{
  471. margin-bottom: 5px;
  472. .btn2{
  473. font-size: 14px;
  474. margin-left: 10px;
  475. background: #2268bc;
  476. }
  477. }
  478. }
  479. }
  480. .inputNumber{ //输入框只能数字
  481. /* 普通IE浏览器 样式清除 */
  482. input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
  483. -webkit-appearance: none !important;
  484. }
  485. /* 火狐浏览器样式清除 */
  486. input[type="number"]{
  487. -moz-appearance:textfield;
  488. }
  489. }
  490. .fontSize{ //所有表格字体大小
  491. margin-top: 15px;
  492. // margin-bottom: 60px;
  493. font-size: 16px !important;
  494. .operations{ //所有表格按钮栏
  495. flex-shrink: 0;
  496. [type='button']{
  497. font-size: 14px;
  498. border-radius: 5px;
  499. }
  500. }
  501. }
  502. .paginations{
  503. position: relative;
  504. display: flex;
  505. justify-content: flex-end;
  506. margin: 20px 50px 0 0;
  507. right: 30px;
  508. bottom: 0;
  509. }
  510. .AllDialogBtn{
  511. width: 120px;
  512. font-size: 16px !important;
  513. }
  514. .showFileArea { //在线查看文档内容居中
  515. width: 100%;
  516. height: 70vh;
  517. display: flex;
  518. justify-content: center;
  519. }
  520. </style>