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
|
|
|
|
.md-goods-card.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 424rpx;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .icon-box.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10rpx;
|
|
|
|
|
left: 20rpx;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 136rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .icon-box .icon.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
border-radius: 20rpx 0px 20rpx 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .icon-box .title.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-goods-content.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.02) 100%);
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-img-box.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
-o-object-fit: cover;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.md-goods-card .md-goods-title.data-v-bb816814 {
|
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-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 400rpx;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .icon-box.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10rpx;
|
|
|
|
|
left: 20rpx;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
width: 136rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .icon-box .icon.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
border-radius: 20rpx 0px 20rpx 20rpx;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .icon-box .title.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-content.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.02) 100%);
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-img-box.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
-o-object-fit: cover;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-title.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
width: 100%;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
2024-10-01 09:15:35 +08:00
|
|
|
|
.sl-goods-card .sl-goods-subtitle.data-v-bb816814 {
|
2024-09-19 07:20:14 +08:00
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #999999;
|
|
|
|
|
}
|