.tab-box { position: fixed; top: 0.79rem; width: 100%; max-width: 7.7rem !important; height: 0.88rem; padding-left: 0.4rem; padding-right: 0.4rem; display: flex; align-items: center; font-size: 0.36rem; font-weight: 400; color: rgb(140, 140, 140); box-sizing: border-box; background-color: #ffffff; box-shadow:inset 0px -1px 0px 0px rgb(231, 231, 231); z-index: 20; } .tab-box .item { margin-right: 0.4rem; } .tab-box .introduce { position: relative; } .tab-box .introduce::before { content: '学员专属'; position: absolute; top: -0.15rem; right: -1.45rem; width: 1.35rem; height: 0.34rem; border-radius: 0.2rem; background: linear-gradient(270deg, rgba(230, 188, 162, 1) 0%, rgba(248, 232, 217, 1) 100%); border: 0.02rem solid rgba(231, 191, 166, 1); font-size: 0.24rem; font-weight: 400; text-align: center; line-height: 0.34rem; color: rgb(102, 61, 16); } .tab-box .item.active { position: relative; color: rgb(38, 38, 38); } .tab-box .item.active::after { content: ''; position: absolute; left: 50%; bottom: -0.15rem; transform: translatex(-50%); width: 0.2rem; height: 0.04rem; border-radius: 0.03rem; background: rgb(24, 144, 255); } .tab-pane-2 { display: none; margin-top: -1rem; padding-top: 3.5rem; height: calc(100vh - 3.33rem); background-color: #ffffff; box-sizing: border-box; } .tab-pane-2 .practice-focus { font-size: 0.36rem; font-weight: 400; color: rgba(89, 89, 89, 1); text-align: center; } .tab-pane-2 .open-app { margin: 0.2rem auto; width: 5rem; height: 0.6rem; border-radius: 0.04rem; border: 0.02rem solid rgb(24, 144, 255); font-size: 0.28rem; font-weight: 500; color: rgba(24, 144, 255, 1); line-height: 0.6rem; text-align: center; } .result-list, .empty-result { box-sizing: border-box; } /* 列表 */ .practice { padding: 0.4rem; box-shadow:inset 0 -0.01rem 0 0 rgb(231, 231, 231); } .practice .company-info { display: flex; align-items: center; } .practice .company-info .left-logo { margin-right: 0.2rem; width: 1.26rem; height: 1.26rem; flex-shrink: 0; } .practice .company-info .left-logo img { width: 100%; height: 100%; object-fit: contain; } .practice .company-info .right-box { flex: 1; } .practice .company-info .right-box .top-info { display: flex; align-items: center; flex-wrap: wrap; } .practice .company-info .right-box .top-info .name { margin-right: 0.2rem; margin-bottom: 0.09rem; font-size: 0.28rem; font-weight: 400; color: rgb(140, 140, 140); } .practice .company-info .right-box .top-info .tag { padding: 0.05rem 0.15rem; margin-right: 0.2rem; margin-bottom: 0.09rem; font-size: 0.24rem; font-weight: 400; color: rgb(24, 144, 255); border: 0.01rem solid rgb(24, 144, 255); border-radius: 0.3rem; } .practice .company-info .right-box .center-box { max-width: 5.25rem; font-size: 0.32rem; font-weight: 400; color: rgb(38, 38, 38); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .practice .company-info .right-box .bottom-box { margin-top: 0.09rem; display: flex; align-items: center; } .practice .company-info .right-box .bottom-box .info-item-box { width: 3.1rem; /* margin-right: 0.3rem; */ display: flex; align-items: center; color: rgb(140, 140, 140); background-color: #ffffff; } .practice .company-info .right-box .bottom-box .info-item-box img { margin-right: 0.05rem; width: 0.34rem; height: 0.34rem; object-fit: contain; } .practice .company-info .right-box .bottom-box .info-item-box .text1 { max-width: 2.6rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .practice .company-info .right-box .bottom-box .info-item-box .text { max-width: 1.8rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .practice .other-info { margin-top: 0.28rem; display: flex; justify-content: space-between; align-items: center; } .practice .other-info .left-tag { max-width: 4.1rem; padding: 0.05rem 0.12rem; font-size: 0.24rem; font-weight: 400; color: rgb(24, 144, 255); border-radius: 0.08rem; background: rgba(24, 144, 255, 0.1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .practice .other-info .right-time { font-size: 0.24rem; font-weight: 400; color: rgb(38, 38, 38); } .practice .other-info .right-time span { white-space: nowrap; color: rgb(140, 140, 140); }