/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
.primary-btn {
|
background: linear-gradient(135deg, #0f95b0, #89C4C1);
|
color: #fff;
|
border-radius: 36rpx;
|
text-align: center;
|
font-size: 30rpx;
|
height: 88rpx;
|
line-height: 88rpx;
|
}
|
.primary-btn:active {
|
transform: scale(0.98);
|
}
|
.card {
|
background: #fff;
|
border-radius: 24rpx;
|
padding: 30rpx;
|
margin-bottom: 30rpx;
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
}
|
.tag {
|
display: inline-block;
|
font-size: 22rpx;
|
color: #0f95b0;
|
background: rgba(15, 149, 176, 0.1);
|
padding: 4rpx 12rpx;
|
border-radius: 4rpx;
|
margin-right: 10rpx;
|
}
|
.section-title {
|
font-size: 34rpx;
|
font-weight: bold;
|
color: #333333;
|
position: relative;
|
padding-left: 20rpx;
|
margin-bottom: 30rpx;
|
}
|
.section-title::before {
|
content: "";
|
position: absolute;
|
left: 0;
|
top: 50%;
|
transform: translateY(-50%);
|
width: 6rpx;
|
height: 30rpx;
|
background: #0f95b0;
|
border-radius: 3rpx;
|
}
|
.price {
|
font-size: 32rpx;
|
color: #F56C6C;
|
font-weight: bold;
|
}
|
.price.free {
|
color: #67C23A;
|
}
|
.price.original {
|
font-size: 24rpx;
|
color: #999999;
|
text-decoration: line-through;
|
margin-left: 10rpx;
|
}
|
::-webkit-scrollbar {
|
display: none;
|
width: 0;
|
height: 0;
|
color: transparent;
|
}
|
page {
|
width: 100%;
|
height: 100%;
|
overflow-x: hidden;
|
}
|
.case-record {
|
min-height: 100vh;
|
background: #F5F6FA;
|
/* 撤回确认弹窗样式 */
|
}
|
.case-record .stats-card {
|
margin: 20rpx;
|
background: linear-gradient(135deg, #0f95b0, #89C4C1);
|
border-radius: 24rpx;
|
padding: 40rpx 30rpx;
|
display: flex;
|
align-items: center;
|
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
|
}
|
.case-record .stats-card .stat-item {
|
flex: 1;
|
text-align: center;
|
}
|
.case-record .stats-card .stat-item .count {
|
font-size: 40rpx;
|
color: #fff;
|
font-weight: bold;
|
margin-bottom: 8rpx;
|
display: block;
|
}
|
.case-record .stats-card .stat-item .label {
|
font-size: 26rpx;
|
color: rgba(255, 255, 255, 0.9);
|
}
|
.case-record .stats-card .divider {
|
width: 2rpx;
|
height: 60rpx;
|
background: rgba(255, 255, 255, 0.2);
|
}
|
.case-record .filter-bar {
|
background: #fff;
|
padding: 20rpx;
|
margin-bottom: 20rpx;
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
}
|
.case-record .filter-bar .type-filter {
|
display: flex;
|
margin-bottom: 20rpx;
|
overflow-x: hidden;
|
}
|
.case-record .filter-bar .type-filter text {
|
flex: 1;
|
text-align: center;
|
font-size: 28rpx;
|
color: #666666;
|
padding: 12rpx 0;
|
position: relative;
|
white-space: nowrap;
|
}
|
.case-record .filter-bar .type-filter text.active {
|
color: #0f95b0;
|
font-weight: bold;
|
}
|
.case-record .filter-bar .type-filter text.active::after {
|
content: "";
|
position: absolute;
|
left: 50%;
|
bottom: 0;
|
transform: translateX(-50%);
|
width: 40rpx;
|
height: 4rpx;
|
background: #0f95b0;
|
border-radius: 2rpx;
|
}
|
.case-record .filter-bar .date-filter {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
overflow-x: hidden;
|
}
|
.case-record .filter-bar .date-filter picker {
|
flex: 1;
|
width: 0;
|
}
|
.case-record .filter-bar .date-filter picker text {
|
display: block;
|
text-align: center;
|
font-size: 26rpx;
|
color: #666666;
|
padding: 12rpx 0;
|
background: #F5F6FA;
|
border-radius: 12rpx;
|
white-space: nowrap;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
}
|
.case-record .filter-bar .date-filter .separator {
|
padding: 0 20rpx;
|
font-size: 26rpx;
|
color: #999999;
|
}
|
.case-record .case-list {
|
height: calc(100vh - 300rpx);
|
overflow-x: hidden;
|
}
|
.case-record .case-list::-webkit-scrollbar {
|
display: none;
|
}
|
.case-record .case-list .case-item {
|
margin: 20rpx;
|
background: #fff;
|
border-radius: 24rpx;
|
padding: 30rpx;
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
|
}
|
.case-record .case-list .case-item .header {
|
display: flex;
|
justify-content: space-between;
|
align-items: flex-start;
|
margin-bottom: 20rpx;
|
}
|
.case-record .case-list .case-item .header .hospital-info {
|
display: flex;
|
align-items: center;
|
}
|
.case-record .case-list .case-item .header .hospital-info .logo {
|
width: 60rpx;
|
height: 60rpx;
|
border-radius: 4rpx;
|
margin-right: 16rpx;
|
}
|
.case-record .case-list .case-item .header .hospital-info .info .name {
|
font-size: 30rpx;
|
color: #333333;
|
font-weight: bold;
|
margin-bottom: 4rpx;
|
display: block;
|
}
|
.case-record .case-list .case-item .header .hospital-info .info .type {
|
font-size: 26rpx;
|
color: #666666;
|
}
|
.case-record .case-list .case-item .header .status {
|
font-size: 24rpx;
|
padding: 4rpx 12rpx;
|
border-radius: 4rpx;
|
}
|
.case-record .case-list .case-item .header .status.report {
|
color: #E6A23C;
|
background: rgba(230, 162, 60, 0.1);
|
}
|
.case-record .case-list .case-item .header .status.read {
|
color: #909399;
|
background: rgba(144, 147, 153, 0.1);
|
}
|
.case-record .case-list .case-item .header .status.agree {
|
color: #67C23A;
|
background: rgba(103, 194, 58, 0.1);
|
}
|
.case-record .case-list .case-item .header .status.reject {
|
color: #F56C6C;
|
background: rgba(245, 108, 108, 0.1);
|
}
|
.case-record .case-list .case-item .detail-info {
|
padding: 20rpx 0;
|
border-top: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
}
|
.case-record .case-list .case-item .detail-info .info-item {
|
display: flex;
|
justify-content: space-between;
|
margin-bottom: 12rpx;
|
}
|
.case-record .case-list .case-item .detail-info .info-item:last-child {
|
margin-bottom: 0;
|
}
|
.case-record .case-list .case-item .detail-info .info-item .label {
|
font-size: 26rpx;
|
color: #666666;
|
min-width: 140rpx;
|
}
|
.case-record .case-list .case-item .detail-info .info-item .value {
|
font-size: 26rpx;
|
color: #333333;
|
flex: 1;
|
text-align: right;
|
}
|
.case-record .case-list .case-item .footer {
|
padding-top: 20rpx;
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
}
|
.case-record .case-list .case-item .footer .action-info .label {
|
font-size: 26rpx;
|
color: #666666;
|
margin-right: 12rpx;
|
}
|
.case-record .case-list .case-item .footer .action-info .case-status {
|
font-size: 28rpx;
|
color: #0f95b0;
|
font-weight: bold;
|
}
|
.case-record .case-list .case-item .footer .actions {
|
display: flex;
|
gap: 20rpx;
|
}
|
.case-record .case-list .case-item .footer .actions .action-btn {
|
height: 60rpx;
|
line-height: 60rpx;
|
padding: 0 30rpx;
|
font-size: 26rpx;
|
color: #0f95b0;
|
background: rgba(15, 149, 176, 0.1);
|
border-radius: 36rpx;
|
}
|
.case-record .case-list .case-item .footer .actions .action-btn.secondary {
|
color: #666666;
|
background: #f5f5f5;
|
}
|
.case-record .case-list .case-item .footer .actions .action-btn:active {
|
opacity: 0.8;
|
}
|
.case-record .case-list .case-item:active {
|
transform: scale(0.99);
|
}
|
.case-record .transport-section {
|
padding: 20rpx 0;
|
border-top: 1rpx solid #eee;
|
border-bottom: 1rpx solid #eee;
|
margin: 20rpx 0;
|
}
|
.case-record .transport-section .transport-info {
|
display: flex;
|
justify-content: space-between;
|
align-items: center;
|
margin-bottom: 20rpx;
|
}
|
.case-record .transport-section .transport-info .label {
|
font-size: 26rpx;
|
color: #606266;
|
/* 替换 $text-regular */
|
font-weight: bold;
|
}
|
.case-record .transport-section .transport-info .transport-status {
|
font-size: 26rpx;
|
padding: 6rpx 16rpx;
|
border-radius: 8rpx;
|
/* 替换 $radius-sm,假设为8rpx */
|
}
|
.case-record .transport-section .transport-info .transport-status.not-transported {
|
color: #f0ad4e;
|
/* 替换 $warning */
|
background: rgba(240, 173, 78, 0.1);
|
/* 使用对应的rgba颜色 */
|
}
|
.case-record .transport-section .transport-info .transport-status.transporting {
|
color: #007aff;
|
/* 替换 $primary-color */
|
background: rgba(0, 122, 255, 0.1);
|
}
|
.case-record .transport-section .transport-info .transport-status.completed {
|
color: #4cd964;
|
/* 替换 $success */
|
background: rgba(76, 217, 100, 0.1);
|
}
|
.case-record .transport-section .transport-details {
|
background: #f5f5f5;
|
/* 替换 $bg-color */
|
border-radius: 16rpx;
|
/* 替换 $radius-md,假设为16rpx */
|
padding: 20rpx;
|
margin-bottom: 20rpx;
|
}
|
.case-record .transport-section .transport-details .detail-item {
|
display: flex;
|
justify-content: space-between;
|
margin-bottom: 12rpx;
|
}
|
.case-record .transport-section .transport-details .detail-item:last-child {
|
margin-bottom: 0;
|
}
|
.case-record .transport-section .transport-details .detail-item .detail-label {
|
font-size: 24rpx;
|
color: #606266;
|
/* 替换 $text-regular */
|
}
|
.case-record .transport-section .transport-details .detail-item .detail-value {
|
font-size: 24rpx;
|
color: #303133;
|
/* 替换 $text-primary */
|
font-weight: 500;
|
}
|
.case-record .transport-section .transport-actions {
|
display: flex;
|
gap: 20rpx;
|
flex-wrap: wrap;
|
}
|
.case-record .transport-section .transport-actions .transport-btn {
|
height: 56rpx;
|
line-height: 56rpx;
|
padding: 0 24rpx;
|
font-size: 24rpx;
|
border-radius: 48rpx;
|
/* 替换 $radius-xl,假设为48rpx */
|
border: none;
|
}
|
.case-record .transport-section .transport-actions .transport-btn.primary {
|
color: #fff;
|
background: #007aff;
|
/* 替换 $primary-color */
|
}
|
.case-record .transport-section .transport-actions .transport-btn.secondary {
|
color: #007aff;
|
/* 替换 $primary-color */
|
background: rgba(0, 122, 255, 0.1);
|
border: 1rpx solid #007aff;
|
/* 替换 $primary-color */
|
}
|
.case-record .transport-section .transport-actions .transport-btn.track {
|
color: #fff;
|
background: #f0ad4e;
|
/* 替换 $warning */
|
}
|
.case-record .transport-section .transport-actions .transport-btn.disabled {
|
color: #c0c4cc;
|
/* 替换 $text-disabled */
|
background: #f5f5f5;
|
/* 替换 $bg-color */
|
border: 1rpx solid #dcdfe6;
|
/* 替换 $border-color */
|
}
|
.case-record .transport-section .transport-actions .transport-btn:active:not(.disabled) {
|
opacity: 0.8;
|
transform: scale(0.98);
|
}
|
.case-record .load-more, .case-record .no-more {
|
text-align: center;
|
padding: 40rpx 0;
|
color: #999999;
|
font-size: 28rpx;
|
}
|
.case-record .empty-state {
|
padding: 120rpx 0;
|
text-align: center;
|
}
|
.case-record .empty-state image {
|
width: 240rpx;
|
height: 240rpx;
|
margin-bottom: 30rpx;
|
}
|
.case-record .empty-state text {
|
font-size: 28rpx;
|
color: #999999;
|
}
|
.case-record .modal-mask {
|
position: fixed;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: rgba(0, 0, 0, 0.5);
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
z-index: 1000;
|
}
|
.case-record .modal-content {
|
background: #fff;
|
border-radius: 20rpx;
|
width: 600rpx;
|
overflow: hidden;
|
}
|
.case-record .modal-header {
|
padding: 40rpx 40rpx 20rpx;
|
text-align: center;
|
}
|
.case-record .modal-title {
|
font-size: 32rpx;
|
font-weight: bold;
|
color: #333333;
|
}
|
.case-record .modal-body {
|
padding: 20rpx 40rpx 40rpx;
|
text-align: center;
|
font-size: 28rpx;
|
color: #666666;
|
}
|
.case-record .modal-footer {
|
display: flex;
|
border-top: 1rpx solid #eee;
|
}
|
.case-record .modal-btn {
|
flex: 1;
|
height: 80rpx;
|
line-height: 80rpx;
|
font-size: 28rpx;
|
border: none;
|
border-radius: 0;
|
background: transparent;
|
}
|
.case-record .modal-btn.cancel {
|
color: #666666;
|
border-right: 1rpx solid #eee;
|
}
|
.case-record .modal-btn.confirm {
|
color: #F56C6C;
|
font-weight: bold;
|
}
|
.case-record .modal-btn:active {
|
background: #f5f5f5;
|
}
|
|
/* 浮动按钮样式 */
|
.float-button {
|
position: fixed;
|
bottom: 120rpx;
|
right: 40rpx;
|
width: 100rpx;
|
height: 100rpx;
|
background: #0f95b0;
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
box-shadow: 0 8rpx 20rpx rgba(15, 149, 176, 0.3);
|
z-index: 100;
|
transition: all 0.3s ease;
|
}
|
.float-button:active {
|
opacity: 0.8;
|
transform: scale(0.95);
|
}
|