App.vue 13 KB

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