App.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  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. }
  224. .selectTop{
  225. width: 64.3%;
  226. display: flex;
  227. }
  228. .selectMid{
  229. display: flex;
  230. margin-top: 16px;
  231. .selectLeft{
  232. width: 30%;
  233. display: flex;
  234. flex-direction: column;
  235. margin-right: 70px;
  236. // align-items: center;
  237. }
  238. .selectRight{
  239. width: 29%;
  240. height: 150px;
  241. display: flex;
  242. flex-direction: column;
  243. }
  244. }
  245. }
  246. .AppBar{ //横行的跳转导航栏
  247. display: flex;
  248. margin-top: 15px;
  249. margin-bottom: 20px;
  250. div{
  251. // width: 110px;
  252. cursor: pointer;
  253. font-weight: 550;
  254. font-size: 18px;
  255. margin-right: 30px;
  256. position: relative;
  257. }
  258. .AppBarActive::after{
  259. content: "";
  260. position: absolute;
  261. width: 100%;
  262. height: 4px;
  263. left: 0;
  264. top: 28px;
  265. border-radius: 2px;
  266. background: #2a7ea9;
  267. }
  268. // .pr1TitBass{
  269. // margin-top: 2px;
  270. // height: 4px;
  271. // border-radius: 2px;
  272. // width: 100%;
  273. // background: #2a7ea9;
  274. // }
  275. }
  276. .addMoneyBtn{ //自定义写的的添加框
  277. width: 120px;
  278. cursor: pointer;
  279. height: 40px;
  280. border: #000 1px dashed;
  281. border-radius: 5px;
  282. margin: 18px 10px 30px;
  283. display: flex;
  284. justify-content: center;
  285. line-height: 40px;
  286. font-size: 16px;
  287. .jia{
  288. border-radius: 50%;
  289. border: 1.5px #ccc solid;
  290. font-size: 25px;
  291. line-height: 26px;
  292. font-weight: 10;
  293. margin-top: 6px;
  294. margin-right: 5px;
  295. height: 27px;
  296. width: 27px;
  297. color: #ccc;
  298. }
  299. }
  300. .baseBtn{ //所有页面底部按钮框
  301. width:100%;
  302. display: flex;
  303. justify-content: flex-end;
  304. margin: 10px 0;
  305. .blockWidth{
  306. display: flex;
  307. justify-content:space-between;
  308. [type='button']{
  309. background: #409eff !important;
  310. color: #fff !important;
  311. display: flex;
  312. justify-content: center;
  313. font-size: 16px;
  314. width: 120px;
  315. margin-left: 20px;
  316. height: 40px;
  317. align-items: center;
  318. }
  319. }
  320. }
  321. .twoStyle{ //左边两边对齐,右边靠右的靠右样式资金管理页面里的
  322. display: flex !important;
  323. justify-content: flex-end;
  324. }
  325. .AddMember{ //添加对话框
  326. .el-input__inner{
  327. width: 300px;
  328. }
  329. .el-dialog{
  330. width: 600px;
  331. border-radius: 5px;
  332. overflow: hidden;
  333. }
  334. .el-dialog__body{
  335. display: flex;
  336. align-items: center;
  337. flex-direction: column;
  338. }
  339. .el-dialog__header{
  340. background: #32455b;
  341. text-align: center;
  342. }
  343. .el-dialog__title{
  344. color: #fff;
  345. position: relative;
  346. top: -5px;
  347. font-size: 18px;
  348. }
  349. .littleBlock{ //添加对话框 label和input框
  350. display: flex;
  351. width: 70%;
  352. margin-top: 20px;
  353. .dialogLabel{ //label
  354. max-width: 60px;
  355. min-width: 65px;
  356. font-size: 16px;
  357. margin-right: 10px;
  358. display: inline-block;
  359. text-align: justify;
  360. text-justify:distribute-all-lines;
  361. text-align-last: justify;
  362. transform: translate(0,22%);
  363. }
  364. }
  365. .footer{
  366. width: 100%;
  367. display: flex;
  368. justify-content: center;
  369. [type="button"]{
  370. font-size: 16px;
  371. }
  372. }
  373. }
  374. .selects{ //一级页面搜索框,不包含项目管理、成果展示
  375. width: 100%;
  376. margin-top: 20px;
  377. display: flex;
  378. flex-wrap: wrap;
  379. margin-bottom: 20px 0 10px;
  380. .selectsBlock{
  381. display: flex;
  382. margin-right: 30px;
  383. margin-bottom: 20px;
  384. }
  385. .selectLabel{
  386. width: 64px;
  387. font-size: 16px;
  388. margin-right: 10px;
  389. display: inline-block;
  390. font-weight:bolder;
  391. text-align: justify;
  392. text-justify:distribute-all-lines;
  393. text-align-last: justify;
  394. transform: translate(0,22%);
  395. }
  396. }
  397. .selectInp{// 一级页面搜索框 项目管理、成果展示
  398. display: flex;
  399. justify-content: space-between;
  400. margin-top: 20px;
  401. position: relative;
  402. width: 99%;
  403. .manageSelects{
  404. display: flex;
  405. flex-wrap: wrap;
  406. width: 80%;
  407. .selectsBlock{
  408. display: flex;
  409. margin-right: 30px;
  410. margin-bottom: 20px;
  411. }
  412. .selectLabel{
  413. width: 64px;
  414. font-size: 16px;
  415. margin-right: 10px;
  416. display: inline-block;
  417. font-weight:bolder;
  418. text-align: justify;
  419. text-justify:distribute-all-lines;
  420. text-align-last: justify;
  421. transform: translate(0,22%);
  422. }
  423. }
  424. .ProjectManagementQuery{
  425. display: flex;
  426. position: absolute;
  427. right: 0;
  428. .btn{
  429. font-size: 16px;
  430. margin-left: 10px;
  431. background: #2268bc;
  432. }
  433. }
  434. }
  435. .twoSelectInp{ //一级页面搜索框 创业公司登记、消息提示
  436. width: 100%;
  437. display: flex;
  438. justify-content: space-between;
  439. margin-top: 20px;
  440. margin-bottom: 10px;
  441. .selectTwo{
  442. display: flex;
  443. flex-wrap: wrap;
  444. width: 80%;
  445. .selectsBlock{
  446. margin-bottom: 5px;
  447. .btn2{
  448. font-size: 14px;
  449. margin-left: 10px;
  450. background: #2268bc;
  451. }
  452. }
  453. }
  454. }
  455. </style>