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.

239 lines
5.7 KiB

5 months ago
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.scroll-view.data-v-0f00adf4 {
height: 100vh;
background: #eee;
box-sizing: border-box;
}
.message.data-v-0f00adf4 {
display: flex;
align-items: flex-start;
margin-bottom: 30rpx;
}
.message .avatar.data-v-0f00adf4 {
width: 80rpx;
height: 80rpx;
border-radius: 10rpx;
margin-right: 30rpx;
}
.message .content.data-v-0f00adf4 {
min-height: 80rpx;
max-width: 60vw;
box-sizing: border-box;
font-size: 28rpx;
line-height: 1.3;
padding: 20rpx;
border-radius: 10rpx;
background: #fff;
}
.message .content image.data-v-0f00adf4 {
width: 200rpx;
}
.message .voice-content.data-v-0f00adf4 {
display: flex;
align-items: center;
}
.message.self.data-v-0f00adf4 {
justify-content: flex-end;
}
.message.self .avatar.data-v-0f00adf4 {
margin: 0 0 0 30rpx;
}
.message.self .content.data-v-0f00adf4 {
position: relative;
}
.message.self .content.data-v-0f00adf4::after {
position: absolute;
content: '';
width: 0;
height: 0;
border: 16rpx solid transparent;
border-left: 16rpx solid #fff;
right: -28rpx;
top: 24rpx;
}
.message.friend .content.data-v-0f00adf4 {
position: relative;
}
.message.friend .content.data-v-0f00adf4::after {
position: absolute;
content: '';
width: 0;
height: 0;
border: 16rpx solid transparent;
border-right: 16rpx solid #fff;
left: -28rpx;
top: 24rpx;
}
.tool.data-v-0f00adf4 {
position: fixed;
width: 100%;
min-height: 120rpx;
left: 0;
bottom: 0;
background: #fff;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 20rpx 24rpx 20rpx 40rpx;
padding-bottom: calc(20rpx + constant(safe-area-inset-bottom)/2) !important;
padding-bottom: calc(20rpx + env(safe-area-inset-bottom)/2) !important;
}
.tool .left-icon.data-v-0f00adf4 {
width: 56rpx;
height: 56rpx;
margin-right: 10rpx;
}
.tool .input.data-v-0f00adf4,
.tool .voice-crl.data-v-0f00adf4 {
background: #eee;
border-radius: 10rpx;
height: 70rpx;
margin-right: 30rpx;
flex: 1;
padding: 0 20rpx;
box-sizing: border-box;
font-size: 28rpx;
}
.tool .thumb.data-v-0f00adf4 {
width: 64rpx;
height: 64rpx;
}
.tool .voice-crl.data-v-0f00adf4 {
text-align: center;
line-height: 70rpx;
font-weight: bold;
}
.audio-animation.data-v-0f00adf4 {
position: fixed;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
z-index: 202410;
display: flex;
justify-content: center;
align-items: center;
}
.audio-animation .text.data-v-0f00adf4 {
text-align: center;
font-size: 28rpx;
color: #333;
margin-top: 60rpx;
}
.audio-animation .audio-wave.data-v-0f00adf4 {
padding: 50rpx;
/* 声波动画 */
}
.audio-animation .audio-wave .audio-wave-text.data-v-0f00adf4 {
background-color: blue;
width: 7rpx;
height: 12rpx;
margin: 0 6rpx;
border-radius: 5rpx;
display: inline-block;
border: none;
-webkit-animation: wave-data-v-0f00adf4 0.25s ease-in-out;
animation: wave-data-v-0f00adf4 0.25s ease-in-out;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-direction: alternate;
animation-direction: alternate;
}
@-webkit-keyframes wave-data-v-0f00adf4 {
from {
-webkit-transform: scaleY(1);
transform: scaleY(1);
}
to {
-webkit-transform: scaleY(4);
transform: scaleY(4);
}
}
@keyframes wave-data-v-0f00adf4 {
from {
-webkit-transform: scaleY(1);
transform: scaleY(1);
}
to {
-webkit-transform: scaleY(4);
transform: scaleY(4);
}
}
.loading-content.data-v-0f00adf4 {
min-width: 100rpx;
display: flex;
justify-content: center;
align-items: center;
}
.loading-dots.data-v-0f00adf4 {
display: flex;
align-items: center;
}
.dot.data-v-0f00adf4 {
width: 12rpx;
height: 12rpx;
background-color: #999;
border-radius: 50%;
margin: 0 6rpx;
-webkit-animation: dot-animation-data-v-0f00adf4 1.4s infinite ease-in-out both;
animation: dot-animation-data-v-0f00adf4 1.4s infinite ease-in-out both;
}
.dot.data-v-0f00adf4:nth-child(1) {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.dot.data-v-0f00adf4:nth-child(2) {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes dot-animation-data-v-0f00adf4 {
0%,
80%,
100% {
-webkit-transform: scale(0);
transform: scale(0);
}
40% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes dot-animation-data-v-0f00adf4 {
0%,
80%,
100% {
-webkit-transform: scale(0);
transform: scale(0);
}
40% {
-webkit-transform: scale(1);
transform: scale(1);
}
}