/* pages/gongyiClass/gongyiClass.wxss */ .entrance { width: 90%; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 1px 1px 8px -2px rgba(0, 0, 0, 0.3); margin-left: 5%; margin-bottom: 10px; } .entrance .bgColor { width: 100%; height: 50px; background-color: white; font-size: 13px; font-weight: bolder; display: flex; align-items: center; justify-content: center; border-radius: 10px; } .entrance .bgColor .logo_img { width: 40px; height: 48px; } .entrance .bgColor view { display: flex; align-items: center; } .entrance .bgColor text { padding: 0 10px; color: #333333; font-weight: 600; } .entrance .bgColor view .right_img { width: 8px; height: 15px; } .recommend { display: flex; flex-direction: column; margin-bottom: 15px; } .recommend .topContent { display: flex; flex-direction: row; margin: 30px 0 0 20px; align-items: center; } .recommend .topContent view { width: 6px; height: 22px; border-radius: 3px; background: #eb5e76; margin-right: 10px; } .recommend .topContent text { color: #333333; font-size: 18px; font-weight: bold; } .recommend .bottomCon { display: flex; flex-direction: row; padding: 20px 0 0 20px; } .recommend .bottomCon .conDetail { position: relative; width: 100%; margin-right: 20px; display: flex; flex-direction: column; justify-content: center; border-radius: 5px; box-shadow: 0 0 8px -3px rgba(0, 0, 0, 0.3); } .recommend .bottomCon .conDetail image { width: 100%; border-radius: 5px 5px 0 0; } .recommend .bottomCon .conDetail .conTitle { padding: 10px; color: #333333; } .recommend .bottomCon .conDetail .conCount { display: flex; flex-direction: row; justify-content: space-between; padding: 0 10px 10px; } .recommend .bottomCon .conDetail text { color: #999999; } .recommend .bottomCon .btn { position: absolute; top: 0; right: 0; width: 50px; height: 25px; line-height: 25px; border-radius: 0 5px 5px; background: #369c25; color: #fff; font-size: 13px; text-align: center; } /** ------------------------------------------------- **/ .top_gongyiClass { width: 100%; display: flex; flex-wrap: wrap; } .top_gongyiClass .tab1 { width: 100%; display: flex; flex-wrap: wrap; color: #666666; } .top_gongyiClass .tab2 { width: 100%; display: flex; flex-wrap: wrap; color: #333333; } .top_gongyiClass .tab2 view { display: flex; flex-direction: column; align-items: center; } .top_gongyiClass>view>view { height: 36px; text-align: center; line-height: 30px; font-size: 17px; margin-top: 10px; padding: 0 20px; font-weight: 500; } .top_gongyiClass>view>view>text { z-index: 100; } .firstTab { color: #d8477f; } .tab2 .secTab { width: 45px; height: 10px; border-radius: 5px; margin-top: -12px; background: linear-gradient(to right, #e55b66, #ff6aa5); /* opacity: 0.7; */ } .top_gongyiClass>view>text { display: block; padding: 3px 20px; height: 25px; line-height: 25px; margin-top: 5px; font-size: 14px; } .lookHistory { width: 100%; height: 30px; display: flex; flex-direction: row-reverse; align-items: center; margin-bottom: 5px; } .lookHistory>text { height: 20px; line-height: 20px; font-size: 13px; color: #999999; margin-right: 10px; } .lookHistory>image { width: 8px; height: 15px; margin-right: 35px; }