EP-WachatApp/app.wxss

404 lines
6.8 KiB
Plaintext

@import "/icon.wxss";
@import "/common.wxss";
page {
background-color: #f6f6f6;
font-size: 28rpx;
font-weight: 400;
color: #333;
}
.i-load-more {
width: 65%;
font-size: 24rpx;
display: flex;
align-items: center;
justify-content: center;
margin: 60rpx auto;
}
.i-load-more-loading {
display: inline-block;
margin-right: 24rpx;
vertical-align: middle;
width: 28rpx;
height: 28rpx;
background: 0 0;
border-radius: 50%;
border: 4rpx solid #e9eaec;
border-color: #e9eaec #e9eaec #e9eaec #2d8cf0;
animation: btn-spin 0.6s linear;
animation-iteration-count: infinite;
}
.i-load-more-tip {
display: inline-block;
vertical-align: middle;
color: #999;
}
.i-load-more-line {
display: flex;
border-top: 0;
}
.i-load-more-line .i-load-more-tip {
position: relative;
top: -.1em;
padding: 0 0.55em;
}
.i-load-more-empty {
width: 8rpx;
height: 8rpx;
border-radius: 50%;
background-color: #e5e5e5;
display: inline-block;
position: relative;
vertical-align: 0;
top: -.16em;
}
@-webkit-keyframes btn-spin {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
@keyframes btn-spin {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
/**首页规格弹窗begin ***/
.sku-content {
position: fixed;
bottom: 0px;
z-index: 9999;
}
.sku-card {
width: 750rpx;
box-sizing: border-box;
border-radius: 30rpx 30rpx 0 0;
background: #fff;
overflow: hidden;
padding-bottom: constant(safe-area-inset-bottom);
}
.sku-card .close {
position: absolute;
right: 28rpx;
top: 28rpx;
width: 40rpx;
height: 40rpx;
display: flex;
align-items: center;
justify-content: center;
}
.sku-card .close image {
width: 26rpx;
height: 26rpx;
}
.sku-card .sku-header {
display: flex;
align-items: flex-start;
margin: 40rpx;
}
.sku-card .sku-header .sku-img {
width: 180rpx;
height: 180rpx;
border-radius: 20rpx;
margin-right: 30rpx;
box-shadow: 0 0 15rpx rgba(0,0,0,0.1);
}
.sku-card .sku-header .sku-img image {
border: none;
}
.sku-card .sku-header .sku-desc {
display: flex;
flex-direction: column;
}
.sku-card .sku-header .sku-desc .sku-title {
width: 390rpx;
min-height: 60rpx;
margin-bottom: 16rpx;
color: #444;
font-weight: bold;
position: relative;
}
.sku-card .sku-header .sku-desc .sku-title span {
position: absolute;
width: 390rpx;
height: 60rpx;
left: 0;
top: 0;
font-size: 26rpx;
line-height: 31rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: initial;
white-space: normal;
}
.sku-card .sku-header .sku-price {
display: flex;
align-items: flex-end;
margin-bottom: 12rpx;
font-size: 24rpx;
line-height: 24rpx;
}
.sku-card .sku-header .sku-price .sale-price {
color: #ff758c;
font-family: DIN;
margin-right: 12rpx;
margin-bottom: -4rpx;
}
.sku-card .sku-header .sku-price .sale-price span {
font-size: 56rpx;
line-height: 56rpx;
margin-left: 8rpx;
font-weight: bold;
}
.sku-card .sku-header .sku-price .market-price {
font-family: DIN;
text-decoration: line-through;
color: #999;
margin-right: 30rpx;
}
.sku-card .sku-header .sku-switch-on {
font-size: 24rpx;
color: #444;
}
.sku-card .sku-msg {
width: 670rpx;
margin: 0 auto 60rpx;
border-radius: 16rpx;
background: linear-gradient(to right,#fff7f0,#fff4ec);
display: flex;
align-items: flex-start;
padding: 20rpx;
color: #4facfe;
box-sizing: border-box;
}
.sku-card .sku-msg .tag {
border-radius: 16rpx;
border: 1rpx solid #4facfe;
font-size: 20rpx;
line-height: 28rpx;
font-weight: 500;
padding: 0 8rpx;
margin-right: 8rpx;
color: #4facfe;
white-space: nowrap;
vertical-align: middle;
}
.sku-card .sku-msg .sku-activity-msg {
color: #ca7e57;
font-size: 24rpx;
line-height: 32rpx;
width: 540rpx;
font-weight: 500;
}
.sku-card .sku-spec {
width: 670rpx;
margin: 0 auto 40rpx;
display: flex;
align-items: flex-start;
}
.sku-card .sku-spec .title {
font-size: 26rpx;
line-height: 50rpx;
margin-right: 8rpx;
}
.sku-card .sku-spec .spec-list {
width: 600rpx;
display: flex;
flex: 1;
flex-wrap: wrap;
}
.sku-card .sku-spec .spec-list span {
position: relative;
height: 46rpx;
background: #f6f6f6;
border: 2rpx solid #f6f6f6;
text-align: center;
line-height: 46rpx;
font-size: 26rpx;
margin: 0 8rpx 20rpx 0;
color: #666;
border-radius: 46rpx;
padding: 0 30rpx;
display: block;
white-space: nowrap;
}
.sku-card .sku-spec .spec-list .on {
border-color: #00f2fe;
color: #4facfe;
background: #fff;
}
.sku-card .sku-spec .spec-list .disabled {
color: #ccc;
}
.sku-card .sku-num-content {
width: 670rpx;
margin: 0 auto 26rpx;
display: flex;
align-items: center;
}
.sku-card .sku-num-content .title {
width: 80rpx;
font-size: 26rpx;
line-height: 50rpx;
}
.sku-card .sku-num-content .msg {
width: 420rpx;
color: #aaa;
font-size: 26rpx;
line-height: 50rpx;
text-align: right;
}
.sku-card .sku-num-content .even-num {
width: 420rpx;
color: #4facfe;
font-size: 26rpx;
line-height: 50rpx;
white-space: nowrap;
text-align: right;
}
.sku-card .sku-confirm {
width: 750rpx;
background: linear-gradient(90deg, #e7614d 0%, #e68475 100%);
line-height: 96rpx;
text-align: center;
color: #fff;
font-size: 30rpx;
margin: 0;
padding: 0;
border-radius: 0;
font-weight: bold;
border-radius: 20px 20px 0px 0px;
padding-bottom: calc(env(safe-area-inset-bottom) - 30rpx);
}
.sku-card button.sku-confirm::after{
border: 0;
}
.sku-card button[disabled].sku-confirm{
background: #f6f6f6;
}
.i-input-number {
color: #495060;
display: flex;
align-items: center;
position: relative;
}
.i-input-number view {
width: 48rpx;
height: 48rpx;
display: inline-block;
vertical-align: middle;
}
.i-input-number view image {
width: 48rpx;
height: 48rpx;
}
.i-input-number-minus {
border-right: none;
border-radius: 4rpx 0 0 4rpx;
}
.i-input-number-plus {
border-left: none;
border-radius: 0 4rpx 4rpx 0;
}
.i-input-number-text {
text-align: center;
height: 48rpx;
width: 66rpx;
font-size: 24rpx;
line-height: 48rpx;
color: #495060;
z-index: 0;
}
/**首页规格弹出end***/
.mask {
width: 100%;
height: 100%;
background: #000;
position: fixed;
left: 0;
top: 0;
z-index: 99;
line-height: 80rpx;
opacity: 0.5;
}
/* 订单提醒begin */
.order-notify {
position: fixed;
left: 0;
top: calc(env(safe-area-inset-top) + 200rpx);
z-index: 200;
}
/* 订单提醒end */
image {
will-change: transform;
}
.bgDisabled {
background: #ccc!important;
}
/* 安全区域 */
.safebottom {
padding-bottom: env(safe-area-inset-bottom) !important;
/* padding-bottom: 20rpx!important; */
}