/* packageC/mycomponent/option_menu/option_menu.wxss */ @import "/mycss/iconfont.wxss"; .o2o-option-menu-list { display: flex; align-items: center; justify-content: space-around; height: 80rpx; line-height: 80rpx; font-size: 10px; background: #fff; z-index: 99; position: relative; } .o2o-option-menu-list .o2o-option-menu-list-child { display: flex; align-items: center; font-size: 12px; } .active-ment-class { color: #ff2c29; font-weight: 700; } .active-text-color { color: #999 !important; } .rotate-icon { transform: rotate(180deg); -webkit-transform: rotate(180deg); transition: transform 0.5s; } .close-icon { transform: rotate(0deg); -webkit-transform: rotate(0deg); transition: transform 0.5s; } .options-sub-content { position: absolute; width: 100%; height: 436rpx; top: 78rpx; left: 0; padding: 0 24rpx; background-color: #fff; text-align: left; display: flex; flex-direction: column; } .options-sub-content .options-sub-content-list { flex: 1; overflow: hidden; overflow-y: auto; scrollbar-width: none; /* firefox */ -ms-overflow-style: none; /* IE 10+ */ } .options-sub-content .options-sub-content-list::-webkit-scrollbar { display: none; /* Chrome Safari */ } .options-sub-content .options-sub-content-list-item { position: relative; } .options-sub-content .options-sub-content-list-item::after { height: 1rpx; position: absolute; z-index: 0; bottom: 0; left: 0; content: ""; width: 100%; background-image: linear-gradient(0deg, #ececec 50%, transparent 0); } .options-sub-content .options-select { height: 88rpx; line-height: 88rpx; display: flex; justify-content: space-between; } .options-sub-content .options-select .options-select-btn { width: 49%; text-align: center; color: #fe5e56; font-size: 16px; } .options-sub-content .options-select .options-select-btn:nth-child(1) { border-right: 1rpx solid #ececec; color: #999; } .folds-enter-active { transition: all 0.3s ease; } .folds-leave-active { transition: all 0s ease; } .folds-enter, .folds-leave-to { height: 0; }