master
wangning 7 years ago
parent 3c9e1bedcc
commit ed75226b06

@ -186,10 +186,10 @@
<div class="weui-cell__bd weui-cell_primary" <div class="weui-cell__bd weui-cell_primary"
th:text="${bd.bd_name}"> th:text="${bd.bd_name}">
<span style="color: green" <span style="color: green"
th:if="${bd.compare and $bd.compare.direction>0}" th:if="${bd.compare and bd.compare.direction>0}"
th:text="'↑('+${bd.compare.value}+')'"></span> th:text="'↑('+${bd.compare.value}+')'"></span>
<span style="color: red" <span style="color: red"
th:if="${bd.compare and $bd.compare.direction>0}" th:if="${bd.compare and bd.compare.direction>0}"
th:text="'↓('+${bd.compare.value}+')'"></span> th:text="'↓('+${bd.compare.value}+')'"></span>
</div> </div>
<div class="weui-cell__ft" th:text="${bd.total}"></div> <div class="weui-cell__ft" th:text="${bd.total}"></div>

@ -36,8 +36,8 @@
<div class="weui-cell"> <div class="weui-cell">
<div class="weui-cell__bd weui-cell_primary">较上周比较</div> <div class="weui-cell__bd weui-cell_primary">较上周比较</div>
<div class="weui-cell__ft"> <div class="weui-cell__ft">
<span th:if="${partner.compare.direction>0}" th:text="'↑'+${$partner.compare.value}" style="color: green"></span> <span th:if="${partner.compare.direction>0}" th:text="'↑'+${partner.compare.value}" style="color: green"></span>
<span th:if="${partner.compare.direction<0}" th:text="'↓'+${$partner.compare.value}" style="color: red" ></span> <span th:if="${partner.compare.direction<0}" th:text="'↓'+${partner.compare.value}" style="color: red" ></span>
<span th:if="${partner.compare.direction==0}" th:text="${partner.compare.value}"></span> <span th:if="${partner.compare.direction==0}" th:text="${partner.compare.value}"></span>
</div> </div>
</div> </div>

Loading…
Cancel
Save