2024-09-19 07:20:14 +08:00
|
|
|
|
/* stylelint-disable comment-empty-line-before */
|
|
|
|
|
/**
|
|
|
|
|
* 这里是uni-app内置的常用样式变量
|
|
|
|
|
*
|
|
|
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
|
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
/**
|
|
|
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
|
|
|
*
|
|
|
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
|
|
|
*/
|
|
|
|
|
/* 颜色变量 */
|
|
|
|
|
/* 行为相关颜色 */
|
|
|
|
|
/* 文字基本颜色 */
|
|
|
|
|
/* 背景颜色 */
|
|
|
|
|
/* 边框颜色 */
|
|
|
|
|
/* 尺寸变量 */
|
|
|
|
|
/* 文字尺寸 */
|
|
|
|
|
/* 图片尺寸 */
|
|
|
|
|
/* Border Radius */
|
|
|
|
|
/* 水平间距 */
|
|
|
|
|
/* 垂直间距 */
|
|
|
|
|
/* 透明度 */
|
|
|
|
|
/* 文章场景相关 */
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.tag-icon-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.tag-icon-box .tag-icon.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 72rpx;
|
|
|
|
|
height: 44rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.seckill-tag.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
width: 68rpx;
|
|
|
|
|
height: 38rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 32rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: linear-gradient(90deg, #ff5854 0%, #ff2621 100%);
|
|
|
|
|
border-radius: 10rpx 0px 10rpx 0px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.groupon-tag.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
width: 68rpx;
|
|
|
|
|
height: 38rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
line-height: 32rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: linear-gradient(90deg, #fe832a 0%, #ff6600 100%);
|
|
|
|
|
border-radius: 10rpx 0px 10rpx 0px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.goods-img.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.price-unit.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
margin-right: -4px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sales-text.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
display: table;
|
|
|
|
|
margin-left: 0rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #c4c4c4;
|
|
|
|
|
transform: scale(0.8);
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.activity-tag.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
padding: 0 10rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
line-height: 30rpx;
|
|
|
|
|
color: #ff0000;
|
|
|
|
|
border: 1px solid rgba(255, 0, 0, 0.25);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.goods-origin-price.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
color: #c4c4c4;
|
|
|
|
|
text-decoration: line-through;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.xs-goods-card.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.xs-goods-card .xs-img-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 128rpx;
|
|
|
|
|
height: 128rpx;
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.xs-goods-card .xs-goods-title.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.xs-goods-card .xs-goods-price.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
color: #ff3000;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sm-goods-card.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sm-goods-card .sm-img-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 208rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sm-goods-card .sm-goods-content.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: 20rpx 16rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sm-goods-card .sm-goods-title.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sm-goods-card .sm-goods-price.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
color: #ff3000;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-img-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-goods-title.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-goods-subtitle.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-goods-price.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
color: #ff3000;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .cart-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
right: 20rpx;
|
|
|
|
|
bottom: 50rpx;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
width: 54rpx;
|
|
|
|
|
height: 54rpx;
|
|
|
|
|
background: linear-gradient(90deg, #fe8900, #ff5e00);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .cart-box .cart-icon.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 30rpx;
|
|
|
|
|
height: 30rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
height: 280rpx;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card .lg-img-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 280rpx;
|
|
|
|
|
height: 280rpx;
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card .lg-goods-title.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #333333;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card .lg-goods-subtitle.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card .lg-goods-price.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
color: #ff3000;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card .buy-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
right: 20rpx;
|
|
|
|
|
bottom: 20rpx;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: linear-gradient(90deg, #fe8900, #ff5e00);
|
|
|
|
|
border-radius: 25rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.lg-goods-card .tag-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-content.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: 20rpx 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-img-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 360rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-title.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-subtitle.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
line-height: 30rpx;
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-price.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
line-height: 36rpx;
|
|
|
|
|
color: #ff3000;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .buy-box.data-v-9bf049d6 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
right: 20rpx;
|
|
|
|
|
bottom: 20rpx;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
width: 148rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
background: linear-gradient(90deg, #fe8900, #ff5e00);
|
|
|
|
|
border-radius: 25rpx;
|
|
|
|
|
}
|