Files
sykl-mall/pages/index/index.wxss
2023-10-15 10:30:16 +08:00

597 lines
9.3 KiB
Plaintext

page {
background-color: #f3f3f5;
}
/* 双节 */
.haveBack {
position: fixed;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
z-index: 999;
background-color: rgba(0, 0, 0, .5);
}
.haveCont {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-box-pack: center;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1000;
padding: 0 8%;
box-sizing: border-box;
text-align: center;
}
.haveCont-img {
width: 90%;
border-radius: 20rpx;
overflow: hidden;
display: block;
margin: 74rpx auto 0;
}
.haveCont-close {
width: 64rpx;
height: 64rpx;
margin-top: 10px;
}
/* 轮播 */
.page-section {
position: relative;
width: 100%;
height: 100vh;
}
.videoCover {
position: absolute;
width: 100%;
height: 100vh;
z-index: 1;
}
.page-swiper {
position: absolute;
width: 100%;
height: 100vh;
}
.page-swiper image {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
/* 头部 */
.drift {
position: fixed;
left: 0;
width: 100%;
padding: 30rpx 0;
box-sizing: border-box;
z-index: 99;
color: #ffffff;
display: flex;
}
.drift .title {
flex: 1;
font-weight: 600;
position: relative;
padding-bottom: 20rpx;
padding-left: 30rpx;
font-size: 40rpx;
text-shadow: 0 6rpx 6rpx rgba(0, 0, 0, .6);
}
.drift .title::after {
position: absolute;
content: '';
left: 45rpx;
bottom: 0;
background-color: #df723a;
width: 40rpx;
height: 6rpx;
border-radius: 10rpx;
}
.drift .balance {
font-size: 34rpx;
background-color: rgba(0, 0, 0, .3);
border-radius: 30rpx 0 0 30rpx;
padding: 0 20rpx;
height: 60rpx;
line-height: 60rpx;
display: flex;
box-shadow: 0 6rpx 6rpx rgba(0, 0, 0, .3);
text-shadow: 0 6rpx 6rpx rgba(0, 0, 0, .6);
}
.drift .balance image {
width: 46rpx;
height: 46rpx;
margin: 6rpx 5rpx 0 0;
}
/* 按钮 */
.backView {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 98;
background-color: rgba(0, 0, 0, .05);
}
.tips {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
text-align: center;
z-index: 99;
padding: 40rpx 0 90rpx;
box-sizing: border-box;
background-image: linear-gradient(to bottom, transparent, #26252a);
}
.tips .btn {
background-color: #ffffff;
display: inline-block;
border-radius: 80rpx;
padding: 0 50rpx;
line-height: 74rpx;
margin: 0 15rpx;
border: 2rpx solid transparent;
font-size: 30rpx;
}
.tips .btn.number {
background-color: rgba(0, 0, 0, .2);
border-color: #fff;
color: #fff;
}
.tips .btn.number image {
width: 48rpx;
height: 48rpx;
vertical-align: -12rpx;
margin-right: 5rpx;
}
.indexTop {
position: absolute;
bottom: 15rpx;
left: calc(50% - 27rpx);
width: 54rpx;
height: 54rpx;
z-index: 99;
opacity: .5;
}
/* 内容 */
.other {
padding: 0 30rpx 30rpx;
box-sizing: border-box;
}
.content {
background-color: #ffffff;
border-radius: 10rpx;
padding: 30rpx 30rpx 10rpx;
box-sizing: border-box;
}
.publicTitle {
margin-bottom: 30rpx;
position: relative;
}
.publicTitle text {
display: block;
text-transform: uppercase;
font-size: 42rpx;
margin-bottom: 5rpx;
}
.publicTitle .lighter {
display: flex;
font-weight: 200;
}
.publicTitle .lighter .article-more {
width: 32rpx;
height: 32rpx;
margin-left: 15rpx;
margin-top: 4rpx;
}
.goldenLogo {
position: absolute;
right: 0;
top: 10rpx;
width: 130rpx;
}
.other-swiper swiper {
background: #fff;
/* height: 400rpx; */
height: 500rpx;
}
.other-swiper .slide-image image {
position: absolute;
width: 100%;
height: calc(100% - 40rpx);
left: 0;
top: 0;
margin-top: 20rpx;
border-radius: 12rpx;
transition: .2s;
display: block;
}
/*图片的容器*/
.slide-image {
padding: 0 10rpx;
box-sizing: border-box;
}
.other-swiper .box {
display: inline-block;
width: 100%;
padding-top: 60%;
position: relative;
}
.other-swiper .slide-image image.active {
height: 100% !important;
margin: 0;
}
.other-swiper .othertitle {
width: 100%;
text-align: center;
margin-bottom: 10rpx;
}
.other-swiper .otherText {
font-weight: 200;
width: 100%;
font-size: 26rpx;
text-align: center;
line-height: 68rpx;
color: #999999;
position: relative;
}
.other-swiper .otherText::after,
.other-swiper .otherText::before {
position: absolute;
content: '';
width: 90rpx;
top: calc(50% - 1rpx);
background-color: #bdbdbd;
height: 2rpx;
}
.other-swiper .otherText::after {
left: 40rpx;
}
.other-swiper .otherText::before {
right: 40rpx;
}
.other-swiper .name {
width: 100%;
text-align: center;
color: #d5a56d;
font-size: 25rpx;
font-weight: normal;
}
/* 视频 */
.videos {
padding: 30rpx;
}
.videos-filex-view {
position: relative;
width: 100%;
padding-top: 50%;
border-radius: 20rpx;
overflow: hidden;
}
.videos-cover {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
}
.videos video {
position: absolute;
border-radius: 20rpx;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.videos-filex-view.filex {
position: fixed;
top: 0;
left: 0;
z-index: 99;
}
/* 用水指南 */
.guide {
overflow: hidden;
margin: 0 -10rpx;
}
.guide-label {
width: calc(50% - 20rpx);
margin: 0 10rpx 20rpx;
float: left;
background-image: linear-gradient(#f6f6f7, #f5f6fe);
border-radius: 15rpx;
padding: 10rpx 20rpx;
box-sizing: border-box;
position: relative;
}
.guide-top {
position: relative;
margin-bottom: 30rpx;
}
.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: 90rpx;
display: table;
line-height: 28rpx;
}
.guide-cell {
display: table-cell;
vertical-align: middle;
}
.guide-text text {
display: block;
font-size: 22rpx;
color: #333333;
font-weight: 200;
}
.guide-icon {
position: absolute;
width: 60rpx;
height: 60rpx;
right: 20rpx;
bottom: 20rpx;
}
/* 申请体验官 */
.brief-img {
border-radius: 10rpx;
overflow: hidden;
position: relative;
padding-top: 50%;
}
.brief-img image {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.brief-btn {
background-color: #6c78f8;
color: #fff;
border-radius: 40rpx;
text-align: center;
line-height: 84rpx;
margin: 30rpx 0 20rpx;
font-size: 28rpx;
}
/* 订购热线 */
.hotline .content {
padding: 30rpx;
}
.hotline-cont {
display: flex;
}
.hotline-head {
width: 90rpx;
height: 90rpx;
}
.hotline-text {
width: calc(100% - 184rpx);
margin: 0 20rpx;
}
.hotline-name {
margin-bottom: 15rpx;
line-height: 44rpx;
}
.hotline-tips {
color: #999999;
font-size: 24rpx;
font-weight: 200;
}
.hotline-tel {
width: 54rpx;
height: 54rpx;
margin-top: 20rpx;
}
/* 文章列表 */
.article {
padding: 0 30rpx 30rpx;
box-sizing: border-box;
}
/* 健康百科 */
.wiki {
margin-top: 60rpx;
}
.wiki-label {
background-color: #fff;
margin-bottom: 60rpx;
position: relative;
height: 150rpx;
border-radius: 10rpx;
}
.wiki-label:last-child {
margin-bottom: 0;
}
.wiki-label-img {
width: 160rpx;
height: 160rpx;
position: absolute;
top: -30rpx;
left: 20rpx;
border-radius: 10rpx 10rpx 0 0;
}
.wiki-label-cont {
position: absolute;
left: 0;
top: 0;
width: 100%;
padding: 20rpx 25rpx 20rpx 200rpx;
box-sizing: border-box;
}
.wiki-label-name {
font-size: 30rpx;
}
.wiki-label-name text {
text-transform: uppercase;
}
.wiki-label-text {
color: #999999;
font-size: 25rpx;
margin-top: 10rpx;
line-height: 30rpx;
font-weight: 200;
}
/* 记忆 */
.memory {
width: 100%;
background-size: cover;
position: relative;
overflow: hidden;
}
.teachers_b {
position: relative;
}
#slide {
margin: 0 auto;
width: 100%;
height: 530rpx;
position: relative;
}
.memoryLable {
background-color: #fff;
position: absolute;
width: 580rpx;
border-radius: 10rpx;
overflow: hidden;
}
.memory-img {
width: 580rpx;
height: 387rpx;
border-radius: 10rpx;
overflow: hidden;
}
.memory-cont {
padding: 20rpx 20rpx 30rpx;
box-sizing: border-box;
}
.memory-title {
display: flex;
}
.memory-name {
font-size: 30rpx;
flex: 1;
line-height: 40rpx;
margin-right: 20rpx;
}
.memory-go {
background-color: #f8f8f8;
font-size: 26rpx;
color: #d5a56d;
padding: 0 10rpx;
line-height: 40rpx;
border-radius: 10rpx;
}
.memory-text {
font-size: 26rpx;
color: #999;
margin-top: 10rpx;
font-weight: 200;
}
.slide_right {
padding: 40px;
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
min-width: 0;
}
.slide_right dl {
padding-top: 10px;
}