ソースを参照

fix icon display

bzkf3 2 年 前
コミット
1051fb5db6
共有1 個のファイルを変更した14 個の追加4 個の削除を含む
  1. 14 4
      src/views/hdlb/sqjl/index.vue

+ 14 - 4
src/views/hdlb/sqjl/index.vue

@@ -92,7 +92,9 @@
                     </ul>
                     <div slot="reference" class="hand">
                       <span class="d-in-block v-mid">{{ scope.row.hb_pjf }}</span>
-                      <span class="d-in-block v-mid icon-more ml10"></span>
+                      <span class="d-in-block v-mid icon-more ml10">
+                        <img src="@/assets/icon/more.png" alt="">
+                      </span>
                     </div>
                   </el-popover>
                 </template>
@@ -199,6 +201,8 @@ export default defineComponent({
   setup(props) {
     const _this = getCurrentInstance().proxy
 
+    // const icon_more = import('@/assets/icon/more')
+
     const currentRole = Object.keys(RoleMap).find(k => RoleMap[k].includes(role))
     const searchText = ref('')
     const total = ref(0)
@@ -371,9 +375,15 @@ export default defineComponent({
 
 .icon-more {
   width: 3px;
-  height: 12px;
-  background: url("src/assets/icon/more.png") center no-repeat;
-  background-size: 3px 12px;
+  // height: 12px;
+  // display:flex;
+  // align-items: center;
+  // background: url("src/assets/icon/more.png") center no-repeat;
+  // background-size: 3px 12px;
+  img{
+    width: 100%;
+    // height: 100%;
+  }
 }
 
 .pop-list {