oak-general-business/es/components/wechatMenu/preview/web.module.less

115 lines
3.2 KiB
Plaintext

.container {
.phone {
display: flex;
flex-direction: column;
width: 374px;
background: #e0e0e0;
border-radius: 8px;
.topBar {
display: flex;
flex-direction: row;
justify-content: space-between;
height: 30px;
margin: 8px 16px 12px 16px;
align-items: center;
.time {
font-size: 14px;
font-weight: bold;
}
.icons {
display: flex;
flex-direction: row;
}
}
.actionBar {
display: flex;
flex-direction: row;
justify-content: space-between;
margin: 0 10px;
}
.page {
width: 394px;
height: 450px;
overflow-y: auto;
padding: 10px 0;
.img {
max-width: 80%;
margin-top: 10px;
margin-left: 20px;
}
.news {
max-width: 80%;
margin-top: 10px;
margin-left: 20px;
}
.msg {
max-width: 80%;
width: max-content;
min-height: 30px;
margin-left: 20px;
background: #fff;
border-radius: 4px;
margin-top: 10px;
padding: 4px 10px;
position: relative;
border-left: 1px solid #fff;
.editor {
:global {
p {
margin: 0 !important;
}
div {
padding: 0 !important;
}
}
}
}
.msg::before {
content: ''; /* 伪元素的内容为空 */
position: absolute;
top: 50%; /* 将箭头垂直居中 */
left: -10px; /* 控制箭头的位置 */
border: 5px solid transparent; /* 创建一个透明的矩形 */
border-right-color: #fff; /* 设置矩形的右侧颜色 */
transform: translateY(-50%); /* 调整垂直居中位置 */
}
}
.bottomBar {
height: 38px;
display: flex;
flex-direction: row;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
background: #f0f0f0;
.keyBoard {
width: 60px;
height: 100%;
}
.buttonList {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
.button {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
border-left: 1px solid #d0d0d0;
padding: 7px 0;
cursor: pointer;
}
.button:hover {
background-color: #d0d0d0;
}
}
}
}
}