我有这段代码:
PRIMARY KEY
当我运行网站并打开firebug时,此div <div class="clearfix" id="image-block" ng-init="GetAllSingleProduct">
<div id="wowslider-container1" >
<div class="ws_images" ng-repeat="image in allSingleProduct"><ul>
<li><img ng-src="imagesT/data/images/{{image.imagename}}" alt="WIN_20150316_191218" title="WIN_20150316_191218" class=""/></li>
</ul></div>
<div class="ws_bullets" ng-repeat="image in allSingleProduct"><div>
<a href="#" title="WIN_20150316_191218"><span><img ng-src="imagesT/data/tooltips/{{image.imagename}}" alt="WIN_20150316_191218"/>1</span></a>
</div></div><div class="ws_script" style="position:absolute;left:-99%"><a href="http://wowslider.com">slider</a> by hasan</div>
<div class="ws_shadow"></div>
</div>
</div>
不会出现。任何人都可以帮忙吗?
答案 0 :(得分:0)
如果您的div.ws_images
代码未显示,则表示您的allSingleProduct
数组中没有元素且ng-repeat
没有循环播放。
确保allSingleProduct
不为空。