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.
|
|
|
|
@charset "UTF-8";
|
|
|
|
|
/**
|
|
|
|
|
* 这里是uni-app内置的常用样式变量
|
|
|
|
|
*
|
|
|
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
|
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
|
|
|
*
|
|
|
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
|
|
|
*/
|
|
|
|
|
/* 颜色变量 */
|
|
|
|
|
/* 行为相关颜色 */
|
|
|
|
|
/* 文字基本颜色 */
|
|
|
|
|
/* 背景颜色 */
|
|
|
|
|
/* 边框颜色 */
|
|
|
|
|
/* 尺寸变量 */
|
|
|
|
|
/* 文字尺寸 */
|
|
|
|
|
/* 图片尺寸 */
|
|
|
|
|
/* Border Radius */
|
|
|
|
|
/* 水平间距 */
|
|
|
|
|
/* 垂直间距 */
|
|
|
|
|
/* 透明度 */
|
|
|
|
|
/* 文章场景相关 */
|
|
|
|
|
.coupousAct {
|
|
|
|
|
width: 750rpx;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
border-radius: 20rpx 20rpx 0rpx 0rpx;
|
|
|
|
|
padding: 24rpx 36rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.search-header {
|
|
|
|
|
width: 678rpx;
|
|
|
|
|
height: 92rpx;
|
|
|
|
|
background: #F8FAFB;
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding: 26rpx 0 26rpx 20rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.search-header .search-btn {
|
|
|
|
|
width: 144rpx;
|
|
|
|
|
height: 68rpx;
|
|
|
|
|
background: #D2D2D2;
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
line-height: 39rpx;
|
|
|
|
|
padding-top: 14rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.card {
|
|
|
|
|
width: 678rpx;
|
|
|
|
|
height: 206rpx;
|
|
|
|
|
background: #FEF1F0;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
padding: 24rpx;
|
|
|
|
|
margin-top: 32rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.card.inactive {
|
|
|
|
|
background: #F4F6F6;
|
|
|
|
|
color: #AFAFAF;
|
|
|
|
|
}
|
|
|
|
|
.card.inactive .left .price {
|
|
|
|
|
color: #222222;
|
|
|
|
|
}
|
|
|
|
|
.card.inactive .left .price::before {
|
|
|
|
|
color: #222222;
|
|
|
|
|
}
|
|
|
|
|
.card .left {
|
|
|
|
|
width: 422rpx;
|
|
|
|
|
height: 170rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #AFAFAF;
|
|
|
|
|
line-height: 34rpx;
|
|
|
|
|
text-align: left;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
border-right: 2rpx dashed #FFC7B8;
|
|
|
|
|
}
|
|
|
|
|
.card .left .price {
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
color: #FF0000;
|
|
|
|
|
line-height: 56rpx;
|
|
|
|
|
text-align: left;
|
|
|
|
|
margin-right: 12rpx;
|
|
|
|
|
}
|
|
|
|
|
.card .left .price::before {
|
|
|
|
|
content: '¥';
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #FF0000;
|
|
|
|
|
line-height: 34rpx;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
.card .right {
|
|
|
|
|
padding: 42rpx 16rpx 42rpx 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.card .right .active-btn {
|
|
|
|
|
width: 136rpx;
|
|
|
|
|
height: 74rpx;
|
|
|
|
|
background: #EE4D21;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
line-height: 34rpx;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.card .right .active-state {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: -38rpx;
|
|
|
|
|
right: -28rpx;
|
|
|
|
|
width: 130rpx;
|
|
|
|
|
height: 128rpx;
|
|
|
|
|
}
|
|
|
|
|
.card .circle {
|
|
|
|
|
width: 30rpx;
|
|
|
|
|
height: 30rpx;
|
|
|
|
|
border-radius: 15rpx;
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 216rpx;
|
|
|
|
|
}
|
|
|
|
|
.card .circle.top {
|
|
|
|
|
top: -16rpx;
|
|
|
|
|
}
|
|
|
|
|
.card .circle.bottom {
|
|
|
|
|
bottom: -16rpx;
|
|
|
|
|
}
|
|
|
|
|
|