Select.scss 896 Bytes
/* packageMine/pages/questionnaire/components/Select/Select.wxss */
.select {
  width: 100%;
  height: 72rpx;
  background: #FFFFFF;
  border: 2rpx solid #D9D9D9;
  border-radius: 8rpx;
  box-sizing: border-box;
  padding: 16rpx 20rpx;
  font-size: 28rpx;
  position: relative;
  overflow: hidden;
  color: #333;

  &::after {
    position: absolute;
    content: '';
    border: 2rpx solid #999;
    border-top: none;
    border-left: none;
    right: 20rpx;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    box-sizing: border-box;
    width: 16.14rpx;
    height: 16.14rpx;
    transition: all .25s;
  }

  .value {
    width: calc(100% - 44rpx);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.focus {
  &::after {
    transform: translateY(-20%) rotate(225deg);
  }
}

.default {
  color: #999999;
}

.active {
  color: var(--themeColor);
}