Browse Source

看板

master
zhang_li 9 months ago
parent
commit
8c9be8dd83
  1. 4
      .env.development
  2. 4
      .env.production
  3. 4
      .env.staging
  4. 4
      package.json
  5. 4
      public/index.html
  6. BIN
      src/assets/icons/logo.png
  7. 2
      src/views/login.vue
  8. 2
      src/views/register.vue
  9. 2
      vue.config.js

4
.env.development

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = 闻荫管理系统
# 开发环境配置
ENV = 'development'
# 若依管理系统/开发环境
# 闻荫管理系统/开发环境
VUE_APP_BASE_API = 'http://localhost:12080/admin-api'
# 路由懒加载

4
.env.production

@ -1,8 +1,8 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = 闻荫管理系统
# 生产环境配置
ENV = 'production'
# 若依管理系统/生产环境
# 闻荫管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'

4
.env.staging

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = 闻荫管理系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 若依管理系统/测试环境
# 闻荫管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'

4
package.json

@ -1,8 +1,8 @@
{
"name": "ruoyi",
"version": "3.8.7",
"description": "若依管理系统",
"author": "若依",
"description": "闻荫管理系统",
"author": "闻荫",
"license": "MIT",
"scripts": {
"dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",

4
public/index.html

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<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="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title>
<link rel="icon" href="/src/assets/icons/logo.png">
<title>闻荫管理系统</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>
html,

BIN
src/assets/icons/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

2
src/views/login.vue

@ -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"

2
src/views/register.vue

@ -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" />

2
vue.config.js

@ -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 // 端口

Loading…
Cancel
Save