171 lines
4.4 KiB
Plaintext
171 lines
4.4 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.chat-container.data-v-d7316ec5 {
|
||
width: 100vw;
|
||
height: 100vh;
|
||
background-color: #E9F3F7;
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden !important;
|
||
position: relative;
|
||
/* 顶部导航栏样式 */
|
||
}
|
||
.chat-container .chat-container-bg.data-v-d7316ec5 {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 0;
|
||
height: 270px;
|
||
background: linear-gradient(180deg, #42ADF9 0%, #6CD1FF 51%, #E9F3F7 99%);
|
||
}
|
||
.chat-container .nav-bar-container.data-v-d7316ec5 {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 999;
|
||
transition: all 0.3s ease;
|
||
}
|
||
.chat-container .chat-container-msg-list.data-v-d7316ec5 {
|
||
width: 100vw;
|
||
height: 100vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
z-index: 1;
|
||
overflow: hidden;
|
||
}
|
||
.chat-container .chat-container-top-bannar.data-v-d7316ec5 {
|
||
width: 100vw;
|
||
flex-shrink: 0;
|
||
touch-action: none;
|
||
}
|
||
.chat-container .area-msg-list.data-v-d7316ec5 {
|
||
width: 100vw;
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
min-height: 0;
|
||
padding: 4px 0 0;
|
||
overscroll-behavior: contain;
|
||
/* 阻止滚动穿透 */
|
||
-webkit-overflow-scrolling: touch;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.chat-container .area-msg-list .area-msg-list-content.data-v-d7316ec5 {
|
||
/* 隐藏滚动条 */
|
||
scrollbar-width: none;
|
||
}
|
||
.chat-container .area-msg-list .area-msg-list-content.data-v-d7316ec5::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
.chat-container .area-msg-list .message-item.data-v-d7316ec5 {
|
||
display: flex;
|
||
}
|
||
.chat-container .area-msg-list .message-item-ai.data-v-d7316ec5 {
|
||
justify-content: flex-start;
|
||
}
|
||
.chat-container .area-msg-list .message-item-mine.data-v-d7316ec5 {
|
||
justify-content: flex-end;
|
||
}
|
||
.chat-container .area-msg-list .message-item-other.data-v-d7316ec5 {
|
||
justify-content: center;
|
||
background-color: white;
|
||
margin: 6px 12px;
|
||
padding: 8px 24px;
|
||
border-radius: 4px;
|
||
font-size: 14px;
|
||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||
}
|
||
.chat-container .area-msg-list .message-item-other text.data-v-d7316ec5 {
|
||
font-family: PingFang SC, PingFang SC;
|
||
font-weight: 400;
|
||
font-size: 14px;
|
||
color: #333333;
|
||
}
|
||
.footer-area.data-v-d7316ec5 {
|
||
width: 100vw;
|
||
flex-shrink: 0;
|
||
padding: 4px 0 24px 0;
|
||
background-color: #E9F3F7;
|
||
touch-action: pan-x;
|
||
/* 仅允许横向触摸滚动 */
|
||
overflow-x: auto;
|
||
/* 允许横向滚动 */
|
||
overflow-y: hidden;
|
||
/* 禁止垂直滚动 */
|
||
}
|
||
.area-input.data-v-d7316ec5 {
|
||
display: flex;
|
||
align-items: center;
|
||
border-radius: 22px;
|
||
background-color: #FFFFFF;
|
||
box-shadow: 0px 0px 20px 0px rgba(52, 25, 204, 0.05);
|
||
margin: 0 12px;
|
||
}
|
||
.area-input .input-container-voice.data-v-d7316ec5 {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 44px;
|
||
height: 44px;
|
||
flex-shrink: 0;
|
||
align-self: flex-end;
|
||
}
|
||
.area-input .input-container-voice image.data-v-d7316ec5 {
|
||
width: 22px;
|
||
height: 22px;
|
||
}
|
||
.area-input .input-container-send.data-v-d7316ec5 {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 44px;
|
||
height: 44px;
|
||
flex-shrink: 0;
|
||
align-self: flex-end;
|
||
}
|
||
.area-input .input-container-send image.data-v-d7316ec5 {
|
||
width: 28px;
|
||
height: 28px;
|
||
}
|
||
.area-input .textarea.data-v-d7316ec5 {
|
||
flex: 1;
|
||
max-height: 92px;
|
||
min-height: 22px;
|
||
font-size: 16px;
|
||
line-height: 22px;
|
||
margin-bottom: 2px;
|
||
align-items: center;
|
||
}
|
||
.data-v-d7316ec5::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0 !important;
|
||
height: 0 !important;
|
||
-webkit-appearance: none;
|
||
background: transparent;
|
||
color: transparent;
|
||
} |