diff --git a/README.md b/README.md
index e960d67..957b878 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,8 @@
# Jav Play
-Play video directly in javdb.com
+1. Call the local player to play the video in javdb.com/javlibrary.com directly.
+2. Jump from the javdb.com/javlibrary.com page to the corresponding playback page of missav
-
+
## Usage
1. Download extension zip file from github release page.
diff --git a/entrypoints/popup/index.html b/entrypoints/popup/index.html
index 389940d..4faaff0 100644
--- a/entrypoints/popup/index.html
+++ b/entrypoints/popup/index.html
@@ -3,17 +3,39 @@
- Settings
+ Jav Play Settings
-
- Feature Enabled
-
-
-
-
-
+
+
+
+
+
+
+ Enable Feature
+
+
+
+
+
+
+
+
+
+
diff --git a/entrypoints/popup/style.css b/entrypoints/popup/style.css
index 2320ee9..f3cfcf8 100644
--- a/entrypoints/popup/style.css
+++ b/entrypoints/popup/style.css
@@ -1,18 +1,51 @@
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
- width: 180px; /* 给 popup 一个合适的宽度 */
- padding: 0 15px;
+ width: 280px; /* 为新布局增加了宽度 */
+ padding: 0;
+ margin: 0;
color: #333;
}
#app {
- padding: 10px 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+ padding: 20px 15px;
+}
+
+header {
+ margin-bottom: 15px;
+}
+
+.logo {
+ width: 64px;
+ height: 64px;
+ margin-bottom: 10px;
}
h1 {
- font-size: 18px;
- text-align: center;
- margin-bottom: 20px;
+ font-size: 22px;
+ margin: 0 0 8px 0;
+}
+
+.description {
+ font-size: 14px;
+ color: #666;
+ margin: 0;
+ max-width: 240px; /* 确保描述文本可以优雅地换行 */
+}
+
+.separator {
+ width: 100%;
+ border: none;
+ border-top: 1px solid #eee;
+ margin: 0;
+}
+
+.settings-container {
+ width: 100%;
+ padding: 15px 0;
}
.setting-row {
@@ -22,7 +55,27 @@ h1 {
font-size: 14px;
}
-/* 开关的样式 */
+footer {
+ padding-top: 10px;
+ margin-top: 5px;
+}
+
+footer span {
+ font-size: 13px;
+}
+
+footer a {
+ color: #007bff;
+ text-decoration: none;
+ font-size: 13px;
+ padding: 0 3px;
+}
+
+footer a:hover {
+ text-decoration: underline;
+}
+
+/* --- 开关样式 (保持不变) --- */
.switch {
position: relative;
display: inline-block;
diff --git a/package.json b/package.json
index ec8e207..2e3447d 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "jav-play",
"description": "manifest.json description",
"private": true,
- "version": "0.3.0",
+ "version": "0.4.0",
"type": "module",
"scripts": {
"dev": "wxt",
diff --git a/public/JavPlayer.png b/public/JavPlayer.png
index 1807ce7..16a9b2b 100644
Binary files a/public/JavPlayer.png and b/public/JavPlayer.png differ
diff --git a/public/icon/16.png b/public/icon/16.png
index 0a87ea8..4f8455c 100644
Binary files a/public/icon/16.png and b/public/icon/16.png differ
diff --git a/public/icon/32.png b/public/icon/32.png
index 65c8fa4..cecf4eb 100644
Binary files a/public/icon/32.png and b/public/icon/32.png differ
diff --git a/public/icon/48.png b/public/icon/48.png
index 262a4b3..cc21a4d 100644
Binary files a/public/icon/48.png and b/public/icon/48.png differ
diff --git a/public/icon/64.png b/public/icon/64.png
index adb9826..2a10a83 100644
Binary files a/public/icon/64.png and b/public/icon/64.png differ
diff --git a/public/icon/96.png b/public/icon/96.png
index c45b148..5a304b5 100644
Binary files a/public/icon/96.png and b/public/icon/96.png differ