Skip to content

Commit 6bcf127

Browse files
author
Taois
committed
feat: 发布新版drplayer增加悬浮日志
1 parent cc23857 commit 6bcf127

File tree

7 files changed

+849
-11
lines changed

7 files changed

+849
-11
lines changed

dashboard/docs/FASTIFY_DEPLOYMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fastify.get('/apps/drplayer/', async (request, reply) => {
129129
## 测试验证
130130

131131
1. 启动Fastify服务器
132-
2. 访问 `http://localhost:3000/apps/drplayer/`
132+
2. 访问 `http://localhost:5757/apps/drplayer/`
133133
3. 导航到不同页面(如设置页面)
134134
4. 刷新页面,确认不出现404错误
135135
5. 检查浏览器开发者工具,确认静态资源正常加载

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "drplayer",
33
"private": true,
4-
"version": "1.0.1 20251016",
4+
"version": "1.0.2 20251017",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

dashboard/src/App.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,29 @@
55
</Layout>
66
<!-- 全局Toast组件 -->
77
<GlobalToast />
8+
<!-- 全局悬浮iframe组件 -->
9+
<FloatingIframe
10+
:default-url="'https://www.baidu.com'"
11+
:default-position="{ x: 33, y: 604 }"
12+
:default-size="{ width: 419, height: 883 }"
13+
button-title="打开浮窗浏览器"
14+
window-title="浮窗浏览器"
15+
/>
816
</template>
917

1018
<script>
1119
import { onMounted } from 'vue';
1220
import Layout from './components/Layout.vue';
1321
import GlobalToast from './components/GlobalToast.vue';
22+
import FloatingIframe from './components/FloatingIframe.vue';
1423
import { useVisitedStore } from './stores/visitedStore';
1524
1625
export default {
1726
name: 'App',
1827
components: {
1928
Layout,
2029
GlobalToast,
30+
FloatingIframe,
2131
},
2232
setup() {
2333
const visitedStore = useVisitedStore();

0 commit comments

Comments
 (0)