App.vue 13 KB

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