From 9f41401a107e83c06a5297f74a1f427590d5b7de Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 13 May 2024 10:24:44 +0800 Subject: [PATCH] =?UTF-8?q?element-plus=E5=8D=87=E7=BA=A7=E8=87=B32.4.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 144 +++++++++++++------ package.json | 2 +- src/components/Panel/index.vue | 3 +- src/styles/index.scss | 4 +- src/views/product/afterLoan/1029/Index.vue | 9 +- src/views/product/afterLoan/1030/Index.vue | 9 +- src/views/product/afterLoan/1031/Index.vue | 9 +- src/views/product/afterLoan/1032/Index.vue | 9 +- src/views/product/afterLoan/1033/Index.vue | 9 +- src/views/product/bank/Config.vue | 8 +- src/views/product/bank/List.vue | 15 +- src/views/product/fund/List.vue | 6 +- src/views/product/insurance/List.vue | 6 +- src/views/product/interestRate/772/Index.vue | 9 +- src/views/product/interestRate/935/Index.vue | 9 +- src/views/product/interestRate/936/Index.vue | 9 +- src/views/product/strategy/150/Index.vue | 9 +- src/views/product/strategy/151/Index.vue | 9 +- src/views/product/strategy/152/Index.vue | 9 +- src/views/product/strategy/153/Index.vue | 9 +- src/views/product/strategy/154/Index.vue | 9 +- src/views/product/strategy/155/Index.vue | 9 +- src/views/product/strategy/156/Index.vue | 9 +- src/views/product/strategy/512/Detail.vue | 4 +- src/views/product/strategy/512/Index.vue | 9 +- src/views/product/strategy/513/Detail.vue | 70 +++++---- src/views/product/strategy/513/Index.vue | 9 +- 27 files changed, 271 insertions(+), 144 deletions(-) diff --git a/package-lock.json b/package-lock.json index ff93b67..8a5f18e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,9 +52,9 @@ } }, "@ctrl/tinycolor": { - "version": "3.4.0", - "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.4.0.tgz", - "integrity": "sha512-JZButFdZ1+/xAfpguQHoabIXkcqRRKpMrWKBkpEZZyxfY9C1DpADFB8PEqGSTeFr135SaTRfKqGKx5xSCLI7ZQ==" + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==" }, "@element-plus/icons-vue": { "version": "0.2.7", @@ -85,6 +85,28 @@ "integrity": "sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==", "dev": true }, + "@floating-ui/core": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.1.tgz", + "integrity": "sha512-42UH54oPZHPdRHdw6BgoBD6cg/eVTmVrFcgeRDM3jbO7uxSoipVcmcIGFcA5jmOHO5apcyvBhkSKES3fQJnu7A==", + "requires": { + "@floating-ui/utils": "^0.2.0" + } + }, + "@floating-ui/dom": { + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz", + "integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==", + "requires": { + "@floating-ui/core": "^1.0.0", + "@floating-ui/utils": "^0.2.0" + } + }, + "@floating-ui/utils": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz", + "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==" + }, "@intlify/bundle-utils": { "version": "2.2.0", "resolved": "https://registry.npmmirror.com/@intlify/bundle-utils/-/bundle-utils-2.2.0.tgz", @@ -207,9 +229,9 @@ } }, "@popperjs/core": { - "version": "2.11.2", - "resolved": "https://registry.npmmirror.com/@popperjs/core/-/core-2.11.2.tgz", - "integrity": "sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==" + "version": "npm:@sxzz/popperjs-es@2.11.7", + "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", + "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" }, "@rollup/pluginutils": { "version": "4.1.2", @@ -285,8 +307,15 @@ "@types/lodash": { "version": "4.14.178", "resolved": "https://registry.npmmirror.com/@types/lodash/-/lodash-4.14.178.tgz", - "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", - "dev": true + "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==" + }, + "@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "requires": { + "@types/lodash": "*" + } }, "@types/node": { "version": "17.0.17", @@ -315,6 +344,11 @@ "@types/node": "*" } }, + "@types/web-bluetooth": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", + "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==" + }, "@typescript-eslint/eslint-plugin": { "version": "4.33.0", "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz", @@ -796,18 +830,25 @@ } }, "@vueuse/core": { - "version": "7.6.1", - "resolved": "https://registry.npmmirror.com/@vueuse/core/-/core-7.6.1.tgz", - "integrity": "sha512-492y7R9HRu6TXzcGBMVG5qg5o9CHjrWLfOHh+TEknJeLe3LIYHsIBi1IlUN5s/yP3OHlBynjrzMMUm4gEyBmQg==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-9.13.0.tgz", + "integrity": "sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==", "requires": { - "@vueuse/shared": "7.6.1", + "@types/web-bluetooth": "^0.0.16", + "@vueuse/metadata": "9.13.0", + "@vueuse/shared": "9.13.0", "vue-demi": "*" } }, + "@vueuse/metadata": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-9.13.0.tgz", + "integrity": "sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==" + }, "@vueuse/shared": { - "version": "7.6.1", - "resolved": "https://registry.npmmirror.com/@vueuse/shared/-/shared-7.6.1.tgz", - "integrity": "sha512-VhURBjuyELYLW94TLqwyM+tUZ0uyWAOjp8zDnJts5wwyHZlGt/yabLbuEl70cKmt0zR9psVyAyHC+LTgRrA1Zw==", + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-9.13.0.tgz", + "integrity": "sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==", "requires": { "vue-demi": "*" } @@ -1039,9 +1080,9 @@ "dev": true }, "async-validator": { - "version": "4.0.7", - "resolved": "https://registry.npmmirror.com/async-validator/-/async-validator-4.0.7.tgz", - "integrity": "sha512-Pj2IR7u8hmUEDOwB++su6baaRi+QvsgajuFB9j95foM1N2gy5HM4z60hfusIO0fBPG5uLAEl6yCJr1jNSVugEQ==" + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" }, "autoprefixer": { "version": "10.4.2", @@ -1720,21 +1761,42 @@ "dev": true }, "element-plus": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/element-plus/-/element-plus-2.0.2.tgz", - "integrity": "sha512-URjC0HwwiqtlLxqTmHXQ31WXrdAq4ChWyyn52OcQs3PRsnMPfahGVq2AWnfzzlzlhVeI5lY3HQiuB1zDathS+g==", - "requires": { - "@ctrl/tinycolor": "^3.4.0", - "@element-plus/icons-vue": "^0.2.6", - "@popperjs/core": "^2.11.2", - "@vueuse/core": "^7.6.0", - "async-validator": "^4.0.7", - "dayjs": "^1.10.7", + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.4.3.tgz", + "integrity": "sha512-b3q26j+lM4SBqiyzw8HybybGnP2pk4MWgrnzzzYW5qKQUgV6EG1Zg7nMCfgCVccI8tNvZoTiUHb2mFaiB9qT8w==", + "requires": { + "@ctrl/tinycolor": "^3.4.1", + "@element-plus/icons-vue": "^2.3.1", + "@floating-ui/dom": "^1.0.1", + "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", + "@types/lodash": "^4.14.182", + "@types/lodash-es": "^4.17.6", + "@vueuse/core": "^9.1.0", + "async-validator": "^4.2.5", + "dayjs": "^1.11.3", + "escape-html": "^1.0.3", "lodash": "^4.17.21", "lodash-es": "^4.17.21", - "lodash-unified": "^1.0.1", + "lodash-unified": "^1.0.2", "memoize-one": "^6.0.0", - "normalize-wheel-es": "^1.1.1" + "normalize-wheel-es": "^1.2.0" + }, + "dependencies": { + "@element-plus/icons-vue": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz", + "integrity": "sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg==" + }, + "@types/lodash": { + "version": "4.17.1", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.1.tgz", + "integrity": "sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==" + }, + "dayjs": { + "version": "1.11.11", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz", + "integrity": "sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==" + } } }, "emmet": { @@ -3369,13 +3431,13 @@ }, "lodash-es": { "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, "lodash-unified": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/lodash-unified/-/lodash-unified-1.0.1.tgz", - "integrity": "sha512-Py+twfpWn+2dFQWCuGcp21WiQRwZwnm1cyE3piSt/VtBVKVyxlR58WgOVRzXtmdmDRGJKH8F8GPaA29WK/yK8g==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz", + "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==" }, "lodash.clonedeep": { "version": "4.5.0", @@ -3513,7 +3575,7 @@ }, "memoize-one": { "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/memoize-one/-/memoize-one-6.0.0.tgz", + "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==" }, "merge-descriptors": { @@ -3818,9 +3880,9 @@ "dev": true }, "normalize-wheel-es": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/normalize-wheel-es/-/normalize-wheel-es-1.1.1.tgz", - "integrity": "sha512-157VNH4CngrcsvF8xOVOe22cwniIR3nxSltdctvQeHZj8JttEeOXffK28jucWfWBXs0QNetAumjc1GiInnwX4w==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", + "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==" }, "nprogress": { "version": "0.2.0", @@ -5777,9 +5839,9 @@ } }, "vue-demi": { - "version": "0.12.1", - "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.12.1.tgz", - "integrity": "sha512-QL3ny+wX8c6Xm1/EZylbgzdoDolye+VpCXRhI2hug9dJTP3OUJ3lmiKN3CsVV3mOJKwFi0nsstbgob0vG7aoIw==" + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==" }, "vue-eslint-parser": { "version": "7.11.0", diff --git a/package.json b/package.json index 5062c04..25c1ec6 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "core-js": "^3.21.0", "cropperjs": "^1.5.12", "dayjs": "^1.10.7", - "element-plus": "^2.0.2", + "element-plus": "^2.4.3", "js-cookie": "^3.0.1", "lodash": "^4.17.21", "mavon-editor": "^2.10.4", diff --git a/src/components/Panel/index.vue b/src/components/Panel/index.vue index 93ac60c..2ff7b12 100644 --- a/src/components/Panel/index.vue +++ b/src/components/Panel/index.vue @@ -991,7 +991,7 @@ onUnmounted(() => { .el-input { padding: 10px 0; } - .el-input--suffix .el-input__inner { + .el-input--suffix .el-input__wrapper { height: 40px !important; padding-right: 50px; margin-left: 15px; @@ -1003,6 +1003,7 @@ onUnmounted(() => { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + box-shadow: none; } } .panel { diff --git a/src/styles/index.scss b/src/styles/index.scss index 4620657..1d214fb 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -125,7 +125,7 @@ body { .el-input { @apply lg:text-xs; } - .el-input__inner { + .el-input__wrapper { @apply px-2; } } @@ -138,7 +138,7 @@ body { } .el-select { @apply w-[170px]; - .el-input__inner { + .el-input__wrapper { @apply pl-[41px] rounded-[18px] border-[#dfe9f8]; } } diff --git a/src/views/product/afterLoan/1029/Index.vue b/src/views/product/afterLoan/1029/Index.vue index a5d976b..c3da963 100644 --- a/src/views/product/afterLoan/1029/Index.vue +++ b/src/views/product/afterLoan/1029/Index.vue @@ -47,17 +47,20 @@