/* share/pages/course/course.wxss */ .topbox { display: block; width: 100%; background-color: #ffffff; position: fixed; top: 0; left: 0; z-index: 9999999; } .leftindexbox { position: absolute; left: 8px; width: 70px; padding: 4px 0; height: 28px; border-radius: 18px; box-sizing: border-box; } .leftindexbox .leftgoto { display: block; width: 8px; height: 14px; float: left; margin-left: 11px; transform: rotateY(180deg); position: relative; top: 2px; z-index: 9; } .gotoindex { display: block; width: 16px; height: 16px; float: right; position: relative; right: 10px; top: 1px; } .leftindexbox text { position: absolute; height: 14px; width: 1px; left: 30px; top: 6px; background-color: #d1cfcf; } .leftitbox{ display: block; width: 30px; height: 28px; position: absolute; top: 0; left: 0; z-index: 10; } .gotoidxbox{ display: block; position: absolute; top: 0; right: 0; width: 35px; height: 28px; z-index: 9; } .titbox { position: fixed; width: 100%; box-sizing: border-box; z-index: 100; overflow: hidden; } .titleStyle { font-weight: bold; width: 76%; } /* ------------------ */ .course { width: 100%; height: auto; position: relative; background-color: #fff; padding-bottom: 88rpx; } .coverImage { width: 100%; height: auto; max-height: 1000rpx; } .coverImage > image { width: 100%; } .courseTab { width: 100%; height: 90rpx; display: flex; align-items: center; } .courseTab > view { flex: 1; height: 88rpx; display: flex; justify-content: center; align-items: center; font-size: 32rpx; color: #999999; } .tabActive { color: #249EFB !important; position: relative; } .tabActive::after { content: " "; width: 50rpx; height: 4rpx; background-color: #249EFB; position: absolute; bottom: 0rpx; left: 50%; transform: translateX(-50%); } .instruction { width: 100%; height: auto; } .iTitle { padding: 30rpx 20rpx 20rpx; font-size: 36rpx; font-weight: 600; color: #000000; } .iMessage { width: 100%; height: auto; box-sizing: border-box; padding: 0rpx 20rpx 20rpx; display: flex; } .iMsgleft { flex: 1; display: flex; align-items: center; color: #999999; font-size: 24rpx; } .iMsgRight { color: #999999; font-size: 24rpx; } .ml10 { margin-left: 10rpx; } .idescBox { width: 100%; font-size: 32rpx; color: #000000; box-sizing: border-box; padding: 0rpx 20rpx 10rpx; } .iDescInfo { width: 100%; height: auto; overflow: hidden; box-sizing: border-box; padding: 10rpx 20rpx 20rpx; font-size: 28rpx; color: #000000; } .courselist { width: 100%; height: auto; overflow: hidden; box-sizing: border-box; padding: 20rpx; } .courseItem { width: 100%; height: 88rpx; background-color: #f1f1f1; border-radius: 8rpx; display: flex; margin-bottom: 20rpx; } .itemleft { width: 140rpx; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; } .itemleft::after { content: " "; width: 10rpx; height: 88rpx; background-color: #cbcbcb; position: absolute; top: 0rpx; left: 50%; transform: translateX(-50%); } .itemleft > image { width: 48rpx; height: 48rpx; position: relative; z-index: 9; border-radius: 50%; overflow: hidden; border: 4rpx solid #f1f1f1; } .itemRight { width: calc(100% - 140rpx); height: 100%; display: flex; align-items: center; color: #747678; } .signupBtn { width: 100%; height: 88rpx; position: fixed; bottom: 0rpx; left: 0rpx; z-index: 9; background-color: #249EFB; color: #fff; text-align: center; line-height: 88rpx; font-size: 32rpx; } /* ---------------------------- */ .viewMask { width: 100vw; height: 100vh; position: fixed; top: 0rpx; left: 0rpx; background-color: rgba(0, 0, 0, 0.4); z-index: 99999; display: flex; align-items: center; justify-content: center; } .viewBlock { width: 80%; height: 500rpx; background-color: #fff; border-radius: 20rpx; position: relative; box-sizing: border-box; overflow: hidden; padding: 80rpx 0rpx; } .viewTitle { width: 100%; height: 80rpx; text-align: center; line-height: 80rpx; font-size: 30rpx; color: #333333; font-weight: 600; border-bottom: 1rpx solid #f2f2f2; position: absolute; top: 0rpx; left: 0rpx; } .viewButton { width: 100%; height: 80rpx; text-align: center; line-height: 80rpx; position: absolute; bottom: 0rpx; left: 0rpx; font-size: 30rpx; background-color: #249EFB; border-radius: 0rpx; color: #fff; } .viewContent { width: 100%; height: 100%; box-sizing: border-box; padding: 20rpx; } .viewInput { width: 100%; height: 80rpx; display: flex; align-items: center; border: 2rpx solid #f2f2f2; border-radius: 10rpx; box-sizing: border-box; padding: 0rpx 20rpx; margin-bottom: 20rpx; } .viewInput > view { font-size: 28rpx; margin-right: 20rpx; color: #999999; } .viewInput > view > text { color: red; } .viewInput > input { flex: 1; font-size: 28rpx; }