createOrder.wxss 5.48 KB
/* tabWorkOrder/pages/createOrder/createOrder.wxss */

page {
  background-color: rgb(246, 247, 247);
}

.main {
  padding: 0 20rpx 136rpx;
}

.isFullSucreen {
  padding-bottom: 102px !important;
}

.isFullSucreen.fullSucreen-tips {
  padding-bottom: 136px !important;
}

.isFullSucreen-btn {
  padding-bottom: 34px !important;
}

.box {
  background: #FFFFFF;
  box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
  border-radius: 16rpx;
  overflow: hidden;
  margin-top: 20rpx;
}

.input {
  text-align: right;
  font-size: 28rpx;
}

.placeholder-class {
  color: #C3C3C3;
}

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

.between .start {
  max-width: 70%;
}

.between .end text {
  margin: 0 6rpx;
}

.gender-box {
  /* box-sizing: border-box; */
  width: 236rpx;
  height: 60rpx;
  display: flex;
  border: 2rpx solid #3582EE;
  border-radius: 12rpx;
  font-size: 28rpx;
  color: #3582EE;
  margin-left: auto;
  position: relative;
}

.gender-box .block {
  position: absolute;
  /* top: 0; */
  top: 50%;
  transform: translateY(-50%);
  border: 2rpx solid #3582EE;
  left: 0;
  width: 50%;
  border-radius: 12rpx;
  height: 100%;
  background: #3582EE;
  color: #fff;
  transition: all .25s;
}

.gender-box .block.right {
  left: 50%;
}

.gender-box .male,
.gender-box .woman {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: all .25s;
}

.gender-box .male {
  left: 0;
}

.gender-box .woman {
  right: 0;
}

.gender-box .male.active,
.gender-box .woman.active {
  color: #fff;
}

.payType-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 20rpx;
  /* justify-content: space-between; */
}

.payType-box .item {
  white-space: nowrap;
  margin-right: 4px;
  margin-bottom: 20rpx;
  /* margin: 20rpx 8rpx 0rpx 0; */
}

.payType-box .wxPayIcon {
  width: 48rpx;
  height: 48rpx;
  margin-right: 5rpx;
}

.payType-box .item:last-child {
  margin-right: 0;
}

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

.payType-box .item {
  box-sizing: border-box;
  border: 2rpx solid #999999;
  border-radius: 8rpx;
  font-size: 28rpx;
  color: #999999;
  height: 56rpx;
  padding: 0 22rpx;
  position: relative;
}

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

.payType-box .item.active {
  color: #3582EE;
  border-color: #3582EE;
}

.payType-box .item .active-icon {
  display: none;
  width: 20rpx;
  height: 20rpx;
  position: absolute;
  right: 0;
  bottom: 0;
}

.payType-box .item.active .active-icon {
  display: block;

}

.goods-box .goods {
  height: 118rpx;
  border-bottom: 2rpx solid rgba(195, 195, 195, .3);
  display: flex;
  align-items: center;
  padding: 0 28rpx 0 90rpx;
  justify-content: space-between;
  font-size: 28rpx;
  position: relative;
}

.goods .icon {
  position: absolute;
  top: 50%;
  left: 40rpx;
  width: 40rpx;
  height: 40rpx;
  transform: translateY(-50%);
}

.goods-box .goods .name {
  color: #FF6601;
  width: 306rpx;
}

.goods-box .goods .price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(100% - 436rpx);
  min-width: 104rpx;
}

.goods-box .goods .price {
  max-width: 80%;
  min-width: 104rpx;
  height: 44rpx;
  border: 2rpx solid #C3C3C3;
  border-radius: 8rpx;
}

.goods-box .goods .price input {
  width: 100%;
  height: 100%;
  text-align: center;
  min-height: 100%;
  font-size: 28rpx;
}

.goods-box .goods .price input.error {
  color: red;
}

.goods-box .goods .price input.disabled {
  /* color: red; */
  background-color: #f0f0f0;
  color: #dcdcdc;
}

.goods-box .goods.total-box {
  padding: 0 40rpx;
}

.goods-box .goods .total {
  color: #F24724;
}

.btns {
  /* position: fixed;
  left: 0;
  width: 100%;
  bottom: 0;
  min-height: 100rpx;
  background: #FFFFFF;
  box-sizing: border-box;
  padding: 10rpx 32rpx; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 28rpx;
  z-index: 99; */
  position: fixed;
  left: 0;
  width: 100%;
  bottom: 0;
  min-height: 100rpx;
  background: #FFFFFF;
  box-sizing: border-box;
  /* padding: 10rpx 32rpx; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 28rpx;
  z-index: 99;
  flex-direction: column;
}

.btns-con {
  box-sizing: border-box;
  display: flex;
  padding: 10rpx 0;
}

.tipsIcon,
.closeIcon {
  width: 32rpx;
  height: 32rpx;
}

.btns .btns-con view {
  border: 2rpx solid #0075F9;
  border-radius: 12rpx;
  height: 80rpx;
  box-sizing: border-box;
}

.btns .save,
.confirm {
  border: 2rpx solid #0075F9;
  border-radius: 12rpx;
  height: 80rpx;
  box-sizing: border-box;
}

.btns .save {
  width: 186rpx;
  margin-right: 20rpx;
  color: #3582EE;
  margin-right: 20rpx;
}

.btns .confirm {
  width: 480rpx;
  color: #fff;
  background-color: #3582EE;
}

.btns .save.disabled {
  border: 1px solid #DCDEE0;
  color: #c0c0cc;
}


.btns .tips {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  padding: 20rpx;
  font-weight: 500;
  background: #EFF5FE;
  height: 72rpx;
  width: 100%;
  color: #3582EE;
  font-size: 24rpx;
}

.tips .contentText {
  margin-left: 20rpx;
  margin-right: auto;
  display: flex;
  font-weight: 500;
  flex-direction: column;
  justify-content: space-between;
}