123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- /* comps/msglist/msglist.wxss */
- .scroll_view,
- .scroll_view_change {
- /*width: 100%;
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 150rpx;*/
- box-sizing: border-box;
- /* height: 100%; */
- margin-bottom: 174rpx;
- /* padding-bottom: 174rpx; */
- background-color: #F0F4F7;
- }
- .scroll_view_X,
- .scroll_view_change_X {
- margin-bottom: 244rpx;
- }
- .scroll_view_change {
- /*bottom: 440rpx;*/
- margin-bottom: 590rpx;
- }
- .message {
- width: 100%;
- /* min-height: 130rpx; */
- height: auto;
- padding: 0 30rpx;
- /* position: relative; */
- /* display: block; */
- box-sizing: border-box;
- }
- .time {
- margin: 14rpx 0;
- text-align: center;
- }
- .time .time-text {
- display: inline-block;
- padding: 6rpx 20rpx 0 20rpx;
- font-size: 24rpx;
- color: #fff;
- line-height: 28rpx;
- border-radius: 4rpx;
- background-color: #dcdcdc;
- }
- .user .user-text {
- margin: auto 100rpx 8rpx;
- font-size: 20rpx;
- color: #dcdcdc;
- display: block;
- }
- .avatar {
- width: 72rpx;
- height: 72rpx;
- margin: 0 20rpx 0 0;
- border-radius: 6rpx;
- float: left;
- }
- .msg {
- display: inline-block;
- padding: 20rpx;
- max-width: calc(85% - 80rpx);
- min-height: 40rpx;
- font-size: 24rpx;
- /*overflow: hidden;*/
- text-align: left;
- word-break: break-all;
- background-color: #fff;
- border-radius: 26rpx;
- position: relative;
- margin-top: 24rpx;
- }
- .msg .msg_poprightarrow {
- position: absolute;
- right: -10rpx;
- height: 18rpx;
- width: 18rpx;
- margin-top: -10rpx;
- }
- .msg .msg_popleftarrow {
- position: absolute;
- left: -14rpx;
- height: 18rpx;
- width: 18rpx;
- margin-top: -10rpx;
- }
- .msg .msg-text {
- line-height: 40rpx;
- font-size: 32rpx;
- margin: 0;
- }
- .msg .msg-video {
- width: 300rpx;
- }
- /*.msg:before {
- content: " ";
- position: absolute;
- top: 9px;
- right: 100%;
- border: 6px solid transparent;
- border-right-color: #EDEDED;
- }*/
- .self {
- text-align: right;
- }
- .self .avatar {
- float: right;
- margin: 0 0 0 20rpx;
- }
- .user {
- position: relative;
- bottom: -30rpx;
- }
- .self .msg {
- background-color: #0873DE;
- color: #fff;
- }
- .self .msg:before {
- right: inherit;
- left: 100%;
- border-right-color: transparent;
- border-left-color: #b2e281;
- }
- .template {
- display: inline;
- }
- .err {
- width: 32rpx;
- height: 32rpx;
- position: absolute;
- left: -40rpx;
- }
- .hide {
- display: none;
- }
- .show {
- display: block;
- }
- .row-left {
- padding: 20rpx 0;
- width: 90%;
- display: inline-flex;
- align-items: flex-start;
- justify-content: flex-start;
- }
- .row-right {
- float: right;
- padding: 20rpx 0;
- width: 90%;
- display: inline-flex;
- align-items: flex-start;
- justify-content: flex-end;
- }
- .photo {
- width: 80rpx;
- height: 80rpx;
- border-radius: 40rpx;
- }
- .row-left .msgbox {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: flex-start;
- margin-left: 20rpx;
- }
- .row-right .msgbox {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: flex-end;
- margin-right: 20rpx;
- }
- .row-left .content {
- background-color: #fff;
- margin-left: 20rpx;
- border-radius: 10rpx;
- padding: 10rpx;
- max-width: 80%;
- }
- .row-right .content {
- background-color: #fff;
- margin-right: 20rpx;
- border-radius: 10rpx;
- padding: 10rpx;
- max-width: 80%;
- }
- .user-text {
- box-sizing: border-box;
- font-size: 22rpx;
- color: #AAAAAA;
- padding: 10rpx;
- }
- .msgbox {
- width: 90%;
- }
- .clickMsg {
- width: 100%;
- }
- .msg-text {
- width: 100%;
- overflow-wrap: normal;
- word-break: break-all;
- font-size: .8em;
- background-color: #FFFFFF;
- box-sizing: border-box;
- padding: 10rpx 25rpx;
- border-radius: 20rpx;
- }
- .msg-img {
- width: 200rpx;
- height: 200rpx;
- margin: 0;
- }
|