diff --git a/.env.development b/.env.development
index 8723b259..b3a21f5c 100644
--- a/.env.development
+++ b/.env.development
@@ -5,7 +5,7 @@ ENV = 'development'
# VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001'
-# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
+VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
# VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002'
@@ -16,14 +16,14 @@ ENV = 'development'
# dev
# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# sit
-VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
+#VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786'
# UAT
# VITE_APP_BASE_API_Url = 'http://25.18.122.78:9786'
# DEV
# app入口
-VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
+# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# VITE_APP_BASE_API_Url = 'http://25.16.122.91:9786'
# VITE_APP_BASE_API_Url = 'http://25.18.122.66:9786'
diff --git a/src/pages.json b/src/pages.json
index 8d0ca400..62ee516d 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -411,6 +411,15 @@
}
}
},
+ {
+ "path": "pages/test/testChat",
+ "style": {
+ "navigationBarTitleText": "",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
+ },
{
"path": "pages/course/index",
"style": {
diff --git a/src/pages/test/index.vue b/src/pages/test/index.vue
index 492e2868..85bfd026 100644
--- a/src/pages/test/index.vue
+++ b/src/pages/test/index.vue
@@ -32,68 +32,15 @@
import showDialog from '@/common/dialogMessage'
const bbbb = () => {
- // showDialog({
- // title: '提示信息',
- // content: '检测到您已离开,即将退出学习页面。',
- // confirmText: '确认',
- // showCancel: false,
- // cancelText: '再想想',
- // success: (res) => {
- // if (res.confirm) {
- // console.log('用户点击确定');
- // }
- // },
- // cancel: () => {
- // console.log('用户点击取消');
- // }
- // });
- showDialog({
- title: '提示',
- content: '检测到您已存在学习记录,要继续学习吗?',
- confirmText: '重新学习',
- showCancel: true,
- cancelText: '继续学习',
- success: (res) => {
- if (res.confirm) {
- console.log('用户点击确定');
- }
- },
- cancel: () => {
- console.log('用户点击取消');
- }
- });
}
const aaaa = () => {
- common.show('提示','检测到您已存在学习记录,要继续学习吗?','继续学习', '重新学习').then(res => {
-
- })
-
-
-// function show(title, msg, showCancel = true, cancelText = '取消', confirmText = '确定') {
-
-
- // showDialog({
- // title: '提示',
- // content: '检测到您已存在学习记录,要继续学习吗?',
- // confirmText: '重新学习',
- // showCancel: true,
- // cancelText: '继续学习',
- // success: (res) => {
- // if (res.confirm) {
- // console.log('用户点击确定');
- // }
- // },
- // cancel: () => {
- // console.log('用户点击取消');
- // }
- // });
+ common.navigateTo('/pages/test/testChat')
}
diff --git a/src/pages/test/testChat2.vue b/src/pages/test/testChat2.vue
new file mode 100644
index 00000000..e250a7d3
--- /dev/null
+++ b/src/pages/test/testChat2.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+ 预热
+ 开始推流
+ 暂停推流
+ 恢复推流
+ 停止推流
+ 快照
+ 开启摄像头预览
+ 关闭摄像头预览
+ 切换摄像头
+
+
+
+
+
diff --git a/src/pagesA.json b/src/pagesA.json
index 0d926927..552ff43a 100644
--- a/src/pagesA.json
+++ b/src/pagesA.json
@@ -346,6 +346,14 @@
"titleNView": false
}
}
+ },{
+ "path": "pages/test/testChat",
+ "style": {
+ "navigationBarTitleText": "",
+ "app-plus": {
+ "titleNView": false
+ }
+ }
}
]
}
\ No newline at end of file
diff --git a/vite.config.js b/vite.config.js
index e2ccf4bc..08a24f3a 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -10,5 +10,10 @@ export default defineConfig({
port: 5174,
strictPort: true, // 可选:端口被占用时直接报错(避免自动切换端口)
open: false // 可选:启动后自动打开浏览器(按需开启)
+ },
+ base: './', // 关键:设置基础路径为相对路径
+ build: {
+ outDir: 'dist',
+ assetsDir: 'assets' // 和打包后的目录一致
}
})
\ No newline at end of file