From b7a4c440c15d39c57abaa42ebf6f4036251cfbe1 Mon Sep 17 00:00:00 2001 From: zhouhaibin Date: Sun, 30 Mar 2025 12:22:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- index.html | 2 +- .../vite-config/src/config/application.ts | 49 ------------ postcss.config.js | 13 ---- public/{favicon.ico => favicon1.ico} | Bin src/components/Application/src/AppLogo.vue | 2 +- .../ContractualTasks/ContractualShowModal.vue | 73 +++++++++++++++++- ...111l.vue => ContractualShowModal23232.vue} | 73 +----------------- .../ContractualTasks/ContractualTasks.data.ts | 2 +- .../JyjcontractualTaskBatch.data.ts | 2 +- 10 files changed, 78 insertions(+), 140 deletions(-) delete mode 100644 postcss.config.js rename public/{favicon.ico => favicon1.ico} (100%) rename src/views/contractReview/ContractualTasks/{ContractualShowModa11111l.vue => ContractualShowModal23232.vue} (84%) diff --git a/.env b/.env index 45ee00d..1938c28 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ # spa-title -VITE_GLOB_APP_TITLE = 国研信息 +VITE_GLOB_APP_TITLE = AI合同审核系统 diff --git a/index.html b/index.html index 01894c2..ee46f90 100644 --- a/index.html +++ b/index.html @@ -144,7 +144,7 @@
- +
diff --git a/internal/vite-config/src/config/application.ts b/internal/vite-config/src/config/application.ts index 27057e8..63bd718 100644 --- a/internal/vite-config/src/config/application.ts +++ b/internal/vite-config/src/config/application.ts @@ -7,13 +7,8 @@ import { defineConfig, loadEnv, mergeConfig, type UserConfig } from 'vite'; import { createPlugins } from '../plugins'; import { generateModifyVars } from '../utils/modifyVars'; import { commonConfig } from './common'; -import { babel } from '@rollup/plugin-babel'; import "@babel/plugin-transform-runtime" // import PostCssPresetEnv from 'postcss-preset-env'; -import PostCssPresetEnv from 'postcss-preset-env'; -import postcssNested from 'postcss-nested'; -import postcssCustomProperties from 'postcss-custom-properties'; -import postcssImport from 'postcss-import'; interface DefineOptions { overrides?: UserConfig; options?: { @@ -97,52 +92,8 @@ function defineApplicationConfig(defineOptions: DefineOptions = {}) { }, css: { charset: false } }, - postcss: { - plugins: [ - postcssImport(), - postcssCustomProperties({ - preserve: true - }), - postcssNested(), - PostCssPresetEnv({ - autoprefixer: { - overrideBrowserslist: [ - 'Chrome >= 49', - 'Firefox >= 52', - 'Safari >= 10', - 'Edge >= 13' - ], - grid: true - }, - stage: 3, - features: { - 'nesting-rules': true, - 'custom-properties': { - preserve: true - }, - 'custom-media-queries': true, - 'media-query-ranges': true, - // 添加对 Grid 布局的支持 - 'grid-template-columns': true, - 'grid-template-rows': true, - 'grid-auto-columns': true, - 'grid-auto-rows': true, - 'grid-auto-flow': true, - 'grid-area': true, - 'grid-template-areas': true - }, - preserve: true, - enableClientSidePolyfills: true - }) - ] - } }, plugins: [ - babel({ - presets: [ - ['@babel/preset-env', { targets: "defaults" }] - ] - }), ...plugins, ], }; diff --git a/postcss.config.js b/postcss.config.js deleted file mode 100644 index e4c0d0d..0000000 --- a/postcss.config.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - - plugins: { - - - autoprefixer: {} - - - } - - -}; - diff --git a/public/favicon.ico b/public/favicon1.ico similarity index 100% rename from public/favicon.ico rename to public/favicon1.ico diff --git a/src/components/Application/src/AppLogo.vue b/src/components/Application/src/AppLogo.vue index 029ce7e..485955f 100644 --- a/src/components/Application/src/AppLogo.vue +++ b/src/components/Application/src/AppLogo.vue @@ -7,7 +7,7 @@
- 合同审核 + AI合同审核系统
diff --git a/src/views/contractReview/ContractualTasks/ContractualShowModal.vue b/src/views/contractReview/ContractualTasks/ContractualShowModal.vue index 7ef8e77..c8c94f1 100644 --- a/src/views/contractReview/ContractualTasks/ContractualShowModal.vue +++ b/src/views/contractReview/ContractualTasks/ContractualShowModal.vue @@ -8,12 +8,22 @@ @register="registerInnerModal" >