OrderHeader.scss 5.38 KB
/* packageMine/pages/order/index/index.wxss */
.sticky-box {
  background-color: #F9F7F7;
}

.tab {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #F9F7F7;
  z-index: 2;
  transition: all 0.4s;
}

.navigation {
  width: 100%;
  height: 100%;
  position: relative;
}

.navigation .back {
  width: 64rpx;
  height: 64rpx;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--margin);
  position: absolute;
  left: 20rpx;
}

.navigation .back .icon {
  width: 36rpx;
  height: 36rpx;
}

.search-box {
  position: absolute;
  left: 80rpx;
  width: 420rpx;
  height: 72rpx;
  background: #F9F7F7;
  border-radius: 36rpx;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 16rpx 0 var(--margin);
}

.search-box .icon {
  width: 40rpx;
  height: 100%;
}

.search-box .input {
  width: calc(100% - 98rpx);
}

.search-box .clear-box {
  width: 58rpx;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box .clear-box .clear {
  width: 32rpx;
  height: 32rpx;
  opacity: 0.7;
}

.placeholder-class {
  color: #c8c9cc;
}

.layout {
  padding: 24rpx var(--margin) 40rpx;
}

.layout .item {
  position: relative;
  padding-left: 24rpx;
  margin-bottom: 20rpx;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: var(--borderRadius);
  display: flex;
  flex-direction: column;
}

.layout .item .top {
  height: 82rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 24rpx;
  position: relative;
}
.delivery-icon {
  position: absolute;
  width: 106rpx;
  height: 80rpx;
  left: 366rpx;
  bottom: 0;
}

.layout .item .top .name {
  width: 366rpx;
}

.layout .item .content-top {
  border-top: 2rpx solid #eff0f2;
}
.layout .item .content {
  border-top: 2rpx solid #eff0f2;
  border-bottom: 2rpx solid #eff0f2;
}
.content-bottom {
  border-bottom: 2rpx solid #eff0f2;
}

.layout .item .goods {
  height: 208rpx;
  padding: 24rpx 24rpx 24rpx 0;
  box-sizing: border-box;
  display: flex;
}

.addTo {
  border-bottom: 2rpx solid #eff0f2;
}
.layout .item .goods .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124rpx;
  height: 46rpx;
  border-radius: 25rpx;
  border: 2rpx solid #b1b1b3;
  font-size: 24rpx;
  margin-left: 12rpx;
  color: #656566;
  position: absolute;
  bottom: 0;
  right: 0;
}
.layout .item .goods .confirm {
  border-color: var(--btnColor);
  color: var(--btnColor);
  font-weight: 500;
}

.layout .item .icon {
  width: 160rpx;
  height: 160rpx;
  margin-right: 20rpx;
  border-radius: 8rpx;
  overflow: hidden;
}
.background-X {
  background-color: rgb(244, 244, 244);
}

.layout .item .info {
  width: calc(100% - 180rpx);
  height: 160rpx;
  display: flex;
  flex-direction: column;
  position: relative;
}

.layout .item .info .info-top,
.layout .item .info .info-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.layout .item .info .info-top .price {
  color: var(--btnColor);
  font-size: 36rpx;
  letter-spacing: -2rpx;
  font-weight: 500;
  flex-shrink: 0;
}

.layout .item .info .info-top .price .unit {
  font-size: 24rpx;
}

.layout .item .info .info-bottom {
  margin-top: 4rpx;
  font-size: 24rpx;
  color: #707071;
}

.layout .item .info .info-bottom .number {
  margin-left: auto;
}

.layout .item .info .info-bottom .specification {
  color: #b1b1b3;
}

.layout .item .status {
  color: #b1b1b3;
  font-size: 24rpx;
  color: #282829;
}

.layout .item .bottom {
  height: 80rpx;
  display: flex;
  align-items: center;
  font-size: 24rpx;
  color: #656566;
}

.layout .item .bottom .price {
  color: var(--btnColor);
  font-weight: 500;
}

.layout .item .btn-box {
  position: absolute;
  right: 24rpx;
  bottom: 16rpx;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.layout .item .btn-box .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124rpx;
  height: 46rpx;
  border-radius: 25rpx;
  border: 2rpx solid #b1b1b3;
  font-size: 24rpx;
  margin-left: 12rpx;
  color: #656566;
}

.layout .item .btn-box .pay {
  background-color: var(--btnColor);
  color: #fff;
  border-color: var(--btnColor);
}
.layout .item .btn-box .empty{
  color: var(--btnColor);
  background-color: #fff;
}
.layout .item .btn-box .confirm {
  border-color: var(--btnColor);
  color: var(--btnColor);
  font-weight: 500;
}

.userProfile {
  background-color: #fff;
  font-size: 24rpx;
  margin: 0;
  padding: 0;
  font-weight: 500;
  line-height: 46rpx;
}
.layout .coupon-item {
  height: 202rpx;
  background: #fefffe;
  border-radius: 8rpx;
  margin-bottom: 36rpx;
  padding: 20rpx;
  box-sizing: border-box;
  position: relative;
}
.layout .coupon-item .orderPrices {
  position: absolute;
  color: var(--btnColor);
  font-size: 48rpx;
  right: 32rpx;
}
.layout .coupon-item .orderPrices text {
  font-size: 36rpx;
}
.layout .coupon-item .icon {
  width: 162rpx;
  height: 162rpx;
  margin-right: 20rpx;
}
.layout .coupon-item .info {
  width: 360rpx;
  height: 100%;
  color: #b1b1b3;
  font-size: 24rpx;
}
.layout .coupon-item .info .name {
  font-size: 28rpx;
  font-weight: 500;
  color: #282829;
}
.layout .coupon-item .info .order-btn {
  width: 138rpx;
  height: 48rpx;
  background: var(--btnColor);
  border-radius: 24rpx;
  margin-top: 40rpx;
  color: #ffffff;
  font-size: 24rpx;
}
.imageHeight {
  height: 99rpx !important;
}
.imageStraight {
  width: 92rpx;
  height: 92rpx;
  border-radius: 50%;
}