-5.如果您需要服务器的话 2核2G腾讯云服务器45元/年 在这里购买:https://cloud.tencent.com/act/new?fromSource=gwzcw.4325959.4325959.4325959&utm_medium=cps&utm_id=gwzcw.4325959.4325959.4325959&cps_key=962a7fdaa930cda1c06e36a7608e95cc
-
-阿里云服务器 1c2g1m 38一年 在这里购买:https://www.aliyun.com/minisite/goods?userCode=xqe01uob
-
## 1. 基本介绍
### 1.1 项目介绍
@@ -86,11 +82,9 @@ Gin-vue-admin 的成长离不开大家的支持,如果你愿意为 gin-vue-adm
## 2. 使用说明
```
-- node版本 > v12.18.3
+- node版本 > v16.8.3
- golang版本 >= v1.16
- IDE推荐:Goland
-- 初始化项目: 不同版本数据库初始化不通 参见 https://www.gin-vue-admin.com/docs/first_master
-- 替换掉项目中的七牛云公钥,私钥,仓名和默认url地址,以免发生测试文件数据错乱
```
### 2.1 server项目
@@ -121,7 +115,7 @@ go build -o server main.go (windows编译命令为go build -o server.exe main.go
cd web
# 安装依赖
-cnpm install || npm install
+npm install
# 启动web项目
npm run serve
@@ -352,7 +346,7 @@ swag init
(5)gin-vue-admin 版本更新介绍视频
-> bilibili:https://space.bilibili.com/322210472/channel/detail?cid=126418&ctype=0
+> bilibili:https://www.bilibili.com/video/BV1kv4y1g7nT
## 7. 联系方式
@@ -384,12 +378,6 @@ swag init
如果你觉得这个项目对你有帮助,你可以请作者喝饮料 :tropical_drink: [点我](https://www.gin-vue-admin.com/coffee/index.html)
-## 10. 友情链接
-
-[H5-Dooring | H5页面制作神器](https://github.com/MrXujiang/h5-Dooring)
-
-[go-zero 微服务框架|缩短从需求到上线的距离](https://github.com/zeromicro/go-zero)
-
-## 11. 商用注意事项
+## 10. 商用注意事项
如果您将此项目用于商业用途,请遵守Apache2.0协议并保留作者技术支持声明。
diff --git a/web/package.json b/web/package.json
index 92236af0..0555be15 100644
--- a/web/package.json
+++ b/web/package.json
@@ -23,14 +23,13 @@
"qs": "^6.8.0",
"quill": "^1.3.7",
"screenfull": "^5.0.2",
- "script-ext-html-webpack-plugin": "^2.1.4",
"spark-md5": "^3.0.1",
"vue": "^3.2.25",
"vue-router": "^4.0.0-0"
},
"devDependencies": {
- "@vitejs/plugin-legacy": "^1.4.4",
- "@vitejs/plugin-vue": "^2.3.3",
+ "@vitejs/plugin-legacy": "^2.0.0",
+ "@vitejs/plugin-vue": "^3.0.1",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
@@ -43,9 +42,9 @@
"dotenv": "^10.0.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^7.0.0",
- "sass": "^1.26.5",
- "sass-loader": "^8.0.2",
- "vite": "^2.8.0",
+ "sass": "^1.54.0",
+ "terser": "^5.4.0",
+ "vite": "^3.0.1",
"vite-plugin-banner": "^0.1.3",
"vite-plugin-importer": "^0.2.5"
}
diff --git a/web/src/style/base.scss b/web/src/style/base.scss
index b1ab305f..f6a2eae8 100644
--- a/web/src/style/base.scss
+++ b/web/src/style/base.scss
@@ -1,7 +1,3 @@
-.clearfix {
- *zoom: 1;
-}
-
.clearfix:after {
content: '';
display: block;
diff --git a/web/src/style/button.scss b/web/src/style/button.scss
new file mode 100644
index 00000000..9c3e7c56
--- /dev/null
+++ b/web/src/style/button.scss
@@ -0,0 +1,9 @@
+.sticky-button {
+ position: sticky;
+ top: 2px;
+ z-index: 2;
+ background-color: #fff;
+}
+.fitler{
+ width: 60%;
+}
\ No newline at end of file
diff --git a/web/src/view/superAdmin/authority/authority.vue b/web/src/view/superAdmin/authority/authority.vue
index 19ccab8a..1d80c5f8 100644
--- a/web/src/view/superAdmin/authority/authority.vue
+++ b/web/src/view/superAdmin/authority/authority.vue
@@ -83,8 +83,8 @@
-