271 lines
5.9 KiB
Plaintext
271 lines
5.9 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.m-tab {
|
||
position: fixed;
|
||
width: 100%;
|
||
top: 0px;
|
||
z-index: 2;
|
||
}
|
||
.m-navbar-item {
|
||
padding: 20rpx 0;
|
||
font-size: 24rpx;
|
||
width: 144rpx;
|
||
}
|
||
.m-navbar-item ._i {
|
||
font-size: 0rpx;
|
||
line-height: 0;
|
||
vertical-align: middle;
|
||
display: inline-block;
|
||
width: 0rpx;
|
||
height: 0rpx;
|
||
margin-left: 9.375rpx;
|
||
border-width: 9.375rpx;
|
||
border-color: #aaa transparent transparent transparent;
|
||
border-style: solid dashed dashed dashed;
|
||
}
|
||
.m-navbar-item:after {
|
||
border: none;
|
||
}
|
||
.m-navbar-item.m-navbar-item-on {
|
||
background-color: #fff;
|
||
color: #f30213;
|
||
}
|
||
.m-navbar-item.m-navbar-item-on::before {
|
||
content: " ";
|
||
position: absolute;
|
||
left: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
height: 6rpx;
|
||
border-bottom: 6rpx solid #f30213;
|
||
color: #cccccc;
|
||
-webkit-transform-origin: 0 100%;
|
||
transform-origin: 0 100%;
|
||
-webkit-transform: scaleY(0.5);
|
||
transform: scaleY(0.5);
|
||
z-index: 3;
|
||
}
|
||
.m-scrollBox {
|
||
padding: 96rpx 10rpx 0rpx;
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
box-sizing: border-box;
|
||
width: 100%;
|
||
margin-bottom: 58rpx;
|
||
}
|
||
.coupon-box {
|
||
padding-top: 100rpx;
|
||
}
|
||
/* .coupon-box{padding:0 10rpx} */
|
||
.coupon-item {
|
||
display: flex;
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/coupon/use-coupon.png) no-repeat;
|
||
background-size: cover;
|
||
position: relative;
|
||
}
|
||
.cl {
|
||
width: auto;
|
||
flex-grow: 1;
|
||
box-sizing: border-box;
|
||
padding: 10rpx 20rpx 10rpx 30rpx;
|
||
}
|
||
.clt {
|
||
height: 53rpx;
|
||
font-size: 28rpx;
|
||
line-height: 53rpx;
|
||
color: #3a3a3a;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
width: 380rpx;
|
||
}
|
||
.clb {
|
||
align-items: center;
|
||
border-bottom: 1px dashed #d5d5d5;
|
||
flex-wrap: wrap;
|
||
width: 100%;
|
||
}
|
||
.clb-where {
|
||
font-size: 24rpx;
|
||
color: #db384c;
|
||
line-height: 40rpx;
|
||
}
|
||
.clb-time {
|
||
font-size: 24rpx;
|
||
color: #999;
|
||
line-height: 48rpx;
|
||
}
|
||
.cr {
|
||
flex-basis: 50%;
|
||
height: 200rpx;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
box-sizing: border-box;
|
||
padding: 0 0 20rpx 0;
|
||
color: #fff;
|
||
flex-direction: column;
|
||
}
|
||
.crt {
|
||
font-size: 70rpx;
|
||
}
|
||
.crt label {
|
||
font-size: 28rpx;
|
||
display: inline-block;
|
||
}
|
||
.crb {
|
||
border-radius: 8rpx;
|
||
border: 1px solid #edf0f1;
|
||
font-size: 24rpx;
|
||
padding: 0 20rpx;
|
||
line-height: 40rpx;
|
||
}
|
||
.is-user {
|
||
-webkit-filter: grayscale(100%);
|
||
filter: grayscale(100%);
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/coupon/un-coupon.png) no-repeat;
|
||
background-size: cover;
|
||
}
|
||
.is-user::after {
|
||
content: "";
|
||
position: absolute;
|
||
width: 178rpx;
|
||
height: 142rpx;
|
||
right: 200rpx;
|
||
top: 50%;
|
||
margin-top: -71rpx;
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/coupon/already.png) no-repeat;
|
||
background-size: cover;
|
||
}
|
||
.is-overdue {
|
||
-webkit-filter: grayscale(100%);
|
||
filter: grayscale(100%);
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/coupon/un-coupon.png) no-repeat;
|
||
background-size: cover;
|
||
}
|
||
.is-overdue::after {
|
||
content: "";
|
||
position: absolute;
|
||
width: 178rpx;
|
||
height: 142rpx;
|
||
right: 200rpx;
|
||
top: 50%;
|
||
margin-top: -71rpx;
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/coupon/overdue.png) no-repeat;
|
||
background-size: cover;
|
||
}
|
||
.u-back2 image {
|
||
border-radius: 100%;
|
||
width: 77rpx;
|
||
height: 77rpx;
|
||
border: 1px solid #eee;
|
||
font-size: 20rpx;
|
||
text-align: center;
|
||
background-color: #fff;
|
||
box-shadow: 0px 4rpx 8rpx rgba(0, 0, 0, 0.35);
|
||
z-index: 999;
|
||
opacity: 0.8;
|
||
line-height: 77rpx;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
.m-coupon-more {
|
||
width: 411rpx;
|
||
line-height: 55rpx;
|
||
display: flex;
|
||
}
|
||
.my_coupon {
|
||
width: 100%;
|
||
height: 108rpx;
|
||
background: #fff;
|
||
position: fixed;
|
||
bottom: 0;
|
||
}
|
||
.my_coubut {
|
||
width: 93%;
|
||
margin: 16rpx auto;
|
||
height: 79rpx;
|
||
background: #f30213;
|
||
border-radius: 10px;
|
||
font-size: 28rpx;
|
||
color: #ffffff;
|
||
text-align: center;
|
||
line-height: 79rpx;
|
||
}
|
||
.scroll-view_H {
|
||
width: 100%;
|
||
white-space: nowrap;
|
||
height: 84rpx;
|
||
}
|
||
.scroll-view_H .m-navbar-item {
|
||
display: inline-block;
|
||
padding-left: 20rpx;
|
||
padding-right: 20rpx;
|
||
min-width: 110rpx;
|
||
}
|
||
.uni-padding-wrap {
|
||
overflow: hidden;
|
||
}
|
||
.uni-common-mt {
|
||
margin-top: 30rpx;
|
||
}
|
||
.tag-view {
|
||
margin: 10rpx 0rpx;
|
||
display: inline-block;
|
||
}
|
||
.p-lists {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
}
|
||
.p-lists .uni-tag {
|
||
width: 110rpx;
|
||
height: 70rpx;
|
||
margin-right: 16rpx;
|
||
margin-bottom: 4rpx;
|
||
background: #f5f5f5;
|
||
border-radius: 18rpx;
|
||
border: 2rpx solid #f5f5f5;
|
||
font-size: 24rpx;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
font-weight: 400;
|
||
color: #222222 !important;
|
||
line-height: 70rpx;
|
||
text-align: center;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.p-lists .uni-tag--ss {
|
||
border: 2rpx solid #f30213;
|
||
background-color: #f7e9e9;
|
||
}
|
||
.p-lists .ss-uni-tag--inverted {
|
||
background-color: #f5f5f5;
|
||
border: 2rpx solid #f5f5f5;
|
||
}
|
||
|