查看相册


<html>
<head>
<title>查看相册</title>
<meta name="decorator" content="default"/>
<script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<script src="layer/layer.js"></script>

<style>
html{background-color:#E3E3E3; font-size:14px; color:#000; font-family:'微软雅黑'}
a,a:hover{ text-decoration:none;}
pre{font-family:'微软雅黑'}
.box{padding:20px; background-color:#fff; margin:50px 100px; border-radius:5px;}
.box a{padding-right:15px;}
#about_hide{display:none}
.layer_text{background-color:#fff; padding:20px;}
.layer_text p{margin-bottom: 10px; text-indent: 2em; line-height: 23px;}
.button{display:inline-block; *display:inline; *zoom:1; line-height:30px; padding:0 20px; background-color:#56B4DC; color:#fff; font-size:14px; border-radius:3px; cursor:pointer; font-weight:normal;}
.photos-demo img{width:200px;}
</style>

</head>
<body>

    <div class="">
	<!-- 现场照片 -->
	<table class="">
		<thead>
			<tr>
				<th><img src="${}/common/img/photos.png" weight="30" height="30" />  照片</th>
			</tr>
			<tr>
				<th>
					<div class="box">
					    <div id="photosDemo" class="photos-demo">
					        <c:forEach items="${imgList}" var="fileUrl" varStatus="tabId" begin="0">
					        	<img layer-src="${imgList[tabId.count-1]}" layer-pid="" src="${imgList[tabId.count-1]}" alt="图片_${tabId.count-1}">
					        </c:forEach>
					    </div>
					</div>
				</th>
			</tr>
		</thead>
	</table>
    </div>

<script>

;!function(){
//页面一打开就执行,放入ready是为了layer所需配件(css、扩展模块)加载完毕
layer.ready(function(){
    //使用相册
    layer.photos({
        photos: '#photosDemo',
        shadeClose:false,
        closeBtn:2,
        anim: 1
    });
});
}();

</script>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值