natasha 1 год назад
Родитель
Сommit
18a6d385ba
2 измененных файлов с 16 добавлено и 4 удалено
  1. 9 1
      src/views/corpus/seekPage.vue
  2. 7 3
      src/views/wordcard/printNew.vue

+ 9 - 1
src/views/corpus/seekPage.vue

@@ -8,7 +8,14 @@
       </div>
       <div class="seek" @keydown="downSeek">
         <input type="text" v-model="keyword" />
-        <button @click="getdata(true)">搜索</button>
+        <button
+          @click="
+            page = 1;
+            getdata(true);
+          "
+        >
+          搜索
+        </button>
         <el-popover v-model="visibleOption" placement="bottom" width="335" trigger="click">
           <div class="set_corpus_dv">
             <span>教材</span>
@@ -663,6 +670,7 @@ export default {
   methods: {
     downSeek(e) {
       if (e.keyCode == 13) {
+        this.page = 1;
         this.getdata(true);
       }
     },

+ 7 - 3
src/views/wordcard/printNew.vue

@@ -330,11 +330,11 @@ export default {
     }
   }
   .writeTop {
-    height: auto;
+    height: 750px;
     .left,
     .right {
       width: 600px;
-      min-height: 450px;
+      min-height: 300px;
       padding: 8px 12px 18px 12px;
       border-radius: 24px;
       background: #fff;
@@ -415,8 +415,9 @@ export default {
       }
     }
     .right-preview {
-      padding: 36px 72px;
+      padding: 0 72px;
       display: block;
+      margin-top: -30px;
       .hz-box {
         justify-content: center;
         width: 100%;
@@ -482,6 +483,7 @@ export default {
       // background: #f2f3f5;
       border-radius: 8px;
       overflow: hidden;
+      transform: scale(0.7);
       .item-image-del {
         position: absolute;
         top: 8px;
@@ -534,6 +536,8 @@ export default {
       font-size: 64px;
       font-weight: 400;
       line-height: 100%;
+      transform: scale(0.7);
+      margin-top: -30px;
       &-big {
         font-size: 96px;
         margin-top: 0;