系统名称:智慧食堂,主题颜色修改绿色

This commit is contained in:
zzyuan 2025-05-19 17:39:15 +08:00
parent 291d082e16
commit 323702ae7d
13 changed files with 100 additions and 13 deletions

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 绿智食堂
VUE_APP_TITLE = 智食堂
# 开发环境配置
ENV = 'development'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 绿智食堂
VUE_APP_TITLE = 智食堂
# 生产环境配置
ENV = 'production'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 绿智食堂
VUE_APP_TITLE = 智食堂
NODE_ENV = production

View File

@ -1,7 +1,7 @@
{
"name": "bonus",
"version": "3.6.4",
"description": "绿智食堂",
"description": "食堂",
"author": "博诺思",
"license": "MIT",
"scripts": {

View File

@ -0,0 +1,87 @@
import request from '@/utils/request'

View File

@ -1,7 +1,7 @@
<template>
<el-color-picker
v-model="theme"
:predefine="['#409EFF', '#1890ff', '#304156','#212121','#11a983', '#13c2c2', '#6959CD', '#f5222d', ]"
:predefine="['#11a983','#1890ff', '#304156','#212121','#409EFF','#13c2c2','#6959CD','#f5222d']"
class="theme-picker"
popper-class="theme-picker-dropdown"
/>
@ -9,7 +9,7 @@
<script>
const version = require('element-ui/package.json').version // element-ui version from node_modules
const ORIGINAL_THEME = '#409EFF' // default color
const ORIGINAL_THEME = '#11a983' // default color
export default {
data() {

View File

@ -5,7 +5,7 @@ const { sideTheme, showSettings, topNav, tagsView, fixedHeader, sidebarLogo, dyn
const storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''
const state = {
title: '',
theme: storageSetting.theme || '#409EFF',
theme: storageSetting.theme || '#11a983',
sideTheme: storageSetting.sideTheme || sideTheme,
showSettings: showSettings,
topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,

View File

@ -2,7 +2,7 @@
<div class="app-container home">
<el-row :gutter="20">
<el-col :sm="24" :lg="12" style="padding-left: 20px">
<h2>绿智食堂</h2>
<h2>食堂</h2>
<p>
<b>当前版本:</b> <span>v{{ version }}</span>
</p>

View File

@ -1,7 +1,7 @@
<template>
<div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">绿智食堂</h3>
<h3 class="title">食堂</h3>
<el-form-item prop="username">
<el-input
v-model="loginForm.username"

View File

@ -3,7 +3,7 @@
<div class="login">
<div class="login-form" style="width: 450px;">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" >
<h3 class="title">绿智食堂</h3>
<h3 class="title">食堂</h3>
<template v-if="loginMethod === 'password'">
<el-form-item prop="username">
<el-input

View File

@ -1,7 +1,7 @@
<template>
<div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">绿智食堂</h3>
<h3 class="title">食堂</h3>
<el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

View File

@ -2,7 +2,7 @@
<div class="container">
<div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">绿智食堂</h3>
<h3 class="title">食堂</h3>
<el-form-item prop="nickName">
<el-input v-model="registerForm.nickName" type="text" auto-complete="off" placeholder="请输入姓名">

View File

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '绿智食堂' // 网页标题
const name = process.env.VUE_APP_TITLE || '食堂' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口