<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width, height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
name="viewport">
<title>我是家乡代言人</title>
</head>
<style>
html,body {
margin:0;
padding:0;
overflow: hidden;
}
.content {
width: 100%;
height: 100%;
top:0;
z-index: -1;
position: absolute;
}

.content img {
display: block;
outline: none;
border:0;
height: 100%;
width: 100%;
}
</style>
<body>
<div class="content">
<a href="{{url('/h5/act/show')}}/{{ $act_id}}">
<img style="width:100%;heignt:100%;" src="http://hrtvoss.oss-cn-beijing.aliyuncs.com/uploads/admin/{{$act_picname}}" alt="">
</a>
</body>
</html>

原文:https://blog.csdn.net/lovetina2017/article/details/78352839