@charset "UTF-8";
|
/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
/* start--主题色--start */
|
/* end--主题色--end */
|
.diy-coupon {
|
margin: 0 20rpx;
|
border-radius: 6rpx;
|
}
|
.f-s-0 {
|
flex-shrink: 0;
|
}
|
.diy-coupon .swiper {
|
display: flex;
|
justify-content: flex-start;
|
align-items: center;
|
overflow-x: auto;
|
}
|
.diy-coupon .coupon-item {
|
width: 254rpx;
|
height: 154rpx;
|
color: #ffffff;
|
flex-shrink: 0;
|
margin: 8rpx;
|
position: relative;
|
border-radius: 8rpx;
|
overflow: hidden;
|
color: #ffffff;
|
}
|
[data-theme='theme0'] .diy-coupon .coupon-item {
|
background-color: #ff4c01 !important;
|
}
|
[data-theme='theme1'] .diy-coupon .coupon-item {
|
background-color: rgba(219, 248, 231, 0.6) !important;
|
}
|
[data-theme='theme2'] .diy-coupon .coupon-item {
|
background-color: #fff3e5 !important;
|
}
|
[data-theme='theme3'] .diy-coupon .coupon-item {
|
background-color: #fce1aa !important;
|
}
|
[data-theme='theme4'] .diy-coupon .coupon-item {
|
background-color: rgba(129, 134, 65, 0.1) !important;
|
}
|
[data-theme='theme5'] .diy-coupon .coupon-item {
|
background-color: rgba(228, 222, 208, 0.6) !important;
|
}
|
[data-theme='theme6'] .diy-coupon .coupon-item {
|
background-color: #d5eafb !important;
|
}
|
.diy-coupon .coupon-item .left-type {
|
padding: 4rpx 8rpx;
|
font-size: 18rpx;
|
line-height: 18rpx;
|
text-align: center;
|
position: absolute;
|
right: 0;
|
top: 0;
|
color: #ffffff;
|
background: linear-gradient(to right, #ff5b00, #fe8802);
|
border-bottom-left-radius: 8rpx;
|
}
|
.diy-coupon .left-side-line {
|
position: absolute;
|
width: 24rpx;
|
top: -14rpx;
|
right: 42rpx;
|
overflow: hidden;
|
}
|
.diy-coupon .right-side-line {
|
position: absolute;
|
width: 24rpx;
|
bottom: -14rpx;
|
right: 42rpx;
|
overflow: hidden;
|
}
|
.diy-coupon .side-line .round {
|
display: block;
|
width: 24rpx;
|
height: 24rpx;
|
border-radius: 50%;
|
}
|
.diy-coupon .center-content::before {
|
top: 0;
|
right: -16rpx;
|
border-radius: 0 0 15rpx 15rpx;
|
}
|
.diy-coupon .coupon-item .center-content {
|
padding: 26rpx 23rpx;
|
display: flex;
|
justify-content: center;
|
flex-direction: column;
|
align-items: center;
|
flex: 1;
|
width: 200rpx;
|
height: 154rpx;
|
box-sizing: border-box;
|
}
|
[data-theme='theme0'] .diy-coupon .coupon-item .center-content {
|
color: #ffffff !important;
|
}
|
[data-theme='theme1'] .diy-coupon .coupon-item .center-content {
|
color: #19ad57 !important;
|
}
|
[data-theme='theme2'] .diy-coupon .coupon-item .center-content {
|
color: #f55234 !important;
|
}
|
[data-theme='theme3'] .diy-coupon .coupon-item .center-content {
|
color: #8d5b22 !important;
|
}
|
[data-theme='theme4'] .diy-coupon .coupon-item .center-content {
|
color: #818641 !important;
|
}
|
[data-theme='theme5'] .diy-coupon .coupon-item .center-content {
|
color: #8f7e6a !important;
|
}
|
[data-theme='theme6'] .diy-coupon .coupon-item .center-content {
|
color: #1a8af8 !important;
|
}
|
.diy-coupon .coupon-item .center-content .content-top {
|
height: 28rpx;
|
line-height: 28rpx;
|
text-align: center;
|
margin-bottom: 8rpx;
|
justify-content: center;
|
align-items: center;
|
}
|
.diy-coupon .coupon-item .center-content .content-datatime {
|
padding: 4rpx 10rpx;
|
border-radius: 30rpx;
|
font-size: 20rpx;
|
background: rgba(0, 0, 0, 0.2);
|
}
|
.diy-coupon .coupon-item .right-receive {
|
height: 112rpx;
|
width: 52rpx;
|
text-align: center;
|
font-size: 18rpx;
|
line-height: 20rpx;
|
text-align: center;
|
flex-shrink: 0;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
border-left: 1rpx dashed #ffffff;
|
}
|
[data-theme='theme0'] .diy-coupon .coupon-item .right-receive {
|
color: #ffffff !important;
|
}
|
[data-theme='theme1'] .diy-coupon .coupon-item .right-receive {
|
color: #19ad57 !important;
|
}
|
[data-theme='theme2'] .diy-coupon .coupon-item .right-receive {
|
color: #f55234 !important;
|
}
|
[data-theme='theme3'] .diy-coupon .coupon-item .right-receive {
|
color: #8d5b22 !important;
|
}
|
[data-theme='theme4'] .diy-coupon .coupon-item .right-receive {
|
color: #818641 !important;
|
}
|
[data-theme='theme5'] .diy-coupon .coupon-item .right-receive {
|
color: #8f7e6a !important;
|
}
|
[data-theme='theme6'] .diy-coupon .coupon-item .right-receive {
|
color: #1a8af8 !important;
|
}
|
.diy-coupon .coupon-item .right-receive .lr-tb {
|
width: 26rpx;
|
}
|
.diy-coupon .coupon-item .no-receive {
|
background: #acacac !important;
|
color: #ffffff;
|
}
|
.op8 {
|
opacity: 0.8;
|
}
|