|
@@ -122,7 +122,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="area-container">
|
|
|
|
|
|
|
+ <!-- <div class="area-container">
|
|
|
<div class="area-item">
|
|
<div class="area-item">
|
|
|
<div class="title">推荐直播</div>
|
|
<div class="title">推荐直播</div>
|
|
|
<div class="live-room-list">
|
|
<div class="live-room-list">
|
|
@@ -158,7 +158,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
|
+ </div> -->
|
|
|
|
|
|
|
|
<div class="foot">*部分内容来源网络,如有侵权,请联系我删除~</div>
|
|
<div class="foot">*部分内容来源网络,如有侵权,请联系我删除~</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -355,17 +355,21 @@ function joinHlsRoom() {
|
|
|
}
|
|
}
|
|
|
.container {
|
|
.container {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
|
padding: 15px 0;
|
|
padding: 15px 0;
|
|
|
- width: $w-1350;
|
|
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+ height: calc($w-1100 / $video-ratio);
|
|
|
|
|
+
|
|
|
.left {
|
|
.left {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
|
+ margin-right: 20px;
|
|
|
width: $w-1100;
|
|
width: $w-1100;
|
|
|
- height: 618px;
|
|
|
|
|
|
|
+ height: 100%;
|
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
|
background-color: rgba($color: #000000, $alpha: 0.3);
|
|
background-color: rgba($color: #000000, $alpha: 0.3);
|
|
|
|
|
|
|
@@ -462,11 +466,12 @@ function joinHlsRoom() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.right {
|
|
.right {
|
|
|
|
|
+ flex-shrink: 0;
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
overflow: scroll;
|
|
overflow: scroll;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
- padding: 12px;
|
|
|
|
|
- height: 618px;
|
|
|
|
|
|
|
+ padding: 12px 10px;
|
|
|
|
|
+ height: 100%;
|
|
|
border-radius: 4px;
|
|
border-radius: 4px;
|
|
|
background-color: rgba($color: #000000, $alpha: 0.3);
|
|
background-color: rgba($color: #000000, $alpha: 0.3);
|
|
|
|
|
|
|
@@ -560,6 +565,8 @@ function joinHlsRoom() {
|
|
|
.area-container {
|
|
.area-container {
|
|
|
margin: 10px auto;
|
|
margin: 10px auto;
|
|
|
width: $w-1350;
|
|
width: $w-1350;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+
|
|
|
.area-item {
|
|
.area-item {
|
|
|
.title {
|
|
.title {
|
|
|
padding: 10px 0;
|
|
padding: 10px 0;
|
|
@@ -633,23 +640,22 @@ function joinHlsRoom() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// 屏幕宽度大于1500的时候
|
|
|
|
|
-@media screen and (min-width: $w-1500) {
|
|
|
|
|
|
|
+// 屏幕宽度小于1330的时候
|
|
|
|
|
+@media screen and (max-width: 1330px) {
|
|
|
.home-wrap {
|
|
.home-wrap {
|
|
|
.play-container {
|
|
.play-container {
|
|
|
.container {
|
|
.container {
|
|
|
- width: $w-1350;
|
|
|
|
|
|
|
+ height: calc($w-900 / $video-ratio);
|
|
|
|
|
+
|
|
|
.left {
|
|
.left {
|
|
|
- width: $w-1100;
|
|
|
|
|
- height: 618px;
|
|
|
|
|
|
|
+ width: $w-900;
|
|
|
}
|
|
}
|
|
|
.right {
|
|
.right {
|
|
|
- height: 618px;
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.area-container {
|
|
.area-container {
|
|
|
- width: $w-1350;
|
|
|
|
|
|
|
+ width: $w-1200;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|