ScreenConfirmBox.scss 3.74 KB
/* pages/tab/output/components/ScreenConfirmBox/ScreenConfirmBox.wxss */
.confirm-box {
  position: fixed;
  top: 0;
  z-index: 10;
  height: 100vh;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  animation: show-confirm-box .5s forwards;
}
@keyframes show-confirm-box {
  0%{
    right: -100%;
  }
  100%{
    right: 0;
  }
}

.main{
  box-sizing: border-box;
}

.confirm-title {
  height: 80rpx;
  position: relative;
}

.confirm-title .back {
  position: absolute;
  left: 40rpx;
  font-size: 24rpx;
  border-radius: 12rpx;
  background-color: #0075F9;
  color: #fff;
  height: 46rpx;
  padding: 0 24rpx;
}
.box {
  margin: 0 24rpx 16rpx;
}

.box .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 30rpx;
  font-weight: 600;
  color: #323436;
  padding: 24rpx 0;
  background: #fff;
  z-index: 2;
}

.box .title.padd_b0{
  padding-bottom: 0;
}

.box .title .picker_box, .box .title .picker_box .picker_box_text{
  display: flex;
  align-items: center;
}

.box .title .picker_box .picker_text{
  font-size: 26rpx;
  font-weight: 400;
  color: #333333;
}

.box .title .picker_box .icon{
  width: 40rpx;
  height: 40rpx;
}

.box .service_name{
  height: 68rpx;
  line-height: 68rpx;
  text-align: left;
  font-size: 26rpx;
  width: 100%;
  box-sizing: border-box;
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 0 32rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.box .date_box {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.box .date_box .date_item {
  width: 316rpx;
  height: 68rpx;
  line-height: 68rpx;
  font-size: 26rpx;
  text-align: center;
  background: #F7F7F7;
  border-radius: 8rpx;
}
.box .date_box .date_item.placeholder{
  color: #9E9EA8;
}

.box .list_box {
  display: grid;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: repeat(auto-fill, 216rpx);
  font-size: 26rpx;
}

.box .list_box .list_item {
  width: 216rpx;
  box-sizing: border-box;
  text-align: center;
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 16rpx 24rpx;
  margin-top: 24rpx;
  view{
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
  }
}

.box .list_box .list_item.active{
  background: #F0F7FF;
  color: #3666FE;
}

.box .list-box {
  display: flex;
  border-bottom: 2rpx solid rgba(195, 195, 195, .3);
  flex-wrap: wrap;
  padding-bottom: 20rpx;
}

.box .list-box .item {
  width: 210rpx;
  min-height: 64rpx;
  border: 2rpx solid transparent;
  box-sizing: border-box;
  padding: 16rpx 33rpx;
  margin-bottom: 20rpx;
  flex-wrap: wrap;
  font-size: 24rpx;
  text-align: center;
  background-color: #F7F7F7;
  color: #666666;
  transition: all .2s;
  margin: 0 20rpx 20rpx 0;
}

.isFullSucreen {
  padding-bottom: constant(safe-area-inset-bottom) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
}

.btn-box {
  position: sticky;
  padding: 10rpx 32rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 28rpx;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 9;
  background-color: #fff;
}

.btn-box .btn {
  border-radius: 12rpx;
  border: 2rpx solid #0075F9;
  box-sizing: border-box;
  height: 80rpx;

}

.btn-box .btn.clear {
  width: 336rpx;
  height: 88rpx;
  border: 2rpx solid #EEEEEE;
  border-radius: 12rpx;
  color: #8A8C90;
}

.btn-box .btn.done {
  width: 336rpx;
  height: 88rpx;
  background: #3666FE;
  border-radius: 12rpx;
  color: #ffffff;
}

.text-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}