diff --git a/src/views/exampleShowcase.ts b/src/views/exampleShowcase.ts
index b457e11..eaa2549 100644
--- a/src/views/exampleShowcase.ts
+++ b/src/views/exampleShowcase.ts
@@ -34,14 +34,6 @@ export function getExampleShowcaseContent(): string {
-
-
`;
}
@@ -165,41 +157,6 @@ export function getExampleShowcaseStyles(): string {
-webkit-box-orient: vertical;
}
- .web-link {
- display: flex;
- justify-content: center;
- padding-top: 20px;
- border-top: 1px solid var(--vscode-panel-border);
- margin-top: 8px;
- }
-
- .web-link-button {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 10px 20px;
- background: transparent;
- border: none;
- text-decoration: none;
- font-size: 14px;
- font-weight: 600;
- transition: all 0.2s ease;
- background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #a855f7 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- outline: none;
- }
-
- .web-link-button:focus {
- outline: none;
- }
-
- .web-link-button:hover {
- transform: translateY(-1px);
- opacity: 0.8;
- }
-
.link-icon {
font-size: 16px;
}
@@ -208,10 +165,6 @@ export function getExampleShowcaseStyles(): string {
font-size: 16px;
transition: transform 0.2s ease;
}
-
- .web-link-button:hover .link-arrow {
- transform: translateX(3px);
- }
`;
}
diff --git a/src/views/moreOptionsComponent.ts b/src/views/moreOptionsComponent.ts
index 655372b..4e0bae1 100644
--- a/src/views/moreOptionsComponent.ts
+++ b/src/views/moreOptionsComponent.ts
@@ -1,6 +1,6 @@
/**
* 更多选项组件
- * 包含用户手册和用户反馈入口
+ * 包含用户手册入口
*/
/**
@@ -28,40 +28,10 @@ export function getMoreOptionsComponentContent(): string {
查看使用文档和帮助
-
-
-
-
-
-
-
-
-
![微信二维码]()
-
扫描二维码添加微信反馈
-
-
-
`;
}
@@ -163,125 +133,6 @@ export function getMoreOptionsComponentStyles(): string {
.option-desc {
display: none;
}
-
- /* 用户反馈二维码弹窗 */
- .feedback-qrcode-modal {
- display: none;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 20000;
- align-items: center;
- justify-content: center;
- }
-
- .feedback-qrcode-modal.active {
- display: flex;
- animation: fadeIn 0.2s ease-out;
- }
-
- @keyframes fadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
-
- .feedback-qrcode-overlay {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.6);
- cursor: pointer;
- }
-
- .feedback-qrcode-content {
- position: relative;
- background: var(--vscode-editor-background);
- border: 1px solid var(--vscode-widget-border);
- border-radius: 8px;
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
- max-width: 400px;
- width: 90%;
- animation: slideUp 0.2s ease-out;
- }
-
- @keyframes slideUp {
- from {
- opacity: 0;
- transform: translateY(20px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
-
- .feedback-qrcode-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 16px 20px;
- border-bottom: 1px solid var(--vscode-widget-border);
- }
-
- .feedback-qrcode-title {
- font-size: 14px;
- font-weight: 600;
- color: var(--vscode-foreground);
- }
-
- .feedback-qrcode-close {
- width: 28px;
- height: 28px;
- padding: 0;
- background: transparent;
- border: none;
- border-radius: 4px;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: background 0.15s ease;
- }
-
- .feedback-qrcode-close:hover {
- background: var(--vscode-toolbar-hoverBackground);
- }
-
- .feedback-qrcode-close svg {
- width: 16px;
- height: 16px;
- color: var(--vscode-foreground);
- }
-
- .feedback-qrcode-body {
- padding: 24px;
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 16px;
- }
-
- .feedback-qrcode-image {
- width: 200px;
- height: 200px;
- border: 1px solid var(--vscode-widget-border);
- border-radius: 8px;
- }
-
- .feedback-qrcode-text {
- margin: 0;
- font-size: 13px;
- color: var(--vscode-descriptionForeground);
- text-align: center;
- }
`;
}
@@ -331,29 +182,6 @@ export function getMoreOptionsComponentScript(): string {
closeMoreOptionsDropdown();
}
- // 打开用户反馈
- function openUserFeedback() {
- console.log('打开用户反馈');
- vscode.postMessage({ command: 'openUserFeedback' });
- closeMoreOptionsDropdown();
- }
-
- // 显示用户反馈二维码弹窗
- function showFeedbackQRCode() {
- const modal = document.getElementById('feedbackQRCodeModal');
- if (modal) {
- modal.classList.add('active');
- }
- }
-
- // 关闭用户反馈二维码弹窗
- function closeFeedbackQRCode() {
- const modal = document.getElementById('feedbackQRCodeModal');
- if (modal) {
- modal.classList.remove('active');
- }
- }
-
// 绑定更多选项事件
document.addEventListener('DOMContentLoaded', () => {
// 绑定用户手册选项
@@ -362,12 +190,6 @@ export function getMoreOptionsComponentScript(): string {
userManualOption.addEventListener('click', openUserManual);
}
- // 绑定用户反馈选项
- const userFeedbackOption = document.getElementById('userFeedbackOption');
- if (userFeedbackOption) {
- userFeedbackOption.addEventListener('click', openUserFeedback);
- }
-
// 点击页面其他地方关闭下拉面板
document.addEventListener('click', (e) => {
const dropdown = document.getElementById('moreOptionsDropdown');
diff --git a/src/views/webviewContent.ts b/src/views/webviewContent.ts
index 5e212bc..7000d0b 100644
--- a/src/views/webviewContent.ts
+++ b/src/views/webviewContent.ts
@@ -488,13 +488,17 @@ export function getWebviewContent(
${getNdtWelcomeModalContent(logoUri)}
${getExpiredModalContent(logoUri)}