342 lines
5.0 KiB
Plaintext
342 lines
5.0 KiB
Plaintext
/* 顶部 */
|
|
.navigation {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 999;
|
|
width: 100%;
|
|
height: 90rpx;
|
|
background-color: transparent;
|
|
transition: .5s;
|
|
}
|
|
|
|
.navigation.active {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.navigation-arrow {
|
|
width: 120rpx;
|
|
margin-left: 40rpx;
|
|
}
|
|
|
|
.page-section {
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.videoCover,
|
|
.page-swiper {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.indexTop {
|
|
position: absolute;
|
|
bottom: 30rpx;
|
|
left: calc(50% - 42rpx);
|
|
transform: rotate(180deg);
|
|
width: 84rpx;
|
|
height: 84rpx;
|
|
opacity: .5;
|
|
}
|
|
|
|
/* 白色背景 */
|
|
.pageWrite {
|
|
position: fixed;
|
|
height: 80vh;
|
|
top: 20vh;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: #ffffff;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* 布局 */
|
|
.layout {
|
|
position: absolute;
|
|
top: 100vh;
|
|
left: 0;
|
|
z-index: 9;
|
|
width: 100vw;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
/* 商品 */
|
|
.goods {
|
|
position: relative;
|
|
padding-top: 100%;
|
|
}
|
|
.goodsBack,
|
|
.goodsCont {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.goodsCont {
|
|
padding: 50rpx 40rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.goodsCont-title-word {
|
|
text-transform: uppercase;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.goodsCont-title-text {
|
|
font-size: 40rpx;
|
|
line-height: 64rpx;
|
|
}
|
|
|
|
.goodsCont-title-text .article-more {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
margin-left: 15rpx;
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.goodsCont-title-text text {
|
|
padding-left: 20rpx;
|
|
}
|
|
|
|
.goodsCont-product {
|
|
display: flex;
|
|
position: absolute;
|
|
bottom: 15%;
|
|
left: 0;
|
|
}
|
|
|
|
.goodsCont-product-img {
|
|
width: 340rpx;
|
|
display: block;
|
|
}
|
|
|
|
.goodsCont-product-name {
|
|
font-weight: 600;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.goodsCont-product-tips {
|
|
margin: 15rpx 0 20rpx;
|
|
}
|
|
|
|
.goodsCont-product-price {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.goodsCont-product-price text {
|
|
font-size: 60rpx;
|
|
}
|
|
|
|
.goodsCont-product-btn {
|
|
background-color: #333333;
|
|
display: inline-block;
|
|
color: #ffffff;
|
|
border-radius: 100rpx;
|
|
line-height: 72rpx;
|
|
padding: 0 40rpx;
|
|
margin-top: 30rpx;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
/* 用水指南 */
|
|
.other {
|
|
padding: 0 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.guide {
|
|
overflow: hidden;
|
|
margin: 30rpx -10rpx;
|
|
}
|
|
|
|
.guide-label {
|
|
width: calc(50% - 20rpx);
|
|
margin: 0 10rpx 20rpx;
|
|
float: left;
|
|
background-image: linear-gradient(#f6f6f6, #f6f6f6);
|
|
border-radius: 15rpx;
|
|
padding: 25rpx 30rpx;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
}
|
|
|
|
.guide-top {
|
|
position: relative;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.guide-english {
|
|
text-transform: uppercase;
|
|
color: #dfdedf;
|
|
font-size: 34rpx;
|
|
}
|
|
|
|
.guide-name {
|
|
font-size: 32rpx;
|
|
position: absolute;
|
|
top: 18rpx;
|
|
left: 0;
|
|
z-index: 9;
|
|
}
|
|
|
|
.guide-text {
|
|
vertical-align: middle;
|
|
height: 94rpx;
|
|
display: table;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
.guide-cell {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.guide-text text {
|
|
display: block;
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
font-weight: 200;
|
|
}
|
|
|
|
.guide-icon {
|
|
position: absolute;
|
|
width: 70rpx;
|
|
height: 70rpx;
|
|
right: 25rpx;
|
|
bottom: 25rpx;
|
|
}
|
|
|
|
/* 健康百科 */
|
|
.sciences {
|
|
padding: 40rpx 30rpx;
|
|
box-sizing: border-box;
|
|
background-color: #f6f6f6;
|
|
}
|
|
|
|
.list {
|
|
margin-top: 30rpx;
|
|
}
|
|
|
|
.item {
|
|
background-color: #222222;
|
|
height: 200rpx;
|
|
display: flex;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.itemCont {
|
|
width: calc(100% - 300rpx);
|
|
padding: 30rpx;
|
|
box-sizing: border-box;
|
|
color: #ffffff;
|
|
height: 200rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.itemCont-tips {
|
|
color: #acacac;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.itemImg {
|
|
width: 300rpx;
|
|
height: 200rpx;
|
|
}
|
|
|
|
.itemCont-name {
|
|
position: absolute;
|
|
bottom: 40rpx;
|
|
left: 0;
|
|
font-weight: 300;
|
|
padding: 0 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 短视频 */
|
|
.brief {
|
|
position: relative;
|
|
width: 100vw;
|
|
}
|
|
|
|
.briefImg,
|
|
.briefCont {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.briefCont {
|
|
padding: 60rpx 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.briefCont-title {
|
|
color: #ffffff;
|
|
text-align: center;
|
|
}
|
|
|
|
.briefCont-title-word {
|
|
font-weight: 300;
|
|
text-transform: uppercase;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.briefCont-title-name {
|
|
font-size: 48rpx;
|
|
margin: 25rpx 0;
|
|
}
|
|
|
|
.briefCont-title-text {
|
|
font-weight: 300;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.videos {
|
|
margin-top: 60rpx;
|
|
}
|
|
|
|
.videos-filex-view {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 52%;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.videos-cover {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.videos video {
|
|
position: absolute;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.videos-filex-view.filex {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 99;
|
|
} |