receptionScreen.wxss 3.89 KB
/* pages/tabWorkOrder/components/OrderScreen/OrderScreen.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;
  }
}

.box {
  margin: 0 var(--fontSize32);
}

.box .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fontSize32);
  font-weight: 500;
  color: #292D33;
  padding: var(--fontSize34) 0 var(--fontSize30);
  position: sticky;
  left: 0;
  top: 0;
  background: #fff;
  z-index: 2;
}

.box .title .title-left{
  display: flex;
  align-items: flex-end;
}

.box .title .title-tips{
  font-size: var(--fontSize22);
  font-weight: 400;
  color: #757980;
  margin-left: var(--fontSize8);
}

.box .title .collapse-btn{
  width: var(--fontSize48);
  height: var(--fontSize48);
}

.box .title .collapse-btn.rotate-180{
  transform: rotate(180deg);
}

.box .list-box {
  display: flex;
  border-bottom: var(--fontSize2) solid rgba(195, 195, 195, .3);
  flex-wrap: wrap;
  padding-bottom: var(--fontSize20);
}

.box:last-child .list-box{
  border: none;
}

.box .list-box .item {
  /* width: var(--fontSize214); */
  width: calc(234 / 750 * 100%);
  min-height: var(--fontSize68);
  border-radius: var(--fontSize4);
  box-sizing: border-box;
  border: var(--fontSize2) solid transparent;
  padding: var(--fontSize16) 0;
  flex-wrap: wrap;
  font-size: var(--fontSize24);
  text-align: center;
  background-color: #F7F8FA;
  color: #292D33;
  transition: all .2s;
  margin: 0 calc(20 / 750 * 100%) calc(20 / 750 * 100%) 0;
}

.box .list-box .item .text-item{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.box .list-box .item.flex-1{
  width: 100%;
  text-align: left;
  margin-right: 0;
  line-height: 100%;
}

.box .list-box .item.grey{
  color: #999EA8;
}

.box .list-box .item.custom-time{
  /* width: var(--fontSize316); */
  width: calc(316 / 750 * 100%);
  margin-bottom: 0;
}

.box .list-box .item.custom-time:last-child{
  margin-right: 0;
  margin-left: var(--fontSize20);
}

.box .list-box .item:nth-of-type(3n+3) {
  margin-right: 0;
}

.box .list-box .calendar .item {
  margin-right: 0;
}

.box .list-box .item.active {
  background: rgba(53, 130, 238, 0.08);
  border: var(--fontSize2) solid #347BFF;
  color: #347BFF;
}

.box .list-box .item.disabled {
  opacity: .4;
}

.box .list-box .item .inline-block{
  display: inline-block;
}

.box .list-box .item .merchant-name{
  max-width: calc(100% - var(--fontSize140));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.box .list-box .item.flex-block{
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--fontSize24);
}

.box .list-box .item input{
  width: calc(100% - var(--fontSize50));
  text-align: left;
}

.box .list-box .item .icon{
  width: var(--fontSize32);
  height: var(--fontSize32);
  margin-right: var(--fontSize12);
}

.btn-box {
  position: sticky;
  padding: var(--fontSize10) var(--fontSize32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fontSize28);
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 9;
  background-color: #fff;
}

.btn-box .btn {
  border-radius: var(--fontSize12);
  border: var(--fontSize2) solid #0075F9;
  box-sizing: border-box;
  height: var(--fontSize80);

}

.btn-box .btn.clear {
  border: var(--fontSize2) solid #DEE0E3;
  width: var(--fontSize186);
  color: #292D33;
}

.btn-box .btn.done {
  background: #347BFF;
  color: #fff;
  width: var(--fontSize480);
}



.isFullSucreen-btn {
  padding-bottom: var(--fontSize68);
}

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

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