react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
183 lines (164 loc) • 5.47 kB
text/less
.introduce-wrapper {
margin-top: -134px;
.details {
width: 100%;
padding-bottom: 38px;
.dt-content {
height: 100%;
width: 702px;
margin: 0 auto;
overflow: hidden;
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
.dt-title,
.dt-wrapper {
font-size: 0;
height: 60px;
a {
display: inline-block;
width: 50%;
height: 60px;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
border-width: 0px ;
text-align: center;
line-height: 60px;
font-size: 26px;
background: linear-gradient(to right, #fdc24d, #ff9d19);
color: #fff;
}
.active {
color: #602321;
background: #fff;
}
}
.fixedMenu {
max-width: 750px;
position: fixed;
transition: .2s all linear;
top: 0;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
z-index: 99 ;
background-color: #fff;
width: 100%;
font-size: 0;
z-index: 99;
a {
display: inline-block;
width: 50%;
height: 80px;
background: #ffa21f;
color: #fff;
text-align: center;
line-height: 80px;
font-size: 28px;
// border-width: 0px ;
}
.active {
color: #602321;
background: #fff;
}
}
.play-video {
width: 640px;
height: 430px;
margin: 0 auto;
margin-bottom: 50px;
padding: 0 30px;
background: url(../../../public/images/bargain/video-bg.png) no-repeat;
background-size: 100% 100%;
p {
width: 100%;
height: 60px;
line-height: 60px;
color: #602321;
font-size: 28px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.video-body {
margin-top: 16px;
width: 100%;
height: 320px;
padding: none;
position: relative;
.play-btn {
width: 80px ;
height: 80px ;
border: none ;
position: absolute ;
top: 50% ;
left: 50% ;
transform: translate(-50%, -50%) ;
background: url('../../../public/images/bargain/pause-btn.png') no-repeat ;
background-size: 100% 100% ;
z-index: 1;
}
.item-video {
video {
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
}
}
}
}
.dt-product {
background-color: #fff;
width: 702px;
margin: 0 auto;
padding: 50px 28px 28px 28px;
margin-bottom: 26px;
border-bottom-left-radius: 16px;
border-bottom-right-radius: 16px;
border-bottom: 1px solid rgba(245, 245, 245, 1);
img {
width: 100%;
display: block;
// pointer-events: none;
}
}
.dt-rule {
padding: 50px 28px 28px 28px;
background-color: #fff;
border-radius: 16px;
margin-bottom: 26px;
img {
width: 100%;
display: block;
pointer-events: none;
}
}
}
}
.bargain-remark {
color: #444;
font-size: 24px;
}
}
:global {
.video-react .video-react-poster{
position: absolute ;
display: block ;
top: 0;
left: 0;
height: 100% ;
}
.video-react .video-react-play-control{
}
.video-react-big-play-button {
display: none ;
}
.video-react .video-react-big-play-button:before {
content: '' ;
}
}