Commit 6dcf9db4e7c524d7164a748ab5591ce70db6ff03

Authored by 周伟鹏
1 parent 2afe8c1c

update

src/main/resources/templates/page/videoDetail.html
... ... @@ -57,8 +57,7 @@
57 57 style="margin-left: -3%">封面图:</label>
58 58 </div>
59 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 61 th:each="imgs :${images}">
63 62 <a href="#">
64 63 <img th:src="@{${imgs.value}}" height="100px" alt="封面图">
... ... @@ -68,8 +67,8 @@
68 67 </div>
69 68 <div style="height: 110px;margin-top: 15px;">
70 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 72 th:if="${imgsStat.index>=2&&imgsStat.index<4}"
74 73 th:each="imgs :${images}">
75 74 <a href="#">
... ... @@ -80,8 +79,8 @@
80 79 </div>
81 80 <div style="height: 110px;margin-top: 15px;">
82 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 84 th:if="${imgsStat.index>=4}"
86 85 th:each="imgs :${images}">
87 86 <a href="#">
... ...