Browse Source

修改选择工种后展示的宽度

huangtao 3 years ago
parent
commit
3246710a36
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/home/person/page-person.vue

+ 5 - 1
src/views/home/person/page-person.vue

@@ -245,6 +245,10 @@ export default {
   .van-dropdown-menu__title {
     padding-left: 0;
   }
+  .van-dropdown-menu__item {
+    justify-content: flex-end;
+    padding-right: 0.5rem;
+  }
 }
 </style>
 <style lang="scss" scoped>
@@ -370,7 +374,7 @@ export default {
     position: absolute;
     top: 0;
     right: 0.5rem;
-    width: 3rem;
+    width: 7rem;
     height: 1.5rem;
     overflow: hidden;
     z-index: 1000;