镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 14:36:48 +00:00
improve welcome UI
这个提交包含在:
@@ -168,7 +168,7 @@
|
||||
|
||||
.welcome-card {
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0px 0px 6px 3px #e5e7eb6b;
|
||||
padding: 15px;
|
||||
margin: 10px;
|
||||
flex: 0 0 calc(30% - 10px);
|
||||
@@ -196,3 +196,11 @@
|
||||
.welcome-svg {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.welcome-title-text {
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
.welcome-content {
|
||||
text-wrap: balance;
|
||||
}
|
||||
@@ -111,13 +111,14 @@ class WelcomeMessage {
|
||||
// 创建标题
|
||||
const text = document.createElement('a');
|
||||
text.textContent = message.title;
|
||||
// var text = document.createTextNode(message.title);
|
||||
text.classList.add('welcome-title-text');
|
||||
text.href = message.url;
|
||||
text.target = "_blank";
|
||||
title.appendChild(text)
|
||||
|
||||
// 创建内容
|
||||
const content = document.createElement('p');
|
||||
const content = document.createElement('div');
|
||||
content.classList.add('welcome-content');
|
||||
content.textContent = message.content;
|
||||
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户