react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
583 lines (507 loc) • 10.5 kB
text/less
.feedback {
width: 750px;
margin: 0 auto;
}
.bgTop {
width: 100%;
position: relative;
height: 720px;
background: url('../../public/images/feedback/bg1.png');
background-size: 100%;
padding-left: 32px;
padding-top: 50px;
.logo {
width: 140px;
height: 32px;
background: url('../../public/images/feedback/logo-small.png') no-repeat;
background-size: 100%;
}
.title {
padding-top: 24px;
font-size: 56px;
font-weight: 800;
color: rgba(255, 255, 255, 1);
text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.fedback {
position: absolute;
padding-top: 8px;
z-index: 1;
p {
padding-top: 24px;
font-size: 28px;
font-weight: 500;
color: rgba(255, 255, 255, 1);
line-height: 28px;
span {
width: 380px;
line-height: 32px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
-webkit-line-clamp: 2;
}
}
p:nth-child(3) {
span {
display: block;
float: left;
width: max-content;
}
span:nth-child(2) {
display: block;
float: left;
width: 260px;
}
}
}
.teacher {
position: absolute;
top: 136px;
right: 14px;
width: 308px;
height: 460px;
background: url('../../public/images/feedback/teacher.png');
background-size: 100%;
img {
width: 308px;
height: 460px;
}
}
}
.pos {
position: absolute;
top: 410px;
width: 750px;
background-image:
url('../../public/images/feedback/bg3.png'),
url('../../public/images/feedback/bg2.png');
background-repeat: no-repeat, repeat-y;
background-size: 100%;
}
.part {
width: 686px;
background-color: white;
margin-left: 34px;
background-size: 100%;
border-radius: 40px;
.fang {
width: 686px;
height: 100%;
background: url('../../public/images/feedback/fang.png');
background-size: 100%;
border-radius: 40px;
padding: 48px 46px;
}
}
.clear {
height: 0;
font-size: 0;
clear: both;
}
.hei {
height: 300px;
}
.part1 {
.icon {
background: url('../../public/images/feedback/icon-four.png') no-repeat;
background-size: 100%;
width: 578px;
height: 70px;
position: absolute;
top: -18px;
margin-left: 54px;
}
}
.fang {
.common {
padding-top: 64px;
.titleIcon {
position: absolute;
}
.icon1 {
top: -40px;
left: 492px;
width: 114px;
height: 114px;
background: url('../../public/images/feedback/icon1.png') no-repeat right;
background-size: 100%;
}
.icon2 {
top: -22px;
left: 524px;
width: 78px;
height: 96px;
background: url('../../public/images/feedback/icon2.png') no-repeat right;
background-size: 100%;
}
.icon3 {
top: -36px;
left: 522px;
width: 82px;
height: 94px;
background: url('../../public/images/feedback/icon3.png') no-repeat right;
background-size: 100%;
}
.teacherSay {
margin-top: 48px;
height: 80px;
p {
float: left;
}
.teacherIcon {
width: 80px;
height: 80px;
border-radius: 40px;
background: url('../../public/images/feedback/teacher-icon.png') no-repeat right;
background-size: 100%;
}
.teacherName {
font-size: 32px;
font-weight: 500;
color: rgba(51, 51, 51, 1);
margin-left: 28px;
height: 80px;
line-height: 80px;
}
.trans {
float: right;
height: 80px;
line-height: 80px;
font-size: 24px;
font-weight: 400;
color: rgba(153, 153, 153, 1);
}
}
.videoText {
width: 590px;
padding: 28px 114px 28px 32px;
}
.audioBox {
//position: relative;
font-size: 28px;
color: #50882e;
line-height: 40px;
border-radius: 10px;
background-color: #a0ea71;
width: max-content;
margin-top: 16px;
}
.voice {
width: 590px ;
margin-top: 32px;
span {
padding: 20px;
}
}
.word {
width: max-content;
padding: 28px 114px 28px 32px;
&:not(:first-child) {
margin-top: 16px ;
}
}
}
.point {
position: absolute;
right: -18px;
top: 50%;
width: 8px;
height: 8px;
background-color: red;
border-radius: 4px;
}
.text {
position: relative;
padding-left: 10px;
padding-right: 10px;
margin-bottom: 48px;
font-size: 40px;
font-weight: 600;
color: rgba(116, 29, 201, 1);
}
.text1 {
width: 280px;
height: 40px;
background: url('../../public/images/feedback/t-b.png') no-repeat bottom;
background-size: 100%;
}
.text2 {
height: 40px;
width: 445px;
background: url('../../public/images/feedback/t-b2.png') no-repeat bottom;
background-size: 100%;
}
.text3 {
height: 40px;
width: 210px;
background: url('../../public/images/feedback/t-b3.png') no-repeat bottom;
background-size: 100%;
}
.wifiSymbol {
position: absolute;
margin-top: -8px;
width: 50px;
height: 50px;
box-sizing: border-box;
overflow: hidden;
transform: rotate(135deg);
right: 0;
top: 30px;
.wifiCircle {
border: 5px solid #999;
border-radius: 50%;
position: absolute;
}
.first {
width: 5px;
height: 5px;
background: #ccc;
top: 45px;
left: 45px;
}
.second {
width: 25px;
height: 25px;
top: 35px;
left: 35px;
animation: fadeInOut 1s infinite 0.2s;
}
.third {
width: 40px;
height: 40px;
top: 25px;
left: 25px;
animation: fadeInOut 1s infinite 0.4s;
}
}
.desc {
margin-top: 48px;
font-size: 28px;
font-weight: 400;
color: rgba(51, 51, 51, 1);
line-height: 40px;
}
.item {
margin-bottom: 28px;
p {
float: left;
margin-right: 16px;
padding-top: 2px;
margin-top: 6px;
height: 24px;
width: 24px;
//height: 24px;
background: url('../../public/images/feedback/item-1.png');
background-size: 100%;
}
div {
margin-left: 40px;
}
}
.item::after {
content: '';
height: 0; /* 高度为0 */
display: block;
clear: both;
}
.item:last-child {
margin-bottom: 0;
}
@keyframes fadeInOut {
//0% {
// opacity: 0;
//}
//
//100% {
// opacity: 1;
//}
}
}
.part2,
.part3 {
margin-top: 32px;
.fang {
padding-top: 0;
}
}
.course {
margin-top: 40px;
width: 586px;
height: 104px;
position: relative;
.courseTime {
float: left;
width: 100%;
height: 104px;
background: url('../../public/images/feedback/course-time.png') no-repeat;
background-size: 100%;
}
.coursePre {
float: left;
width: 100%;
height: 104px;
line-height: 118px;
background: url('../../public/images/feedback/course-pre.png') no-repeat;
background-size: 100%;
//margin-top: -12px;
}
.courseDesc {
position: absolute;
font-size: 28px;
font-weight: 400;
color: rgba(51, 51, 51, 1);
height: 104px;
line-height: 118px;
left: 120px;
}
.lateIcon {
position: absolute;
right: 16px;
top: 20px;
width: 70px;
height: 72px;
background: url('../../public/images/feedback/late.png') no-repeat;
background-size: 100%;
margin-top: -10px;
}
p {
display: inline-block;
line-height: 104px;
margin-left: 34px;
}
}
.icon4 {
top: -30px;
left: 504px;
width: 92px;
height: 76px;
background: url('../../public/images/feedback/icon4.png') no-repeat right;
background-size: 100%;
}
.icon5 {
top: -30px;
left: 512px;
width: 80px;
height: 70px;
background: url('../../public/images/feedback/icon5.png') no-repeat right;
background-size: 100%;
}
.videoDesc {
width: 590px;
text-align: center;
margin-top: 32px;
font-size: 28px;
font-weight: 400;
color: rgba(51, 51, 51, 1);
line-height: 40px;
div {
display: inline-block;
border-top: 2px solid rgba(153, 153, 153, 1);
width: 20px;
height: 10px;
border-radius: 1px;
margin-top: -20px;
&:first-child {
margin-right: 10px;
}
&:last-child {
margin-left: 10px;
}
}
}
.shareContent {
margin: 32px 0;
& > .btn {
width: 678px;
height: 88px;
line-height: 88px;
margin: 0 auto;
background:
linear-gradient(
141deg,
rgba(255, 124, 0, 1) 0%,
rgba(255, 56, 56, 1) 100%,
rgba(255, 0, 0, 1) 100%
);
box-shadow: 0 4px 8px 0 rgba(206, 4, 8, 0.33);
border-radius: 44px;
font-size: 28px;
font-weight: 600;
color: rgba(255, 255, 255, 1);
text-align: center;
}
& > .content {
position: relative;
margin: 0 auto 32px;
width: 686px;
height: 312px;
border-radius: 40px;
background: url('../../public/images/feedback/share-qrcode.png') no-repeat center center;
background-size: 100%;
.qrcode {
width: 200px;
height: 200px;
position: absolute;
right: 48px;
top: 54px;
}
}
& > .mask {
width: 100%;
height: 100%;
position: fixed;
top: 0;
background: rgba(0, 0, 0, 0.6);
& > .icon {
display: block;
width: 642px;
height: 378px;
background: url('../../public/images/feedback/share-icon.png') no-repeat center center;
background-size: 100%;
position: absolute;
top: 30px;
right: 30px;
}
}
}
.playVideo {
position: relative;
width: 590px;
height: 416px;
background: url('../../public/images/feedback/playVideo.png') no-repeat right;
background-size: 100%;
.single {
position: absolute;
width: 520px;
height: 292px;
top: 36px;
left: 36px;
border-radius: 30px;
.single > img {
width: 100%;
height: 100%;
}
}
}
.play-video {
width: 526px;
height: 290px;
margin: 0 auto;
padding: 20px 20px;
p {
width: 100%;
height: 60px;
line-height: 60px;
color: #602321;
font-size: 28px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.itemWrapper {
width: 100%;
height: 100%;
}