1 |
- {"version":3,"sources":["common/style/utilities/_animation.less","common/style/utilities/_float.less","common/style/utilities/_index.less","slider/slider.less"],"names":[],"mappings":"AAAC;ECIC,WAAA;;ADJD;ECQC,YAAA;;ADRF;EACE;IACE,UAAA;;EAGF;IACE,UAAA;;;AEDF,iBAAC;EACC,kBAAA;;AAGF,iBAAC;EACC,SAAS,EAAT;EACA,cAAA;EACA,kBAAA;EACA,OAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,WAAW,UAAX;;AFjBH;EGQC,eAAA;;AHRD,oBAAA;EGWG,qBAAA;;AHXH,oBAAA;AAAA,oBAAkB;AAAlB,oBAEK;EGeF,yBAAA;;AHjBH,oBAAC,cAAD;AAAA,oBAAC,cAAiB;AAAlB,oBAAC,cAEI;AAFL,oBAAC,cAMF;EGmBM,yBAAA;;AHzBL;EG+BC,aAAA;EACA,mBAAA;EACA,aAAA;;AHjCD,kBAAA;EGqCG,kBAAA;EACA,eAAA;EACA,QAAA;EACA,gBAAA;EACA,4BAAA;EACA,YAAA;EACA,mBAAA;EACA,qBAAA;;AH5CH,kBAAA,gBAAA;EG+CK,kBAAA;EACA,QAAA;EACA,YAAA;EACA,mBAAA;;AHlDL,kBAAA,gBAAA;EGsDK,kBAAA;EACA,0BAAA;EACA,kBAAA;EACA,sBAAA;EACA,WAAA;EACA,YAAA;EACA,WAAA;EACA,UAAA;;AH7DL,kBAAA;EGkEG,qBAAA;;AHlEH,kBAAA;EGsEG,kBAAA;;AHtEH,kBAAA;EG0EG,mBAAA;;AH1EH,kBAAA;EG8EG,iBAAA;;AH9EH,kBAAA,wBAAA;EGiFK,mBAAA;EACA,iBAAA;EACA,cAAA;;AHnFL;EG0FC,aAAA;EACA,qBAAA;;AH3FD,0BAAA;EG8FG,qBAAA;;AH9FH,0BAAA;EGkGG,kBAAA;EACA,gBAAA;;AHnGH,0BAAA;EGuGG,mBAAA;EACA,iBAAA;;AHxGH,0BAAA;EG4GG,eAAA;EACA,QAAA;EACA,gBAAA;EACA,4BAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,qBAAA;;AHnHH,0BAAA,eAAA;EGsHK,kBAAA;EACA,0BAAA;EACA,kBAAA;EACA,UAAA;EACA,sBAAA;EACA,WAAA;EACA,YAAA;EACA,SAAA;;AAEA,0BH/HL,eAAA,eG+HM;EACC,OAAA;;AAGF,0BHnIL,eAAA,eGmIM;EACC,QAAA;;AAGF,0BHvIL,eAAA,eGuIM;EACC,kBAAA;EACA,SAAA;EACA,WAAW,gBAAX;EACA,WAAA;EACA,kBAAA;EACA,YAAA;EACA,aAAA;EACA,kBAAA;;AH/IP,0BAAA,eAAA;EGoJK,kBAAA;EACA,UAAA;EACA,YAAA;;AHtJL;EG6JC,yBAAA;EACA,WAAA;EACA,aAAA;EACA,kBAAA;EACA,SAAA;EACA,UAAA;;AHlKD,qBAAA;EGqKG,kBAAA;EACA,SAAA;EACA,yBAAA;EACA,WAAW,gBAAX;EACA,aAAA","sourcesContent":["@keyframes tdesign-fade-out {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n","// 公共前缀\n@prefix: t;\n\n.@{prefix}-float-left {\n float: left;\n}\n\n.@{prefix}-float-right {\n float: right;\n}\n","@import './_float.less';\n@import './_animation.less';\n\n.hotspot-expanded {\n \n &.relative {\n position: relative;\n }\n\n &::after {\n content: '';\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n transform: scale(1.5);\n }\n}","@import '../common/style/index.less';\n\n@bar-height: 2rpx;\n@block-color: #fff;\n@block-size: 16px;\n@dot-color: #0052d9;\n\n.@{prefix}-slider__container {\n font-size: 14px;\n\n .@{prefix}-slider--bottom {\n padding-bottom: 40rpx;\n }\n\n .@{prefix}-slider__value,\n .@{prefix}-slider__range-extreme,\n .@{prefix}-slider__dot-value {\n color: rgba(0, 0, 0, .9);\n }\n\n &.@{prefix}-is-disabled {\n .@{prefix}-slider__value,\n .@{prefix}-slider__range-extreme,\n .@{prefix}-slider__dot-value,\n .@{prefix}-slider__scale-desc {\n color: rgba(0, 0, 0, .4);\n }\n }\n}\n\n.@{prefix}-slider__wrapper {\n display: flex;\n align-items: center;\n height: 96rpx;\n\n // 单点滑块样式\n .@{prefix}-slider__main {\n position: relative;\n margin: 0 32rpx;\n flex: 10;\n padding: 16rpx 0;\n background-clip: content-box;\n height: @bar-height * 2;\n border-radius: @bar-height;\n display: inline-block;\n\n .@{prefix}-slider__line {\n position: absolute;\n top: 8px;\n height: @bar-height * 2;\n border-radius: @bar-height;\n }\n\n .@{prefix}-slider__dot {\n border-radius: 50%;\n border: 4rpx solid @dot-color;\n position: absolute;\n background-color: @block-color;\n width: @block-size;\n height: @block-size;\n top: @bar-height - @block-size - 2;\n z-index: 2;\n }\n }\n\n .@{prefix}-slider__value {\n display: inline-block;\n }\n\n .@{prefix}-slider__value--min {\n margin-left: 32rpx;\n }\n\n .@{prefix}-slider__value--max {\n margin-right: 32rpx;\n }\n\n .@{prefix}-slider__value--right {\n flex-basis: 80rpx;\n\n .@{prefix}-slider__value--text {\n margin-right: 32rpx;\n text-align: right;\n display: block;\n }\n }\n}\n\n// 范围滑块样式\n.@{prefix}-slider__range-container {\n display: flex;\n padding: @block-size * 1.4 0 0 0;\n\n .@{prefix}-slider__range-extreme {\n display: inline-block;\n }\n\n .@{prefix}-slider__range-extreme--min {\n margin-left: 32rpx;\n text-align: left;\n }\n\n .@{prefix}-slider__range-extreme--max {\n margin-right: 32rpx;\n text-align: right;\n }\n\n .@{prefix}-slider__bar {\n margin: 0 32rpx;\n flex: 10;\n padding: 16rpx 0;\n background-clip: content-box;\n height: @bar-height * 2;\n border-radius: @bar-height;\n position: relative;\n display: inline-block;\n\n .@{prefix}-slider__dot {\n border-radius: 50%;\n border: 4rpx solid @dot-color;\n position: absolute;\n z-index: 2;\n background-color: @block-color;\n width: @block-size;\n height: @block-size;\n top: @bar-height - @block-size + 16;\n\n &--left {\n left: 0;\n }\n\n &--right {\n right: 0;\n }\n\n &-value {\n position: relative;\n left: 50%;\n transform: translateX(-50%);\n top: -52rpx;\n text-align: center;\n width: 48rpx;\n height: 44rpx;\n line-height: 44rpx;\n }\n }\n\n .@{prefix}-slider__line {\n position: absolute;\n top: 16rpx;\n height: 5rpx;\n }\n }\n}\n\n// 刻度样式\n.@{prefix}-slider__scale-item {\n background-color: #0052d9;\n width: @bar-height * 2;\n height: 14rpx;\n position: absolute;\n top: 6rpx;\n z-index: 1;\n\n .@{prefix}-slider__scale-desc {\n position: absolute;\n left: 50%;\n color: rgba(0, 0, 0, .9);\n transform: translateX(-50%);\n bottom: 20rpx;\n }\n}\n"],"file":"slider.wxss"}
|