You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
3.0 KiB
118 lines
3.0 KiB
@charset "UTF-8";
|
|
/**
|
|
* 这里是uni-app内置的常用样式变量
|
|
*
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
*
|
|
*/
|
|
/**
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
*
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
*/
|
|
/* 颜色变量 */
|
|
/* 行为相关颜色 */
|
|
/* 文字基本颜色 */
|
|
/* 背景颜色 */
|
|
/* 边框颜色 */
|
|
/* 尺寸变量 */
|
|
/* 文字尺寸 */
|
|
/* 图片尺寸 */
|
|
/* Border Radius */
|
|
/* 水平间距 */
|
|
/* 垂直间距 */
|
|
/* 透明度 */
|
|
/* 文章场景相关 */
|
|
page {
|
|
background-color: transparent;
|
|
}
|
|
.chat-list {
|
|
width: 94%;
|
|
padding: 0 3%;
|
|
}
|
|
.chat-list .chat {
|
|
width: 100%;
|
|
height: 100rpx;
|
|
padding: 20rpx 0;
|
|
border-bottom: solid 1rpx #eaeaea;
|
|
}
|
|
.chat-list .chat .row {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-pack: start;
|
|
-webkit-justify-content: flex-start;
|
|
justify-content: flex-start;
|
|
}
|
|
.chat-list .chat .row .left {
|
|
-webkit-flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
}
|
|
.chat-list .chat .row .left image {
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
.chat-list .chat .row .right {
|
|
-webkit-flex-shrink: 1;
|
|
flex-shrink: 1;
|
|
width: 98%;
|
|
padding-left: 2%;
|
|
}
|
|
.chat-list .chat .row .right .top {
|
|
width: 100%;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-pack: justify;
|
|
-webkit-justify-content: space-between;
|
|
justify-content: space-between;
|
|
-webkit-box-align: end;
|
|
-webkit-align-items: flex-end;
|
|
align-items: flex-end;
|
|
}
|
|
.chat-list .chat .row .right .top .usernam {
|
|
font-size: 26rpx;
|
|
}
|
|
.chat-list .chat .row .right .top .time {
|
|
font-size: 22rpx;
|
|
color: #bebebe;
|
|
}
|
|
.chat-list .chat .row .right .bottom {
|
|
width: 100%;
|
|
height: 40rpx;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-pack: justify;
|
|
-webkit-justify-content: space-between;
|
|
justify-content: space-between;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
}
|
|
.chat-list .chat .row .right .bottom .msg {
|
|
font-size: 25rpx;
|
|
color: #777;
|
|
}
|
|
.chat-list .chat .row .right .bottom .tis {
|
|
width: 35rpx;
|
|
height: 35rpx;
|
|
font-size: 22rpx;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: flex;
|
|
-webkit-box-pack: center;
|
|
-webkit-justify-content: center;
|
|
justify-content: center;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
align-items: center;
|
|
background-color: #eb4d3d;
|
|
color: #fff;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
|