159 lines
3.4 KiB
Plaintext
159 lines
3.4 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;
|
||
}
|
||
.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;
|
||
}
|
||
.m-coupon-list {
|
||
margin-top: 36rpx;
|
||
}
|
||
.m-coupon-item {
|
||
width: 700rpx;
|
||
height: 192rpx;
|
||
margin: 10rpx auto;
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/Coupon_V2.png) no-repeat;
|
||
background-size: contain;
|
||
box-sizing: border-box;
|
||
padding: 12rpx;
|
||
}
|
||
.m-coupon-item.off {
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/Coupon_off.png) no-repeat;
|
||
background-size: contain;
|
||
}
|
||
.m-coupon-info {
|
||
float: left;
|
||
width: 485rpx;
|
||
margin-left: 30rpx;
|
||
margin-top: 9.5rpx;
|
||
}
|
||
.m-coupon-btn {
|
||
float: left;
|
||
width: 110rpx;
|
||
margin-left: 30rpx;
|
||
line-height: 35rpx;
|
||
text-align: center;
|
||
font-size: 24rpx;
|
||
color: #fff;
|
||
}
|
||
.btn-coupon {
|
||
display: inline-block;
|
||
width: 28rpx;
|
||
}
|
||
.btn-coupon-gray {
|
||
color: #389b33;
|
||
font-weight: bold;
|
||
}
|
||
.m-coupon-text {
|
||
float: left;
|
||
width: 300rpx;
|
||
}
|
||
.m-coupon-text label {
|
||
display: inline-block;
|
||
color: #333;
|
||
font-size: 28rpx;
|
||
width: 350rpx;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
line-height: 32rpx;
|
||
}
|
||
.m-coupon-text text {
|
||
display: inline-block;
|
||
width: 350rpx;
|
||
font-size: 24rpx;
|
||
color: #888;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
line-height: 32rpx;
|
||
}
|
||
.m-coupon-price {
|
||
float: left;
|
||
height: 132rpx;
|
||
color: #f30213;
|
||
font-weight: bold;
|
||
line-height: 132rpx;
|
||
width: 180rpx;
|
||
position: relative;
|
||
font-size: 64rpx;
|
||
}
|
||
.price-content-box {
|
||
position: absolute;
|
||
left: -35rpx;
|
||
text-align: center;
|
||
width: 220rpx;
|
||
}
|
||
.price-content-box label {
|
||
font-size: 32rpx;
|
||
}
|
||
.closeRPK {
|
||
width: 50rpx;
|
||
height: 50rpx;
|
||
position: absolute;
|
||
left: 50%;
|
||
margin-left: -30rpx;
|
||
bottom: -80rpx;
|
||
}
|
||
|