123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- .t-float-left {
- float: left;
- }
- .t-float-right {
- float: right;
- }
- @keyframes tdesign-fade-out {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
- }
- .hotspot-expanded.relative {
- position: relative;
- }
- .hotspot-expanded::after {
- content: '';
- display: block;
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- transform: scale(1.5);
- }
- page {
- --td-swiper-nav-dot-color: rgba(255, 255, 255, 0.55);
- --td-swiper-nav-dot-active-color: #fff;
- --td-swiper-nav-fraction-color: #fff;
- --td-swiper-nav-fraction-bg-color: rgba(0, 0, 0, 0.4);
- --td-swiper-nav-btn-color: #fff;
- --td-swiper-nav-btn-bg-color: rgba(0, 0, 0, 0.4);
- }
- .t-swiper-nav__dots,
- .t-swiper-nav__dots-bar {
- display: flex;
- flex-direction: row;
- }
- .t-swiper-nav__dots-item,
- .t-swiper-nav__dots-bar-item {
- width: 12rpx;
- height: 12rpx;
- background: var(--td-swiper-nav-dot-color, rgba(255, 255, 255, 0.55));
- border-radius: 50%;
- margin: 0 10rpx;
- transition: all 0.4s ease-in;
- }
- .t-swiper-nav__dots-item.t-is-active,
- .t-swiper-nav__dots-bar-item.t-is-active {
- background-color: var(--td-swiper-nav-dot-active-color, #fff);
- }
- .t-swiper-nav__dots-bar-item.t-is-active {
- width: 40rpx;
- border-radius: 6rpx;
- background-color: var(--td-swiper-nav-dot-active-color, #fff);
- }
- .t-swiper-nav--position-left .t-swiper-nav__dots,
- .t-swiper-nav--position-left .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-left .t-swiper-nav__fraction {
- position: absolute;
- left: 24rpx;
- top: 50%;
- transform: translateY(-50%);
- }
- .t-swiper-nav--position-right .t-swiper-nav__dots,
- .t-swiper-nav--position-right .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-right .t-swiper-nav__fraction {
- position: absolute;
- right: 24rpx;
- top: 50%;
- transform: translateY(-50%);
- }
- .t-swiper-nav--position-top-left .t-swiper-nav__dots,
- .t-swiper-nav--position-top-left .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-top-left .t-swiper-nav__fraction {
- position: absolute;
- top: 24rpx;
- left: 24rpx;
- }
- .t-swiper-nav--position-top .t-swiper-nav__dots,
- .t-swiper-nav--position-top .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-top .t-swiper-nav__fraction {
- position: absolute;
- left: 50%;
- top: 24rpx;
- transform: translateX(-50%);
- }
- .t-swiper-nav--position-top-right .t-swiper-nav__dots,
- .t-swiper-nav--position-top-right .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-top-right .t-swiper-nav__fraction {
- position: absolute;
- top: 24rpx;
- right: 24rpx;
- }
- .t-swiper-nav--position-bottom-left .t-swiper-nav__dots,
- .t-swiper-nav--position-bottom-left .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-bottom-left .t-swiper-nav__fraction {
- position: absolute;
- left: 24rpx;
- bottom: 24rpx;
- }
- .t-swiper-nav--position-bottom .t-swiper-nav__dots,
- .t-swiper-nav--position-bottom .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-bottom .t-swiper-nav__fraction {
- position: absolute;
- left: 50%;
- bottom: 24rpx;
- transform: translateX(-50%);
- }
- .t-swiper-nav--position-bottom-right .t-swiper-nav__dots,
- .t-swiper-nav--position-bottom-right .t-swiper-nav__dots-bar,
- .t-swiper-nav--position-bottom-right .t-swiper-nav__fraction {
- position: absolute;
- right: 24rpx;
- bottom: 24rpx;
- }
- .t-swiper-nav--vertical .t-swiper-nav__dots,
- .t-swiper-nav--vertical .t-swiper-nav__dots-bar {
- flex-direction: column;
- }
- .t-swiper-nav--vertical .t-swiper-nav__dots-item,
- .t-swiper-nav--vertical .t-swiper-nav__dots-bar-item {
- margin: 10rpx 0;
- }
- .t-swiper-nav--vertical .t-swiper-nav__dots-bar-item.t-is-active {
- width: 12rpx;
- height: 40rpx;
- }
- .t-swiper-nav__fraction {
- width: 40rpx;
- padding: 0 20rpx;
- height: 40rpx;
- line-height: 40rpx;
- border-radius: 20rpx;
- background: var(--td-swiper-nav-fraction-bg-color, rgba(0, 0, 0, 0.4));
- color: var(--td-swiper-nav-fraction-color, #fff);
- font-size: 24rpx;
- }
- .t-swiper-nav__btn--prev,
- .t-swiper-nav__btn--next {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: var(--td-swiper-nav-btn-bg-color, rgba(0, 0, 0, 0.4));
- }
- .t-swiper-nav__btn--prev::after,
- .t-swiper-nav__btn--next::after {
- position: absolute;
- left: 50%;
- top: 50%;
- display: block;
- content: '';
- width: 12rpx;
- height: 12rpx;
- border-color: var(--td-swiper-nav-btn-color, #fff);
- border-style: solid;
- }
- .t-swiper-nav__btn--prev {
- left: 30rpx;
- }
- .t-swiper-nav__btn--prev::after {
- margin-left: 4rpx;
- border-width: 2rpx 0 0 2rpx;
- transform: translate(-50%, -50%) rotateZ(-45deg);
- }
- .t-swiper-nav__btn--next {
- right: 30rpx;
- }
- .t-swiper-nav__btn--next::after {
- margin-left: -4rpx;
- border-width: 2rpx 2rpx 0 0;
- transform: translate(-50%, -50%) rotateZ(45deg);
- }
|