diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..5d99a5e
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,5 @@
+
+{
+ "htmlWhitespaceSensitivity": "ignore",
+ "printWidth": 1000
+ }
\ No newline at end of file
diff --git a/package.json b/package.json
index dbc9f8b..f6854b6 100644
--- a/package.json
+++ b/package.json
@@ -23,11 +23,14 @@
"element-plus": "2.2.27",
"file-saver": "2.0.5",
"fuse.js": "6.6.2",
+ "highlight.js": "^11.10.0",
"js-cookie": "3.0.1",
"jsencrypt": "3.3.1",
+ "marked": "^14.0.0",
+ "md-editor-v3": "^4.18.1",
"nprogress": "0.2.0",
"pinia": "2.0.22",
- "vue": "3.2.45",
+ "vue": "^3.2.47",
"vue-cropper": "1.0.3",
"vue-router": "4.1.4"
},
diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss
index b866f48..f00bdc0 100644
--- a/src/assets/styles/sidebar.scss
+++ b/src/assets/styles/sidebar.scss
@@ -1,10 +1,12 @@
#app {
.main-container {
- height: 100%;
+ height:calc(100% - 58px);
transition: margin-left .28s;
margin-left: $base-sidebar-width;
position: relative;
+ background: url("@/assets/images/背景.png") no-repeat;
+ background-size: 100% 100%;
}
.sidebarHide {
diff --git a/src/assets/styles/variables.module.scss b/src/assets/styles/variables.module.scss
index e065775..c57f1e0 100644
--- a/src/assets/styles/variables.module.scss
+++ b/src/assets/styles/variables.module.scss
@@ -42,7 +42,7 @@ $--color-warning: #E6A23C;
$--color-danger: #F56C6C;
$--color-info: #909399;
-$base-sidebar-width: 200px;
+$base-sidebar-width: 239px;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
diff --git a/src/layout/index.vue b/src/layout/index.vue
index b257c46..c544910 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -4,9 +4,11 @@
class="app-wrapper"
:style="{ '--current-color': theme }"
>
-
+
import("@/views/visual-analysis/index.vue"),
+ name: "bi",
+ meta: { title: "BI可视化分析", icon: "dashboard", affix: true },
+ },
+ ],
+ },
{
path: "",
component: Layout,
diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index 3b26cfe..7f55c6e 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -5,7 +5,7 @@ const useAppStore = defineStore(
{
state: () => ({
sidebar: {
- opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
+ opened: true,
withoutAnimation: false,
hide: false
},
diff --git a/src/utils/request.js b/src/utils/request.js
index f428655..c8a76b2 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -16,12 +16,10 @@ 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://192.168.2.28:9868/',
baseURL:'http://192.168.2.16:9868/',
// 超时
timeout: 10000
})
-
// request拦截器
service.interceptors.request.use(config => {
// 是否需要设置 token
diff --git a/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue b/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue
index b1ad154..6f03056 100644
--- a/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue
+++ b/src/views/digitalMarketTech/AIGCLargeModel/components/AIVenisonDiagram.vue
@@ -2,38 +2,31 @@
-

-
-
你好,我是AI助手
-
作为你的智能伙伴,我既能写文章、想点子,又能陪你聊天、答疑解惑。
-
想知道我还能做什么?点这里快速上手!可以浏览器收藏网站,下次使用更高效哦 ~
-
-
-
-
-
![]()
-
{{item.title}}
-
-
{{item.text}}
+

+
+
你好,我是AI助手
+
作为你的智能伙伴,我既能写文章、想点子,又能陪你聊天、答疑解惑。
+
想知道我还能做什么?点这里快速上手!可以浏览器收藏网站,下次使用更高效哦 ~
+
+
+
+
+
![]()
+
{{ item.title }}
+
{{ item.text }}
-
+
+
-
-
{{ message.displayContent }}
+
+
@@ -41,19 +34,8 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/digitalMarketTech/AIGCLargeModel/index.vue b/src/views/digitalMarketTech/AIGCLargeModel/index.vue
index 793b040..a4b1b45 100644
--- a/src/views/digitalMarketTech/AIGCLargeModel/index.vue
+++ b/src/views/digitalMarketTech/AIGCLargeModel/index.vue
@@ -1,5 +1,5 @@
-
+
{{item.text}}
diff --git a/src/views/visual-analysis/index.vue b/src/views/visual-analysis/index.vue
new file mode 100644
index 0000000..09185ed
--- /dev/null
+++ b/src/views/visual-analysis/index.vue
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
\ No newline at end of file