spring
4 天以前 ff7ae06028d6ce02b7a710a3878e34daa5c0ff25
测试库部署信息
已修改6个文件
64 ■■■■ 文件已修改
.env.development 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.production 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.staging 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
index.html 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
package.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
vite.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,8 +1,8 @@
# 页面标题
VITE_APP_TITLE = 中强恒兴管理系统
VITE_APP_TITLE = 测试进销存管理系统
# 开发环境配置
VITE_APP_ENV = 'development'
# 中强恒兴管理系统/开发环境
# 测试进销存管理系统/开发环境
VITE_APP_BASE_API = '/dev-api'
.env.production
@@ -1,10 +1,10 @@
# 页面标题
VITE_APP_TITLE = 中强恒兴管理系统
VITE_APP_TITLE = 测试进销存管理系统
# 生产环境配置
VITE_APP_ENV = 'production'
# 中强恒兴管理系统/生产环境
# 测试进销存管理系统/生产环境
VITE_APP_BASE_API = '/prod-api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
.env.staging
@@ -1,10 +1,10 @@
# 页面标题
VITE_APP_TITLE = 中强恒兴管理系统
VITE_APP_TITLE = 测试进销存管理系统
# 生产环境配置
VITE_APP_ENV = 'staging'
# 中强恒兴管理系统/生产环境
# 测试进销存管理系统/生产环境
VITE_APP_BASE_API = '/stage-api'
# 是否在打包时开启压缩,支持 gzip 和 brotli
index.html
@@ -1,14 +1,20 @@
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-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="/ZQHXico.ico">
  <title>中强恒兴管理系统</title>
  <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
    <meta charset="utf-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="/ZQHXico.ico" />
    <title>测试进销存管理系统</title>
    <!--[if lt IE 11
      ]><script>
        window.location.href = "/html/ie.html";
      </script><!
    [endif]-->
  <style>
    html,
    body,
@@ -44,7 +50,7 @@
      margin: -75px 0 0 -75px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #FFF;
        border-top-color: #fff;
      -webkit-animation: spin 2s linear infinite;
      -ms-animation: spin 2s linear infinite;
      -moz-animation: spin 2s linear infinite;
@@ -62,7 +68,7 @@
      bottom: 5px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #FFF;
        border-top-color: #fff;
      -webkit-animation: spin 3s linear infinite;
      -moz-animation: spin 3s linear infinite;
      -o-animation: spin 3s linear infinite;
@@ -79,14 +85,13 @@
      bottom: 15px;
      border-radius: 50%;
      border: 3px solid transparent;
      border-top-color: #FFF;
        border-top-color: #fff;
      -moz-animation: spin 1.5s linear infinite;
      -o-animation: spin 1.5s linear infinite;
      -ms-animation: spin 1.5s linear infinite;
      -webkit-animation: spin 1.5s linear infinite;
      animation: spin 1.5s linear infinite;
    }
    @-webkit-keyframes spin {
      0% {
@@ -116,13 +121,12 @@
      }
    }
    #loader-wrapper .loader-section {
      position: fixed;
      top: 0;
      width: 51%;
      height: 100%;
      background: #7171C6;
        background: #7171c6;
      z-index: 1000;
      -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
@@ -137,21 +141,20 @@
      right: 0;
    }
    .loaded #loader-wrapper .loader-section.section-left {
      -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
      transform: translateX(-100%);
      -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
      transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    .loaded #loader-wrapper .loader-section.section-right {
      -webkit-transform: translateX(100%);
      -ms-transform: translateX(100%);
      transform: translateX(100%);
      -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
      transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    .loaded #loader {
@@ -178,8 +181,8 @@
    }
    #loader-wrapper .load_title {
      font-family: 'Open Sans';
      color: #FFF;
        font-family: "Open Sans";
        color: #fff;
      font-size: 19px;
      width: 100%;
      text-align: center;
@@ -194,7 +197,7 @@
      font-weight: normal;
      font-style: italic;
      font-size: 13px;
      color: #FFF;
        color: #fff;
      opacity: 0.5;
    }
  </style>
@@ -211,5 +214,4 @@
  </div>
  <script type="module" src="/src/main.js"></script>
</body>
</html>
package.json
@@ -1,7 +1,7 @@
{
  "name": "ruoyi",
  "version": "3.8.9",
  "description": "中强恒兴管理系统",
  "description": "测试进销存管理系统",
  "author": "若依",
  "license": "MIT",
  "type": "module",
vite.config.js
@@ -9,7 +9,7 @@
  const baseUrl =
    VITE_APP_ENV == "development"
      ? "http://114.132.189.42:8089" // 开发环境后端接口
      : "http://114.132.189.42:1234"; // 生产环境后端接口
      : "http://114.132.189.42:8089"; // 生产环境后端接口
  return {
    // 部署生产环境和开发环境下的URL。