页面样式调整

This commit is contained in:
BianLzhaoMin 2024-09-12 09:53:00 +08:00
parent e43f8d4915
commit 9ee0268138
5 changed files with 45 additions and 45 deletions

View File

@ -2,46 +2,44 @@
const path = require('path') const path = require('path')
var proxyUrl = var proxyUrl = (module.exports = {
dev: {
module.exports = { // Paths
dev: { assetsSubDirectory: 'static',
// Paths assetsPublicPath: '/',
assetsSubDirectory: 'static', host: 'localhost', // can be overwritten by process.env.HOST
assetsPublicPath: '/', port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
host: 'localhost', // can be overwritten by process.env.HOST autoOpenBrowser: false,
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined errorOverlay: true,
autoOpenBrowser: false, notifyOnErrors: true,
errorOverlay: true, poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
notifyOnErrors: true, devtool: 'cheap-module-eval-source-map',
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- cacheBusting: true,
devtool: 'cheap-module-eval-source-map', cssSourceMap: true,
cacheBusting: true, proxyTable: {
cssSourceMap: true, '/screen': {
proxyTable: { // target: 'http://112.29.103.165:21626',//重庆
'/screen': { // target: 'http://192.168.0.14:21624',//测试
// target: 'http://112.29.103.165:21626',//重庆 // target: 'http://112.29.103.165:21624/', //宁夏
// target: 'http://192.168.0.14:21624',//测试 target: 'http://192.168.2.136:28080',
// target: 'http://112.29.103.165:21624/', //宁夏 changeOrigin: true,
target: 'http://192.168.2.152:28080', // secure: true, //如果是https接口需要配置这个参数
changeOrigin: true, pathRewrite: {
// secure: true, //如果是https接口需要配置这个参数 '^/screen': '/',
pathRewrite: {
'^/screen': '/'
}
}, },
} },
}, },
build: { },
index: path.resolve(__dirname, '../dist/index01.html'), build: {
// Paths index: path.resolve(__dirname, '../dist/index01.html'),
assetsRoot: path.resolve(__dirname, '../dist'), // Paths
assetsSubDirectory: 'static01', assetsRoot: path.resolve(__dirname, '../dist'),
assetsPublicPath: '/', assetsSubDirectory: 'static01',
productionSourceMap: false, assetsPublicPath: '/',
devtool: '#source-map', productionSourceMap: false,
productionGzip: false, devtool: '#source-map',
productionGzipExtensions: ['js', 'css'], productionGzip: false,
bundleAnalyzerReport: process.env.npm_config_report productionGzipExtensions: ['js', 'css'],
} bundleAnalyzerReport: process.env.npm_config_report,
} },
})

View File

@ -196,6 +196,7 @@ export default {
show: true, show: true,
color: '#c1c1c1', color: '#c1c1c1',
fontSize: 14, fontSize: 14,
margin: 20,
formatter: function (value) { formatter: function (value) {
return value return value
}, },

View File

@ -200,8 +200,9 @@ export default {
// //
axisLabel: { axisLabel: {
show: true, show: true,
color: '#c1c1c1', color: '#fff',
fontSize: 14, fontSize: 14,
margin: 25,
formatter: function (value) { formatter: function (value) {
return value return value
}, },

View File

@ -436,9 +436,9 @@ export default {
color: #d5d6da !important; color: #d5d6da !important;
} }
/deep/ .el-table__empty-block { /deep/ .el-table__empty-block {
background-color: transparent !important; background-color: #335684 !important;
.el-table__empty-text { .el-table__empty-text {
color: #d5d6da !important; color: #fff !important;
} }
} }
/deep/ .el-pagination__total { /deep/ .el-pagination__total {

View File

@ -359,7 +359,7 @@ export default {
rgba(11, 20, 71, 1) 0%, rgba(11, 20, 71, 1) 0%,
rgba(11, 20, 71, 0.9) 32%, rgba(11, 20, 71, 0.9) 32%,
rgba(11, 20, 70, 0.5) 70%, rgba(11, 20, 70, 0.5) 70%,
rgba(11, 20, 71, 0.1) 100% rgba(11, 20, 71, 0.3) 100%
); );
} }