@import "../../../../themes/page.scss"; @import "../../searc-list.scss"; /* module/diet/pages/diet-info/diet-info.wxss */ .diet-box { background: #fff; border-radius: 12px; margin-top: -30px; } .delivery-address { font-weight: bold; color: black; font-size: 28rpx; } /* order-list.wxss */ .tab-container { display: flex; justify-content: space-around; background-color: #f8f8f8; padding: 10px 0; } .tab { flex: 1; text-align: center; padding: 10px; cursor: pointer; } .tab:hover { background-color: #e0e0e0; } .tab.active { font-weight: bold; border-bottom: 2px solid #007aff; /* 选中状态的下划线 */ } .order-address { color: #333; } .change-address { color: #1aad19; margin-left: 8rpx; font-size: 24rpx; } /* miniprogram/module/article/pages/order-list/order-list.wxss */ .page-scroll__container { padding: 16rpx; background: #f7f8fa; } .order-card { background: #fff; border-radius: 20rpx; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04); margin-bottom: 24rpx; padding: 24rpx; } .order-header { display: flex; justify-content: space-between; align-items: center; font-size: 28rpx; margin-bottom: 24rpx; } .order-status { font-weight: bold; } .order-status.status-pending { color: #D54941; } .order-status.status-received { color: #1D6FF6; } .order-status.status-completed { color: #2BA471; } .order-status.status-closed { color: #909399; } .order-user { color: #888; font-size: 24rpx; margin-bottom: 24rpx; display: flex; flex-direction: column; gap: 4rpx; background-color: #F6F6F6; padding: 10px; border-radius: 8px; } .order-body { display: flex; align-items: flex-start; margin-bottom: 16rpx; } .order-img { width: 120rpx; height: 120rpx; border-radius: 12rpx; margin-right: 20rpx; } .order-info { display: flex; flex-direction: column; justify-content: space-between; height: 120rpx; } .order-title { font-size: 28rpx; font-weight: 600; margin-bottom: 8rpx; } .order-doctor, .order-time { font-size: 24rpx; color: #888; } .order-footer { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; } .order-price { display: flex; margin-bottom: 16px; } .order-amount { color: #D54941; font-weight: bold; font-size: 32rpx; margin-left: 8rpx; } .order-actions { display: flex; gap: 20rpx; transition: none !important; } .order-actions .t-button { margin: 0 !important; min-width: 120rpx !important; width: 120rpx !important; } // 为立即支付按钮设置固定宽度,防止loading状态时宽度变化 .order-actions .t-button[data-id] { min-width: 120rpx !important; width: 120rpx !important; } // 节流状态下的按钮样式 .order-actions .t-button[disabled] { opacity: 1 !important; cursor: not-allowed !important; background-color: #f5f5f5 !important; border-color: #e5e5e5 !important; color: #c0c0c0 !important; } // 针对 t-design 按钮的自定义样式 .outline-btn { background: #fff !important; border: 1px solid #1890ff !important; // 主色边框 color: #1890ff !important; // 主色文字 box-shadow: none !important; border-radius: 30rpx !important; transition: none !important; // margin-right: 20rpx !important; } // 让按钮内的 loading 和文字显式为品牌蓝 .outline-btn .t-loading__spinner, .outline-btn .t-loading__text { color: #1890ff !important; } .outline-btn .t-loading__spinner .t-loading__dot::before, .outline-btn .t-loading__spinner--dots .t-loading__dot, .outline-btn .t-loading__circular { color: #1890ff !important; background-color: #1890ff !important; } .outline-btn.cancel { border-color: #ccc !important; color: black !important; margin-right: 20rpx; transition: none !important; } .contact { font-size: 28rpx; color: black; margin-bottom: 10rpx; font-weight: bold; display: flex } .line { width: 100%; height: 1px; background-color: #eee; margin: 24rpx 0; } .name { margin-right: 20rpx; }