소스 검색

文本超出处理

lifanagju_citu 3 주 전
부모
커밋
8bea427eef
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/Position/similarPositions.vue

+ 2 - 1
src/components/Position/similarPositions.vue

@@ -8,7 +8,7 @@
       <div :class="['enterprise', {'border-bottom-dashed': index !== list.length - 1}]">
         <v-img class="float-left entLogoImg" :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :width="30" :height="30"></v-img>
         <span class="float-left enterprise-name" v-ellipse-tooltip>{{ formatName(item.anotherName || item.enterpriseName) }}</span>
-        <span class="float-right enterprise-address">{{ !item.areaId ? '全国' : item.area?.str }}</span>
+        <span class="float-right enterprise-address" v-ellipse-tooltip>{{ !item.areaId ? '全国' : item.area?.str }}</span>
       </div>
     </div>
   </div>
@@ -75,5 +75,6 @@ const handlePosition = (item) => {
 .enterprise-address {
   color: #555;
   font-size: 13px;
+  max-width: 90px;
 }
 </style>