/* pages/m_consult/consultonline/consultonline.wxss */
|
.consult-record {
|
padding: 8px;
|
background-color: #EFF9F4;
|
height: 100vh;
|
}
|
|
.consult-record_item {
|
display: flex;
|
align-items: flex-start;
|
justify-content: flex-start;
|
margin-bottom: 16px;
|
}
|
|
.consult-record_item_user {
|
display: flex;
|
align-items: flex-start;
|
justify-content: flex-end;
|
margin-bottom: 16px;
|
}
|
|
.consult-avator {
|
width: 40px;
|
height: 40px;
|
}
|
|
.consult-text {
|
max-width: 80%;
|
margin-left: 4px;
|
padding: 10px;
|
background-color: white;
|
border: 0px solid #CCCCCC;
|
border-radius: 16px;
|
border-top-left-radius: 0;
|
box-shadow: 1px 1px #CCCCCC;
|
font-size: 12px;
|
}
|
|
.consult-text_user {
|
max-width: 80%;
|
margin-left: 4px;
|
padding: 10px;
|
/* background-color: #49c4ad; */
|
background: linear-gradient(to top right, #58bba9, #52e6ca);
|
border: 0px solid #CCCCCC;
|
border-radius: 16px;
|
border-top-right-radius: 0;
|
box-shadow: 1px 1px #CCCCCC;
|
font-size: 12px;
|
color: white;
|
}
|
|
|
.consult-input {
|
position: fixed;
|
bottom: 0;
|
/* padding-bottom: calc(10px + constant(safe-area-inset-bottom)); */
|
padding-bottom: calc(10px + env(safe-area-inset-bottom));
|
left: 0;
|
width: 100%;
|
}
|
|
.consult-input_box {
|
display: flex;
|
align-items: center;
|
padding: 0 8px;
|
}
|
|
.search-bar {
|
flex: 1;
|
position: relative;
|
min-width: 50vw;
|
padding: 6px 8px;
|
font-size: 12px;
|
line-height: 24px;
|
color: var(--fyui-text-color_2);
|
text-align: left;
|
background-color: white;
|
border-radius: 10px;
|
display: flex;
|
align-items: center;
|
}
|
|
.search-bar .weui-icon-clear {
|
/* position: absolute;
|
top: 50%;
|
right: 0;
|
margin-top: -16px; */
|
padding-left: 8px;
|
width: 16px;
|
height: 16px;
|
-webkit-mask-size: 16px;
|
mask-size: 16px;
|
/* display: block; */
|
}
|
|
.search-bar .search-bar__input {
|
width: 100%;
|
border: 0;
|
font-size: 14px;
|
line-height: 20px;
|
box-sizing: content-box;
|
background: transparent;
|
caret-color: var(--weui-BRAND);
|
color: var(--weui-FG-0);
|
}
|
|
.btn {
|
border-radius: 20px;
|
line-height: 20px;
|
font-size: 12px;
|
min-width: 40px;
|
background: linear-gradient(to top right, #58bba9, #52e6ca);
|
padding: 4px 2px;
|
text-align: center;
|
color: white;
|
margin-left: 4px;
|
}
|