From 8b0af784de46954539bb85bb939671cb3c9fc347 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Fri, 21 Jun 2024 10:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=AD=E8=A8=80=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/style/style.css | 22 +- src/assets/style/style.less | 18 +- src/component/Administrator/allUser.vue | 1 + src/component/Detail/DesignDetailAlter.vue | 20 +- src/component/Detail/habit.vue | 8 +- src/component/Detail/habitSetStyle.vue | 9 +- src/component/HomePage/ColorboardUpload.vue | 20 +- src/component/HomePage/ExportModel.vue | 6 +- src/component/HomePage/generalMenu.vue | 1 + src/component/HomePage/productImg.vue | 45 +++- src/component/WorksPage/Falls.vue | 2 +- src/component/WorksPage/newScaleImage.vue | 220 +++++++++++++++----- src/component/WorksPage/publish.vue | 24 ++- src/lang/cn.ts | 57 +++++ src/lang/en.ts | 57 +++++ src/tool/util.js | 14 +- src/views/HomeView/HomeView.vue | 2 +- src/views/HomeView/Works.vue | 9 +- src/views/feedbackSurvey.vue | 45 ++-- src/views/feedbackSurveyCN.vue | 46 ++-- 20 files changed, 476 insertions(+), 150 deletions(-) diff --git a/src/assets/style/style.css b/src/assets/style/style.css index eb5a10e8..27365a00 100644 --- a/src/assets/style/style.css +++ b/src/assets/style/style.css @@ -494,6 +494,7 @@ li { justify-content: center; } .ant-modal-confirm-confirm .ant-modal-content .ant-modal-body .ant-modal-confirm-btns .ant-btn-primary { + color: #fff; margin-left: 10rem; } .modal_component.ant-modal { @@ -899,26 +900,31 @@ li { .sketchboard_upload_modal .switch_type_list.showEvents * { pointer-events: auto; } -.habit :deep(.ant-btn:hover), -:deep(.ant-btn:focus), -:deep(.ant-btn:active), -:deep(.ant-btn::after) { +.ant-btn:hover, +.ant-btn:focus, +.ant-btn:active, +.ant-btn::after { color: #000; border-color: #000 !important; box-shadow: none !important; } -:deep(.ant-switch-checked) { +.ant-switch-checked { background-color: #000; } -:deep(.ant-switch-checked) .ant-switch-handle { +.ant-switch-checked .ant-switch-handle { left: calc(100% - 1.8rem - 0.2rem); + top: 0.3rem; } -:deep(.ant-switch) { +[ant-click-animating-without-extra-node='true']::after, +.ant-click-animating-node { + box-shadow: none !important; +} +.ant-switch { min-width: 4.4rem; height: 2.2rem; line-height: 2.2rem; } -:deep(.ant-switch) .ant-switch-handle { +.ant-switch .ant-switch-handle { width: 1.8rem; height: 1.8rem; } diff --git a/src/assets/style/style.less b/src/assets/style/style.less index 7aec302d..0ec8c4e4 100644 --- a/src/assets/style/style.less +++ b/src/assets/style/style.less @@ -562,6 +562,7 @@ input:focus{ display: flex; justify-content: center; .ant-btn-primary{ + color: #fff; margin-left: 10rem; } } @@ -1022,22 +1023,25 @@ input:focus{ .ant-message-info .anticon{ // color: #b2b2b2; } -.habit :deep(.ant-btn:hover), -:deep(.ant-btn:focus), -:deep(.ant-btn:active), -:deep(.ant-btn::after) { +.ant-btn:hover, +.ant-btn:focus, +.ant-btn:active, +.ant-btn::after { color: #000; border-color: #000 !important; box-shadow: none !important; } -:deep(.ant-switch-checked) { +.ant-switch-checked { background-color: #000; .ant-switch-handle{ left: calc(100% - 1.8rem - .2rem); + top: .3rem; } - } -:deep(.ant-switch){ +[ant-click-animating-without-extra-node='true']::after, .ant-click-animating-node{ + box-shadow: none !important; +} +.ant-switch{ min-width: 4.4rem; height: 2.2rem; line-height: 2.2rem; diff --git a/src/component/Administrator/allUser.vue b/src/component/Administrator/allUser.vue index fa8ae472..aa7cd474 100644 --- a/src/component/Administrator/allUser.vue +++ b/src/component/Administrator/allUser.vue @@ -94,6 +94,7 @@ export default defineComponent({ { title: 'Country', align: "center", + width: 50, ellipsis: true, dataIndex: "country", key: "country", diff --git a/src/component/Detail/DesignDetailAlter.vue b/src/component/Detail/DesignDetailAlter.vue index 42b98342..a5b95087 100644 --- a/src/component/Detail/DesignDetailAlter.vue +++ b/src/component/Detail/DesignDetailAlter.vue @@ -163,14 +163,18 @@ -->