You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
5.4 KiB
217 lines
5.4 KiB
@charset "UTF-8";
|
|
/**
|
|
* 这里是uni-app内置的常用样式变量
|
|
*
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
*
|
|
*/
|
|
/**
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
*
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
*/
|
|
/* 颜色变量 */
|
|
/* 行为相关颜色 */
|
|
/* 文字基本颜色 */
|
|
/* 背景颜色 */
|
|
/* 边框颜色 */
|
|
/* 尺寸变量 */
|
|
/* 文字尺寸 */
|
|
/* 图片尺寸 */
|
|
/* Border Radius */
|
|
/* 水平间距 */
|
|
/* 垂直间距 */
|
|
/* 透明度 */
|
|
/* 文章场景相关 */
|
|
.style-one .goods-box.data-v-beb77346 {
|
|
display: flex;
|
|
padding-top: 30rpx;
|
|
overflow: auto;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
.style-one .goods-box .goods-item.data-v-beb77346 {
|
|
border: 1rpx solid #eeeeee;
|
|
background-color: #ffffff;
|
|
width: 400rpx;
|
|
border-radius: 10rpx;
|
|
flex: 0 0 30%;
|
|
position: relative;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.style-one .goods-box .goods-item image.data-v-beb77346 {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
.style-one .goods-box .goods-item .goods-title.data-v-beb77346 {
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
.style-one .goods-box .goods-item .shop-btn.data-v-beb77346 {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
border-radius: 10rpx;
|
|
background-color: #ff4444;
|
|
color: #ffffff;
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
line-height: 50rpx;
|
|
position: absolute;
|
|
right: 10rpx;
|
|
bottom: 10rpx;
|
|
}
|
|
.style-one .goods-box.data-v-beb77346::after {
|
|
content: '';
|
|
flex: 0 0 32%;
|
|
/* 或者flex: 1 */
|
|
}
|
|
.style-four.data-v-beb77346 {
|
|
display: flex;
|
|
overflow: auto hidden;
|
|
}
|
|
.style-four .four-item.data-v-beb77346 {
|
|
flex: 0 0 31.5%;
|
|
height: 380rpx;
|
|
border-radius: 10rpx;
|
|
margin-right: 20rpx;
|
|
position: relative;
|
|
background-color: #FFFFFF;
|
|
}
|
|
.style-four .four-item image.data-v-beb77346 {
|
|
width: 100%;
|
|
height: 216rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
.style-four .four-item .goods-title.data-v-beb77346 {
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
.style-four .four-item .shop-btn.data-v-beb77346 {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
border-radius: 10rpx;
|
|
background-color: #ff4444;
|
|
color: #ffffff;
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
line-height: 50rpx;
|
|
position: absolute;
|
|
right: 10rpx;
|
|
bottom: 10rpx;
|
|
}
|
|
.style-two.data-v-beb77346 {
|
|
width: 100%;
|
|
min-height: 100px;
|
|
}
|
|
.style-two .goodsTwoBox.data-v-beb77346 {
|
|
overflow: auto;
|
|
padding: 0 20rpx 20rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem.data-v-beb77346 {
|
|
flex: 0 0 182rpx;
|
|
background-color: #ffffff;
|
|
border: 1rpx solid #eeeeee;
|
|
border-radius: 10rpx;
|
|
margin-right: 20rpx;
|
|
box-sizing: 10rpx;
|
|
overflow: hidden;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem image.data-v-beb77346 {
|
|
width: 100%;
|
|
height: 150rpx;
|
|
box-sizing: 10rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem .content.data-v-beb77346 {
|
|
padding: 0 10rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem .goods-title.data-v-beb77346 {
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem .price-box.data-v-beb77346 {
|
|
background: #fff2f2;
|
|
margin: 0 0rpx;
|
|
height: 42rpx;
|
|
line-height: 34rpx;
|
|
position: relative;
|
|
margin-bottom: 10rpx;
|
|
padding-left: 10rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem .price-box .goodsBtn.data-v-beb77346 {
|
|
position: absolute;
|
|
width: 66rpx;
|
|
height: 66rpx;
|
|
border-radius: 50%;
|
|
background-color: #ffffff;
|
|
right: -10rpx;
|
|
top: -10rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsTwoItem .price-box .shop-btn.data-v-beb77346 {
|
|
position: absolute;
|
|
left: 30rpx;
|
|
top: 6rpx;
|
|
-webkit-transform: translate(-50%);
|
|
transform: translate(-50%);
|
|
height: 46rpx;
|
|
width: 46rpx;
|
|
border-radius: 50%;
|
|
background-color: #ff4444;
|
|
line-height: 46rpx;
|
|
font-size: 26rpx;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
}
|
|
.style-two .goodsTwoBox .goodsThreeItem.data-v-beb77346 {
|
|
padding: 20rpx;
|
|
border: 1rpx solid #EEEEEE;
|
|
background-color: #FFFFFF;
|
|
border-radius: 10rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsThreeItem .img.data-v-beb77346 {
|
|
flex: 0.38;
|
|
}
|
|
.style-two .goodsTwoBox .goodsThreeItem .img image.data-v-beb77346 {
|
|
width: 100%;
|
|
height: 230rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsThreeItem .content.data-v-beb77346 {
|
|
flex: 0.62;
|
|
padding-left: 20rpx;
|
|
}
|
|
.style-two .goodsTwoBox .goodsThreeItem .content .name.data-v-beb77346 {
|
|
font-size: 30rpx;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
}
|
|
.style-two .goodsTwoBox .goodsThreeItem .content .content-btn.data-v-beb77346 {
|
|
width: 140rpx;
|
|
height: 50rpx;
|
|
line-height: 50rpx;
|
|
border-radius: 10rpx;
|
|
background-color: #FF4444;
|
|
color: #FFFFFF;
|
|
font-size: 26rpx;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
}
|
|
|
|
|