Bladeren bron

修改bug

bill 2 jaren geleden
bovenliggende
commit
eeff05304d
2 gewijzigde bestanden met toevoegingen van 10 en 1 verwijderingen
  1. 9 0
      src/views/tagging/edit.vue
  2. 1 1
      src/views/tagging/sign.vue

+ 9 - 0
src/views/tagging/edit.vue

@@ -36,6 +36,7 @@
           placeholder="" 
           type="text" 
           v-model="tagging.part"
+          :maxlength="60"
         >
           <template #preIcon><span>遗留部位:</span></template>
         </ui-input>
@@ -45,6 +46,7 @@
           placeholder="" 
           type="text" 
           v-model="tagging.method"
+          :maxlength="60"
         >
           <template #preIcon><span>提取方法:</span></template>
         </ui-input>
@@ -54,6 +56,7 @@
           type="text" 
           placeholder=""
           v-model="tagging.principal"
+          :maxlength="60"
         >
           <template #preIcon><span>提取人:</span></template>
         </ui-input>
@@ -247,4 +250,10 @@ const delImageHandler = async (file: Tagging['images'][number]) => {
   width: 70px;
   text-align: right;
 }
+</style>
+
+<style>
+  .edit-hot-layer .input.ui-input .text.suffix input {
+    padding-right: 60px;
+  }
 </style>

+ 1 - 1
src/views/tagging/sign.vue

@@ -20,7 +20,7 @@
         :class="{ disabled: !getTaggingIsShow(tagging) }"
       />
       <template v-else>
-        <ui-icon type="pin1" ctrl @click.stop="$emit('fixed')" />
+        <ui-icon type="pin1" ctrl @click.stop="$emit('fixed')" tip="放置" />
         <ui-more 
           :options="menus" 
           style="margin-left: 20px"