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.
165 lines
5.3 KiB
165 lines
5.3 KiB
/** |
|
* 这里是uni-app内置的常用样式变量 |
|
* |
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 |
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App |
|
* |
|
*/ |
|
/** |
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 |
|
* |
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 |
|
*/ |
|
/* 颜色变量 */ |
|
/* 行为相关颜色 */ |
|
/* 文字基本颜色 */ |
|
/* 背景颜色 */ |
|
/* 边框颜色 */ |
|
/* 尺寸变量 */ |
|
/* 文字尺寸 */ |
|
/* 图片尺寸 */ |
|
/* Border Radius */ |
|
/* 水平间距 */ |
|
/* 垂直间距 */ |
|
/* 透明度 */ |
|
/* 文章场景相关 */ |
|
.app-wallpaper { |
|
padding-bottom: 30rpx; |
|
} |
|
.app-wallpaper .detail-container { |
|
position: relative; |
|
box-sizing: border-box; |
|
} |
|
.app-wallpaper .detail-container .detail-background-container { |
|
box-sizing: border-box; |
|
padding: 0 10rpx; |
|
position: absolute; |
|
top: 0rpx; |
|
left: 0; |
|
width: 100%; |
|
height: 100%; |
|
} |
|
.app-wallpaper .detail-container .detail-background-container .detail-background { |
|
position: relative; |
|
left: 0; |
|
width: 100%; |
|
height: 100%; |
|
z-index: 1; |
|
background-color: #fff; |
|
border: 2rpx solid #262626; |
|
box-shadow: 1rpx 4rpx 6rpx 0rpx rgba(103, 131, 131, 0.3); |
|
border-radius: 50rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container { |
|
box-sizing: border-box; |
|
height: 100%; |
|
position: relative; |
|
z-index: 2; |
|
padding: 15rpx 0; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content { |
|
height: 100%; |
|
border: 2rpx solid #262626; |
|
border-radius: 50rpx; |
|
background-color: #fff; |
|
padding: 0 40rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item { |
|
margin-top: 45rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.my-chat { |
|
justify-content: flex-end; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.my-chat .chat-time { |
|
text-align: left; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.my-chat .chat-content { |
|
background: #4EC2B7; |
|
font-size: 28rpx; |
|
font-weight: 500; |
|
color: #FFFFFF; |
|
line-height: 30rpx; |
|
border-radius: 45rpx 50rpx 0rpx 45rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.my-chat .chat-item-content { |
|
align-items: flex-end; |
|
justify-content: flex-end; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.my-chat .chat-item-content .chat-content-container { |
|
margin-right: 15rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.my-chat .chat-avator { |
|
top: 15rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.other-chat { |
|
justify-content: flex-start; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.other-chat .chat-time { |
|
text-align: right; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.other-chat .chat-content { |
|
background: #F2F9FA; |
|
font-size: 28rpx; |
|
font-weight: 500; |
|
color: #131313; |
|
border-radius: 0rpx 45rpx 45rpx 50rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.other-chat .chat-item-content { |
|
align-items: flex-end; |
|
justify-content: flex-start; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.other-chat .chat-item-content .chat-content-container { |
|
margin-left: 15rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item.other-chat .chat-avator { |
|
bottom: 15rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item .chat-content { |
|
padding: 30rpx 40rpx; |
|
border: 2rpx solid #262626; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item .chat-time { |
|
font-size: 24rpx; |
|
font-weight: 400; |
|
color: #C1C1C1; |
|
margin-bottom: 10rpx; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item .chat-avator { |
|
width: 80rpx; |
|
height: 80rpx; |
|
position: relative; |
|
} |
|
.app-wallpaper .detail-container .detail-content-container .detail-content .chat-item .chat-avator .img { |
|
width: 80rpx; |
|
height: 80rpx; |
|
overflow: hidden; |
|
border: 3rpx solid #fff; |
|
border-radius: 50%; |
|
} |
|
.app-wallpaper .detail-input-group-container { |
|
position: absolute; |
|
bottom: 0; |
|
width: 100%; |
|
padding: 35rpx 20rpx 30rpx 20rpx; |
|
box-sizing: border-box; |
|
} |
|
.app-wallpaper .detail-input-group-container .detail-input-group { |
|
background-color: #ebf2f3; |
|
width: 100%; |
|
padding: 24rpx 38rpx; |
|
border: 2rpx solid #131313; |
|
border-radius: 45rpx; |
|
z-index: 1; |
|
} |
|
.app-wallpaper .detail-input-group-container .detail-input-group .detail-input { |
|
flex: 1; |
|
background: #FFFFFF; |
|
box-shadow: 0rpx 5rpx 10rpx 0rpx rgba(179, 181, 181, 0.1); |
|
border-radius: 45rpx; |
|
font-size: 30rpx; |
|
padding: 20rpx 40rpx; |
|
caret-color: #4DC3B8; |
|
} |
|
.app-wallpaper .detail-input-group-container .detail-input-group .detail-input-button { |
|
margin-left: 15rpx; |
|
} |