Przeglądaj źródła

首次打开的标签属性,ocrp2w

liuQiang 1 rok temu
rodzic
commit
efb4cdd85d

+ 7 - 4
src/components/Pdf2Word/Pdf2Word.vue

@@ -59,7 +59,7 @@
             <span>点击按钮选择文件</span>
           </el-upload>
         </div>
-        <div class="sunmit_btn" @click="addlibraryImg">添加文库文件</div>
+        <div class="sunmit_btn hand" @click="addlibraryImg">添加文库文件</div>
       </div>
       <!-- <el-button @click="test">测试</el-button> -->
     </div>
@@ -92,13 +92,13 @@
                   :on-success="handleAvatarSuccess"
                   :before-upload="beforeUp"
                 > -->
-          <span @click="reClick">重新选择</span>
+          <span @click="reClick" class="hand">重新选择</span>
           <!-- </el-upload> -->
         </div>
       </div>
       <div class="right_box">
         <div class="boder_box">
-          <div class="title">识别结果</div>
+          <div class="title" >识别结果</div>
           <div class="upimg_box">
             <el-scrollbar>
               <div class="text_box">
@@ -107,7 +107,7 @@
             </el-scrollbar>
           </div>
         </div>
-        <div class="sunmit_btn copy-qb" @click="copyQbUrl()">复制结果</div>
+        <div class="sunmit_btn copy-qb hand" @click="copyQbUrl()">复制结果</div>
       </div>
     </div>
   </div>
@@ -583,4 +583,7 @@ const downLoadfile = (res, file) => {
   height: 178px;
   text-align: center;
 }
+.hand{
+  cursor: pointer;
+}
 </style>

+ 6 - 2
src/layout/NewIndex.vue

@@ -95,8 +95,10 @@ const openMaxmin = (title, path) => {
   } else {
     const thisId = layer.open({
       type: "iframe", //类型
-      move: false, //不可拖拽
       maxmin: true,
+      moveOut: true, //可以拖出窗外
+      shade: false, //不显示遮罩
+      resize: true, //拉伸
       title: title,
       content: path,
       shadeClose: false, // 点击遮罩关闭
@@ -185,8 +187,10 @@ const openTab = (title, path) => {
   } else {
     const thisId = layer.open({
       type: "iframe", //类型
-      move: false, //不可拖拽
       maxmin: true,
+      moveOut: true, //可以拖出窗外
+      shade: false, //不显示遮罩
+      resize: true, //拉伸
       title: title,
       content: path,
       shadeClose: false, // 点击遮罩关闭

+ 2 - 2
src/layout/components/TopMenu/TopMenu.vue

@@ -35,12 +35,12 @@
       </div>
       <img
         src="@/assets/images/newIndex/p2w.png"
-        @click="openTab('文字识别', '/identifyFont')"
+        @click="openTab('Pdf转Word', '/pdf2word')"
         alt=""
       />
       <img
         src="@/assets/images/newIndex/OCR.png"
-        @click="scannerFile"
+        @click="openTab('文字识别', '/identifyFont')"
         alt=""
       />
       <img