panhui 6 лет назад
Родитель
Сommit
b55878f9fc

+ 3 - 2
src/main/vue/src/components/DrugArea.vue

@@ -319,6 +319,7 @@ export default {
       this.$emit('subtraction')
     },
     bgMouseMove(e) {
+      
       if (this.isDown) {
         if (this.bgMove) {
           var width = this.$refs.dragContent.offsetWidth
@@ -328,14 +329,14 @@ export default {
           if (left > 0) {
             left = 0
           }
-          if (left < 0 - width + 600) {
+          if (left < 0 - width + window.innerWidth*0.35-50) {
             left = this.bgPosition.left
           }
 
           if (top > 60) {
             top = 60
           }
-          if (top < 0 - height + 600) {
+          if (top < 0 - height +window.innerHeight*0.5-50) {
             top = this.bgPosition.top
           }
           this.bgPosition = {

+ 1 - 1
src/main/vue/src/components/VuforiaImageInfos.vue

@@ -148,7 +148,7 @@
     <el-dialog title="查看图片" :visible.sync="imageDialogVisible" size="small">
       <img width="100%" :src="imgSrc" alt>
     </el-dialog>
-    <el-dialog title="识别图编辑" :visible.sync="VuforiaImageInfoShow" width="800px">
+    <el-dialog title="识别图编辑" :visible.sync="VuforiaImageInfoShow" width="80%">
       <div>
         <VuforiaImageInfo :formData="editVuforiaImageInfo" @hide="VuforiaImageInfoShow=false" @update="getData"></VuforiaImageInfo>
       </div>