body { display: flex; flex-direction: column; height: 100vh; } .header { flex: 1; background: url("../img/back.png"); background-size: cover; position: relative; } .header .zz { position: absolute; width: 100%; height: 100%; background: #00000069; } .follow { position: absolute; display: flex; justify-content: space-between; width: 100%; padding: 0 0.36rem; box-sizing: border-box; top: 0.3rem; align-items: center; } .follow img { width: 0.42rem; height: 0.42rem; } .follow ul { display: flex; justify-content: space-between; } .follow ul li { font-family: AdobeHeitiStd-Regular; font-size: 0.3rem; color: #fefefe; margin-right: 0.25rem; } .follow ul li:last-child { margin-right: 0; } .follow .active { position: relative; } .follow .active::after { content: ""; position: absolute; width: 0.35rem; height: 0.02rem; background-color: #ffffff; box-shadow: 0rem 0.02rem 0.02rem 0rem rgba(12, 0, 255, 0.35); border-radius: 0.01rem; left: 50%; transform: translateX(-50%); bottom: -0.04rem; } .user { position: absolute; right: 0.2rem; bottom: 0.15rem; display: flex; flex-direction: column; align-items: center; } .user .head { width: 0.96rem; height: 0.97rem; position: relative; } .user .head img:first-child { border: solid 0.03rem #ffffff; width: 100%; height: 100%; border-radius: 100%; box-sizing: border-box; } .user .head img:last-child { width: 0.34rem; height: 0.33rem; position: absolute; left: 50%; transform: translateX(-50%); bottom: -0.22rem; } .user ul { margin-top: 0.33rem; } .user ul li { display: flex; flex-direction: column; align-items: center; margin-top: 0.33rem; box-sizing: border-box; } .user_info ul li:nth-child(1) img, .user_info ul li:nth-child(2) img { margin-bottom: 0.09rem; } .user ul li:nth-child(3) img { margin-bottom: 0.17rem; } .user ul li:nth-child(4) img { margin-bottom: 0.15rem; } .user ul li img { width: 0.68rem; height: 0.63rem; } .user ul li .text { font-family: SourceHanSansCN-Regular; font-size: 0.2rem; color: #ffffff; } .shop { position: absolute; bottom: 0.13rem; left: 0.37rem; } .shop .facadee { display: flex; align-items: center; margin-bottom: 0.27rem; } .shop .facadee img { width: 0.28rem; height: 0.26rem; background-color: #ffc600; margin-right: 0.1rem; } .shop .facadee p { font-family: PingFangSC-Regular; font-size: 0.26rem; color: #ffc600; } .shop .commodity { width: 5.85rem; height: 1.68rem; background-color: #ffffff; display: flex; align-items: center; position: relative; padding: 0.09rem; box-sizing: border-box; } .shop .commodity img { width: 1.48rem; height: 1.48rem; margin-right: 0.14rem; } .shop .commodity .introduce { margin-top: 0.28rem; } .shop .commodity .introduce .brand { font-family: PingFang-SC-Bold; font-size: 0.28rem; color: #333333; margin-top: 0.28rem; } .shop .commodity .introduce .price { display: flex; align-items: center; margin-top: 0.32rem; } .shop .commodity .introduce .price .money { font-family: PingFang-SC-Medium; color: #333333; font-size: 0.28rem; margin-right: 0.03rem; } .shop .commodity .introduce .price .jx { font-family: PingFang-SC-Regular; font-size: 0.2rem; color: #fffefe; width: 0.6rem; height: 0.24rem; background-color: #ea4e3d; border-radius: 0.12rem; } .shop .quantity { font-family: PingFang-SC-Medium; font-size: 0.2rem; color: #626262; margin-bottom: 0.5rem; } .shop .commodity .car { width: 0.46rem; height: 0.46rem; position: absolute; right: 0.34rem; bottom: 0.17rem; } .shop .music { display: flex; align-items: center; margin-top: 0.27rem; } .shop .music img { width: 0.27rem; height: 0.28rem; margin-right: 0.13rem; } .shop .music .song { font-family: PingFangSC-Regular; font-size: 0.24rem; color: #ffffff; } .footer { height: 1rem; background-color: #000000; display: flex; justify-content: space-between; padding-left: 0.39rem; padding-right: 0.54rem; box-sizing: border-box; } li { display: flex; align-items: center; } .footer li a { font-family: AdobeHeitiStd-Regular; font-size: 0.24rem; color: #ffffff; } .footer .active { position: relative; } .footer .active { font-family: AdobeHeitiStd-Regular; font-size: 0.3rem; color: #ffffff; } .footer .active::after { content: ""; position: absolute; width: 0.51rem; height: 0.03rem; background-color: #ffffff; border-radius: 0.015rem; left: 50%; transform: translateX(-50%); box-sizing: border-box; bottom: -0.24rem; }