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-header { flex-shrink: 0; margin: 0 30rpx; padding: 30rpx; display: flex; align-items: center; justify-content: space-between; border-radius: 24rpx; background-color: #fff; .avatar { width: 96rpx; height: 96rpx; border-radius: 50%; } .wrap { flex: 1; padding: 0 20rpx; .name { font-size: 36rpx; color: rgba(33, 29, 46, 1); font-weight: bold; } .content { margin-top: 8rpx; font-size: 28rpx; color: rgba(173, 172, 178, 1); .tag { display: inline-block; font-size: 24rpx; line-height: 28rpx; color: rgba(255, 255, 255, 1); padding: 2rpx 8rpx; background: linear-gradient(90deg, #ffd650 0%, #f8a61a 100%); border-radius: 8rpx 8rpx 8rpx 8rpx; } } } .more { color: rgba(173, 172, 178, 1); font-size: 20rpx; } } .page-container { flex: 1; overflow: hidden; .scroll-view { height: 100%; .date { padding-top: 20rpx; font-size: 28rpx; color: rgba(173, 179, 180, 1); text-align: center; } .doctor { padding: 15rpx 30rpx; display: flex; .avatar { position: relative; padding-right: 16rpx; flex-shrink: 0; .a-img { width: 80rpx; height: 80rpx; border-radius: 50%; } .ai { position: absolute; top: 60rpx; left: 6rpx; font-size: 16rpx; color: #ffffff; width: 64rpx; height: 24rpx; line-height: 24rpx; text-align: center; background: linear-gradient(197deg, #ffbcf9 0%, #b982ff 100%); border-radius: 120rpx 120rpx 120rpx 120rpx; } } .d-container { flex: 1; margin-right: 74rpx; display: flex; flex-direction: column; align-items: start; .guide { margin-bottom: 32rpx; padding: 32rpx 30rpx; border-radius: 32rpx 32rpx; background: linear-gradient(180deg, #f6efff 0%, #ffffff 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; gap: 16rpx; margin-bottom: 30rpx; .order { margin-top: 8rpx; 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: linear-gradient(197deg, #ffbcf9 0%, #b982ff 100%); } .content { font-size: 32rpx; color: rgba(33, 29, 46, 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-color: #fff; border-radius: 0 32rpx 32rpx; font-size: 32rpx; color: rgba(40, 48, 49, 1); white-space: pre-line; } .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 { position: relative; margin-bottom: 32rpx; padding: 32rpx; border-radius: 24rpx; background: linear-gradient(180deg, #f6efff 0%, #ffffff 100%); border: 2rpx solid #fff; .title { font-size: 36rpx; color: #211d2e; font-weight: bold; } .sub-title { margin-top: 10rpx; margin-right: 222rpx; font-size: 28rpx; color: #211d2e; } .btn { margin-top: 18rpx; width: 224rpx; height: 64rpx; text-align: center; line-height: 64rpx; font-size: 28rpx; color: #ffffff; background: linear-gradient(197deg, #ffbcf9 0%, #b982ff 100%); border-radius: 102rpx 102rpx 102rpx 102rpx; } .photo { position: absolute; bottom: 30rpx; right: 0; width: 214rpx; height: 212rpx; } } .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; 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; display: flex; align-items: center; gap: 16rpx; .error { flex-shrink: 0; width: 36rpx; height: 36rpx; } .content { padding: 26rpx 32rpx; background: rgba(185, 130, 255, 1); border-radius: 32rpx; font-size: 32rpx; color: #fff; white-space: pre-line; } } .referral-replay { margin-bottom: 32rpx; padding: 18rpx 32rpx; border-radius: 32rpx; background-color: #fff; .title { font-size: 32rpx; color: #283031; line-height: 48rpx; } .sub-title { margin-top: 32rpx; font-size: 32rpx; color: #67baca; font-weight: bold; display: flex; align-items: center; &::before { margin-right: 8rpx; content: ''; width: 6rpx; height: 32rpx; background-color: #67baca; border-radius: 84rpx; } } .r-list { margin-top: 12rpx; .item { padding: 24rpx 0; font-size: 32rpx; color: #283031; line-height: 36rpx; border-bottom: 1px solid #eaeced; &:last-of-type { border: none; } } } } } } .status { margin-bottom: 32rpx; text-align: center; font-size: 28rpx; color: #adacb2; } .place { height: 10vh; } } } .page-footer { position: relative; flex-shrink: 0; padding: 18rpx 30rpx 30rpx; border-radius: 24rpx 24rpx 0 0; background-color: #fff; transition: all 0.3s; height: calc(124rpx + env(safe-area-inset-bottom)); box-sizing: border-box; .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: 45vh; &.min-expend { height: 32vh; } } .line { margin: 10rpx auto; width: 52rpx; height: 6rpx; background: #f2f4f5; border-radius: 48rpx 48rpx 48rpx 48rpx; } .title { margin-top: 26rpx; display: flex; gap: 20rpx; align-items: center; justify-content: space-between; .custom-input { text-indent: 40rpx; flex: 1; height: 72rpx; background: #f6f8f9; line-height: 72rpx; border-radius: 98rpx; font-size: 32rpx; color: #adacb2; &.active { color: #211d2e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .shortcut { width: 244rpx; height: 72rpx; background: #ffffff; box-shadow: 0rpx 4rpx 24rpx 0rpx rgba(0, 0, 0, 0.07); border-radius: 98rpx 98rpx 98rpx 98rpx; border: 2rpx solid #f6f8f9; font-size: 32rpx; color: rgba(40, 48, 49, 1); display: flex; align-items: center; justify-content: center; .icon { width: 36rpx; height: 36rpx; } } } .tabs { padding: 24rpx 0; display: flex; align-items: center; gap: 22rpx; overflow-x: auto; &::-webkit-scrollbar { display: none; } .tab { flex-shrink: 0; padding: 13rpx 22rpx; font-size: 32rpx; color: rgba(33, 29, 46, 1); border-radius: 8rpx; background-color: rgba(246, 248, 249, 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-color: rgba(185, 130, 255, 1); .icon { display: none; } .icon-active { display: block; } } } } .list { max-height: 35vh; overflow-y: auto; .l-item { padding: 32rpx 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(39, 58, 101, 0.1); &:last-of-type { border: none; } .order { width: 28rpx; height: 28rpx; font-size: 40rpx; font-weight: bold; display: flex; align-items: center; justify-content: center; color: rgba(185, 130, 255, 1); border-radius: 6rpx; } .content { padding: 0 16rpx; flex: 1; font-size: 32rpx; color: rgba(33, 29, 46, 1); } .icon-wrap { padding: 8rpx 20rpx; background: #f6f8f9; border-radius: 20rpx 20rpx 20rpx 20rpx; .icon { display: block; width: 24rpx; height: 24rpx; } } } } .custom-input { transition: all 0.3s; .icon { position: relative; width: 36rpx; height: 36rpx; overflow: visible; &::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60rpx; height: 60rpx; background-color: transparent; } } .wrap { margin-top: 14rpx; position: relative; padding: 32rpx 32rpx 24rpx; border-radius: 24rpx; background-color: #f6f8f9; .textarea { width: 100%; display: block; height: 300rpx; box-sizing: border-box; padding-bottom: 80rpx; background-color: transparent; .ka-container { padding: 30rpx 62rpx; display: flex; align-items: center; justify-content: space-between; background: transparent; .stat { font-size: 28rpx; color: #adacb2; } .send-btn { width: 128rpx; height: 64rpx; text-align: center; line-height: 64rpx; font-size: 32rpx; color: #ffffff; background: #b982ff linear-gradient(197deg, #ffbcf9 0%, #b982ff 100%); border-radius: 111rpx 111rpx 111rpx 111rpx; } } } } } &.custom-input-max { .custom-input { position: absolute; top: -45vh; left: 0; width: 100%; box-sizing: border-box; padding: 30rpx; border-radius: 32rpx 32rpx 0 0; background-color: #fff; .wrap { .textarea { height: 45vh; } } } } } }