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