page { background-color: rgba(242, 244, 245, 1); } .page { height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; .page-container { flex: 1; overflow: hidden; .f-header { margin: 0 32rpx 0; position: relative; background: linear-gradient(22deg, #ffffff 0%, #fff6f6 100%); box-shadow: 0rpx 4rpx 32rpx 0rpx rgba(0, 0, 0, 0.06); border-radius: 24rpx 24rpx 24rpx 24rpx; border: 2rpx solid #ffffff; .left { padding: 24rpx 32rpx; .doctor-list { display: flex; flex-wrap: nowrap; gap: 38rpx; overflow-x: auto; &::-webkit-scrollbar { display: none; } &::after { flex-shrink: 0; display: block; content: ''; width: 300rpx; } .doctor-item { flex-shrink: 0; .avatar { margin: 0 auto; display: block; width: 116rpx; height: 116rpx; border-radius: 50%; } .name { margin: -20rpx auto 0; padding: 0 0.5em; width: 116rpx; height: 36rpx; line-height: 36rpx; font-size: 24rpx; color: rgba(255, 255, 255, 1); text-align: center; box-sizing: border-box; background: linear-gradient(356deg, #f23a2f 0%, #fc684f 100%); border-radius: 35rpx 35rpx 35rpx 35rpx; max-width: 5em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } } } .more { position: absolute; right: 0; top: 0; padding-left: 116rpx; width: 342rpx; height: 100%; font-size: 28rpx; color: rgba(161, 164, 172, 1); box-sizing: border-box; border-radius: 24rpx; display: flex; align-items: center; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #fff 118rpx, #fff 100%); } } .scroll-view { height: 100%; .date { padding-top: 20rpx; font-size: 28rpx; color: rgba(173, 179, 180, 1); text-align: center; } .f-header-list { margin: 40rpx 32rpx 24rpx; padding: 32rpx; border-radius: 32rpx; box-shadow: 0rpx 4rpx 32rpx 0rpx rgba(0, 0, 0, 0.06); background: linear-gradient(12deg, #fff2db 0%, #fdc1bd 100%); border: 2rpx solid #ffffff; .content { font-size: 32rpx; color: rgba(1, 1, 5, 1); line-height: 48rpx; } .l-item { margin-top: 24rpx; font-size: 32rpx; color: rgba(1, 1, 5, 1); line-height: 48rxp; padding: 20rpx 32rpx; background-color: #fff; border-radius: 24rpx; } } .doctor { padding: 15rpx 30rpx; display: flex; .avatar { position: relative; padding-right: 16rpx; flex-shrink: 0; .a-img { width: 80rpx; height: 80rpx; border-radius: 50%; } .label { position: absolute; top: 68rpx; left: 0; padding: 0 8rpx; width: 84rpx; height: 28rpx; box-sizing: border-box; line-height: 28rpx; font-size: 20rpx; color: rgba(255, 255, 255, 1); text-align: center; background: linear-gradient(356deg, #f23a2f 0%, #fc684f 100%); border-radius: 35rpx 35rpx 35rpx 35rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } } .d-container { flex: 1; margin-right: 74rpx; display: flex; flex-direction: column; align-items: start; .message { padding: 26rpx 32rpx; background: linear-gradient(13deg, #ffffff 58.17%, #ffcdca 156.6%); border-radius: 32rpx; font-size: 32rpx; color: rgba(1, 1, 5, 1); line-height: 48rpx; white-space: pre-line; } .week { padding: 26rpx 32rpx; background: linear-gradient(13deg, #ffffff 58.17%, #ffcdca 156.6%); border-radius: 32rpx; .w-title { font-size: 32rpx; color: rgba(40, 48, 49, 1); } .w-container { margin-top: 24rpx; .w-content { padding: 32rpx; font-size: 32rpx; color: rgba(40, 48, 49, 1); line-height: 48rpx; border-radius: 24rpx; background-color: rgba(247, 247, 250, 1); white-space: pre-line; } .w-wrap { padding: 16rpx 32rpx; display: grid; grid-template-columns: repeat(2, 1fr); background-color: rgba(247, 247, 250, 1); border-radius: 24rpx; .row { padding: 16rpx 0; display: flex; align-items: center; font-size: 32rpx; color: rgba(1, 1, 5, 1); .content { margin-left: 16rpx; } &:nth-of-type(2n-1)::after { margin: 0 16rpx; content: ''; width: 1rpx; height: 40rpx; background-color: rgba(161, 164, 172, 0.35); } } } } } .card1 { width: 502rpx; height: 340rpx; box-sizing: border-box; padding: 94rpx 56rpx 30rpx; display: flex; flex-direction: column; justify-content: center; .content { text-align: center; font-size: 32rpx; color: rgba(1, 1, 5, 1); line-height: 48rpx; } .btn { margin-top: 18rpx; height: 64rpx; border-radius: 84rpx; font-size: 28rpx; color: rgba(255, 255, 255, 1); display: flex; align-items: center; justify-content: center; background: linear-gradient(356deg, #f23a2f 0%, #fc684f 100%); } } } } .patient { padding: 15rpx 30rpx; display: flex; justify-content: flex-end; .avatar { padding-left: 16rpx; flex-shrink: 0; .a-img { width: 80rpx; height: 80rpx; border-radius: 50%; } } .p-container { flex: 1; margin-left: 74rpx; display: flex; flex-direction: column; align-items: flex-end; .guide { padding: 32rpx 30rpx; border-radius: 32rpx 0 32rpx 32rpx; background: linear-gradient(13deg, #ffffff 8%, #e8f0f1 100%); border: 2rpx solid #ffffff; .title { font-size: 32rpx; color: rgba(40, 48, 49, 1); font-weight: bold; } .sub-title { font-size: 28rpx; color: rgba(154, 161, 162, 1); margin-bottom: 30rpx; } .list { .l-item { display: flex; align-items: center; gap: 16rpx; margin-bottom: 30rpx; .order { flex-shrink: 0; width: 28rpx; height: 28rpx; font-size: 24rpx; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 1); border-radius: 6rpx; background: #67baca; } .content { font-size: 32rpx; color: rgba(40, 48, 49, 1); } } } .tip { font-size: 28rpx; color: rgba(103, 113, 114, 1); display: flex; align-items: center; .icon { width: 44rpx; height: 44rpx; } } } .message { padding: 26rpx 32rpx; background: linear-gradient(180deg, #fc684f 0%, #f33d31 100%); border-radius: 40rpx; font-size: 32rpx; color: #fff; white-space: pre-line; } } } .place { height: 15vh; } } } .page-footer { position: relative; z-index: 2; flex-shrink: 0; transition: all 0.3s; height: calc(112rpx + env(safe-area-inset-bottom)); box-sizing: border-box; box-shadow: 0rpx 2rpx 28rpx 0rpx rgba(0, 0, 0, 0.08); border-radius: 24rpx 24rpx 0 0; background-color: rgba(247, 247, 250, 1); &.expend { height: 50vh; .options { padding-bottom: 50rpx; } .container { margin-top: -20rpx; } } .options { display: flex; justify-content: space-between; align-items: center; border-radius: 24rpx 24rpx 0 0; padding: 32rpx 30rpx calc(env(safe-area-inset-bottom) + 50rpx); background-color: #fff; .title { flex: 1; font-size: 32rpx; color: rgba(1, 1, 5, 1); display: flex; align-items: center; justify-content: center; gap: 10rpx; &:first-of-type { border-right: 1px dashed rgba(207, 209, 213, 1); } .icon { width: 40rpx; height: 40rpx; } } } .container { position: relative; z-index: 1; border-radius: 24rpx 24rpx 0 0; padding: 0 30rpx calc(env(safe-area-inset-bottom) + 30rpx); background-color: rgba(247, 247, 250, 1); .tabs { margin-top: 12rpx; padding: 24rpx 0; display: flex; align-items: center; gap: 22rpx; overflow-x: auto; &::-webkit-scrollbar { display: none; } .tab { flex-shrink: 0; padding: 14rpx 32rpx; font-size: 28rpx; color: rgba(1, 1, 5, 0.6); border-radius: 129rpx; background-color: #fff; display: flex; align-items: center; gap: 8rpx; line-height: 1; .icon { width: 32rpx; height: 32rpx; } .icon-active { width: 32rpx; height: 32rpx; display: none; } &.active { color: #fff; background: linear-gradient(180deg, #fc684f 0%, #f33d31 100%); .icon { display: none; } .icon-active { display: block; } } } } .list { max-height: 35vh; overflow-y: auto; .l-item { padding: 20rpx 0; display: flex; justify-content: space-between; .order { margin-top: 10rpx; width: 28rpx; height: 28rpx; font-size: 24rpx; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 1); border-radius: 6rpx; background: linear-gradient(180deg, #fc684f 0%, #f33d31 100%); } .content { padding: 0 16rpx; flex: 1; font-size: 32rpx; color: rgba(40, 48, 49, 1); white-space: pre-line; } .icon { color: rgba(40, 48, 49, 1); } } .none { display: block; margin: 30rpx auto; width: 344rpx; max-height: 302rpx; } } } } }