Commit ffe8dcea authored by 胡占生's avatar 胡占生 🇨🇳

fix:登录页面样式背景调整,

左侧导航栏样式调整,顶部导航栏样式调整,整体文字调整
parent 3a6a6699
# 页面标题
VITE_APP_TITLE = 若依管理系统
VITE_APP_TITLE = AI视频分析管理平台
# 开发环境配置
VITE_APP_ENV = 'development'
# 若依管理系统/开发环境
# AI视频分析管理平台/开发环境
VITE_APP_BASE_API = '/dev-api'
# 页面标题
VITE_APP_TITLE = 若依管理系统
VITE_APP_TITLE = AI视频分析管理平台
# 生产环境配置
VITE_APP_ENV = 'production'
w
# 若依管理系统/生产环境
# AI视频分析管理平台/生产环境
VITE_APP_BASE_API = '/ai'
# 是否在打包时开启压缩,支持 gzip 和 brotli
......
# 页面标题
VITE_APP_TITLE = 若依管理系统
VITE_APP_TITLE = AI视频分析管理平台
# 生产环境配置
VITE_APP_ENV = 'staging'
# 若依管理系统/生产环境
# AI视频分析管理平台/生产环境
VITE_APP_BASE_API = '/stage-api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
......
......@@ -7,7 +7,7 @@
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="/favicon.ico">
<title>若依管理系统</title>
<title>AI视频分析管理平台</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>
html,
......
{
"name": "ruoyi",
"version": "3.8.8",
"description": "若依管理系统",
"description": "AI视频分析管理平台",
"author": "若依",
"license": "MIT",
"type": "module",
......
......@@ -15,7 +15,9 @@
-webkit-transition: width .28s;
transition: width 0.28s;
width: $base-sidebar-width !important;
background-color: $base-menu-background;
// background-color: $base-menu-background;
background-image: url("../images/side.png") !important;
background-size: cover;
height: 100%;
position: fixed;
font-size: 0px;
......
......@@ -78,7 +78,7 @@ const number = ref(0);
const uploadList = ref([]);
const dialogImageUrl = ref("");
const dialogVisible = ref(false);
const baseUrl = import.meta.env.VITE_APP_BASE_API;
const baseUrl = 'http://192.168.4.206'
const uploadImgUrl = ref(import.meta.env.VITE_APP_BASE_API + "/common/upload"); // 上传的图片服务器地址
const headers = ref({ Authorization: "Bearer " + getToken() });
const fileList = ref([]);
......@@ -95,6 +95,7 @@ watch(() => props.modelValue, val => {
if (typeof item === "string") {
if (item.indexOf(baseUrl) === -1) {
item = { name: baseUrl + item, url: baseUrl + item };
console.log("🚀 ~ watch ~ item:", item)
} else {
item = { name: item, url: item };
}
......
......@@ -105,9 +105,10 @@ function setLayout() {
height: 50px;
overflow: hidden;
position: relative;
background: #fff;
// background: #fff;
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
background-image: url("../../assets/images/top.png");
background-size: cover;
.hamburger-container {
line-height: 46px;
height: 100%;
......
<template>
<div class="login">
<el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">若依后台管理系统</h3>
<h3 class="title">AI视频分析管理平台</h3>
<el-form-item prop="username">
<el-input
v-model="loginForm.username"
......@@ -59,7 +59,7 @@
</el-form>
<!-- 底部 -->
<div class="el-login-footer">
<span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
<span>Copyright © 2002-2024 CENSOFT All Rights Reserved.</span>
</div>
</div>
</template>
......@@ -168,7 +168,7 @@ getCookie();
justify-content: center;
align-items: center;
height: 100%;
background-image: url("../assets/images/login-background.jpg");
background-image: url("../assets/images/bg.png");
background-size: cover;
}
.title {
......
<template>
<div class="register">
<el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">若依后台管理系统</h3>
<h3 class="title">AI视频分析管理平台</h3>
<el-form-item prop="username">
<el-input
v-model="registerForm.username"
......@@ -160,7 +160,7 @@ getCode();
justify-content: center;
align-items: center;
height: 100%;
background-image: url("../assets/images/login-background.jpg");
background-image: url("../assets/images/bg.png");
background-size: cover;
}
.title {
......
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