diff --git a/src/assets/img/banner/logodi2.png b/src/assets/img/banner/logodi2.png new file mode 100644 index 0000000..5f957f7 Binary files /dev/null and b/src/assets/img/banner/logodi2.png differ diff --git a/src/components/Paragraph/index.vue b/src/components/Paragraph/index.vue index 58bf881..e0765a2 100644 --- a/src/components/Paragraph/index.vue +++ b/src/components/Paragraph/index.vue @@ -18,5 +18,6 @@ const props = defineProps({ font-weight: 300; color: #aaaaaa; line-height: 27px; + text-indent: 28px; } diff --git a/src/components/Trumbs/index.vue b/src/components/Trumbs/index.vue index 9b00624..7fe7532 100644 --- a/src/components/Trumbs/index.vue +++ b/src/components/Trumbs/index.vue @@ -82,13 +82,18 @@ const onSwiper = swiper => { height: 100%; } .dialog_text { - display: none; + display: flex; position: absolute; top: 0; left: 0; right: 0; bottom: 0; - background: none; + opacity: 0; + align-items: center; + justify-content: center; + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; .btn { font-size: 18px; font-family: 'SourceHanSans'; @@ -101,23 +106,9 @@ const onSwiper = swiper => { } } } - @keyframes example { - from { - } - to { - background: #283fe7; - opacity: 0.63; - } - } - .img_card:hover { - .dialog_text { - animation-name: example; - animation-duration: 1s; - animation-fill-mode: forwards; - display: flex; - align-items: center; - justify-content: center; - } + .dialog_text:hover { + background: #283fe7; + opacity: 0.63; } } diff --git a/src/views/Index/components/CaseDetails/index.vue b/src/views/Index/components/CaseDetails/index.vue index 57205ba..c17ad54 100644 --- a/src/views/Index/components/CaseDetails/index.vue +++ b/src/views/Index/components/CaseDetails/index.vue @@ -112,13 +112,6 @@ const mouseleave = function () { diff --git a/src/views/Index/components/Service/Card/index.vue b/src/views/Index/components/Service/Card/index.vue index f01ac9f..1cd2ee9 100644 --- a/src/views/Index/components/Service/Card/index.vue +++ b/src/views/Index/components/Service/Card/index.vue @@ -52,6 +52,9 @@ const getClassName = () => { height: 100%; background: rgba(0, 0, 0, 0.69); position: relative; + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; .wrapo { display: flex; align-items: center; @@ -69,6 +72,9 @@ const getClassName = () => { } .btn { + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; border: 1px solid #fafafa; border-radius: 14px; align-items: center; @@ -112,17 +118,6 @@ const getClassName = () => { background-size: 100% 100%; } -@keyframes example { - from { - } - to { - background-color: #283fe7; - // justify-content: space-between; - padding: 55px 0; - opacity: 0.8; - } -} - @keyframes btn { from { } @@ -133,13 +128,12 @@ const getClassName = () => { } .alpha:hover { - animation-name: example; - animation-duration: 0.7s; - animation-fill-mode: forwards; + background-color: #283fe7; + padding: 55px 0; + opacity: 0.8; .btn { - animation-name: btn; - animation-duration: 0.7s; - animation-fill-mode: forwards; + opacity: 1; + top: 53%; } } diff --git a/src/views/Index/components/SoftHardwareDetail/Card/index.vue b/src/views/Index/components/SoftHardwareDetail/Card/index.vue index c6413ef..14b6df3 100644 --- a/src/views/Index/components/SoftHardwareDetail/Card/index.vue +++ b/src/views/Index/components/SoftHardwareDetail/Card/index.vue @@ -90,6 +90,9 @@ const getImgSrc = () => { flex-direction: column; padding: 26px 0 0 0; box-sizing: border-box; + transition-property: all; + transition-duration: 0.4s; + animation-fill-mode: forwards; .wrap { flex: 1; display: flex; @@ -98,10 +101,16 @@ const getImgSrc = () => { .img { width: 220px; max-height: 100px; + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; } } .btn { + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; width: 100%; min-height: 47px; background: #283fe7; @@ -118,15 +127,12 @@ const getImgSrc = () => { } .dian_container:hover { border-radius: 10px; - transition-duration: 0.4s; .wrap { .img { transform: scale(1.06); - transition-duration: 0.7s; } } .btn { - transition-duration: 0.7s; opacity: 1; } } diff --git a/src/views/Index/components/SoftHardwareSummary/index.vue b/src/views/Index/components/SoftHardwareSummary/index.vue index a2b07b5..d9ba7b2 100644 --- a/src/views/Index/components/SoftHardwareSummary/index.vue +++ b/src/views/Index/components/SoftHardwareSummary/index.vue @@ -137,6 +137,9 @@ const showEmpty = ref(false) .img { width: 51px; height: 51px; + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; } .font { font-size: 18px; @@ -147,7 +150,6 @@ const showEmpty = ref(false) } .card_wrap:hover { .img { - transition-duration: 0.7s; transform: scale(1.3); } } @@ -197,6 +199,9 @@ const showEmpty = ref(false) display: flex; align-items: center; justify-content: center; + transition-property: all; + transition-duration: 0.7s; + animation-fill-mode: forwards; .contracted { width: 1480px; height: auto; @@ -204,7 +209,6 @@ const showEmpty = ref(false) } } .img_wrap:hover { - transition-duration: 0.7s; transform: scale(1.06); } }