projectApplicationApply2.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <div class="projectApplicationApply2">
  3. <div class="left">
  4. <div class="sx">
  5. <div class="qiu"></div>
  6. </div>
  7. <div class="leftTits">
  8. <span>项目创新点</span>
  9. <span>预期取得的效果</span>
  10. <span>实施计划</span>
  11. <span>下一步</span>
  12. </div>
  13. </div>
  14. <div class="right">
  15. <div class="pA1Header">
  16. <div class="pAHeader1">项目立项申请</div>
  17. <el-button class="pAHeader3" @click="backBtn1" type="primary" size="mini">返回</el-button>
  18. </div>
  19. <hr>
  20. <div>
  21. <p class="pTit">项目创新点</p>
  22. <div class="editor">
  23. <vue-editor :editorToolbar="customToolbar" v-model="data.contentOne"></vue-editor>
  24. </div>
  25. </div>
  26. <div>
  27. <p class="pTit">预期取得的成果</p>
  28. <div>
  29. <p class="pTit2">一、项目预期成果、数量及形式</p>
  30. <div class="editor">
  31. <vue-editor :editorToolbar="customToolbar" v-model="data.contentTwo"></vue-editor>
  32. </div>
  33. </div>
  34. <div>
  35. <p class="pTit2">二、创客人才培养预期成果、数量</p>
  36. <div class="editor">
  37. <vue-editor v-model="data.contentThree" :editorToolbar="customToolbar"></vue-editor>
  38. </div>
  39. </div>
  40. <div>
  41. <p class="pTit2">三、项目预期孵化、转化创业项目情况</p>
  42. <div class="editor">
  43. <vue-editor :editorToolbar="customToolbar" v-model="data.contentFour"></vue-editor>
  44. </div>
  45. </div>
  46. </div>
  47. <div>
  48. <p class="pTit">项目实施计划</p>
  49. <div class="editor">
  50. <vue-editor v-model="data.contentFive" :editorToolbar="customToolbar"></vue-editor>
  51. </div>
  52. </div>
  53. <div class="baseBtn">
  54. <div class="blockWidth">
  55. <el-button type="primary" class="backBtn" @click="backBtn1" size:small>上一步</el-button>
  56. <el-button type="primary" class="backBtn" @click="backBtn" size:small>下一步</el-button>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </template>
  62. <script>
  63. import { VueEditor } from "vue2-editor";
  64. export default {
  65. props:["data","next",'back'],
  66. components:{
  67. VueEditor
  68. },
  69. data() {
  70. return {
  71. content:'',
  72. customToolbar: [
  73. ["bold", "italic", "underline"], [{ list: "ordered" }, { list: "bullet" }],
  74. [{ align: "" }, { align: "center" }, { align: "right"}, { align: "justify"}],
  75. [{header:[false,1,2,3,4]}]
  76. ],
  77. }
  78. },
  79. methods:{
  80. backBtn(){
  81. this.next();
  82. },
  83. backBtn1(){
  84. this.back();
  85. },
  86. }
  87. }
  88. </script>
  89. <style lang="less" scoped>
  90. .projectApplicationApply2{
  91. margin-top: 30px;
  92. width: 100%;
  93. display: flex;
  94. // background: red;
  95. justify-content: center;
  96. .right{
  97. width: 83%;
  98. background: #fff;
  99. box-sizing: border-box;
  100. padding: 10px 20px;
  101. margin-bottom: 20px;
  102. }
  103. }
  104. .textArea{
  105. display: flex;
  106. justify-content: flex-start;
  107. textarea{
  108. resize: none;outline: none;
  109. background: #f2f2f2;
  110. box-sizing: border-box;
  111. padding: 10px;
  112. }
  113. }
  114. .pTit{
  115. color: #3994ff;
  116. font-weight: 550;
  117. font-size: 18px;
  118. }
  119. .pTit2{
  120. margin-top: 16px;
  121. color: #3994ff;
  122. font-weight: 550;
  123. font-size: 16px;
  124. }
  125. .editor{
  126. width: 100%;
  127. min-width: 700px;
  128. background: #fbfbfb;
  129. box-sizing: border-box;
  130. padding: 25px 30px 10px 0px;
  131. // .VueEditor{
  132. // width: 100%;
  133. // }
  134. }
  135. </style>