我想在下一个拍卖网站上取回计时器来制作狙击手:
我需要获得拍卖时间,我可以在:
<div class="auction-time">
<span class="h-init h-time-tick
ng-valid ng-binding ng-dirty"
ng-hide="popup.laughingSecondPrice > 0"
ng-model="auction.time" ng-bind-html="auction.time.left|timeLeftFormatForBiedWidget"
h-model-name="expires"><strong>03</strong><i>:</i><strong>31</strong>
</span>
<span ng-show="popup.laughingSecondPrice > 0" class="ng-hide">Gesloten</span>
</div>
我找不到一个正确的方法来做这件事。谁能给我指路吗?在
您只需要一个CSS selector来使用}元素:
auction-time
类在div
元素中获取{^{} function 然后返回包含的字符串值。在
演示:
^{pr2}$在浏览器中,通过Javascript代码将HTML中的时间和日期转换为相对时间。在
相关问题 更多 >
编程相关推荐