App.vue 12 KB

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