74 lines
2.2 KiB
HTML
74 lines
2.2 KiB
HTML
<!--农贸市场-->
|
|
<style>
|
|
.visiblity-hide{
|
|
visibility: hidden;
|
|
}
|
|
.visiblity-show{
|
|
visibility: visible;
|
|
}
|
|
.color-1 {
|
|
color: #FF6600!important;
|
|
}
|
|
.imgNull{
|
|
background: #ff8000;
|
|
}
|
|
.imgActive{
|
|
|
|
background: url({{imagesGroup.market}}) left top no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
@media (max-width: 767px){
|
|
.imgActive{
|
|
background: url({{imagesGroup.SmallMarket}}) left top no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
}
|
|
</style>
|
|
<div class="subbanner-small" style="position: relative; z-index: 0;" ng-class="{true:'imgActive',false:'imgNull'}[(imagesGroup.SmallMarket.length>1 || imagesGroup.market.length>1)?true:false]">
|
|
<div class="subbanner-inner">
|
|
<div class="container">
|
|
<h1>农贸市场</h1>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="market">
|
|
<div class="tablebox">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
|
|
<th>名称</th>
|
|
<th>现价</th>
|
|
<th>涨幅</th>
|
|
<th>涨跌</th>
|
|
<th>今开</th>
|
|
<th>最高</th>
|
|
<th>最低</th>
|
|
<th>成交量</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="MarketList">
|
|
<tr ui-sref="root.market.detail({pid: item.id,title:item.itemname,imgSrc:item.thumb})" ng-repeat="item in pageData">
|
|
|
|
<td ng-bind="item.itemname"></td>
|
|
|
|
<td ng-class="{'color-1':item.buyprice-item.nowOpen>0,'color-4':item.buyprice-item.nowOpen<0}"><em class="flipy" ng-bind="item.buyprice"></em></td>
|
|
|
|
<td ng-class="{'color-1':item.buyprice-item.nowOpen>0,'color-4':item.buyprice-item.nowOpen<0}"><em class="flipy" ng-bind="(((item.buyprice-item.nowOpen)/item.nowOpen)*100)+'%'"></em></td>
|
|
<td ng-class="{'color-1':item.buyprice-item.nowOpen>0,'color-4':item.buyprice-item.nowOpen<0}"><em class="flipy" ng-bind="item.buyprice-item.nowOpen"></em></td>
|
|
|
|
|
|
<td ng-bind="item.nowOpen"></td>
|
|
<td ng-class="{'color-1':item.buyprice-item.nowOpen>0,'color-4':item.buyprice-item.nowOpen<0}"><em class="flipy" ng-bind="item.HighestPrice"></em></td>
|
|
|
|
<td ng-class="{'color-1':item.buyprice-item.nowOpen>0,'color-4':item.buyprice-item.nowOpen<0}"><em class="flipy" ng-bind="item.LowestPrice"></em></td>
|
|
<td><em class="flipy" ng-bind="item.successNum"></em></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|