Commit 6dcf9db4e7c524d7164a748ab5591ce70db6ff03

Authored by 周伟鹏
1 parent 2afe8c1c

update

src/main/resources/templates/page/videoDetail.html
@@ -57,8 +57,7 @@ @@ -57,8 +57,7 @@
57 style="margin-left: -3%">封面图:</label> 57 style="margin-left: -3%">封面图:</label>
58 </div> 58 </div>
59 <div style="height:110px; margin-left: 17%;"> 59 <div style="height:110px; margin-left: 17%;">
60 - <div class="col-sm-4 popover-options " style="float:left;"  
61 - th:if="${imgsStat.index<2}" 60 + <div class="col-sm-4 popover-options " th:style="${imgsStat.index==0}? 'float:left;margin-right: 43px;margin-left: -18px;':''" th:if="${imgsStat.index<2}"
62 th:each="imgs :${images}"> 61 th:each="imgs :${images}">
63 <a href="#"> 62 <a href="#">
64 <img th:src="@{${imgs.value}}" height="100px" alt="封面图"> 63 <img th:src="@{${imgs.value}}" height="100px" alt="封面图">
@@ -68,8 +67,8 @@ @@ -68,8 +67,8 @@
68 </div> 67 </div>
69 <div style="height: 110px;margin-top: 15px;"> 68 <div style="height: 110px;margin-top: 15px;">
70 <label for="" class="control-label col-sm-4" 69 <label for="" class="control-label col-sm-4"
71 - style="width: 30.3%;"></label>  
72 - <div class="col-sm-4 popover-options " style="float:left;" 70 + style="width: 26.3%;"></label>
  71 + <div class="col-sm-4 popover-options " th:style="${imgsStat.index==2}?'float:left;margin-right: 15px;':'float:left;'"
73 th:if="${imgsStat.index>=2&&imgsStat.index<4}" 72 th:if="${imgsStat.index>=2&&imgsStat.index<4}"
74 th:each="imgs :${images}"> 73 th:each="imgs :${images}">
75 <a href="#"> 74 <a href="#">
@@ -80,8 +79,8 @@ @@ -80,8 +79,8 @@
80 </div> 79 </div>
81 <div style="height: 110px;margin-top: 15px;"> 80 <div style="height: 110px;margin-top: 15px;">
82 <label for="" class="control-label col-sm-4" 81 <label for="" class="control-label col-sm-4"
83 - style="width: 30.3%;"></label>  
84 - <div class="col-sm-4 popover-options" style="float:left;" 82 + style="width: 26.3%;"></label>
  83 + <div class="col-sm-4 popover-options" th:style="${imgsStat.index==4}?'float:left;margin-right: 15px;':'float:left;'"
85 th:if="${imgsStat.index>=4}" 84 th:if="${imgsStat.index>=4}"
86 th:each="imgs :${images}"> 85 th:each="imgs :${images}">
87 <a href="#"> 86 <a href="#">