123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454 |
- .chat_item {
- align-items: center;
- margin-left: 30upx;
- margin-top: 16upx;
- display: flex;
- height: 60upx;
- }
- .chat_item view{
- font-size: 24upx;
- }
- page {
- background-color: #ededed;
- }
- .chatInterface {}
- .chatInterface .scroll-view {
- padding-left: 20rpx;
- padding-right: 20rpx;
- box-sizing: border-box;
- -webkit-overflow-scrolling: touch;
- padding-bottom: 120rpx;
- }
- .chatInterface .scroll-view .all-history-loaded {
- font-size: 24rpx;
- height: 90rpx;
- line-height: 90rpx;
- width: 100%;
- text-align: center;
- color: grey;
- }
- .chatInterface .scroll-view .message-item {
- /* max-height: 400rpx; */
- margin-top: 30rpx;
- margin-bottom: 30rpx;
- overflow: hidden;
- display: flex;
- }
- .chatInterface .scroll-view .message-item.self {
- overflow: hidden;
- display: flex;
- justify-content: flex-start;
- flex-direction: row-reverse;
- }
- .chatInterface .scroll-view .message-item .avatar {
- width: 80rpx;
- height: 80rpx;
- margin-right: 20rpx;
- flex-shrink: 0;
- flex-grow: 0;
- }
- .chatInterface .scroll-view .message-item .avatar image {
- width: 100%;
- height: 100%;
- }
- .chatInterface .scroll-view .message-item.self .avatar {
- margin-left: 20rpx;
- margin-right: 0;
- }
- .chatInterface .scroll-view .content {
- font-size: 34rpx;
- line-height: 44rpx;
- /* max-height: 400rpx; */
- display: flex;
- align-items: center;
- justify-content: right;
- text-align: right;
- background-color: #ffffff;
- color: #ffffff;
- padding: 8px;
- border-radius: 6px;
- color: #0c1905;
- word-break: break-all;
- text-align: left;
- vertical-align: center;
- display: block;
- }
- .content2 {
- background-color: #ffffff!important;
- }
- .chatInterface .scroll-view .message-item.self .content {
- background-color: #95ec69;
- }
- .chatInterface .scroll-view .content .image-content {
- padding: 16rpx;
- border-radius: 12rpx;
- width: 300rpx;
- height: 300rpx;
- }
- .chatInterface .scroll-view .content .text-content {
- padding: 16rpx;
- border-radius: 12rpx;
- word-break: break-all;
- text-align: left;
- vertical-align: center;
- display: block;
- }
- .chatInterface .scroll-view .content .text-content img {
- width: 50rpx;
- height: 50rpx;
- }
- .chatInterface .scroll-view .content .red-packet {
- background-color: orange;
- color: #FFFFFF;
- font-size: 30rpx;
- width: 400rpx;
- height: 150rpx;
- border-radius: 10rpx;
- line-height: 80rpx;
- padding: 20rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: space-between;
- }
- .chatInterface .scroll-view .content .red-packet image {
- width: 70rpx;
- height: 80rpx;
- }
- .chatInterface .scroll-view .content .pending {
- background: url("../../static/images_go/pending.gif") no-repeat center;
- background-size: 30rpx;
- width: 30rpx;
- height: 30rpx;
- margin-right: 10rpx;
- flex-grow: 0;
- flex-shrink: 0;
- }
- .chatInterface .scroll-view .content .send-fail {
- background: url("../../static/images_go/failed.png") no-repeat center;
- background-size: 30rpx;
- width: 30rpx;
- height: 30rpx;
- margin-right: 10rpx;
- flex-grow: 0;
- flex-shrink: 0;
- }
- .chatInterface .action-box {
- display: flex;
- backdrop-filter: blur(0.27rpx);
- width: 100%;
- position: fixed;
- bottom: 0;
- left: 0;
- flex-direction: column;
- background-color: #FFFFFF;
- }
- .chatInterface .action-box .action-top {
- display: flex;
- padding-top: 30rpx;
- padding-bottom: 10rpx;
- backdrop-filter: blur(0.27rem);
- height: 100rpx;
- background: #FAFAFA;
- width: 100%;
- }
- .chatInterface .action-box .action-top .record-icon {
- font-size: 32rpx;
- width: 80rpx;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- background: url("../../static/images_go/record-appearance-icon.png") no-repeat center;
- background-size: 50%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- }
- .chatInterface .action-box .action-top .file-icon {
- background: url("../../static/images_go/video.png") no-repeat center;
- background-size: 70%;
- color: #9D9D9D;
- position: relative;
- width: 80rpx;
- height: 80rpx;
- line-height: 80rpx;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- }
- .chatInterface .action-box .record-icon.record-open {
- background: url("../../static/images_go/jianpan.png") no-repeat center;
- background-size: 70%;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- }
- .chatInterface .action-box .action-top .img-video {
- background: url("../../static/images_go/file.png") no-repeat center;
- background-size: 73%;
- }
- .chatInterface .action-box .action-top .emoji-icon {
- background: url("../../static/images_go/emoji.png") no-repeat center;
- background-size: 60%;
- }
- .more-icon {
- height: 60upx;
- line-height: 60upx;
- background: url("../../static/images_go/more.png") no-repeat;
- background-size: 40upx 40upx;
- color: #82868E;
- background-position: 0 10upx;
- text-indent: 45upx;
- }
- .chatInterface .action-box .action-bottom .more-item {
- display: flex;
- flex-direction: column;
- width: 150rpx;
- height: 150rpx;
- margin-right: 20rpx;
- align-items: center;
- }
- .chatInterface .action-box .action-bottom .more-item image {
- height: 80rpx;
- width: 80rpx;
- }
- .chatInterface .action-box .action-bottom .more-item text {
- font-size: 20rpx;
- text-align: center;
- line-height: 50rpx;
- color: #82868e;
- }
- .chatInterface .action-box .action-top .record-input {
- width: 460rpx;
- height: 80rpx;
- line-height: 80rpx;
- border-radius: 12rpx;
- font-size: 28rpx;
- background: #cccccc;
- color: #ffffff;
- text-align: center;
- }
- .chatInterface .action-box .action-top .message-input {
- border-radius: 12rpx;
- background: #EFEFEF;
- height: 80rpx;
- }
- .chatInterface .action-box .action-top .message-input input {
- width: 420rpx;
- height: 80rpx;
- line-height: 80rpx;
- padding-left: 20rpx;
- font-size: 28rpx;
- }
- .chatInterface .action-box .action-top .send-message-btn {
- font-size: 30rpx;
- width: 120rpx;
- line-height: 80upx;
- height: 80upx;
- color: #f5fffe;
- text-align: center;
- background-color: #07c160;
- border-radius: 10upx;
- margin-left: 16upx;
- }
- .chatInterface .action-bottom {
- height: 300rpx;
- width: 100%;
- padding: 20rpx;
- box-sizing: border-box;
- display: flex;
- }
- .chatInterface .action-bottom image {
- width: 100rpx;
- height: 100rpx;
- }
- .chatInterface .record-loading {
- position: fixed;
- top: 50%;
- left: 50%;
- width: 300rpx;
- height: 300rpx;
- margin: -150rpx -150rpx;
- background: #262628;
- background: url("../../static/images_go/recording-loading.gif") no-repeat center;
- background-size: 100%;
- border-radius: 40rpx;
- }
- .chatInterface .img-layer {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: #000000;
- z-index: 9999;
- padding: 6rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .chatInterface .img-layer uni-image {
- height: 100% !important;
- }
- .chatInterface .img-layer {
- height: 100% !important;
- width: 100% !important;
- }
- .chatInterface .content .file-content .file-info {
- height: 0.5rem;
- width: 1.5rem;
- display: flex;
- flex-direction: column;
- padding: 0 0.1rem;
- }
- .chatInterface .content .file-content .file-info .title {
- height: 0.3rem;
- line-height: 0.3rem;
- overflow: hidden;
- font-size: 0.16rem;
- padding: 0;
- white-space: nowrap;
- text-overflow: ellipsis;
- word-break: break-all;
- color: #262628;
- text-align: left;
- }
- .chatInterface .content .file-content .file-info .size {
- font-size: 0.14rem;
- height: 0.2rem;
- line-height: 0.2rem;
- padding: 0;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- word-break: break-all;
- color: #999999;
- text-align: left;
- }
- .chatInterface .video-snapshot {
- position: relative;
- height: 300rpx !important;
- overflow: hidden;
- max-width: 400rpx;
- background: #000000;
- }
- .chatInterface .video-snapshot image {
- /* max-height: 300rpx; */
- max-width: 400rpx;
- }
- .chatInterface .video-snapshot video {
- /* max-height: 300rpx; */
- max-width: 400rpx;
- }
- .chatInterface .video-snapshot .video-play-icon {
- position: absolute;
- width: 40rpx;
- height: 40rpx;
- border-radius: 20rpx;
- background: url("../../static/images_go/play.png") no-repeat center;
- background-size: 100%;
- top: 50%;
- left: 50%;
- margin: -20rpx;
- }
- .chatInterface .group-icon {
- right: 20rpx;
- width: 60rpx;
- height: 60rpx;
- top: 14rpx;
- position: fixed;
- right: 20rpx;
- top: 120rpx;
- background-color: #C4C4C4;
- z-index: 2;
- border-radius: 60rpx;
- }
- .uni-toast {
- background-color: #ffffff !important;
- }
- .time-lag {
- font-size: 20rpx;
- text-align: center;
- }
- .chatInterface .custom-message {
- width: 400rpx;
- height: 260rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- align-items: flex-start;
- box-sizing: border-box;
- padding: 10rpx 30rpx;
- border: 1px solid rgba(0, 0, 0, 0.05);
- box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
- border-radius: 20rpx;
- }
- .chatInterface .custom-message .title {
- width: 100%;
- display: flex;
- align-items: center;
- font-size: 30rpx;
- }
- .chatInterface .custom-message .title image {
- width: 40rpx;
- height: 40rpx;
- }
- .chatInterface .custom-message .custom-message-item {
- text-align: left;
- font-size: 28rpx;
- overflow: hidden;
- width: 100%;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
|