.page-container { background-color: #f3f3f3; padding-top: 10px; height: calc(100vh - 44px); box-sizing: border-box; -webkit-overflow-scrolling: touch; /* 兼容底部安全区,增加额外内边距防遮挡 */ padding-bottom: calc(env(safe-area-inset-bottom) + 24rpx); } .offline-treatment-page { background: #f6f7fa; min-height: 100vh; } .page-container { padding: 24rpx 0; } .treatment-card { background: #fff; border-radius: 16rpx; margin: 0 24rpx 24rpx 24rpx; padding: 24rpx 24rpx 18rpx 24rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.03); } .treatment-title { font-size: 28rpx; font-weight: 500; color: #222; margin-bottom: 12rpx; } .treatment-row { font-size: 26rpx; color: #666; margin-bottom: 8rpx; display: flex; flex-wrap: wrap; } .label { color: black; margin-right: 8rpx; } .treatment-detail-card { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 16rpx; margin: 0 24rpx 32rpx 24rpx; padding: 24rpx 54rpx 18rpx 24rpx; box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.03); font-size: 28rpx; } .row { display: flex; align-items: center; color: #222; font-size: 28rpx; margin-bottom: 20rpx; } .between { justify-content: space-between; } .bold { font-weight: 600; } .status { font-size: 28rpx; font-weight: 500; margin-bottom: 20rpx; } .status.done { color: #43A047; margin-left: 16rpx; } .count { margin-left: 16rpx; color: #222; } .divider { height: 1rpx; background: #eee; margin: 18rpx 0; } .sub-label { color: #bbb; } /* 底部安全区占位,确保列表最后一项不被遮挡 */ .safe-bottom-spacer { height: calc(env(safe-area-inset-bottom) + 24rpx); }