- 电子药箱: 药品库存管理 + 手动录入 + 今日用药打卡 - 药品百科: 搜索 + 分类筛选 + 20种药品静态数据 - 惠教中心: 4条药品使用指南课程 - 我的: 家庭成员信息管理 - 自定义TabBar + navigation-bar组件 - SVG药品分类插图
384 lines
6.0 KiB
SCSS
384 lines
6.0 KiB
SCSS
@import "../../../variables";
|
|
|
|
/* pages/live/report/report.scss */
|
|
|
|
page {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.report-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding-bottom: 120rpx;
|
|
padding-top: 30rpx;
|
|
background: #f5f5f5;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* ===== Section Card ===== */
|
|
.section-card {
|
|
background: #fff;
|
|
margin: 0 24rpx 16rpx;
|
|
border-radius: $primary-border-radius;
|
|
padding: 0 32rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
padding: 28rpx 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.section-header {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 600;
|
|
padding: 32rpx 32rpx 24rpx;
|
|
line-height: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ===== Step 1: Reason List ===== */
|
|
.reason-list-scroll {
|
|
height: 100vh;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.reason-list {
|
|
padding: 0;
|
|
}
|
|
|
|
.reason-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 28rpx 0;
|
|
border-bottom: 1rpx solid #f5f5f5;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.reason-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.reason-item:active {
|
|
background: #fafafa;
|
|
margin: 0 -32rpx;
|
|
padding-left: 32rpx;
|
|
padding-right: 32rpx;
|
|
}
|
|
|
|
.reason-label {
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.reason-arrow {
|
|
width: 12rpx;
|
|
height: 12rpx;
|
|
border-top: 3rpx solid #b0b0b0;
|
|
border-right: 3rpx solid #b0b0b0;
|
|
transform: rotate(45deg);
|
|
flex-shrink: 0;
|
|
margin-left: 12rpx;
|
|
}
|
|
|
|
/* ===== Target Info ===== */
|
|
.target-row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 24rpx 0;
|
|
}
|
|
|
|
.target-avatar {
|
|
width: 88rpx;
|
|
height: 88rpx;
|
|
border-radius: 50%;
|
|
margin-right: 24rpx;
|
|
flex-shrink: 0;
|
|
background: #f0f0f0;
|
|
border: 2rpx solid #f0f0f0;
|
|
}
|
|
|
|
.target-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.target-name {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.target-context {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
margin-top: 6rpx;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
|
|
/* ===== Selected Reason Row ===== */
|
|
.selected-reason-row {
|
|
padding: 28rpx 0;
|
|
}
|
|
|
|
.selected-reason-text {
|
|
font-size: 28rpx;
|
|
line-height: 1.4;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ===== Description ===== */
|
|
.desc-wrap {
|
|
padding-bottom: 16rpx;
|
|
}
|
|
|
|
.desc-textarea {
|
|
width: 100%;
|
|
min-height: 180rpx;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
line-height: 1.6;
|
|
border: none;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
padding: 16rpx 0 12rpx;
|
|
}
|
|
|
|
.desc-textarea::placeholder {
|
|
color: #c8c8c8;
|
|
}
|
|
|
|
.char-count {
|
|
font-size: 24rpx;
|
|
color: $gray-color;
|
|
text-align: right;
|
|
padding-bottom: 16rpx;
|
|
}
|
|
|
|
/* ===== Image Upload ===== */
|
|
.evidence-tip {
|
|
font-size: 24rpx;
|
|
color: $gray-color;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.upload-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding-bottom: 28rpx;
|
|
}
|
|
|
|
.upload-cell {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
margin-right: 12rpx;
|
|
margin-bottom: 12rpx;
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 12rpx;
|
|
}
|
|
|
|
.upload-cell:nth-child(3n) {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.upload-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.upload-close {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
color: #fff;
|
|
font-size: 26rpx;
|
|
line-height: 1;
|
|
}
|
|
|
|
.upload-add {
|
|
border: 2rpx dashed #d0d0d0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 72rpx;
|
|
color: #d0d0d0;
|
|
line-height: 1;
|
|
background: #fafafa;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.upload-add:active {
|
|
background: #f0f0f0;
|
|
}
|
|
|
|
/* ===== Unified Card (投诉原因+补充描述+图片证据) ===== */
|
|
.unified-card {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.unified-divider {
|
|
height: 1rpx;
|
|
background: #f0f0f0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ===== Agreement ===== */
|
|
.agreement-section {
|
|
padding: 28rpx 32rpx;
|
|
background: transparent;
|
|
}
|
|
|
|
.agreement-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.agreement-check-circle {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
border-radius: 50%;
|
|
border: 2rpx solid #d0d0d0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 14rpx;
|
|
flex-shrink: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.agreement-check-circle.checked {
|
|
background: #07c160;
|
|
border-color: #07c160;
|
|
}
|
|
|
|
.agreement-check-icon {
|
|
color: #fff;
|
|
font-size: 22rpx;
|
|
line-height: 1;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.agreement-text {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.agreement-link {
|
|
font-size: 24rpx;
|
|
color: $primary-color-blue;
|
|
}
|
|
|
|
/* ===== Bottom Submit Bar ===== */
|
|
.bottom-bar {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
padding: 20rpx 32rpx;
|
|
padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
box-shadow: 0 -2rpx 12rpx rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
background: #07c160;
|
|
color: #fff;
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
border-radius: 8rpx;
|
|
border: none;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.submit-btn[disabled] {
|
|
background: #e0e0e0;
|
|
color: #999;
|
|
}
|
|
|
|
.submit-btn:not([disabled]):active {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* ===== Step 3: Success ===== */
|
|
.success-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 200rpx 60rpx 60rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.success-icon-wrap {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
border-radius: 50%;
|
|
background: #07c160;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.success-check {
|
|
color: #fff;
|
|
font-size: 60rpx;
|
|
line-height: 1;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.success-title {
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.success-desc {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
line-height: 1.6;
|
|
text-align: center;
|
|
margin-bottom: 72rpx;
|
|
}
|
|
|
|
.success-btn {
|
|
width: 400rpx;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
background: #07c160;
|
|
color: #fff;
|
|
font-size: 30rpx;
|
|
border-radius: 8rpx;
|
|
border: none;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.success-btn:active {
|
|
opacity: 0.85;
|
|
} |