| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338 |
- .container {
- width: 100%;
- align-items: stretch;
- padding: 0;
- box-sizing: border-box;
- background-color: #f5f5f5;
- }
- .custom-navbar {
- background: white;
- padding: 20rpx 30rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- position: sticky;
- top: 0;
- z-index: 100;
- }
- .navbar-content {
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 88rpx;
- }
- .back-btn {
- width: 60rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .back-icon {
- font-size: 48rpx;
- color: #333;
- font-weight: bold;
- }
- .navbar-title {
- flex: 1;
- text-align: center;
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .navbar-right {
- width: 60rpx;
- }
- .hospital-info {
- background: white;
- margin: 20rpx;
- border-radius: 20rpx;
- overflow: hidden;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .hospital-image {
- width: 100%;
- height: 300rpx;
- }
- .hospital-details {
- padding: 30rpx;
- }
- .hospital-name {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 15rpx;
- }
- .hospital-address {
- font-size: 26rpx;
- color: #666;
- margin-bottom: 20rpx;
- display: block;
- }
- .hospital-meta {
- display: flex;
- gap: 30rpx;
- }
- .rating {
- font-size: 26rpx;
- color: #FF6B35;
- font-weight: bold;
- }
- .distance {
- font-size: 26rpx;
- color: #007AFF;
- }
- .cases-section {
- background: white;
- margin: 20rpx;
- border-radius: 20rpx;
- padding: 30rpx;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- }
- .section-title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 25rpx;
- padding-bottom: 15rpx;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .section-title text:first-child {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- padding-left: 10rpx;
- border-left: 6rpx solid #007AFF;
- }
- .case-count {
- font-size: 24rpx;
- color: #999;
- }
- .case-list {
- display: flex;
- flex-direction: column;
- }
- .case-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 25rpx;
- background: #f8f8f8;
- border-radius: 15rpx;
- margin-bottom: 15rpx;
- transition: all 0.3s;
- }
- .case-item:active {
- background: #f0f0f0;
- transform: scale(0.98);
- }
- .case-header {
- flex: 1;
- display: flex;
- flex-direction: column;
- margin-bottom: 10rpx;
- }
- .case-date {
- font-size: 22rpx;
- color: #999;
- margin-bottom: 8rpx;
- }
- .case-doctor {
- font-size: 26rpx;
- color: #333;
- font-weight: bold;
- }
- .case-body {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .case-diagnosis {
- font-size: 24rpx;
- color: #FF6B35;
- margin-bottom: 8rpx;
- }
- .case-medicines {
- font-size: 24rpx;
- color: #666;
- }
- .case-arrow {
- font-size: 32rpx;
- color: #ccc;
- margin-left: 15rpx;
- }
- .modal {
- 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;
- }
- .modal-content {
- background: white;
- border-radius: 20rpx;
- width: 90%;
- max-height: 80%;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- .modal-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 30rpx;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .modal-title {
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- }
- .modal-close {
- font-size: 48rpx;
- color: #999;
- line-height: 1;
- padding: 0 10rpx;
- }
- .modal-body {
- flex: 1;
- overflow-y: auto;
- padding: 30rpx;
- }
- .case-detail {
- display: flex;
- flex-direction: column;
- }
- .detail-row {
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .detail-label {
- font-size: 26rpx;
- color: #666;
- min-width: 150rpx;
- }
- .detail-value {
- font-size: 26rpx;
- color: #333;
- flex: 1;
- }
- .detail-value.diagnosis {
- color: #FF6B35;
- font-weight: bold;
- }
- .detail-section {
- margin-top: 30rpx;
- padding-top: 20rpx;
- border-top: 1rpx solid #f0f0f0;
- }
- .detail-section .detail-label {
- display: block;
- margin-bottom: 15rpx;
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- }
- .modal-content .medicine-list {
- display: flex;
- flex-direction: column;
- background: #f8f8f8;
- border-radius: 15rpx;
- padding: 20rpx;
- }
- .modal-content .medicine-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 15rpx 0;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .modal-content .medicine-item:last-child {
- border-bottom: none;
- }
- .modal-content .medicine-name {
- font-size: 26rpx;
- color: #333;
- }
- .modal-content .medicine-price {
- font-size: 26rpx;
- color: #FF6B35;
- font-weight: bold;
- }
- .modal-footer {
- display: flex;
- gap: 20rpx;
- padding: 20rpx 30rpx 30rpx;
- border-top: 1rpx solid #f0f0f0;
- }
- .modal-footer .btn {
- flex: 1;
- border-radius: 50rpx;
- padding: 25rpx 0;
- font-size: 28rpx;
- font-weight: bold;
- border: none;
- }
- .modal-footer .cancel {
- background: #f0f0f0;
- color: #666;
- }
- .modal-footer .confirm {
- background: #007AFF;
- color: white;
- }
|