Commit 4eec370a84268d683b9436d603732ad8fefdf93f
1 parent
8d8c50ea
测试环境
Showing
9 changed files
with
12 additions
and
11 deletions
.env.development
| 1 | 1 | # 页面标题 |
| 2 | -VITE_APP_TITLE = 青浦巴士岗前检测系统 | |
| 2 | +VITE_APP_TITLE = 岗前检查流程信息管理系统 | |
| 3 | 3 | |
| 4 | 4 | # 开发环境配置 |
| 5 | 5 | VITE_APP_ENV = 'development' |
| ... | ... | @@ -8,4 +8,4 @@ VITE_APP_ENV = 'development' |
| 8 | 8 | # VITE_APP_BASE_API = '/dev-api' |
| 9 | 9 | |
| 10 | 10 | # VITE_APP_BASE_API = 'http://101.95.136.206:8100' |
| 11 | -VITE_APP_BASE_API = 'http://192.168.168.124:8100' | |
| 11 | +VITE_APP_BASE_API = 'http://127.0.0.1:8100' | ... | ... |
index.html
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" |
| 10 | 10 | /> |
| 11 | 11 | <link rel="icon" href="public/favicon.ico" /> |
| 12 | - <title>青浦巴士岗前检测系统</title> | |
| 12 | + <title>岗前检查流程信息管理系统</title> | |
| 13 | 13 | <!--[if lt IE 11 |
| 14 | 14 | ]><script> |
| 15 | 15 | window.location.href = "/html/ie.html"; | ... | ... |
package.json
src/components/FleetContentBox/index.vue
| ... | ... | @@ -131,7 +131,7 @@ const handleWheel = (el) => { |
| 131 | 131 | if (containerElement.scrollHeight > containerElement.clientHeight) { |
| 132 | 132 | // el.preventDefault(); |
| 133 | 133 | // 根据滚轮滚动的距离来计算滚动量 |
| 134 | - const scrollAmount = el.deltaY > 0 ? 100 : -100; | |
| 134 | + const scrollAmount = el.deltaY * 0.5; | |
| 135 | 135 | // 修改盒子的滚动位置 |
| 136 | 136 | containerElement.scrollTop += scrollAmount; |
| 137 | 137 | } |
| ... | ... | @@ -155,7 +155,7 @@ onMounted(() => { |
| 155 | 155 | |
| 156 | 156 | <style lang="scss" scoped> |
| 157 | 157 | .fleet-content-box { |
| 158 | - height: calc(100% - clamp(0.8rem, -0.907rem + 5.71vw, 1.3rem)); | |
| 158 | + height: 85%; | |
| 159 | 159 | width: auto; |
| 160 | 160 | overflow: hidden; |
| 161 | 161 | scroll-behavior: smooth; | ... | ... |
src/layout/components/Sidebar/Logo.vue
src/views/home/index.vue
src/views/login.vue
| 1 | 1 | <template> |
| 2 | 2 | <div class="login"> |
| 3 | 3 | <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form"> |
| 4 | - <h3 class="title">青浦巴士岗前检测系统</h3> | |
| 4 | + <h3 class="title">岗前检查流程信息管理系统</h3> | |
| 5 | 5 | <el-form-item prop="username"> |
| 6 | 6 | <el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号"> |
| 7 | 7 | <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template> | ... | ... |
src/views/register.vue
| 1 | 1 | <template> |
| 2 | 2 | <div class="register"> |
| 3 | 3 | <el-form ref="registerRef" :model="registerForm" :rules="registerRules" class="register-form"> |
| 4 | - <h3 class="title">青浦巴士岗前检测系统</h3> | |
| 4 | + <h3 class="title">岗前检查流程信息管理系统</h3> | |
| 5 | 5 | <el-form-item prop="username"> |
| 6 | 6 | <el-input v-model="registerForm.username" type="text" size="large" auto-complete="off" placeholder="账号"> |
| 7 | 7 | <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template> | ... | ... |
vite.config.js
| ... | ... | @@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) => { |
| 31 | 31 | proxy: { |
| 32 | 32 | // https://cn.vitejs.dev/config/#server-proxy |
| 33 | 33 | '/dev-api': { |
| 34 | - target: 'http://192.169.1.31:8100', | |
| 34 | + // target: 'http://192.169.1.31:8100', | |
| 35 | + target: 'http://192.169.1.92:8100', | |
| 35 | 36 | changeOrigin: true, |
| 36 | 37 | rewrite: (p) => p.replace(/^\/dev-api/, '') |
| 37 | 38 | } | ... | ... |