@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .m-scrollBox { padding: 10rpx 10rpx 0rpx; position: absolute; top: 0; left: 0; box-sizing: border-box; width: 100%; height: 100%; } .m-coupon-item { margin: 10rpx 10rpx 20rpx; position: relative; width: 100%; height: 190rpx; } .m-coupon-item .item-bg { width: 710rpx; height: 190rpx; position: absolute; left: 0; top: 0; } .coupon-item-left { position: absolute; color: white; text-align: center; width: 250rpx; padding: 25rpx 0rpx; } .item-left-top { line-height: 100rpx; font-weight: bold; } .item-left-top label { font-size: 90rpx; } .item-left-bottom { font-size: 24rpx; } .coupon-item-right { position: absolute; left: 250rpx; top: 0; width: 420rpx; height: 170rpx; padding: 10rpx 20rpx; font-size: 22rpx; color: gray; } .item-title { line-height: 40rpx; font-size: 28rpx; height: 80rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .item-title-black { color: #333; } .item-middle { height: 50rpx; line-height: 50rpx; font-size: 24rpx; } .item-usenow { font-size: 24rpx; border: 1px solid #f30213; float: right; color: #f30213; border-radius: 40rpx; padding: 0 15rpx; position: relative; top: -8rpx; line-height: 40rpx; } .item-desc { height: 50rpx; line-height: 50rpx; margin-top: 5rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; } .image-checked { position: absolute; right: 20rpx; bottom: 0; width: 50rpx; height: 50rpx; }