App.vue 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554
  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. 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: overlay;
  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: 30px;
  216. // margin-bottom: 8px;
  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: 10px;
  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. .el-dialog__footer{
  392. padding-top: 0;
  393. }
  394. .footer{
  395. width: 100%;
  396. display: flex;
  397. justify-content: center;
  398. [type="button"]{
  399. font-size: 16px;
  400. }
  401. }
  402. }
  403. .selects{ //一级页面搜索框,不包含项目管理、成果展示
  404. width: 100%;
  405. margin-top: 20px;
  406. display: flex;
  407. flex-wrap: wrap;
  408. margin-bottom: 20px 0 10px;
  409. .selectsBlock{
  410. display: flex;
  411. margin-right: 30px;
  412. margin-bottom: 20px;
  413. }
  414. .selectLabel{
  415. width: 64px;
  416. font-size: 16px;
  417. margin-right: 10px;
  418. display: inline-block;
  419. font-weight:bolder;
  420. text-align: justify;
  421. text-justify:distribute-all-lines;
  422. text-align-last: justify;
  423. transform: translate(0,22%);
  424. }
  425. }
  426. .selectInp{// 一级页面搜索框 项目管理、成果展示
  427. display: flex;
  428. justify-content: space-between;
  429. margin-top: 20px;
  430. position: relative;
  431. width: 99%;
  432. .manageSelects{
  433. display: flex;
  434. flex-wrap: wrap;
  435. width: 80%;
  436. .selectsBlock{
  437. display: flex;
  438. margin-right: 30px;
  439. margin-bottom: 20px;
  440. }
  441. .selectLabel{
  442. width: 64px;
  443. font-size: 16px;
  444. margin-right: 10px;
  445. display: inline-block;
  446. font-weight:bolder;
  447. text-align: justify;
  448. text-justify:distribute-all-lines;
  449. text-align-last: justify;
  450. transform: translate(0,22%);
  451. }
  452. }
  453. .ProjectManagementQuery{
  454. display: flex;
  455. position: absolute;
  456. right: 0;
  457. .btn{
  458. font-size: 16px;
  459. margin-left: 10px;
  460. background: #2268bc;
  461. }
  462. }
  463. }
  464. .twoSelectInp{ //一级页面搜索框 创业公司登记、消息提示
  465. width: 100%;
  466. display: flex;
  467. justify-content: space-between;
  468. margin-top: 20px;
  469. margin-bottom: 10px;
  470. .selectTwo{
  471. display: flex;
  472. flex-wrap: wrap;
  473. width: 80%;
  474. .selectsBlock{
  475. margin-bottom: 5px;
  476. .btn2{
  477. font-size: 14px;
  478. margin-left: 10px;
  479. background: #2268bc;
  480. }
  481. }
  482. }
  483. }
  484. .inputNumber{ //输入框只能数字
  485. /* 普通IE浏览器 样式清除 */
  486. input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
  487. -webkit-appearance: none !important;
  488. }
  489. /* 火狐浏览器样式清除 */
  490. input[type="number"]{
  491. -moz-appearance:textfield;
  492. }
  493. }
  494. .fontSize{ //所有表格字体大小
  495. margin-top: 15px;
  496. // margin-bottom: 60px;
  497. font-size: 16px !important;
  498. .operations{ //所有表格按钮栏
  499. flex-shrink: 0;
  500. [type='button']{
  501. font-size: 14px;
  502. border-radius: 5px;
  503. }
  504. }
  505. }
  506. .paginations{ //分页栏
  507. position: relative;
  508. display: flex;
  509. justify-content: flex-end;
  510. margin: 20px 50px 0 0;
  511. right: 30px;
  512. bottom: 0;
  513. }
  514. .AllDialogBtn{ //对话框按钮
  515. width: 120px;
  516. font-size: 16px !important;
  517. }
  518. .showFileArea { //在线查看文档内容居中
  519. width: 100%;
  520. height: 70vh;
  521. display: flex;
  522. justify-content: center;
  523. }
  524. </style>