step2.sass 3.2 KB
/* packageUsedCar/pages/deliveryNote/components/step2/step2.wxss */
.step-2 {
  position: relative;
  z-index: 2;
  margin: 0 20rpx;
  box-sizing: border-box;
}

/* 公共box样式 */
.box {
  border-radius: 16rpx;
  background: #ffffff;
  margin-bottom: 24rpx;
  padding: 0 32rpx;
  box-sizing: border-box;
}

/* 标题样式 */
.box .title {
  color: #292D33;
  font-size: 28rpx;
  font-weight: 500;
  display: flex;
  line-height: 40rpx;
  padding-top: 28rpx;
}

.box .title .required {
  color: #f24724;
  font-size: 28rpx;
  margin-left: 8rpx;
}

/* 上传区域 */
.upload-box .tips {
  margin: 4rpx 0 28rpx;
  color: #999EA8;
  font-size: 26rpx;
  line-height: 36rpx;
}

/* 图片列表 */
.img-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28rpx;
}

/* 上传按钮 */
.img-item.upload {
  width: 196rpx;
  height: 196rpx;
  border-radius: 12rpx;
  background: #F5F5F7;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #999EA8;
  font-size: 24rpx;
  .icon {
    width: 40rpx;
    height: 40rpx;
  }
}

.upload .icon {
  font-weight: 700;
  margin-bottom: 22rpx;
}

/* 图片项 */
.img-item {
  width: 196rpx;
  height: 196rpx;
  border-radius: 12rpx;
  position: relative;
  overflow: hidden;
}

.img-item .img {
  width: 100%;
  height: 100%;
}

/* 删除按钮 */
.img-item .del {
  position: absolute;
  width: 32rpx;
  height: 32rpx;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 8rpx;
  right: 4rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 图片提示 */
.img-tips {
  color: #999EA8;
  font-size: 24rpx;
  padding: 16rpx 0 28rpx;
  line-height: 36rpx;
}

/* 备注区域 */
.remark-box {
  padding-bottom: 28rpx;
}

.remark-box .title {
  padding-bottom: 24rpx;
}

.remark {
  height: 200rpx;
  border-radius: 16rpx;
  background: #FAFAFA;
  box-sizing: border-box;
  padding: 16rpx 24rpx;
  position: relative;
}

.remark .textarea {
  height: 132rpx;
  width: 100%;
  color: #333333;
  font-size: 28rpx;
  line-height: 40rpx;
}

.remark .limit {
  position: absolute;
  bottom: 8rpx;
  right: 8rpx;
  color: #999EA8;
  font-size: 28rpx;
  line-height: 44rpx;
}

.placeholder {
  color: #999EA8;
  font-size: 28rpx;
}

/* 按钮区域 */
.btn-box {
  box-sizing: border-box;
  padding: 24rpx 32rpx;
  display: flex;
  align-items: center;
}

/* 图标 */
.icon-delivery-step-2 {
  width: 80rpx;
  height: 80rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  flex-shrink: 0;
  width: 96rpx;
  height: 96rpx;
}

/* 信息区域 */
.btn-box .info {
  margin-left: 24rpx;
  flex: 1;
}

.btn-box .info {
  color: #292D33;
  font-size: 28rpx;
  font-weight: 500;
  line-height: 40rpx;
}

.btn-box .info .des {
  color: #5A5E66;
  font-size: 24rpx;
  font-weight: 400;
  line-height: 36rpx;
  margin-top: 4rpx;
}

/* 按钮 */
.btn-box .btn {
  width: 168rpx;
  height: 64rpx;
  border-radius: 48rpx;
  background: #347BFF;
  color: #ffffff;
  font-size: 28rpx;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-box .btn.disabled {
  background: #347bff80;
}

/* 底部间距 */
.block {
  width: 100%;
  height: 24rpx;
}

/* 公共flex类 */
.flex {
  display: flex;
  align-items: center;
}