Skip to content

Commit b3961da

Browse files
committed
优化 SharePopover 组件的分享面板样式,简化代码结构
1 parent 0356709 commit b3961da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

blog/components/SharePopover.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
>
88
<slot></slot>
99
<template #panel="{ close }">
10-
<div
11-
class="p-4 share-popover-panel cursor-default text-gray-600"
12-
@click.stop
13-
>
10+
<div class="p-4 share-popover-panel cursor-default" @click.stop>
1411
<div class="flex justify-between items-center mb-3">
1512
<div class="share-popover-title text-base font-bold">分享至</div>
1613
<!-- 关闭 -->

0 commit comments

Comments
 (0)