| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- .index-wrap {
- width: 100%;
- height: 500px;
- }
- .index {
- width: $width;
- margin: 0 auto;
- box-sizing: border-box;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- .border-right {
- border-right: 1px solid #f5f5f5;
- }
- .border-bottom {
- border-bottom: 1px solid #f5f5f5;
- }
- .banner {
- height: 430px;
- width: 100%;
- .el-carousel__indicators--horizontal{
- padding-left: 240px;
- }
- .el-image {
- width: 100%;
- height: 100%;
- }
- }
- }
- .content {
- width: $width;
- margin: auto;
- // 中部广告位
- .adv-middle{
- display: flex;
- margin-top: 30px;
- .adv-middle-item{
- margin-right: 15px;
- height: 210px;
- // flex: 1;
- transition: all 0.2s linear 0s;
- cursor: pointer;
- .el-image{
- height: 210px;
- }
- &:last-of-type{
- margin-right: 0;
- }
- &:hover{
- z-index: 2;
- box-shadow: rgb(0 0 0 / 10%) 0px 15px 30px;
- transform: translate3d(0px, -2px, 0px);
- }
- img{
- max-width: 100%;
- max-height: 100%;
- }
- }
- }
- // 广告
- .ad-wrap {
- width: $width;
- margin: 20px auto;
- display: flex;
- justify-content: space-between;
- > div {
- width: calc((100% - 15px) / 2);
- height: 372px;
- }
- .ad-big {
- display: flex;
- justify-content: space-between;
- .ad-big-img {
- width: calc((100% - 15px) / 2);
- cursor: pointer;
- }
- }
- .ad-small {
- display: flex;
- justify-content: space-between;
- align-content: space-between;
- flex-wrap: wrap;
- .ad-small-img {
- width: calc((100% - 15px) / 2);
- height: calc((100% - 15px) / 2);
- cursor: pointer;
- }
- }
- }
- // 限时秒杀
- .seckill-wrap {
- height: 376px;
- width: $width;
- background-color: #ffffff;
- margin: 20px auto;
- border: 1px solid #e9e9e9;
- }
- .seckill-time {
- width: 100%;
- height: 45px;
- line-height: 44px;
- border-bottom: 1px solid #e9e9e9;
- display: flex;
- justify-content: space-between;
- padding: 0 20px;
- box-sizing: border-box;
- .seckill-time-left {
- color: #383838;
- i,
- .seckill-time-title {
- font-size: 18px;
- font-weight: 600;
- margin-right: 5px;
- }
- .seckill-time-title {
- margin-right: 15px;
- }
- }
- .count-down {
- display: inline-block;
- margin-left: 7px;
- }
- .seckill-time-right {
- color: #838383;
- cursor: pointer;
- }
- }
- .seckill-content {
- padding: 20px 20px 0;
- }
- .seamless-warp2 {
- overflow: hidden;
- ul.item {
- li {
- float: left;
- width: 250px;
- padding: 0 25px;
- box-sizing: border-box;
- border-right: 1px solid #f1f1f1;
- .seckill-goods {
- cursor: pointer;
- .seckill-goods-img {
- width: 100%;
- height: 200px;
- }
- img {
- object-fit: cover;
- }
- > p {
- line-height: 24px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- height: 50px;
- }
- .seckill-price-wrap {
- display: flex;
- align-items: flex-end;
- height: 24px;
- line-height: 24px;
- margin-top: 10px;
- p span {
- font-size: 24px;
- }
- .primary-price {
- text-decoration: line-through;
- color: #838383;
- margin-left: 10px;
- }
- }
- }
- }
- }
- }
- }
- .floor {
- width: $width;
- margin: 20px auto;
- .floor_item {
- margin-top: 10px;
- }
- }
- .floatLayer-wrap {
- position: fixed;
- height: 100vh;
- width: 100vw;
- left: 0;
- top: 0;
- background: rgba($color: #000000, $alpha: 0.5);
- z-index: 999;
- .floatLayer {
- position: fixed;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- z-index: 999;
- cursor: pointer;
- .img-wrap {
- width: 456px;
- height: 274px;
- line-height: 274px;
- overflow: hidden;
- text-align: center;
- img{
- max-height: 100%;
- }
- }
- i {
- color: #ffffff;
- font-size: 30px;
- position: absolute;
- top: -30px;
- right: -30px;
- }
- }
- }
- // 悬浮搜索
- .fixed-box {
- width: 100vw;
- background-color: #ffffff;
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- border-bottom: 2px solid $base-color;
- }
|