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; .scroll-view { height: 100%; .first-ask { margin-bottom: 32rpx; padding: 0 32rpx; .f-header { padding: 32rpx; display: flex; justify-content: space-between; .doctor-list { display: flex; .doctor-item { .avatar { width: 116rpx; height: 116rpx; border-radius: 50%; } } } } .f-list { padding: 32rpx; border-radius: 32rpx; 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: 84rpx; } } } .date { padding-top: 20rpx; font-size: 28rpx; color: rgba(173, 179, 180, 1); text-align: center; } .doctor { padding: 15rpx 30rpx; display: flex; .avatar { padding-right: 16rpx; flex-shrink: 0; .a-img { width: 80rpx; height: 80rpx; border-radius: 50%; } } .d-container { flex: 1; margin-right: 74rpx; display: flex; flex-direction: column; align-items: start; .guide { margin-bottom: 32rpx; padding: 32rpx 30rpx; border-radius: 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 { margin-bottom: 32rpx; 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; .reference { margin-top: 24rpx; font-size: 24rpx; color: rgba(1, 1, 5, 0.5); line-height: 32rpx; } .m-footer { border-top: 1px solid rgba(0, 0, 0, 0.04); margin-top: 32rpx; padding-top: 24rpx; display: flex; align-items: center; justify-content: flex-end; .icon { width: 36rpx; height: 36rpx; } .num { margin-left: 12rpx; font-size: 32rpx; color: rgba(1, 1, 5, 0.4); line-height: 1px; &.active { color: rgba(242, 58, 47, 1); } } } } .week { margin-bottom: 32rpx; padding: 26rpx 32rpx; background-color: #fff; border-radius: 0 32rpx 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, 248, 249, 1); } .row { display: flex; .label { width: 156rpx; height: 76rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; color: rgba(255, 255, 255, 1); background-color: rgba(103, 186, 202, 1); } .content { width: 156rpx; height: 76rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; color: rgba(40, 48, 49, 1); background-color: rgba(242, 244, 245, 1); } &:first-of-type { .label { border-radius: 24rpx 0 0 0; } .content { border-radius: 0 24rpx 0 0; } } &:last-of-type { .label { border-radius: 0 0 0 24rpx; } .content { border-radius: 0 0 24rpx 0; } } &:not(:last-of-type) { border-bottom: 2rpx solid #fff; } } } } .adl { margin-bottom: 32rpx; padding: 32rpx 156rpx 34rpx 30rpx; border-radius: 0 32rpx 32rpx; background: linear-gradient(141deg, #edfcff 0%, #d4f3f9 100%); border: 2rpx solid #fff; .title { width: 324rpx; height: 40rpx; } .sub-title { margin-top: 18rpx; line-height: 1; font-size: 28rpx; color: rgba(255, 255, 255, 0.8); } .btn { margin-top: 20rpx; width: 220rpx; height: 56rpx; text-align: center; line-height: 56rpx; font-size: 28rpx; color: #e04775; background: #ffffff; border-radius: 102rpx 102rpx 102rpx 102rpx; } .tip { margin-top: 10rpx; font-size: 24rpx; color: #fff; } } .audio { margin-bottom: 32rpx; padding: 22rpx 24rpx; border-radius: 0 32rpx 32rpx; background-color: #fff; min-width: 218rpx; font-size: 32rpx; color: rgba(40, 48, 49, 1); display: flex; align-items: center; gap: 12rpx; box-sizing: border-box; .icon { width: 32rpx; height: 40rpx; } } .info { margin-bottom: 32rpx; padding: 26rpx 32rpx; background-color: #fff; border-radius: 0 32rpx 32rpx 32rpx; .content { font-size: 28rpx; color: #283031; } .btn { margin-top: 24rpx; padding: 22rpx; font-size: 32rpx; color: #283031; line-height: 40rpx; text-align: center; background: #67baca; color: #ffffff; border-radius: 104rpx 104rpx 104rpx 104rpx; border: 1rpx solid #f8f9f9; } } .referral { margin-bottom: 32rpx; width: 502rpx; height: 262rpx; background: linear-gradient(223deg, #59b0c2 0%, #94e2f1 100%); box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(0, 0, 0, 0.07); border-radius: 24rpx 24rpx 24rpx 24rpx; .r-header { padding: 20rpx 24rpx 0 32rpx; display: flex; .title { font-size: 32rpx; color: #ffffff; line-height: 48rpx; } .icon { flex-shrink: 0; width: 138rpx; height: 122rpx; } } .r-footer { padding: 32rpx; background: linear-gradient(11deg, #ffffff 8%, rgba(255, 255, 255, 0.79) 100%); border-radius: 24rpx 24rpx 24rpx 24rpx; border: 2rpx solid #ffffff; .btn { width: 438rpx; height: 64rpx; font-size: 32rpx; color: #fff; text-align: center; line-height: 64rpx; background: #67baca; border-radius: 104rpx 104rpx 104rpx 104rpx; } } } } } .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 { margin-bottom: 32rpx; 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 { margin-bottom: 32rpx; 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: 10vh; } } } .page-footer { position: relative; flex-shrink: 0; padding: 18rpx 30rpx calc(env(safe-area-inset-bottom) + 30rpx); border-radius: 24rpx 24rpx 0 0; background-color: rgba(255, 255, 255, 1); transition: all 0.3s; height: calc(124rpx + env(safe-area-inset-bottom)); box-sizing: border-box; box-shadow: 0rpx 2rpx 28rpx 0rpx rgba(0, 0, 0, 0.08); .unread { position: absolute; top: -80rpx; left: 50%; transform: translateX(-50%); padding: 12rpx 32rpx; border-radius: 138rpx; font-size: 24rpx; color: rgba(103, 113, 114, 1); background-color: #fff; } &.expend { height: 50vh; } .title { margin-top: 26rpx; font-size: 32rpx; color: rgba(40, 48, 49, 1); display: flex; align-items: center; justify-content: center; gap: 10rpx; font-weight: bold; .icon { width: 36rpx; height: 36rpx; } } .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: rgba(247, 247, 250, 1); 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; align-items: center; .order { 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); } .icon { color: rgba(40, 48, 49, 1); } } .none { display: block; margin: 30rpx auto; width: 344rpx; max-height: 302rpx; } } } }