88 lines
1.2 KiB
Plaintext
88 lines
1.2 KiB
Plaintext
/* app.wxss */
|
|
.fade-in {
|
|
animation: fadeIn 0.5s;
|
|
}
|
|
|
|
.fade-out {
|
|
animation: fadeOut 0.5s;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeOut {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.temp-custom-navbar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
background-color: transparent;
|
|
position: relative;
|
|
}
|
|
|
|
/* 标题 */
|
|
.temp-navbar-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.temp-navbar-back {
|
|
color: var(--white-color);
|
|
}
|
|
|
|
.detail-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.detail-img {
|
|
width: 80%;
|
|
height: 50vh;
|
|
margin-top: 30rpx;
|
|
}
|
|
|
|
.goods-name {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.goods-info-box {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.deal-box {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.goods-price {
|
|
font-size: 42rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.deal-link {
|
|
color: var(--primary-color)
|
|
} |