123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- .a-dropdown-wrapper {
- position: relative;
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100rpx;
- }
- .a-dropdown-wrapper.expand {
- position: fixed;
- height: 100%;
- z-index: 99;
- }
- .a-dropdown-nav {
- display: flex;
- position: relative;
- border-bottom: 1px solid #ddd;
- background: #fff;
- min-height: 100rpx;
- z-index: 99;
- }
- .a-dropdown-nav-item {
- flex: 1;
- text-align: center;
- height: 100rpx;
- line-height: 100rpx;
- }
- .a-dropdown-nav-item-hover {
- background: rgba(0, 0, 0, 0.03);
- }
- .a-dropdown-nav-item.active {
- color: #f76a24;
- }
- .triangle {
- width: 0;
- height: 0;
- border-left: 10rpx solid transparent;
- border-right: 10rpx solid transparent;
- border-top: 10rpx solid #000;
- border-bottom: 0;
- vertical-align: middle;
- display: inline-block;
- }
- .a-dropdown-nav-item.active .triangle {
- border-bottom: 10rpx solid #f76a24;
- border-top: 0;
- }
- .a-dropdown-contents {
- max-height: 100%;
- z-index: 2;
- }
- .a-dropdown-list-items {
- height: 0;
- overflow: hidden;
- background: #fff;
- position: relative;
- z-index: 98;
- }
- .a-dropdown-list-items.show {
- height: auto;
- }
- .a-dropdown-list-items .a-dropdown-list-item {
- display: flex;
- font-size: 30rpx;
- line-height: 1.5;
- color: #333333;
- min-height: 88rpx;
- align-items: center;
- padding-left: 30rpx;
- background: #fff;
- }
- .a-dropdown-list-item.selected {
- color: #f76a24;
- }
- .a-dropdown-list-item .a-dropdown-list-item-bottom {
- display: block;
- position: absolute;
- width: 100%;
- border-bottom: 1px solid #ddd;
- left: 0;
- bottom: 0;
- right: auto;
- top: auto;
- }
- .a-dropdown-list-item .a-dropdown-list-item-thumb {
- width: 44rpx;
- height: 44rpx;
- margin-right: 30rpx;
- }
- .a-dropdown-list-item .a-dropdown-list-item-line {
- position: relative;
- display: flex;
- flex: 1;
- align-items: center;
- align-self: stretch;
- padding-right: 30rpx;
- min-height: 88rpx;
- overflow: hidden;
- }
- .a-dropdown-list-item .a-dropdown-list-item-content {
- flex: 1;
- font-size: .34rem;
- text-align: left;
- line-height: 1.5;
- width: auto;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding-top: .14rem;
- padding-bottom: .14rem;
- }
- .a-dropdown-list-item.last .a-dropdown-list-item-bottom {
- border-bottom: none;
- }
- .a-dropdown-list-item .a-dropdown-list-item-line-wrap .a-dropdown-list-item-content {
- white-space: normal;
- }
- .a-dropdown-list-item.a-dropdown-list-item-hover {
- background-color: #ddd;
- }
- .a-dropdown-list-item-check {
- display: block;
- width: 35rpx;
- height: 35rpx;
- margin-left: 16rpx;
- background-image: url('data:image/svg+xml;charset=utf-8,<svg t="1500636672907" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1435" xmlns:xlink="http://www.w3.org/1999/xlink" width="350" height="350"><defs><style type="text/css"></style></defs><path d="M824.66816 299.58144 429.54752 694.70208l-190.32064-190.32064c-8.00768-8.00768-20.95104-8.00768-28.95872 0s-8.00768 20.95104 0 28.95872l204.8 204.8c3.9936 3.9936 9.23648 6.00064 14.47936 6.00064s10.48576-2.00704 14.47936-6.00064l409.6-409.6c8.00768-8.00768 8.00768-20.95104 0-28.95872S832.65536 291.57376 824.66816 299.58144z" p-id="1436" fill="#f76a24"></path></svg>');
- background-size: contain;
- background-repeat: no-repeat;
- background-position: 50% 50%;
- transition: transform 0.3s;
- visibility: hidden;
- }
- .a-dropdown-list-item.selected .a-dropdown-list-item-check {
- visibility: visible;
- }
- .a-dropdown-placeholder {
- min-height: 150rpx;
- z-index: 1;
- flex: 1;
- }
- .a-dropdown-bg {
- opacity: 0;
- transition: opacity linear 0.1s;
- }
- .expand .a-dropdown-bg {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgb(0, 0, 0);
- opacity: 0.4;
- z-index: 1;
- }
|