maochaoying 2 years ago
parent
commit
c6129644a4
  1. BIN
      src/assets/img/banner/logodi2.png
  2. 1
      src/components/Paragraph/index.vue
  3. 29
      src/components/Trumbs/index.vue
  4. 15
      src/views/Index/components/CaseDetails/index.vue
  5. 15
      src/views/Index/components/HardwareDetails/index.vue
  6. 79
      src/views/Index/components/MechanicalControl/index.vue
  7. 15
      src/views/Index/components/MechanicalDrive/Card/index.vue
  8. 28
      src/views/Index/components/Service/Card/index.vue
  9. 12
      src/views/Index/components/SoftHardwareDetail/Card/index.vue
  10. 8
      src/views/Index/components/SoftHardwareSummary/index.vue

BIN
src/assets/img/banner/logodi2.png

After

Width: 808  |  Height: 882  |  Size: 471 KiB

1
src/components/Paragraph/index.vue

@ -18,5 +18,6 @@ const props = defineProps({
font-weight: 300;
color: #aaaaaa;
line-height: 27px;
text-indent: 28px;
}
</style>

29
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;
}
}
</style>

15
src/views/Index/components/CaseDetails/index.vue

@ -112,13 +112,6 @@ const mouseleave = function () {
</script>
<style lang="scss" scoped>
@keyframes example {
from {
}
to {
width: 1000px;
}
}
.wrap {
width: 100vw;
height: 100vh;
@ -180,6 +173,9 @@ const mouseleave = function () {
height: 100%;
}
.right_detail {
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
position: absolute;
top: 0;
right: 0;
@ -225,11 +221,8 @@ const mouseleave = function () {
}
}
.right_detail:hover {
animation-name: example;
animation-duration: 0.7s;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
z-index: 120;
width: 1000px;
}
}
}

15
src/views/Index/components/HardwareDetails/index.vue

@ -115,13 +115,6 @@ const mouseleave = function () {
</script>
<style lang="scss" scoped>
@keyframes example {
from {
}
to {
width: 1000px;
}
}
.wrap {
width: 100vw;
height: 100vh;
@ -183,6 +176,9 @@ const mouseleave = function () {
height: 100%;
}
.right_detail {
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
position: absolute;
top: 0;
right: 0;
@ -228,11 +224,8 @@ const mouseleave = function () {
}
}
.right_detail:hover {
animation-name: example;
animation-duration: 0.7s;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
z-index: 120;
width: 1000px;
}
}
}

79
src/views/Index/components/MechanicalControl/index.vue

@ -168,6 +168,9 @@ onMounted(() => {
right: 0;
top: 0;
bottom: 0;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
}
.broadside_div:hover {
@ -179,26 +182,68 @@ onMounted(() => {
.bg1 {
background: url(../../../../assets/img/control/duoji.png) no-repeat;
background-size: 100% 100%;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
.bg1:hover {
background-size: 110% 110%;
background-position: center center;
}
.bg2 {
background: url(../../../../assets/img/control/zhiliu.png) no-repeat;
background-size: 100% 100%;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
.bg2:hover {
background-size: 110% 110%;
background-position: center center;
}
.bg3 {
background: url(../../../../assets/img/control/sifu.png) no-repeat;
background-size: 100% 100%;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
.bg3:hover {
background-size: 110% 110%;
background-position: center center;
}
.bg4 {
background: url(../../../../assets/img/control/bujin.png) no-repeat;
background-size: 100% 100%;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
.bg4:hover {
background-size: 110% 110%;
background-position: center center;
}
.bg5 {
background: url(../../../../assets/img/control/youshua.png) no-repeat;
background-size: 100% 100%;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
.bg5:hover {
background-size: 110% 110%;
background-position: center center;
}
.bg6 {
background: url(../../../../assets/img/control/wushua.png) no-repeat;
background-size: 100% 100%;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
.bg6:hover {
background-size: 110% 110%;
background-position: center center;
}
}
.main_imgwrap {
@ -234,40 +279,6 @@ onMounted(() => {
}
}
}
.main_introduce:hover {
.img_list_inwrap {
.bg1 {
background-size: 110% 110%;
background-position: center center;
transition-duration: 2s;
}
.bg2 {
background-size: 110% 110%;
background-position: center center;
transition-duration: 2s;
}
.bg3 {
background-size: 110% 110%;
background-position: center center;
transition-duration: 2s;
}
.bg4 {
background-size: 110% 110%;
background-position: center center;
transition-duration: 2s;
}
.bg5 {
background-size: 110% 110%;
background-position: center center;
transition-duration: 2s;
}
.bg6 {
background-size: 110% 110%;
background-position: center center;
transition-duration: 2s;
}
}
}
.bottom_quxian {
display: flex;
align-items: center;

15
src/views/Index/components/MechanicalDrive/Card/index.vue

@ -80,6 +80,10 @@ const getImgSrc = () => {
height: 195px;
box-sizing: border-box;
position: relative;
overflow: hidden;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
.img {
width: 100%;
height: 100%;
@ -101,11 +105,16 @@ const getImgSrc = () => {
align-items: center;
justify-content: flex-start;
padding: 0 21px;
transition-property: all;
transition-duration: 0.7s;
animation-fill-mode: forwards;
}
}
.dian_container:hover {
// transform: scale(2);
// transition-duration: 0.4s;
border-radius: 100px;
border-radius: 10px;
transform: scale(1.1);
.btn {
background: $theme_color;
}
}
</style>

28
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%;
}
}
</style>

12
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;
}
}

8
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);
}
}

Loading…
Cancel
Save