Commit 68d32b8d authored by 胡占生's avatar 胡占生 🇨🇳

feat:算法平台初始化构建,初始布局

parent b58f231f
......@@ -3,9 +3,9 @@ VITE_APP_TITLE = 若依管理系统
# 生产环境配置
VITE_APP_ENV = 'production'
w
# 若依管理系统/生产环境
VITE_APP_BASE_API = '/prod-api'
VITE_APP_BASE_API = '/ai'
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
\ No newline at end of file
<template>
<div class="tab-title">
{{ text }}
</div>
</template>
<script>
export default defineComponent({
props: {
text: {
type: String,
required: true
}
},
})
</script>
<style scope lang="scss">
.tab-title{
display: flex;
align-items:center;/*for vertical align*/
font-size: 20px;
height: 50px;
}
.tab-title::before{
content:"";
display: inline-block;
width: 10px; /* 矩形的宽度 */
height: 30px; /* 矩形的高度 */
background-color: rgba(37, 97, 239, 1); /* 矩形的背景颜色 */
margin-right: 10px;
border-radius: 5px;
}
</style>
......@@ -8,9 +8,9 @@
<template v-if="appStore.device !== 'mobile'">
<header-search id="header-search" class="right-menu-item" />
<el-tooltip content="源码地址" effect="dark" placement="bottom">
<!-- <el-tooltip content="源码地址" effect="dark" placement="bottom">
<ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
</el-tooltip>
</el-tooltip> -->
<el-tooltip content="文档地址" effect="dark" placement="bottom">
<ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />
......
......@@ -43,6 +43,8 @@ import ImagePreview from "@/components/ImagePreview"
import TreeSelect from '@/components/TreeSelect'
// 字典标签组件
import DictTag from '@/components/DictTag'
// title组件
import TabTitle from '@/components/TabTitle'
const app = createApp(App)
......@@ -65,6 +67,7 @@ app.component('ImageUpload', ImageUpload)
app.component('ImagePreview', ImagePreview)
app.component('RightToolbar', RightToolbar)
app.component('Editor', Editor)
app.component('TabTitle', TabTitle)
app.use(router)
app.use(store)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment