/* pages/index/index.wxss */ .indexHeader { width: 100%; height: 50px; background: linear-gradient(to right, #e55b66, #ff6aa5, #ffa481); display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; } .indexHeader .title { color: white; font-size: 17px; padding-left: 20px; } .header_user { display: flex; align-items: center; height: 50px; font-size: 13px; padding-right: 20px; color: #fff; } .header_user image { width: 40px; height: 40px; border-radius: 50%; } .con_indexHeader image { margin-top: -20px; width: 100%; border-radius: 15px 15px 0 0; } .entrance { width: 90%; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); margin-top: -30px; margin-left: 5%; } .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; } .entrance .bgColor view .right_img { width: 8px; height: 15px; } .girdList { display: flex; flex-direction: row; align-items: center; justify-content: space-between; margin: 20px; } .girdList view { display: flex; flex-direction: column; align-items: center; } .girdList view image { width: 42px; height: 42px; padding: 10px 0; } .girdList>view>view { width: 100%; text-align: center; } .topTitle { position: static; width: 100%; height: 30px; display: flex; flex-direction: row; align-items: center; } .topTitle .title { margin-left: 10px; font-size: 20px; font-weight: bolder; color: #000; } .topTitle .leftLine { height: 20px; border-left: 5px solid #efc04c; margin-left: 30px; } .topTitle .lookmore { position: absolute; right: 30px; display: flex; flex-direction: row; } .topTitle .lookmore text { margin-right: 5px; } .topTitle .lookmore image { width: 8px; height: 15px; } .listActivity { width: 100%; } .listActivity .activity { margin: 20px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .activity .enroll_time { width: 100%; display: flex; align-items: center; justify-content: center; height: 30px; } .listActivity .activity .text1 { padding: 20px 10px 10px 10px; display: flex; flex-direction: row; } .listActivity .activity .borderLine { width: 70%; border-bottom: 1px solid #d4d4d4; margin-left: 20px; } .listActivity .activity .text1 view { width: 80%; margin-right: 20px; font-size: 14px; font-weight: bolder; display: flex; align-items: center; } .listActivity .activity .text1 image { width: 50px; height: 50px; } .listActivity .activity .text2 { padding: 10px; display: flex; flex-direction: row; } .listActivity .activity .text2 view { width: 80%; margin-right: 20px; font-size: 14px; font-weight: bolder; display: flex; align-items: center; } .listActivity .activity .text2 image { width: 50px; height: 50px; } .activityContent { position: relative; } .listActivity .activityContent .top_title { position: absolute; top: 0; right: 0; border-radius: 0 10px 10px 10px; background: #c1527e; font-size: 14px; padding: 5px 10px; color: #fff; } .listActivity .activityContent .bottom_title { display: flex; align-items: center; justify-content: center; width: 100%; position: absolute; bottom: 3px; left: 0; background: rgba(0, 0, 0, 0.5); font-size: 14px; color: #fff; padding: 5px 0; font-weight: bold; } .listActivity .activityContent image { width: 100%; border-radius: 10px 10px 0 0; } .class_info { height: 30px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; margin: 0 10px; } .class_info view { display: flex; flex-direction: row; align-items: center; justify-content: center; } .class_info image { width: 20px; height: 20px; } .class_info .watch { font-size: 12px; color: #999999; }