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.
zhishifufei_uniapp/static/style/base2.scss

245 lines
3.3 KiB

10 months ago
@charset "UTF-8";
/**
*相关初始化
*/
.color-red {
color: #f15f60 !important;
}
.color-green {
color: #52c87a !important;
}
.color-yellow {
color: #ffba00 !important;
}
.color-orange {
color: #f8693c !important;
}
.color-blue {
color: #30d1ff !important;
}
.font30 {
font-size: 32rpx !important;
}
.font32 {
font-size: 32rpx !important;
}
/* padding20 */
.padding20 {
padding: 20rpx;
}
/* pad20 */
.pad20 {
padding: 0 20rpx;
}
/* padding30 */
.padding30 {
padding: 30rpx;
}
/*pad30 */
.pad30 {
padding: 0 30rpx;
}
/* pad-left20 */
.pad-left20 {
padding-left: 20rpx;
}
/* margin-top:10 */
.martop10 {
margin-top: 10rpx;
}
/* margin-top:15 */
.martop15 {
margin-top: 15rpx;
}
/* margin-top:15 */
.martop20 {
margin-top: 20rpx;
}
/* martop108 */
.martop108 {
margin-top: 108rpx !important;
}
.mar0 {
margin: 0 !important;
}
.label-text {
display: inline-block;
margin-left: 10rpx;
padding: 0 4rpx;
font-size: 18rpx !important;
color: #ffffff;
border-radius: 3px;
}
.label-text.post-txt {
background-color: #ff3d3d;
}
.label-text.send-txt {
background-color: #4eb047;
}
.label-text.new-txt {
background-color: #ff8a00;
}
.price {
font-size: 32rpx;
color: #ff0300;
}
.price i {
font-style: normal;
font-size: 22rpx;
}
.price span {
// font-size: 28rpx;
}
.old-price {
font-size: 24rpx;
color: #999999;
}
/* layout */
.acea-row {
display: flex;
flex-wrap: wrap;
/* 辅助类 */
}
.acea-row.row-middle {
align-items: center;
}
.acea-row.row-bottom {
align-items: flex-end;
}
.acea-row.row-center {
justify-content: center;
}
.acea-row.row-right {
justify-content: flex-end;
}
.acea-row.row-between {
justify-content: space-between;
}
.acea-row.row-column {
flex-direction: column;
}
/* 竖排组合 */
.acea-row.row-column-all {
flex-direction: column;
justify-content: space-between;
}
/* 横排组合 */
.acea-row.row-wrap-all {
align-items: center;
justify-content: space-between;
}
/* 上下左右垂直居中 */
.acea-row.row-center-wrapper {
align-items: center;
justify-content: center;
}
/* 上下两边居中对齐 */
.acea-row.row-between-wrapper {
align-items: center;
justify-content: space-between;
}
/* acea-row-pad20 */
.acea-row-pad20 {
padding: 0 20rpx;
}
/* box-card-20 */
.box-card-20 {
padding: 20rpx;
background-color: #ffffff;
}
/* box-card-pad20 */
.box-card-pad20 {
padding: 0 20rpx;
background-color: #ffffff;
}
/* box-card-30 */
.box-card-30 {
padding: 30rpx;
background-color: #ffffff;
}
/* radius-box */
.radius-box {
border-radius: 5px;
background-color: #ffffff;
}
/* 轮播图 */
.slider-banner {
position: relative;
width: 100%;
overflow: hidden;
}
.slider-banner img {
display: block;
width: 100%;
height: auto;
}
.slider-banner .swiper-pagination-bullet-active {
background-color: #ffffff;
}
.img-box img {
display: block;
width: 100%;
height: 100%;
}
.avatar img {
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
}
/* 动画 */
@keyframes progress {
from {
background-position: 0;
}
to {
background-position: 480rpx;
}
}
@keyframes bgshow {
0% {
opacity: 0;
filter: alpha(opacity=0);
}
50% {
opacity: 0.5;
filter: alpha(opacity=50);
}
100% {
opacity: 1;
filter: none;
}
}