From 8d4772b04241dc0940d58ddfdd16240e33ba29fe Mon Sep 17 00:00:00 2001
From: xuhuajiao <13476289682@163.com>
Date: Wed, 17 Jul 2024 10:28:10 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E9=83=A8=E6=96=87=E4=BB=B6=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=E6=93=8D=E4=BD=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 4 +--
.env.production | 1 +
package.json | 1 -
public/index.html | 1 +
public/static/config.js | 5 +++
src/api/library.js | 10 ++++++
src/assets/styles/index.scss | 64 ++++++++++++++++++++----------------
src/utils/request.js | 6 ++--
src/views/header/index.vue | 23 ++++++++++---
src/views/index.vue | 20 +++++++----
src/views/pageFour/index.vue | 4 ++-
src/views/pageOne/index.vue | 4 +--
12 files changed, 94 insertions(+), 49 deletions(-)
create mode 100644 public/static/config.js
diff --git a/.env.development b/.env.development
index dc5141a..41e54d6 100644
--- a/.env.development
+++ b/.env.development
@@ -3,8 +3,8 @@ ENV = 'development'
# 接口地址
# 许镇-本地服地址
-# VUE_APP_BASE_API = 'http://192.168.99.67:8080'
-VUE_APP_BASE_API = 'http://27.19.209.92:13244'
+VUE_APP_BASE_API = 'http://192.168.99.67:8080'
+# VUE_APP_BASE_API = 'http://27.19.209.92:13244'
VUE_APP_LIB_API = 'http://118.253.150.248:8099'
# 是否启用 babel-plugin-dynamic-import-node插件
diff --git a/.env.production b/.env.production
index d7310a7..6356002 100644
--- a/.env.production
+++ b/.env.production
@@ -3,6 +3,7 @@ ENV = 'production'
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
VUE_APP_BASE_API = 'http://192.168.1.80:7070'
+VUE_APP_LIB_API = 'http://118.253.150.248:8099'
# VUE_APP_BASE_API = 'http://127.0.0.1:8080'
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'ws://192.168.1.80:7071'
diff --git a/package.json b/package.json
index 30f0cc2..00aba97 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,6 @@
"jquery": "^3.7.1",
"svg-sprite-loader": "^6.0.11",
"TagCloud": "^2.5.0",
- "video.js": "^8.16.1",
"vue": "^2.6.11",
"vue-awesome": "^4.0.2",
"vue-count-to": "^1.0.13",
diff --git a/public/index.html b/public/index.html
index eecdaa0..edfd0ca 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,6 +6,7 @@
<%= htmlWebpackPlugin.options.title %>
+