diff --git a/.env.development b/.env.development
index 40a8245..642405c 100644
--- a/.env.development
+++ b/.env.development
@@ -1,3 +1,11 @@
+###
+ # @Author: qinzhenpen qzp1807@126.com
+ # @Date: 2024-08-28 17:21:18
+ # @LastEditors: qinzhenpen qzp1807@126.com
+ # @LastEditTime: 2024-08-30 17:10:29
+ # @FilePath: \digital-marketing\.env.development
+ # @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
+###
# 页面标题
VITE_APP_TITLE = 数字营销实训系统
@@ -5,4 +13,4 @@ VITE_APP_TITLE = 数字营销实训系统
VITE_APP_ENV = 'development'
# 若依管理系统/开发环境
-VITE_APP_BASE_API = 'http://120.79.54.255:9868'
+VITE_APP_BASE_API = 'https://szyx.sztzjy.com:9868'
diff --git a/.env.production b/.env.production
index 0df42a0..2e2e31f 100644
--- a/.env.production
+++ b/.env.production
@@ -13,7 +13,7 @@ VITE_APP_TITLE = 数字营销实训系统
VITE_APP_ENV = 'production'
# 若依管理系统/生产环境
-VITE_APP_BASE_API = 'http://120.79.54.255:9868'
+VITE_APP_BASE_API = 'https://szyx.sztzjy.com:9868'
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
\ No newline at end of file
diff --git a/dist.tar b/dist.tar
index 8c4a69a..f1d1f34 100644
Binary files a/dist.tar and b/dist.tar differ
diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss
index 72d904a..72c8a3a 100644
--- a/src/assets/styles/sidebar.scss
+++ b/src/assets/styles/sidebar.scss
@@ -75,10 +75,11 @@
padding: 25px 18px;
.el-sub-menu {
- margin-bottom: 20px;
+ margin-bottom: 0px !important;
.el-sub-menu__title {
height: 37px;
+ line-height: 37px;
background: url('../images/sidebar-normal.png') no-repeat;
background-size: 100% 100% !important;
}
@@ -88,7 +89,7 @@
.el-menu-item {
min-width: 100% !important;
- height: 37px;
+ height: 30px;
color: #fff;
padding-left: 4px;
background: transparent !important;
@@ -106,6 +107,7 @@
align-items: center;
margin-bottom: 20px;
height: 37px;
+ line-height: 37px;
color: #fff;
background: url('../images/sidebar-normal.png') no-repeat;
background-size: 100% 100% !important;
diff --git a/src/components/video/index.vue b/src/components/video/index.vue
index 7d08364..add589d 100644
--- a/src/components/video/index.vue
+++ b/src/components/video/index.vue
@@ -2,7 +2,7 @@
* @Author: qinzhenpen qzp1807@126.com
* @Date: 2024-08-28 17:09:02
* @LastEditors: qinzhenpen qzp1807@126.com
- * @LastEditTime: 2024-08-28 18:37:43
+ * @LastEditTime: 2024-08-30 17:09:21
* @FilePath: \digital-marketing\src\components\video\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -62,7 +62,7 @@ const handleEvent = (log) => {
onMounted(() => {
videlinfo.value = cache.session.getJSON("video_history");
videlinfo.value.resourcesName = videlinfo.value.resourcesName.replace(/.mp4/g, "");
- videoSrc.value = `http://120.79.54.255:8042/file${videlinfo.value.resourcesUrl}`;
+ videoSrc.value = `https://szyx.sztzjy.com:8042/file${videlinfo.value.resourcesUrl}`;
nextTick(() => {
playerOptions.value.sources[0].src = videoSrc.value;
});
diff --git a/src/utils/request.js b/src/utils/request.js
index 081ef49..47b547a 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -16,7 +16,7 @@ axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
// baseURL: import.meta.env.VITE_APP_BASE_API,
- baseURL: "http://120.79.54.255:9868/",
+ baseURL: "https://szyx.sztzjy.com:9868/",
// baseURL:'http://192.168.2.14:9868/',
// 超时
timeout: 100000,
diff --git a/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue b/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue
index 589a1cf..4b5a235 100644
--- a/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue
+++ b/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue
@@ -128,7 +128,7 @@ const sendText = async () => {
const messageId = Date.now();
const newMessage = reactive({ id: messageId, type: "ai-main", displayContent: "" });
messages.push(newMessage);
- const resp = await fetch("http://120.79.54.255:9868/api/bigModule/createArticleByAi", {
+ const resp = await fetch("https://szyx.sztzjy.com:9868/api/bigModule/createArticleByAi", {
method: "POST",
headers: {
"Content-Type": "application/json",
diff --git a/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue b/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue
index 0d6e62e..984eaf6 100644
--- a/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue
+++ b/src/views/digitalMarketTech/artificialIntelligence/components/article-identification.vue
@@ -213,7 +213,7 @@ const downloadArticle=()=>{
return proxy.$modal.msgWarning("请先完成上一步")
}
answerRecord.value=2
- window.open(`http://120.79.54.255:9868/api/stu/experimental/downloadImg?userId=${JSON.parse(getUserInfo()).userId}&TOKEN=${getToken()}`)
+ window.open(`https://szyx.sztzjy.com:9868/api/stu/experimental/downloadImg?userId=${JSON.parse(getUserInfo()).userId}&TOKEN=${getToken()}`)
}
// 识别文字
diff --git a/src/views/learningCenter/Achievement.vue b/src/views/learningCenter/Achievement.vue
index 9fd74e6..aebf606 100644
--- a/src/views/learningCenter/Achievement.vue
+++ b/src/views/learningCenter/Achievement.vue
@@ -29,7 +29,7 @@
实训报告
-
+
-
+