Browse Source

更新 'src/pages/views/planTool/index.vue'

Caner 1 year ago
parent
commit
2c670b81f9
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/pages/views/planTool/index.vue

+ 7 - 7
src/pages/views/planTool/index.vue

@@ -9,7 +9,7 @@
         <n-input-number
           v-model:value="Width"
           readonly
-          style="width: 70%"
+          style="flex: 1;"
         />
       </n-input-group>
       <n-input-group>
@@ -17,14 +17,14 @@
         <n-input-number
           v-model:value="Height"
           readonly
-          style="width: 70%"
+          style="flex: 1;"
         />
       </n-input-group>
       <n-input-group>
         <n-input-group-label>隧道比例</n-input-group-label>
         <n-input-number
           v-model:value="scale"
-          style="width: 70%"
+          style="flex: 1;"
           @update:value="initViewer"
         />
       </n-input-group>
@@ -319,10 +319,10 @@ onMounted(() => {
     width: 100%;
     display: flex;
     margin-top: 10px;
-
-    // justify-content: center;
-    &>label {
-      margin-right: 10px;
+	justify-content: space-between;
+  
+    &>div {
+      width:31%;
     }
   }