.slide-right-enter-active,
|
.slide-right-leave-active,
|
.slide-left-enter-active,
|
.slide-left-leave-active {
|
width: 100vw;
|
will-change: transform;
|
transition: all 500ms;
|
position: absolute;
|
}
|
|
.slide-right-enter {
|
opacity: 0;
|
transform: translate3d(-100%, 0, 0);
|
}
|
|
.slide-right-leave-active {
|
opacity: 0;
|
transform: translate3d(100%, 0, 0);
|
}
|
|
.slide-left-enter {
|
opacity: 0;
|
transform: translate3d(100%, 0, 0);
|
}
|
|
.slide-left-leave-active {
|
opacity: 0;
|
transform: translate3d(-100%, 0, 0);
|
}
|
.direction-enter,
|
.direction-leave-to {
|
transform: translate3d(100%, 0, 0);
|
}
|
|
.direction-view {
|
position: absolute;
|
top: 0;
|
left: 0;
|
bottom: 0;
|
width: 100vw;
|
z-index: 100;
|
overflow: hidden;
|
transition: transform 0.3s;
|
}
|
|
|
|
@font-face {
|
font-family: 'PingFang SC';
|
src: url('../font//PingFang_SC_mianfeiziti.com.c6eef29e.ttf') format('truetype');
|
font-weight: normal;
|
font-style: normal;
|
font-display: swap;
|
}
|
|
@font-face {
|
font-family: 'DINPro';
|
src: url('../font/DINPro.d7abf218.ttf') format('truetype');
|
font-weight: normal;
|
font-style: normal;
|
font-display: swap;
|
}
|
|
body {
|
font-family: 'PingFang SC', sans-serif;
|
}
|