diff --git a/src/views/qualityManagement/gp12/touchScreen/record/index.vue b/src/views/qualityManagement/gp12/touchScreen/record/index.vue index 5bf95a5..9b21094 100644 --- a/src/views/qualityManagement/gp12/touchScreen/record/index.vue +++ b/src/views/qualityManagement/gp12/touchScreen/record/index.vue @@ -1,14 +1,14 @@ @@ -388,35 +454,11 @@ export default { --table-font-size: 14px; --table-font-weight: 600; --statistics-font-size: 20px; - --button-bg-color: #409EFF; - /* 蓝色按钮背景 */ - --button-text-color: #ffffff; - /* 白色按钮文字 */ - --input-bg-color: #ffffff; - /* 白色输入框背景 */ - --input-text-color: #333333; - /* 深色输入框文字 */ } -.record-container { - width: 90vw; - /* 使用视口宽度的90% */ - max-width: 1200px; - /* 设置最大宽度 */ - background-color: #ffffff; - margin: 0 auto; - /* 居中对齐 */ - padding: 20px; - /* 添加内边距 */ - box-sizing: border-box; - /* 包含内边距和边框 */ -} - -@media (max-width: 768px) { - .record-container { - width: 95vw; - /* 在小屏幕设备上使用视口宽度的95% */ - } +.container { + width: 95vw; + background-color: white; } .vxe-table--header-wrapper th { @@ -439,32 +481,6 @@ export default { flex-direction: row; align-items: center; justify-content: space-around; - color: #161823; font-size: var(--statistics-font-size); } - -/* 调整按钮和输入框大小 */ -.el-form-item { - margin-bottom: 20px; - /* 增加表单项之间的间距 */ -} - -.el-input__inner { - padding: 10px 15px; - /* 增加输入框的内边距 */ - font-size: 16px; - /* 增加输入框的字体大小 */ - background-color: var(--input-bg-color); - /* 白色输入框背景 */ - color: var(--input-text-color); - /* 深色输入框文字 */ - border: 1px solid #dcdcdc; - /* 边框颜色 */ -} - -.el-date-editor.el-input, -.el-select { - width: 100%; - /* 使日期选择器和下拉选择器占满宽度 */ -} \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index d5a4251..9afc017 100644 --- a/vue.config.js +++ b/vue.config.js @@ -68,11 +68,11 @@ module.exports = { }, }, plugins: [ - new BundleAnalyzerPlugin({ - analyzerMode: 'disabled', // 默认不自动启动 - generateStatsFile: true, // 生成stats.json文件 - statsFilename: 'stats.json', - }), + // new BundleAnalyzerPlugin({ + // analyzerMode: 'disabled', + // generateStatsFile: true, + // statsFilename: 'stats.json', + // }), ], }, chainWebpack(config) {