marymelisa 4 gadi atpakaļ
vecāks
revīzija
52f4c1015b
1 mainītis faili ar 14 papildinājumiem un 1 dzēšanām
  1. 14 1
      src/layout/components/header.vue

+ 14 - 1
src/layout/components/header.vue

@@ -33,7 +33,11 @@
                 <template #content>
                     <Friend />
                 </template>
-                <span>好友</span>
+                <span class="friendIcon">
+                    <svg class="icon svg-icon" aria-hidden="true">
+                        <use xlink:href="#icon-pengyou1" />
+                    </svg>
+                </span>
             </a-popover>
         </div>
         <div class="news-container">
@@ -155,3 +159,12 @@ export default defineComponent({
     },
 });
 </script>
+<style lang="less">
+.friendIcon {
+    .icon {
+        font-size: 20px;
+        line-height: 32px;
+        margin: 6px 5px;
+    }
+}
+</style>