WXL
2 天以前 c80bc467a41daa6cbae4e5515a300a8ca98cfeaa
unpackage/dist/dev/mp-weixin/pagesSub/case/CaseDetails.wxss
@@ -101,34 +101,46 @@
}
.form-content.data-v-2006fde2 {
  padding: 30rpx;
  padding-bottom: 180rpx;
  padding-bottom: 220rpx;
}
.page-header.data-v-2006fde2 {
  padding: 30rpx 0;
  text-align: center;
  margin-bottom: 20rpx;
}
.page-title.data-v-2006fde2 {
  font-size: 38rpx;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 2rpx;
}
.form-section.data-v-2006fde2 {
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
  margin-bottom: 26rpx;
  box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.05);
}
.section-header.data-v-2006fde2 {
  display: flex;
  margin-bottom: 30rpx;
  align-items: center;
  margin-bottom: 28rpx;
  padding-bottom: 20rpx;
  border-bottom: 2rpx solid #f0f0f0;
}
.section-icon.data-v-2006fde2 {
  font-size: 32rpx;
  margin-right: 16rpx;
  font-size: 34rpx;
  margin-right: 14rpx;
}
.section-title.data-v-2006fde2 {
  font-size: 32rpx;
  font-weight: 600;
  font-weight: 650;
  color: #1d1d1f;
}
.form-grid.data-v-2006fde2 {
  display: flex;
  flex-direction: column;
  gap: 24rpx;
  gap: 28rpx;
}
.form-item.data-v-2006fde2 {
  display: flex;
@@ -140,7 +152,7 @@
.item-label.data-v-2006fde2 {
  font-size: 28rpx;
  color: #1d1d1f;
  font-weight: 500;
  font-weight: 520;
  margin-bottom: 12rpx;
}
.item-label.required.data-v-2006fde2::after {
@@ -148,17 +160,70 @@
  color: #ff4757;
  margin-left: 4rpx;
}
.data-v-2006fde2 .u-input {
.data-v-2006fde2 .u-input,.data-v-2006fde2 .u-textarea {
  border: 2rpx solid #e5e5e7 !important;
  border-radius: 12rpx !important;
  padding: 20rpx 24rpx !important;
  background: #fff !important;
}
.data-v-2006fde2 .u-textarea {
  border: 2rpx solid #e5e5e7 !important;
  border-radius: 12rpx !important;
  padding: 20rpx 24rpx !important;
  background: #fff !important;
.data-v-2006fde2 .u-input:focus-within,.data-v-2006fde2 .u-textarea:focus-within {
  border-color: #0f95b0 !important;
}
.picker.data-v-2006fde2 {
  height: 86rpx;
  background: #fafafa;
  border-radius: 12rpx;
  padding: 0 24rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2rpx solid #e5e5e7;
}
.picker.data-v-2006fde2:active {
  border-color: #0f95b0;
}
.picker .icon-arrow.data-v-2006fde2 {
  font-size: 34rpx;
  color: #86868b;
  transform: rotate(90deg);
}
.radio-options.data-v-2006fde2 {
  display: flex;
  gap: 44rpx;
}
.radio-options .option-item.data-v-2006fde2 {
  display: flex;
  align-items: center;
  gap: 14rpx;
}
.radio-options .option-item .radio-dot.data-v-2006fde2 {
  width: 34rpx;
  height: 34rpx;
  border: 3rpx solid #d1d1d6;
  border-radius: 50%;
  position: relative;
}
.radio-options .option-item .option-label.data-v-2006fde2 {
  font-size: 28rpx;
  color: #1d1d1f;
}
.radio-options .option-item.active .radio-dot.data-v-2006fde2 {
  border-color: #0f95b0;
}
.radio-options .option-item.active .radio-dot.data-v-2006fde2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18rpx;
  height: 18rpx;
  background: #0f95b0;
  border-radius: 50%;
}
.radio-options .option-item.active .option-label.data-v-2006fde2 {
  color: #0f95b0;
  font-weight: 550;
}
.radio-group.data-v-2006fde2 {
  display: flex;
@@ -168,35 +233,105 @@
  flex-wrap: wrap;
  gap: 20rpx;
}
.radio-item.data-v-2006fde2 {
.radio-group.horizontal.data-v-2006fde2 {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 18rpx;
}
.radio-group.horizontal .radio-item.data-v-2006fde2 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8rpx;
  padding: 10rpx 20rpx;
  border-radius: 20rpx;
  background: #f5f5f7;
  transition: all 0.2s;
}
.radio-group.horizontal .radio-item .radio-dot.data-v-2006fde2 {
  width: 36rpx;
  height: 36rpx;
  border: 2rpx solid #d1d1d6;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.radio-group.horizontal .radio-item .radio-dot.active.data-v-2006fde2 {
  border-color: #0f95b0;
  background-color: #0f95b0;
}
.radio-group.horizontal .radio-item .radio-label.data-v-2006fde2 {
  font-size: 26rpx;
  color: #1d1d1f;
  white-space: nowrap;
}
.radio-group.horizontal .radio-item.active.data-v-2006fde2 {
  background: rgba(15, 149, 176, 0.1);
}
.checkbox-group.single-line.data-v-2006fde2 {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16rpx;
}
.radio-dot.data-v-2006fde2 {
  width: 32rpx;
  height: 32rpx;
  border: 2rpx solid #e5e5e7;
  border-radius: 50%;
  position: relative;
.checkbox-group.single-line .checkbox-item.data-v-2006fde2 {
  display: flex;
  align-items: center;
  gap: 8rpx;
  flex-shrink: 0;
  padding: 10rpx 20rpx;
  border-radius: 22rpx;
  background: #f5f5f7;
}
.radio-dot.active.data-v-2006fde2 {
.checkbox-group.single-line .checkbox-item.active.data-v-2006fde2 {
  border-color: #0f95b0;
  background: rgba(15, 149, 176, 0.09);
}
.radio-dot.active.data-v-2006fde2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16rpx;
  height: 16rpx;
.checkbox-group.single-line .checkbox-item .checkbox-box.data-v-2006fde2 {
  width: 30rpx;
  height: 30rpx;
  border: 2rpx solid #d1d1d6;
  border-radius: 6rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.checkbox-group.single-line .checkbox-item .checkbox-box.active.data-v-2006fde2 {
  border-color: #0f95b0;
  background: #0f95b0;
  border-radius: 50%;
}
.radio-label.data-v-2006fde2 {
  font-size: 28rpx;
.checkbox-group.single-line .checkbox-item .checkbox-box .checkbox-check.data-v-2006fde2 {
  font-size: 20rpx;
  color: white;
  font-weight: bold;
}
.checkbox-group.single-line .checkbox-item .checkbox-label.data-v-2006fde2 {
  font-size: 25rpx;
  color: #1d1d1f;
  white-space: nowrap;
}
.error-text.data-v-2006fde2 {
  font-size: 23rpx;
  color: #ff4757;
  margin-top: 8rpx;
}
.address-block.data-v-2006fde2 {
  margin-bottom: 32rpx;
}
.address-block .address-label.data-v-2006fde2 {
  font-size: 27rpx;
  color: #1d1d1f;
  font-weight: 520;
  margin-bottom: 12rpx;
  display: block;
}
.address-block .address-detail-input.data-v-2006fde2 {
  margin-top: 16rpx;
}
.action-buttons.data-v-2006fde2 {
  position: fixed;
@@ -205,360 +340,30 @@
  right: 0;
  background: #fff;
  padding: 20rpx 30rpx calc(20rpx + env(safe-area-inset-bottom));
  box-shadow: 0 -2rpx 20rpx rgba(0, 0, 0, 0.08);
  z-index: 99;
  box-shadow: 0 -4rpx 24rpx rgba(0, 0, 0, 0.07);
  z-index: 9;
  display: flex;
  gap: 20rpx;
}
.btn.data-v-2006fde2 {
.action-buttons .btn.data-v-2006fde2 {
  flex: 1;
  height: 80rpx;
  height: 84rpx;
  border-radius: 16rpx;
  font-size: 32rpx;
  font-weight: 500;
}
.btn.secondary.data-v-2006fde2 {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}
.btn.primary.data-v-2006fde2 {
  background: linear-gradient(135deg, #0f95b0, #89c4c1) !important;
  color: #fff !important;
}
.btn.primary.data-v-2006fde2:disabled {
  background: #c0c0c0 !important;
  opacity: 0.6;
}
.case-report-container.data-v-2006fde2 {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fdff 0%, #e8f7f6 100%);
}
.form-scroll.data-v-2006fde2 {
  height: 100vh;
}
.form-section.data-v-2006fde2 {
  background: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
}
.section-header.data-v-2006fde2 {
  display: flex;
  align-items: center;
  margin-bottom: 30rpx;
  padding-bottom: 20rpx;
  border-bottom: 2rpx solid #f0f0f0;
}
.section-icon.data-v-2006fde2 {
  font-size: 32rpx;
  margin-right: 16rpx;
}
.section-title.data-v-2006fde2 {
  font-size: 32rpx;
  font-weight: 600;
  color: #1d1d1f;
}
.form-grid.data-v-2006fde2 {
  display: flex;
  flex-direction: column;
  gap: 24rpx;
}
.form-item.data-v-2006fde2 {
  display: flex;
  flex-direction: column;
}
.item-label.data-v-2006fde2 {
  font-size: 28rpx;
  color: #1d1d1f;
  font-weight: 500;
  margin-bottom: 12rpx;
}
.item-label.required.data-v-2006fde2::after {
  content: "*";
  color: #ff4757;
  margin-left: 4rpx;
}
/* 改造后的选择器样式 */
.picker.data-v-2006fde2 {
  height: 88rpx;
  background: #f5f5f7;
  border-radius: 12rpx;
  padding: 0 24rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2rpx solid #e5e5e7;
}
.picker text.data-v-2006fde2 {
  font-size: 28rpx;
  color: #1d1d1f;
}
.picker text.icon-arrow.data-v-2006fde2 {
  font-size: 32rpx;
  color: #86868b;
  transform: rotate(90deg);
}
.page-header.data-v-2006fde2 {
  padding: 30rpx 0;
  text-align: center;
  margin-bottom: 20rpx;
}
.page-title.data-v-2006fde2 {
  font-size: 36rpx;
  font-weight: 600;
  color: #1d1d1f;
}
/* 在原有样式基础上添加 */
.form-section.data-v-2006fde2 {
  position: relative;
}
.edit-badge.data-v-2006fde2 {
  position: absolute;
  top: 30rpx;
  right: 30rpx;
  background: #ff6b35;
  color: white;
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  font-size: 24rpx;
}
/* 加载状态样式 */
.loading-overlay.data-v-2006fde2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
/* 响应式调整 */
@media (max-width: 768px) {
.form-content.data-v-2006fde2 {
    padding: 20rpx;
    padding-bottom: 180rpx;
}
.form-section.data-v-2006fde2 {
    padding: 20rpx;
}
}
/* 改造后的单选按钮样式 */
.radio-options.data-v-2006fde2 {
  display: flex;
  gap: 40rpx;
}
.option-item.data-v-2006fde2 {
  display: flex;
  align-items: center;
  gap: 16rpx;
}
.option-item .radio-dot.data-v-2006fde2 {
  width: 32rpx;
  height: 32rpx;
  border: 2rpx solid #e5e5e7;
  border-radius: 50%;
  position: relative;
}
.option-item .option-label.data-v-2006fde2 {
  font-size: 28rpx;
  color: #1d1d1f;
}
.option-item.active .radio-dot.data-v-2006fde2 {
  border-color: #0f95b0;
}
.option-item.active .radio-dot.data-v-2006fde2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16rpx;
  height: 16rpx;
  background: #0f95b0;
  border-radius: 50%;
}
.option-item.active .option-label.data-v-2006fde2 {
  color: #0f95b0;
}
.error-text.data-v-2006fde2 {
  font-size: 24rpx;
  color: #ff4757;
  margin-top: 8rpx;
}
/* 原有样式调整 */
.data-v-2006fde2 .u-input {
  border: 2rpx solid #e5e5e7 !important;
  border-radius: 12rpx !important;
  padding: 20rpx 24rpx !important;
  background: #fff !important;
}
.idcard-hint.data-v-2006fde2 {
  margin-top: 8rpx;
  padding: 12rpx 16rpx;
  background: #f0f9ff;
  border-radius: 8rpx;
  border-left: 4rpx solid #0f95b0;
}
.hint-text.data-v-2006fde2 {
  display: block;
  font-size: 24rpx;
  color: #0f95b0;
  margin-bottom: 4rpx;
}
.hint-text.data-v-2006fde2:last-child {
  margin-bottom: 0;
}
.error-text.data-v-2006fde2 {
  font-size: 24rpx;
  color: #ff4757;
  margin-top: 8rpx;
}
.btn.data-v-2006fde2 {
  flex: 1;
  height: 80rpx;
  border-radius: 16rpx;
  font-size: 32rpx;
  font-weight: 500;
}
.btn.secondary.data-v-2006fde2 {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}
.btn.primary.data-v-2006fde2 {
  background: linear-gradient(135deg, #0f95b0, #89c4c1) !important;
  color: #fff !important;
}
.btn.primary.data-v-2006fde2:disabled {
  background: #c0c0c0 !important;
  opacity: 0.6;
}
.checkbox-group.data-v-2006fde2 {
  display: flex;
  flex-wrap: nowrap;
  /* 禁止换行 */
  gap: 20rpx;
  overflow-x: auto;
  /* 水平滚动 */
  padding-bottom: 10rpx;
  /* 给滚动条留出空间 */
  -webkit-overflow-scrolling: touch;
  /* iOS平滑滚动 */
}
.checkbox-group.single-line.data-v-2006fde2 {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  /* 隐藏滚动条,但保持滚动功能 */
}
.checkbox-group.single-line.data-v-2006fde2::-webkit-scrollbar {
  display: none;
}
.checkbox-item.data-v-2006fde2 {
  display: flex;
  align-items: center;
  gap: 8rpx;
  flex-shrink: 0;
  /* 防止选项被压缩 */
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
  background: #f5f5f7;
  transition: all 0.3s ease;
}
.checkbox-item.active.data-v-2006fde2 {
  background: rgba(15, 149, 176, 0.1);
}
.checkbox-box.data-v-2006fde2 {
  width: 28rpx;
  height: 28rpx;
  border: 2rpx solid #e5e5e7;
  border-radius: 6rpx;
  font-size: 31rpx;
  font-weight: 530;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.checkbox-box.active.data-v-2006fde2 {
  border-color: #0f95b0;
  background: #0f95b0;
.action-buttons .btn.secondary.data-v-2006fde2 {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}
.checkbox-check.data-v-2006fde2 {
  font-size: 20rpx;
  color: white;
  font-weight: bold;
.action-buttons .btn.primary.data-v-2006fde2 {
  background: linear-gradient(135deg, #0f95b0, #66b8b5) !important;
  color: #fff !important;
}
.checkbox-label.data-v-2006fde2 {
  font-size: 24rpx;
  color: #1d1d1f;
  white-space: nowrap;
}
/* 优化单选按钮组的样式,保持一致性 */
.radio-group.horizontal.data-v-2006fde2 {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20rpx;
  padding-bottom: 10rpx;
  -webkit-overflow-scrolling: touch;
}
.radio-group.horizontal.data-v-2006fde2::-webkit-scrollbar {
  display: none;
}
.radio-group.horizontal .radio-item.data-v-2006fde2 {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8rpx;
  padding: 8rpx 16rpx;
  border-radius: 20rpx;
}
.radio-group.horizontal .radio-item .radio-dot.active.data-v-2006fde2 {
  border-color: #0f95b0;
}
.radio-group.horizontal .radio-item .radio-dot.active.data-v-2006fde2::after {
  background: #0f95b0;
}
/* 如果需要固定高度,可以这样设置 */
.checkbox-group.single-line.data-v-2006fde2 {
  min-height: 60rpx;
  align-items: center;
}
/* 在移动端优化触摸区域 */
.checkbox-item.data-v-2006fde2 {
  min-height: 60rpx;
  padding: 8rpx 20rpx;
  cursor: pointer;
}
/* 添加选中状态的视觉反馈 */
.checkbox-item.active.data-v-2006fde2 {
  border: 1rpx solid #0f95b0;
  background: rgba(15, 149, 176, 0.08);
}
/* 响应式调整 */
@media (max-width: 768px) {
.checkbox-group.single-line.data-v-2006fde2 {
    gap: 12rpx;
}
.checkbox-item.data-v-2006fde2 {
    padding: 6rpx 14rpx;
}
.checkbox-label.data-v-2006fde2 {
    font-size: 22rpx;
}
.action-buttons .btn.primary.data-v-2006fde2:disabled {
  background: #c8c8cc !important;
  opacity: 0.55;
}