Procházet zdrojové kódy

下拉框中文字未居中显示

lxf před 2 roky
rodič
revize
8f36014573
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      src/components/byTable/index.vue

+ 3 - 1
src/components/byTable/index.vue

@@ -38,6 +38,7 @@
             <li
               @click="searchItemSelct('all', i,index)"
               v-if="i.isShowAll === false ? i.isShowAll : true"
+              style="display: flex; align-items: center; justify-content: center;"
             >
               全部
             </li>
@@ -45,6 +46,7 @@
               v-for="j in i.data"
               :key="j.value"
               @click="searchItemSelct(j, i)"
+              style="display: flex; align-items: center; justify-content: center;"
             >
               {{ j.label }}
             </li>
@@ -548,7 +550,7 @@ export default defineComponent({
     }
   }
 }
-::v-deep(.by-dropdown-lists){
+.by-dropdown-lists {
   max-height: 50vh;
   overflow-y: auto;
   line-height: 1