style: improve Feishu export modal link

This commit is contained in:
wxs 2026-05-08 16:28:12 +08:00
parent 10f4ef45d3
commit 1f4297c883

View File

@ -1492,13 +1492,22 @@
}
.xhs-export-modal-link {
color: #c8581c;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 42px;
margin-top: 12px;
border-radius: 999px;
color: #fff8ef;
background: linear-gradient(135deg, #ef6a00, #d72638);
box-shadow: 0 12px 26px rgba(187, 61, 14, 0.24);
font-weight: 800;
text-decoration: none;
}
.xhs-export-modal-link:hover {
text-decoration: underline;
filter: brightness(1.03);
}
.xhs-export-modal-actions {
@ -1931,12 +1940,13 @@
const url = result && result.url;
if (url) {
fragment.appendChild(root.document.createElement("br"));
const link = root.document.createElement("a");
link.className = "xhs-export-modal-link";
link.href = url;
link.target = "_blank";
link.rel = "noopener noreferrer";
link.textContent = "飞书表格链接";
link.textContent = "打开飞书电子表格";
fragment.appendChild(link);
return fragment;
}