@import "@/styles/_support.scss"; .page { font-size: $fontSize-M2; } .top-space { } .box { position: relative; margin-top: $marginMedium; } // banner 轮播 .banner-contaner { width: 100%; height: 502px; // height: 470px; margin: 0 auto; position: relative; z-index: 1; overflow: hidden; } // PC轮播 .banner-pc { display: block; position: absolute; z-index: 1; left: 50%; margin-left: -960px; top: 0; width: 1920px; height: 100%; overflow: hidden; .banner-img { width: 100%; height: 100%; } .btn-wrap { position: absolute; z-index: 2; // 两个banner图按钮位置不一样,和原先约定的按钮位置固定不一致 // 如要调整位置,请调整top,right。如需要右对齐请使用right // 已用padding适应文本过长的情况(英文等); // top: 272px; // left: 1228px; // top: 310px; top: 309px; left: 466px; display: flex; .banner-btn { @extend .pointer; @extend .bb; @include btc4(300px, 50px, $fontSizeTitle); font-size: 22px; width: auto; padding: 0 24px; min-width: 288px; margin-left: 12px; background: url("~@assets/images/vhis/vhis-btn.png"); } .banner-btn:lang(zh) { letter-spacing: 1.5px; } } } // 移动端轮播 .banner-mobile { display: none; .banner-img { width: 100%; // height: 579px; } .btn-wrap { position: absolute; z-index: 1; // top: 87%; bottom: 12%; left: 0; right: 0; margin: 0 auto; display: flex; justify-content: center; .banner-btn { font-size: $fontSizeSmall-M2; @extend .pointer; padding: 0 12px; color: $cOrange2; } } } // 导航菜单切换 .nav-tab { min-height: 100px; display: flex; justify-content: center; font-size: 22px; text-align: center; font-weight: bold; color: $cOrange2; // max-width: 1200px; width: 100%; margin: 0 auto; &-item { @extend .bb; @extend .fcc; border-right: solid 2px #ffffff; cursor: pointer; color: $cOrange2; background-color: #fff1ed; padding: 12px 30px; &:last-child { border-right: none; flex: 1; justify-content: flex-start; } &:first-child { flex: 1; justify-content: flex-end; } } &-item-act { color: #ffffff; @include linear-bg(); } } // 推荐 为什么选择平安人寿 .recommend { width: 1200px; margin: 100px auto 0; text-align: center; position: relative; .tit { color: $cOrange2; font-size: 36px; font-weight: bold; } .features { // display: flex; // justify-content: center; // align-items: flex-start; // margin: 44px auto 0; &-item { position: relative; text-align: center; font-size: 22px; width: 306px; margin: 24px auto; .icon { @extend .fcc; height: 164px; text-align: center; } .desc { max-width: 200px; margin: 16px auto 0; } } } .contact-tips { position: absolute; bottom: 0; right: 0; @include linear-bg(); padding: 0 24px; height: 52px; line-height: 52px; border-radius: 26px; font-size: 22px; font-weight: bold; color: #ffffff; cursor: pointer; .icon { background-image: url("~@/assets/images/index/icon-contact-tips.png"); @extend .bis; width: 35px; height: 31px; margin-top: 4px; margin-right: 10px; } } } // 线上报价 .quote { width: 100%; min-height: 1440px; margin: 52px auto 0; background-repeat: no-repeat; background-position: center; background-size: cover; .space1 { height: 540px; } .tit-wrap { height: 670px; display: flex; // align-items: flex-end; align-content: flex-end; flex-wrap: wrap; width: 100%; .tit { width: 100%; font-size: 36px; font-weight: bold; text-align: center; color: $cOrange2; &:lang(zh) { letter-spacing: 1.8px; } } .tit2 { width: 720px; margin: 40px auto 0; text-align: center; color: #ffffff; text-shadow: 0px 0px 16px rgba(0, 0, 0, 1); } } .table { // width: 1200px; width: 1062px; // background-color: wheat; // display: none; margin: 56px auto 0; &-tab { position: relative; width: 100%; display: flex; justify-content: space-between; &-item { background-image: url("~@/assets/images/index/index-tab.png"); @extend .bis; @extend .fcc; height: 73px; font-size: $fontSize-M2; color: $cOrange2; font-weight: bold; cursor: pointer; filter: drop-shadow(2px 0px 0px rgba(0, 0, 0, 0.3)); margin-left: -120px; &:first-child { margin-left: 0; } &:last-child { filter: none; } &-act { background-image: url("~@/assets/images/index/index-tab-act.png"); color: #ffffff; } } } .linear { @include linear-bg; height: 8px; margin: -5px auto 0; position: relative; z-index: 11; } &-cont { min-height: 384px; margin: 0 auto 0; position: relative; display: flex; .panel { // position: relative; width: 50%; } .panel-left { @include linear-bg; font-size: 22px; @extend .fcc; .desc { @extend .bb; padding: 48px; &-item { color: #ffffff; line-height: 1.6; &:lang() { letter-spacing: 1.1px; } } } } .panel-right { background-color: #ffffff; // @extend .fcc; .plugin { width: 100%; height: 100%; } .func { } // 产品好医时交互插件 性别和年龄选择 .func1 { &-item { display: flex; align-items: center; margin: 32px auto; .k { @extend .bb; padding-right: 12px; width: 120px; } .gender { display: flex; &-item { display: flex; align-items: center; margin-right: 30px; cursor: pointer; img { margin-left: 8px; } } } .age { .ipt-wrap-linear { width: 250px; .ipt-date { padding: 0 24px; width: 100%; background-color: #ffffff; border-radius: $borderRadius; @include border-tans; border-radius: 5px; } } } } } // 平安福 保费计算 插件 .func2 { @extend .bb; padding: 12px 32px; &-tit { font-size: 22px; font-weight: bold; text-align: center; color: $cOrange2; } &-tit2 { margin-top: 2px; font-size: $fontSize-M2; text-align: center; color: $cFontGray2; } // 滑动条 .slider { position: relative; max-width: 100%; margin: 38px auto 0; } // 滑动条 // .slider { // position: relative; // max-width: 100%; // margin: 0 auto; // &-bar { // position: relative; // @include linear-bg-rev; // height: 17px; // border-radius: 8.5px; // width: 100%; // margin-top: 36px; // &-thumb { // position: absolute; // bottom: -4px; // left: -12px; // .num { // background-image: url("~@/assets/images/index/index-num-bg.png"); // @extend .bis; // width: 40px; // height: 30px; // font-size: $fontSize-M2; // color: #ffffff; // text-align: center; // padding-top: 2px; // } // .circle { // background-image: url("~@/assets/images/index/index-thumb.png"); // @extend .bis; // width: 27px; // height: 26px; // margin: 1px auto 0; // cursor: pointer; // } // } // } // } .form { margin-top: 14px; &-item { @extend .bb; display: flex; .label { @extend .bb; width: 110px; font-size: 22px; padding-right: 10px; } .val { display: flex; justify-content: space-between; flex-wrap: wrap; flex: 1; .item { @extend .fcc; @include border-tans; border-radius: 10px; width: 76px; height: 35px; text-align: center; margin-right: 12px; margin-bottom: 14px; cursor: pointer; &:last-child { margin-right: 0; } } .item-act { @include linear-bg-rev; border: none; color: #ffffff; } } .val2 { justify-content: flex-start; .item { width: 132px; height: 36px; } } } } .line { margin-top: 2px; width: 100%; height: 2px; background-color: #efefef; } .calculation { margin-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; .label { } .value { .price { font-size: 24px; font-weight: bold; // transition: 0.2s all; } } } .tips { margin-top: 6px; font-size: $fontSizeSmall-M2; color: rgba(102, 102, 102, 0.5); } } } .arrow { position: absolute; width: 44px; height: 73px; top: 32%; cursor: pointer; z-index: 21; } .arrow-left { background-image: url("~@/assets/images/index/arrow-left.png"); left: -64px; } .arrow-right { background-image: url("~@/assets/images/index/arrow-right.png"); right: -64px; } } } // 只有一个tab时候 .table-1 { width: 1070px; } .quote-btn { @include btc4(300px, 50px, 22px); margin: 44px auto 0; &:lang(zh) { letter-spacing: 1.1px; } } .customer-service { margin-top: 24px; padding-bottom: 32px; font-size: 22px; font-weight: bold; text-align: center; color: #ffffff; .udl { display: inline-block; border-bottom: solid 2px #ffffff; border-radius: 1px; } &:lang(zh) { letter-spacing: 1.1px; } } } // 联系我们表单 .contact { position: relative; background-color: #eff0f0; padding-top: 100px; .panel { display: flex; .panel-left { .t1 { font-size: 36px; color: $cOrange2; font-weight: bold; &:lang(zh) { letter-spacing: 1.8px; } } .t2 { margin-top: 50px; font-size: 24px; font-weight: bold; } .pic-mobile { margin-top: 248px; } } .panel-right { @extend .bb; flex: 1; padding-left: 40px; .form { width: 100%; &-item { &-wrap { margin-bottom: 36px; position: relative; } .ipt-wrap-linear { .cont { .ipt { text-align: center; } .sel { } .textarea { @extend .bb; padding-top: 16px; text-align: left; height: 238px; } .ipt-date { padding: 0 24px; width: 100%; background-color: #ffffff; border-radius: $borderRadius; @include border-tans; border-radius: 5px; } } } .validator { color: $cOrange2; margin-top: 4px; position: absolute; left: 0; display: flex; align-items: center; font-size: $fontSizeSmall-M2; img { display: inline-block; margin-right: 4.8px; } } .dear { width: 40%; margin-right: 26px; } .name { width: 60%; } &:last-child() { margin-bottom: 0; } } } .err-tips { font-size: $fontSizeSmall-M2; color: $cOrange; min-height: 28px; margin: 12px 0; display: flex; align-items: flex-start; .icon { margin-top: 2px; margin-right: 3px; } } .submit-btn { @extend .fcc; @include linear-bg(); margin: 0 auto 0; @include btc4(300px, 50px, 22px); &:lang(zh) { letter-spacing: 1.1px; } } } .pic-mobile-botom { display: none; } } } .swiper-button-prev { background-image: url("~@/assets/images/common/button-prev.png"); left: 360px; } .swiper-button-next { background-image: url("~@/assets/images/common/button-next.png"); right: 360px; } .swiper-container { height: 100%; } .swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets { bottom: 48px; } .swiper-pagination-bullet { width: 12px; height: 12px; background-color: #dcdddd; } .swiper-pagination-bullet-active { width: 12px; height: 12px; background-color: $cOrange; } .box-shadow { box-shadow: 0 0 18px 0 rgba(255, 87, 0, 0.15); } @media (max-width: 1200px) { .content { @include content-percent(); } .recommend { width: auto; .contact-tips { // display: block; margin: 24px auto 0; position: relative; max-width: 90%; display: inline-block; } } // 投保 .quote { .table { width: auto; &-tab { } &-cont { .arrow { margin: 0 8px; } } } } // 联系我们表单 .contact { .panel { display: block; // flex-wrap: wrap; .panel-left { text-align: center; .pic-mobile { display: none; } } .panel-right { // width: 90%; padding: 0 4%; margin-top: 32px; } .pic-mobile-botom { display: block; margin-top: 32px; max-width: 100%; } } } } @media (max-width: 980px) { // 导航菜单切换 .nav-tab { font-size: $fontSize-M2; flex-wrap: wrap; display: block; &-item { padding: 8px 0; width: 100% !important; border-right: none; border-bottom: solid 2px #ffffff; &:first-child { justify-content: center; } &:last-child { justify-content: center; } } } .recommend { margin: 40px auto 0; } // 投保 .quote { .table { .linear { display: none; } &-tab { display: none; } &-cont { display: block; height: auto; .panel { padding: 32px 24px; width: 100%; position: relative; } } } } } @media (max-width: 768px) { // 导航菜单切换 .nav-tab { font-size: $fontSize-M2; &-item { } } // 推荐 为什么选择平安人寿 .recommend { .tit { font-size: $fontSizeTitle-M2; } .features { &-item { font-size: $fontSize-M2; } } } // 投保 .quote { .tit { font-size: $fontSizeTitle-M2; } .tit2 { font-size: $fontSize-M2; width: 96vw; } .table { .linear { } &-tab { } &-cont { display: block; height: auto; width: 100% !important; font-size: $fontSize-M2; .panel { .func1 { &-item { display: block; .k, .gender { margin: 16px 0; } .age { .ipt-wrap-linear { width: auto; } } } } } .arrow { transform: scale(0.5); } .arrow-left { left: 0px; } .arrow-right { right: 0px; } } } .quote-btn { font-size: $fontSize-M2; } .customer-service { font-size: $fontSize-M2; } } .contact { .panel { .panel-left { .t1 { font-size: $fontSizeTitle-M2; } .t2 { font-size: $fontSize-M2; } } .panel-right { .form { &-item { flex-wrap: wrap; .dear { width: 100%; margin-right: 0; } .name { width: 100%; } } } .submit-btn { font-size: $fontSize-M2; } } } } .banner-contaner { height: auto; } .banner-pc { display: none; } .banner-mobile { display: block; } .swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets { bottom: 2px; } }