demo.wxss 1.3 KB
/* pages/demo/demo.wxss */
.box{
  height: 80rpx;
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 80rpx;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 9;
}
.item{
  width: auto;
   padding: 10rpx;
   font-size: 26rpx;
   box-sizing: border-box;
   height: 60rpx;
   border: 1rpx solid #dadae6;
   display: inline-block;
   margin-left: 20rpx;
}
.scroll{
  white-space: nowrap;
}
.arrow{
  width: 80rpx;
  height: 86rpx;
  position: absolute;
  top: -2rpx;
  right:-2rpx;
  z-index: 99;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateZ(90deg);
  box-sizing: border-box;
}
.arrow image{
  width: 16rpx;
  height: 20rpx;
}
.pullDownBox{
  position: absolute;
  top: 80rpx;
  left: 0;
  height: auto;
  padding: 10rpx;
  padding-bottom: 0;
  background: #fff;
  z-index: 9;
}
.mainClassify{
  font-size: 24rpx;
  padding: 10rpx;
  padding-top: 0;
}
.downItem{
  width: auto;
  height: 40rpx;
  border-radius: 8rpx;
  border: 1rpx solid #dadae6;
  margin-right: 20rpx;
  display: inline-block;
  padding: 6rpx 20rpx;
  font-size: 24rpx;
  margin-bottom: 10rpx;
}
.mask{
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
}