158 lines
4.0 KiB
Plaintext
158 lines
4.0 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
view.data-v-c08180ec,
|
||
button.data-v-c08180ec,
|
||
text.data-v-c08180ec,
|
||
input.data-v-c08180ec,
|
||
textarea.data-v-c08180ec {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
.chat .scroll-view.data-v-c08180ec {
|
||
background-color: #F6F6F6;
|
||
}
|
||
.chat .scroll-view.data-v-c08180ec ::-webkit-scrollbar {
|
||
display: none;
|
||
width: 0 !important;
|
||
height: 0 !important;
|
||
-webkit-appearance: none;
|
||
background: transparent;
|
||
color: transparent;
|
||
}
|
||
.chat .scroll-view .chat-body.data-v-c08180ec {
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding-top: 23rpx;
|
||
}
|
||
.chat .scroll-view .chat-body .self.data-v-c08180ec {
|
||
justify-content: flex-end;
|
||
}
|
||
.chat .scroll-view .chat-body .item.data-v-c08180ec {
|
||
display: flex;
|
||
padding: 23rpx 30rpx;
|
||
}
|
||
.chat .scroll-view .chat-body .item .right.data-v-c08180ec {
|
||
background-color: #4095e5;
|
||
}
|
||
.chat .scroll-view .chat-body .item .left.data-v-c08180ec {
|
||
background-color: #FFFFFF;
|
||
}
|
||
.chat .scroll-view .chat-body .item .right.data-v-c08180ec::after {
|
||
position: absolute;
|
||
display: inline-block;
|
||
content: "";
|
||
width: 0;
|
||
height: 0;
|
||
left: 100%;
|
||
top: 10px;
|
||
border: 12rpx solid transparent;
|
||
border-left: 12rpx solid #4095e5;
|
||
}
|
||
.chat .scroll-view .chat-body .item .left.data-v-c08180ec::after {
|
||
position: absolute;
|
||
display: inline-block;
|
||
content: "";
|
||
width: 0;
|
||
height: 0;
|
||
top: 10px;
|
||
right: 100%;
|
||
border: 12rpx solid transparent;
|
||
border-right: 12rpx solid #FFFFFF;
|
||
}
|
||
.chat .scroll-view .chat-body .item .content.data-v-c08180ec {
|
||
position: relative;
|
||
max-width: 486rpx;
|
||
border-radius: 8rpx;
|
||
word-wrap: break-word;
|
||
padding: 24rpx 24rpx;
|
||
margin: 0 24rpx;
|
||
border-radius: 5px;
|
||
font-size: 32rpx;
|
||
font-family: PingFang SC;
|
||
font-weight: 500;
|
||
color: #333;
|
||
line-height: 42rpx;
|
||
}
|
||
.chat .scroll-view .chat-body .item .avatar.data-v-c08180ec {
|
||
display: flex;
|
||
justify-content: center;
|
||
width: 78rpx;
|
||
height: 78rpx;
|
||
background-image: url("https://pic2.zhimg.com/v2-45e3ca228438d1e4c3e98e38c8f8e4a4_r.jpg?source=1940ef5c");
|
||
background-size: contain;
|
||
border-radius: 8rpx;
|
||
overflow: hidden;
|
||
}
|
||
.chat .scroll-view .chat-body .item .avatar image.data-v-c08180ec {
|
||
align-self: center;
|
||
}
|
||
.chat .chat-bottom.data-v-c08180ec {
|
||
width: 100%;
|
||
height: 177rpx;
|
||
background: #F4F5F7;
|
||
}
|
||
.chat .chat-bottom .send-msg.data-v-c08180ec {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
padding: 16rpx 30rpx;
|
||
width: 100%;
|
||
min-height: 177rpx;
|
||
position: fixed;
|
||
bottom: 0;
|
||
background: #EDEDED;
|
||
}
|
||
.chat .chat-bottom .uni-textarea.data-v-c08180ec {
|
||
padding-bottom: 70rpx;
|
||
}
|
||
.chat .chat-bottom .uni-textarea textarea.data-v-c08180ec {
|
||
width: 537rpx;
|
||
min-height: 75rpx;
|
||
max-height: 500rpx;
|
||
background: #FFFFFF;
|
||
border-radius: 8rpx;
|
||
font-size: 32rpx;
|
||
font-family: PingFang SC;
|
||
color: #333333;
|
||
line-height: 43rpx;
|
||
padding: 5rpx 8rpx;
|
||
}
|
||
.chat .chat-bottom .send-btn.data-v-c08180ec {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-bottom: 70rpx;
|
||
margin-left: 25rpx;
|
||
width: 128rpx;
|
||
height: 75rpx;
|
||
background: #4095e5;
|
||
border-radius: 8rpx;
|
||
font-size: 28rpx;
|
||
font-family: PingFang SC;
|
||
font-weight: 500;
|
||
color: #FFFFFF;
|
||
line-height: 28rpx;
|
||
} |