.aist-share { position: relative; width: 100%; height: 100%; background-image: url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_717/m/aist/aist-bg.png"); background-repeat: no-repeat; background-position: bottom; -webkit-background-size: contain; background-size: contain; background-color: #a4ffe7; overflow: hidden; .content { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 343px; height: 494px; padding: 18px 12px; background: #fff; box-sizing: border-box; box-shadow: 0 4px 8px hsla(0, 0%, 0%, 0.1); overflow: hidden; border-radius: 5px; } .user { display: flex; flex-flow: column; align-items: center; margin-bottom: 18px; img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 8px; } .username { font-size: 17px; line-height: 24px; color: #111; } .time { font-size: 12px; color: #666; line-height: 17px; } } .course { display: flex; padding: 10px; margin-bottom: 27px; box-shadow: 0 4px 8px hsla(185, 100%, 28%, 0.1); border-radius: 1px; &-cover { width: 86px; margin-right: 10px; img { width: 100%; height: 62px; } } &-info { text-align: left; width: 204px; .title { color: #111; font-size: 16px; line-height: 23px; } .des { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #666; line-height: 17px; } } } .progress { position: relative; display: flex; width: 300px; margin: 0 auto 27px; list-style: none; padding-bottom: 25px; border-bottom: 1px solid #e5e5e5; background-clip: padding-box; &::before { content: ""; display: block; width: 36px; height: 36px; position: absolute; bottom: -18px; left: -44px; background-color: #c1fded; border-radius: 50%; box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.1) inset; } &::after { content: ""; display: block; width: 36px; height: 36px; position: absolute; bottom: -18px; right: -44px; background-color: #c1fded; border-radius: 50%; box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.1) inset; } li { height: 57px; flex: 1; } & li:nth-child(1) { border-right: 1px solid #ddd; } .title { margin-bottom: 8px; font-size: 14px; color: #111; line-height: 20px; text-align: center; } &-value { display: flex; justify-content: center; align-items: flex-end; & > div { font-size: 15px; line-height: 34px; color: #000; } .num { font-size: 33px; color: #111; line-height: 1em; } } } .recommend-app { display: flex; box-sizing: border-box; padding: 0 10px; justify-content: space-between; .text { width: 180px; margin-right: 30px; text-align: left; display: flex; flex-flow: wrap; } .bold { font-size: 15px; color: #111; line-height: 21px; margin-bottom: 15px; & div:nth-child(1) { margin-bottom: 4px; } } .light { font-size: 14px; color: #999; line-height: 20px; align-self: flex-end; img { width: 15px; height: 15px; vertical-align: middle; margin-left: 6px; } } .qrcode { width: 90px; height: 90px; img { width: 100%; height: 100%; } } } .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); overflow: hidden; img { position: absolute; top: 11px; right: 22px; width: 111px; height: 82px; } .text { position: absolute; top: 105px; left: 50%; transform: translateX(-50%); width: 343px; height: 61px; background: #fff; font-size: 15px; color: #333; padding: 20px; text-align: center; box-sizing: border-box; border-radius: 4px; } } }