Browse Source

修改打印pdf

11wqe1 1 year ago
parent
commit
17f26f1121
1 changed files with 47 additions and 41 deletions
  1. 47 41
      src/views/printView/components/studentProjectWordShow.vue

+ 47 - 41
src/views/printView/components/studentProjectWordShow.vue

@@ -40,7 +40,7 @@
 
 
         <div
         <div
           style="
           style="
-            font-size: 22px;
+            font-size: 28px;
             font-family: \4eff\5b8b;
             font-family: \4eff\5b8b;
             font-weight: bold;
             font-weight: bold;
             margin-bottom: 10px;
             margin-bottom: 10px;
@@ -49,7 +49,7 @@
           创新创业学院制
           创新创业学院制
         </div>
         </div>
         <div
         <div
-          style="font-size: 22px; font-family: \4eff\5b8b; font-weight: bold"
+          style="font-size: 28px; font-family: \4eff\5b8b; font-weight: bold"
         >
         >
           {{ nowTime }}
           {{ nowTime }}
         </div>
         </div>
@@ -57,11 +57,11 @@
     </div>
     </div>
     <table border="1" cellspacing="0" class="pdfTable" style="width: 80%;">
     <table border="1" cellspacing="0" class="pdfTable" style="width: 80%;">
 
 
-      <div class="pdfTit">
+      <!-- <div class="pdfTit">
         <div class="school">深圳技师学院</div>
         <div class="school">深圳技师学院</div>
         <div class="wordTitle">2024年校级学生创新创业训练计划项目申报书</div>
         <div class="wordTitle">2024年校级学生创新创业训练计划项目申报书</div>
         <div class="date">申请日期:{{ downWordData.applicationDate }}</div>
         <div class="date">申请日期:{{ downWordData.applicationDate }}</div>
-      </div>
+      </div> -->
       <tr id="projectName">
       <tr id="projectName">
         <td colspan="2" ref="projectName"><span class="jc">项目名称</span></td>
         <td colspan="2" ref="projectName"><span class="jc">项目名称</span></td>
         <td colspan="5" v-text="downWordData.projectName"></td>
         <td colspan="5" v-text="downWordData.projectName"></td>
@@ -793,6 +793,7 @@ export default {
     position: absolute;
     position: absolute;
     right: 0;
     right: 0;
     top: 30px;
     top: 30px;
+    font-size: 28px;
     // font-size: 25px;
     // font-size: 25px;
     // width: 100% !important;
     // width: 100% !important;
   }
   }
@@ -801,33 +802,38 @@ export default {
     width: 100%;
     width: 100%;
     text-align: center;
     text-align: center;
     .titSchool {
     .titSchool {
-      font-weight: 600;
-      font-size: 35px;
+      // font-weight: 600;
+      // font-size: 35px;
       margin-bottom: 30px;
       margin-bottom: 30px;
-      font-family: \6977\4f53;
+      // font-family: \6977\4f53;
+      font-weight: 600;
+        font-size: 44px;
+        letter-spacing: 10px;
     }
     }
     .title {
     .title {
-      font-weight: 600;
-      font-size: 32px;
+      // font-weight: 600;
+      // font-size: 32px;
       margin-bottom: 30px;
       margin-bottom: 30px;
       font-family: \9ed1\4f53;
       font-family: \9ed1\4f53;
       margin-bottom: 100px;
       margin-bottom: 100px;
+      font-size: 36px;
+      letter-spacing: 0.15em;
     }
     }
     .line {
     .line {
-      width: 300px;
+      width: 420px;
       border-bottom: 1px black solid;
       border-bottom: 1px black solid;
     }
     }
     .basicInformation {
     .basicInformation {
       display: flex;
       display: flex;
       justify-content: center;
       justify-content: center;
       align-items: center;
       align-items: center;
-      font-size: 22px;
+      font-size: 32px;
       font-family: \4eff\5b8b;
       font-family: \4eff\5b8b;
       font-weight: bold;
       font-weight: bold;
       margin-bottom: 50px;
       margin-bottom: 50px;
 
 
       span {
       span {
-        width: 100px;
+        width: 130px;
         text-align: justify;
         text-align: justify;
         text-align-last: justify;
         text-align-last: justify;
         /*兼容ie*/
         /*兼容ie*/
@@ -844,34 +850,34 @@ export default {
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
   }
   }
-  #title {
-    width: 100%;
-    line-height: 40px;
-    height: 150px;
-    display: flex;
-    flex-direction: column;
-    align-items: center;
-    position: relative;
-    // margin-top: 40px;
-    .school {
-      font-size: 2.5em;
-      font-weight: bold;
-      letter-spacing: 20px;
-      margin-bottom: 10px;
-    }
-    .wordTitle {
-      font-size: 2em;
-      letter-spacing: 0.15em;
-      // margin-bottom: 40px;
-    }
-    .date {
-      font-size: 1em;
-      position: absolute;
-      bottom: 0;
-      right: 100px;
-      font-weight: bold;
-    }
-  }
+  // #title {
+  //   width: 100%;
+  //   line-height: 40px;
+  //   height: 150px;
+  //   display: flex;
+  //   flex-direction: column;
+  //   align-items: center;
+  //   position: relative;
+  //   // margin-top: 40px;
+  //   .school {
+  //     font-size: 2.5em;
+  //     font-weight: bold;
+  //     letter-spacing: 20px;
+  //     margin-bottom: 10px;
+  //   }
+  //   .wordTitle {
+  //     font-size: 2em;
+  //     letter-spacing: 0.15em;
+  //     // margin-bottom: 40px;
+  //   }
+  //   .date {
+  //     font-size: 1em;
+  //     position: absolute;
+  //     bottom: 0;
+  //     right: 100px;
+  //     font-weight: bold;
+  //   }
+  // }
 	
 	
 	.pdfTable {
 	.pdfTable {
     //查看详情已完结页面的下载pdf的table样式
     //查看详情已完结页面的下载pdf的table样式
@@ -889,7 +895,7 @@ export default {
   color: black;
   color: black;
   width: 90%;
   width: 90%;
   margin: 0 auto;
   margin: 0 auto;
-	margin-top: 150px;
+	// margin-top: 150px;
   margin-bottom: 20px;
   margin-bottom: 20px;
   // font-size: 19px;
   // font-size: 19px;
   // font-family: \5b8b\4f53;
   // font-family: \5b8b\4f53;