Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
39f97485
Commit
39f97485
authored
Jul 13, 2024
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
左右bar缩放完成
parent
49da8d56
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
135 additions
and
75 deletions
+135
-75
rightBar.vue
zh-baseversion-web/src/components/bigWindow/rightBar.vue
+2
-1
index.vue
zh-baseversion-web/src/views/bigWindow/index.vue
+128
-70
vue.config.js
zh-baseversion-web/vue.config.js
+5
-4
No files found.
zh-baseversion-web/src/components/bigWindow/rightBar.vue
View file @
39f97485
...
@@ -1151,6 +1151,7 @@ export default {
...
@@ -1151,6 +1151,7 @@ export default {
.rightb
{
.rightb
{
width
:
98%
;
width
:
98%
;
height
:
100%
;
height
:
100%
;
}
}
.rightbar1
{
.rightbar1
{
width
:
90%
;
width
:
90%
;
...
@@ -1161,7 +1162,7 @@ export default {
...
@@ -1161,7 +1162,7 @@ export default {
.rightbar2
{
.rightbar2
{
width
:
76%
;
width
:
76%
;
height
:
37%
;
height
:
37%
;
padding-top
:
15
px
;
padding-top
:
30
px
;
margin-left
:
20%
;
margin-left
:
20%
;
pointer-events
:
auto
;
pointer-events
:
auto
;
}
}
...
...
zh-baseversion-web/src/views/bigWindow/index.vue
View file @
39f97485
This diff is collapsed.
Click to expand it.
zh-baseversion-web/vue.config.js
View file @
39f97485
...
@@ -35,8 +35,9 @@ module.exports = {
...
@@ -35,8 +35,9 @@ module.exports = {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://localhost:8905/gassafety`
,
//
target: `http://localhost:8905/gassafety`,
// target: `http://27.128.233.145:8905/gassafety`,
// target: `http://27.128.233.145:8905/gassafety`,
target
:
` http://36.138.180.82:8905/gassafety`
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
@@ -81,7 +82,7 @@ module.exports = {
...
@@ -81,7 +82,7 @@ module.exports = {
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
after
(
'html'
)
.
after
(
'html'
)
.
use
(
'script-ext-html-webpack-plugin'
,
[{
.
use
(
'script-ext-html-webpack-plugin'
,
[{
// `runtime` must same as runtimeChunk name. default is `runtime`
// `runtime` must same as runtimeChunk name. default is `runtime`
inline
:
/runtime
\.
.*
\.
js$/
inline
:
/runtime
\.
.*
\.
js$/
}])
}])
.
end
()
.
end
()
...
@@ -111,8 +112,8 @@ module.exports = {
...
@@ -111,8 +112,8 @@ module.exports = {
})
})
config
.
optimization
.
runtimeChunk
(
'single'
),
config
.
optimization
.
runtimeChunk
(
'single'
),
{
{
from
:
path
.
resolve
(
__dirname
,
'./public/robots.txt'
),
//防爬虫文件
from
:
path
.
resolve
(
__dirname
,
'./public/robots.txt'
),
//防爬虫文件
to
:
'./'
,
//到根目录下
to
:
'./'
,
//到根目录下
}
}
}
}
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment