index.html 1.9 KB
<script type="text/javascript" src='js/custom/productlist.js'></script>

<style>
	.check_icon {
		position: absolute;
		top: -7px;
		right: -4px;
	}
</style>
<div class="pageheader notab">
	<h1 class="pagetitle">广告位管理列表</h1>
    <span class="pagedesc">管理V商城首页广告位滚动列表</span>
</div>
<!--pageheader-->
<div id="contentwrapper" class="contentwrapper nopadding">
	<div class="prodwrapper">
		<div class="prodhead">
			<ul class="prodhead_menu">
				<li ng-if="currentPage != 1"><a class="prev prev_disabled"></a></li>
				<li ng-if="currentPage != numPages"><a class="next"></a></li>
				<li class="right"><span class="pagenuminfo">第{{currentPage}}页-第{{numPages}}页&nbsp;&nbsp;共{{totalRecord}}条</span></li>
			</ul>
			<span class="clearall"></span>
		</div>
		<!--prodhead-->
		<div class="prodcontent">
			<ul class="prodlist">
				<li class="one_third">
					<div class="thumb">
						<a href="#addAdvert/"><img src="images/i-new-pro.png" alt="" style="width: 225px; height: 162px;"/></a>
					</div>
				</li>
				<li class="one_third" ng-repeat="advert in adverts">
					<a href='#addAdvert/{{advert.imAdvertId}}'>
						<div class="thumb">
							<img ng-src="{{advert.imageUrl}}" alt="" style="width: 225px; height: 162px;"/>
						</div>
						<div class="content">
							<div class="contentinner">
								<div>
									<span class="title">{{advert.name}}</span>
									<span class="price" ng-if="advert.typeId==1">商品广告位</span>
									<span class="price" ng-if="advert.typeId==2">链接广告位</span>
									<span class="price" ng-if="advert.typeId==3">专场广告位</span>
								</div>
							</div>
							<!--contentinner-->
						</div>
					</a>
					<!--content-->
					<div class="check_icon" ng-if="advert.isShow==1">
						<img alt="" src="images/39-check.png">
					</div>
				</li>
			</ul>
		</div>
		<!--prodcontent-->
		<br clear="all" />
	</div>
	<!--prodwrapper-->
</div>
<!--contentwrapper-->