You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
5.6 KiB
Plaintext

/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.charge {
width: 100%;
height: 100%;
position: absolute;
background-color: #f2f2f2;
}
.charge .tops {
width: 100%;
height: 11%;
}
.charge .charge-header {
width: 94%;
background-color: #ffffff;
border: 1rpx solid #02a7f0;
border-bottom: none;
margin-left: 50%;
transform: translateX(-50%);
margin-top: 30rpx;
border-radius: 20rpx 20rpx 20rpx 20rpx;
}
.charge .charge-header .charge-header-title {
width: 100%;
margin-top: 20rpx;
font-size: 28rpx;
text-align: right;
box-sizing: border-box;
padding-right: 20rpx;
}
.charge .charge-header .charge-header-title .colors {
font-size: 50rpx;
color: #d9001b;
}
.charge .charge-header .charge-header-center {
width: 100%;
height: 160rpx;
display: flex;
justify-content: center;
align-items: center;
}
.charge .charge-header .charge-header-center .charge-header-center-img {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
border: 1rpx solid #666;
}
.charge .charge-header .charge-header-center .centers {
width: 470rpx;
display: block;
text-align: center;
font-size: 26rpx;
}
.charge .charge-header .charge-header-bottom {
margin-top: 20rpx;
width: 100%;
height: 80rpx;
border: 1rpx solid #02a7f0;
border-radius: 20rpx 20rpx 20rpx 20rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 24rpx;
}
.charge .charge-header .charge-header-bottom .charge-header-bottom-left {
width: 50%;
height: 80rpx;
text-align: center;
line-height: 80rpx;
font-size: 26rpx;
}
.charge .charge-body {
width: 94%;
background-color: #ffffff;
margin-left: 50%;
transform: translateX(-50%);
margin-top: 30rpx;
border-radius: 20rpx 20rpx 20rpx 20rpx;
}
.charge .charge-body .charge-body-title {
width: 100%;
height: 80rpx;
box-sizing: border-box;
line-height: 80rpx;
padding-left: 20rpx;
font-size: 30rpx;
font-weight: 700;
padding-top: 15rpx;
}
.charge .charge-body .charge-body-box {
width: 100%;
position: relative;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.charge .charge-body .charge-body-box .box {
margin-left: 15rpx;
margin-right: 15rpx;
width: 43%;
margin-top: 20rpx;
border: 1rpx solid #02a7f0;
border-radius: 20rpx 20rpx 20rpx 20rpx;
}
.charge .charge-body .charge-body-box .box .box-title {
width: 100%;
height: 80rpx;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
font-size: 26rpx;
padding-left: 20rpx;
padding-right: 20rpx;
}
.charge .charge-body .charge-body-box .box .box-title .colors {
font-size: 40rpx;
}
.charge .charge-body .charge-body-box .box .box-bottom {
width: 100%;
font-size: 26rpx;
box-sizing: border-box;
padding-left: 20rpx;
padding-bottom: 10rpx;
margin-top: 40rpx;
}
.charge .charge-body .charge-body-box .box .box-bottom .size {
display: block;
}
.charge .charge-body .charge-body-box .ding {
width: 100%;
height: 80rpx;
}
.charge .charge-body .active {
background-color: #02a7f0;
}
.charge .charge-body .active .box-title {
color: #d9001b;
}
.charge .charge-body .active .box-title .q {
color: black;
}
.charge .charge-body .active .box-title .q .colors {
color: #d9001b;
}
.charge .charge-body .active .box-bottom {
color: white;
}
.charge .charge-play {
width: 94%;
height: 200rpx;
background-color: #ffffff;
margin-left: 50%;
transform: translateX(-50%);
margin-top: 30rpx;
border-radius: 20rpx 20rpx 20rpx 20rpx;
}
.charge .charge-play .charge-body-title {
width: 100%;
height: 80rpx;
box-sizing: border-box;
line-height: 80rpx;
padding-left: 20rpx;
font-size: 30rpx;
font-weight: 700;
padding-top: 15rpx;
}
.charge .charge-play .charge-play-icon {
width: 100%;
height: 90rpx;
margin-top: 15rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.charge .charge-play .charge-play-icon .icon-left {
width: 260rpx;
height: 90rpx;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28rp;
}
.charge .charge-play .charge-play-icon .icon-left .icon-img {
width: 90rpx;
height: 90rpx;
border-radius: 50%;
margin-left: 30rpx;
}
.charge .charge-play .charge-play-icon .icon-right {
width: 50rpx;
height: 50rpx;
border-radius: 50%;
border: 1rpx solid #666;
margin-right: 50rpx;
}
.charge .charge-play .charge-play-icon .icon-active {
border: none;
background-size: 100% 100%;
background-image: url("https://www.jiubaotongxue.love/image/xuanzhong.png");
}
.charge .charge-btnPlay {
position: fixed;
bottom: 0rpx;
width: 100%;
height: 100rpx;
background-color: #d9001b;
text-align: center;
line-height: 100rpx;
color: white;
bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
}