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.

156 lines
4.8 KiB

2 years ago
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.app-wallpaper {
position: relative;
background-size: 100% 100%;
background-repeat: no-repeat;
}
.app-wallpaper .capsule-container {
position: -webkit-sticky;
position: sticky;
box-sizing: border-box;
width: 100%;
padding: 10rpx;
border: 2rpx solid #262626;
border-radius: 45rpx;
box-shadow: 1rpx 4rpx 12rpx 0rpx rgba(90, 104, 103, 0.24);
background-color: #F8FAFA;
}
.app-wallpaper .capsule-container .capsule {
box-sizing: border-box;
padding: 20rpx;
text-align: center;
font-size: 30rpx;
font-weight: 500;
line-height: 30rpx;
border: 2rpx solid rgba(0, 0, 0, 0);
}
.app-wallpaper .capsule-container .capsule.active {
background-color: #4DC3B8;
color: #FFFFFF;
border: 2rpx solid #262626;
border-radius: 35rpx;
}
.app-wallpaper .coupons-list {
margin-top: 30rpx;
margin-left: -15rpx;
margin-right: -30rpx;
}
.app-wallpaper .coupons-list .coupons-item-container {
padding-bottom: 7rpx;
background-size: 100% 100%;
background-repeat: no-repeat;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item {
box-sizing: border-box;
height: 226rpx;
padding-top: 28rpx;
padding-bottom: 46rpx;
padding-left: 10rpx;
padding-right: 59rpx;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-left {
width: 220rpx;
padding-top: 10rpx;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-left .coupons-big-title-group {
align-items: flex-end;
justify-content: center;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-left .coupons-big-title-group .coupons-big-title {
text-align: center;
font-size: 90rpx;
font-family: Source Han Sans CN;
font-weight: 800;
color: #FFFFFF;
line-height: 1;
text-shadow: 0rpx 0rpx 14rpx rgba(209, 145, 70, 0.21);
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-left .coupons-big-title-group .coupons-big-desc {
font-size: 32rpx;
font-family: Source Han Sans CN;
font-weight: bold;
color: #FFFFFF;
line-height: 70rpx;
text-shadow: 0rpx 0rpx 14rpx rgba(209, 145, 70, 0.21);
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-left .coupons-cause {
margin-top: 15rpx;
text-align: center;
font-size: 26rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #FFFFFF;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right {
padding: 0 0 0 30rpx;
justify-content: space-between;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-gq {
width: 80rpx;
height: 80rpx;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-gq .img {
width: 75rpx;
height: 75rpx;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-title {
font-size: 30rpx;
font-weight: 500;
color: #161616;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-desc {
margin: 7rpx 0;
font-size: 24rpx;
font-weight: 400;
color: #999999;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-bottom {
border-top: 1px solid #F0F1F6;
align-items: center;
justify-content: space-between;
margin: 15rpx 0;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-bottom .coupons-rule {
font-size: 24rpx;
font-weight: 400;
color: #999999;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-bottom .coupons-rule .u-icon {
margin-left: 3rpx;
position: relative;
top: 2rpx;
flex-direction: row;
align-items: center;
}
.app-wallpaper .coupons-list .coupons-item-container .coupons-item .coupons-right .coupons-bottom .coupons-button {
padding: 10rpx;
font-size: 26rpx;
font-weight: 500;
color: #FFFFFF;
line-height: 30rpx;
text-shadow: 0rpx 3rpx 2rpx rgba(77, 195, 184, 0.16);
}