|
|
@@ -19,6 +19,10 @@
|
|
|
<link href="/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
|
|
|
<!-- END GLOBAL MANDATORY STYLES -->
|
|
|
<!-- BEGIN PAGE LEVEL PLUGINS -->
|
|
|
+ <link href="/assets/global/plugins/fancybox/source/jquery.fancybox.css" rel="stylesheet" type="text/css" />
|
|
|
+ <style>
|
|
|
+ img { max-width:100% }
|
|
|
+ </style>
|
|
|
<!-- END PAGE LEVEL PLUGINS -->
|
|
|
<!-- BEGIN THEME GLOBAL STYLES -->
|
|
|
<link href="/assets/global/css/components-rounded.min.css" rel="stylesheet" id="style_components" type="text/css" />
|
|
|
@@ -32,112 +36,97 @@
|
|
|
<link rel="shortcut icon" href="favicon.ico" />
|
|
|
</head>
|
|
|
|
|
|
-<body class="page-container-bg-solid page-header-fixed page-sidebar-closed-hide-logo"info>
|
|
|
-<!-- BEGIN HEADER -->
|
|
|
-<div class="page-header navbar navbar-fixed-top">
|
|
|
- <!-- BEGIN HEADER INNER -->
|
|
|
- <div class="page-header-inner ">
|
|
|
- <!-- BEGIN LOGO -->
|
|
|
- <div class="page-logo">
|
|
|
- <a href="http://ssrpanel.dev/user"> <img src="/assets/images/logo.png" alt="logo" class="logo-default" /> </a>
|
|
|
- </div>
|
|
|
- <!-- END LOGO -->
|
|
|
- </div>
|
|
|
- <!-- END HEADER INNER -->
|
|
|
-</div>
|
|
|
-<!-- END HEADER -->
|
|
|
-<!-- BEGIN HEADER & CONTENT DIVIDER -->
|
|
|
-<div class="clearfix"> </div>
|
|
|
-<!-- END HEADER & CONTENT DIVIDER -->
|
|
|
-<!-- BEGIN CONTAINER -->
|
|
|
-<div class="page-container">
|
|
|
- <!-- BEGIN CONTENT -->
|
|
|
- <!-- BEGIN CONTENT BODY -->
|
|
|
- <div class="page-content">
|
|
|
- <div class="row">
|
|
|
- <div class="col-md-12">
|
|
|
- <!-- BEGIN PORTLET -->
|
|
|
- <div class="portlet light bordered">
|
|
|
- <div class="portlet-title tabbable-line">
|
|
|
- <div class="caption caption-md">
|
|
|
- <i class="icon-globe theme-font hide"></i>
|
|
|
- <span class="caption-subject font-blue-madison bold uppercase">10月下旬猎户座流星雨将登场 可登山远眺观测流星</span>
|
|
|
- </div>
|
|
|
- <div class="tools">
|
|
|
- <small>发布于:{{$info->created_at}}</small>
|
|
|
+<body>
|
|
|
+ <!-- BEGIN CONTAINER -->
|
|
|
+ <div class="">
|
|
|
+ <!-- BEGIN CONTENT -->
|
|
|
+ <!-- BEGIN CONTENT BODY -->
|
|
|
+ <div class="page-content">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-md-12">
|
|
|
+ <!-- BEGIN PORTLET -->
|
|
|
+ <div class="portlet light bordered">
|
|
|
+ <div class="portlet-title tabbable-line">
|
|
|
+ <div class="caption">
|
|
|
+ <span class="caption-subject bold uppercase">10月下旬猎户座流星雨将登场 可登山远眺观测流星</span>
|
|
|
+ </div>
|
|
|
+ <div class="tools">
|
|
|
+ <small>{{$info->created_at}} {{$info->author}}</small>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="portlet-body">
|
|
|
- <!--BEGIN TABS-->
|
|
|
- <div class="tab-content">
|
|
|
- {!! $info->content !!}
|
|
|
+ <div class="portlet-body">
|
|
|
+ <!--BEGIN TABS-->
|
|
|
+ <div class="tab-content">
|
|
|
+ {!! $info->content !!}
|
|
|
+ </div>
|
|
|
+ <!--END TABS-->
|
|
|
</div>
|
|
|
- <!--END TABS-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <!-- END CONTENT BODY -->
|
|
|
- <!-- END CONTENT -->
|
|
|
-</div>
|
|
|
-<!-- END CONTAINER -->
|
|
|
-<!-- BEGIN FOOTER -->
|
|
|
-<div class="page-footer">
|
|
|
- <div class="page-footer-inner"> 2017 © <a href="https://github.com/ssrpanel/ssrpanel" target="_blank">SSRPanel</a> </div>
|
|
|
- <div class="scroll-to-top">
|
|
|
- <i class="icon-arrow-up"></i>
|
|
|
+ <!-- END CONTENT BODY -->
|
|
|
+ <!-- END CONTENT -->
|
|
|
</div>
|
|
|
-</div>
|
|
|
-<!-- END FOOTER -->
|
|
|
-<!--[if lt IE 9]>
|
|
|
-<script src="/assets/global/plugins/respond.min.js"></script>
|
|
|
-<script src="/assets/global/plugins/excanvas.min.js"></script>
|
|
|
-<script src="/assets/global/plugins/ie8.fix.min.js"></script>
|
|
|
-<![endif]-->
|
|
|
-<!-- BEGIN CORE PLUGINS -->
|
|
|
-<script src="/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
|
|
|
-<script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
|
|
|
-<script src="/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
|
|
|
-<script src="/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
|
|
|
-<script src="/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
|
|
|
-<script src="/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
|
|
|
-<!-- END CORE PLUGINS -->
|
|
|
-<!-- BEGIN PAGE LEVEL PLUGINS -->
|
|
|
-<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=SGlgj67Vik3mfeErm1sGobfO8zMy0WMt"></script>
|
|
|
-<script type="text/javascript">
|
|
|
- // 获取当前定位坐标
|
|
|
- function getLocation() {
|
|
|
- var geolocation = new BMap.Geolocation();
|
|
|
- geolocation.getCurrentPosition(function(position){
|
|
|
- if(this.getStatus() == BMAP_STATUS_SUCCESS){
|
|
|
- var lng = position.point.lng;
|
|
|
- var lat = position.point.lat;
|
|
|
+ <!-- END CONTAINER -->
|
|
|
|
|
|
- // 上报当前坐标
|
|
|
- var _token = '{{csrf_token()}}';
|
|
|
- var title = '';
|
|
|
- $.post('/locate', {_token: _token, aid:'{{$info->id}}', lat: lat, lng: lng, title:title}, function (ret) {
|
|
|
- console.log(ret);
|
|
|
- }, "json");
|
|
|
+ <!--[if lt IE 9]>
|
|
|
+ <script src="/assets/global/plugins/respond.min.js"></script>
|
|
|
+ <script src="/assets/global/plugins/excanvas.min.js"></script>
|
|
|
+ <script src="/assets/global/plugins/ie8.fix.min.js"></script>
|
|
|
+ <![endif]-->
|
|
|
+ <!-- BEGIN CORE PLUGINS -->
|
|
|
+ <script src="/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
|
|
|
+ <script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
|
|
|
+ <script src="/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
|
|
|
+ <script src="/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
|
|
|
+ <script src="/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
|
|
|
+ <script src="/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
|
|
|
+ <!-- END CORE PLUGINS -->
|
|
|
+ <!-- BEGIN PAGE LEVEL PLUGINS -->
|
|
|
+ <script src="/assets/global/plugins/fancybox/source/jquery.fancybox.js" type="text/javascript"></script>
|
|
|
+ <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=SGlgj67Vik3mfeErm1sGobfO8zMy0WMt"></script>
|
|
|
+ <script type="text/javascript">
|
|
|
+ // 获取当前定位坐标
|
|
|
+ function getLocation() {
|
|
|
+ var geolocation = new BMap.Geolocation();
|
|
|
+ geolocation.getCurrentPosition(function(position){
|
|
|
+ if(this.getStatus() == BMAP_STATUS_SUCCESS){
|
|
|
+ var lng = position.point.lng;
|
|
|
+ var lat = position.point.lat;
|
|
|
|
|
|
- console.log('lng:' + lng + ' lat:' + lat);
|
|
|
- } else {
|
|
|
- alert('failed'+this.getStatus());
|
|
|
- }
|
|
|
- },{enableHighAccuracy: true})
|
|
|
- }
|
|
|
+ // 上报当前坐标
|
|
|
+ var _token = '{{csrf_token()}}';
|
|
|
+ var title = '';
|
|
|
+ $.post('/locate', {_token: _token, aid:'{{$info->id}}', lat: lat, lng: lng, title:title}, function (ret) {
|
|
|
+ console.log(ret);
|
|
|
+ }, "json");
|
|
|
|
|
|
- // 执行定位
|
|
|
- getLocation();
|
|
|
-</script>
|
|
|
-<!-- END PAGE LEVEL PLUGINS -->
|
|
|
-<!-- BEGIN THEME GLOBAL SCRIPTS -->
|
|
|
-<script src="/assets/global/scripts/app.min.js" type="text/javascript"></script>
|
|
|
-<!-- END THEME GLOBAL SCRIPTS -->
|
|
|
-<!-- BEGIN THEME LAYOUT SCRIPTS -->
|
|
|
-<script src="/assets/layouts/layout4/scripts/layout.min.js" type="text/javascript"></script>
|
|
|
-<!-- END THEME LAYOUT SCRIPTS -->
|
|
|
+ console.log('lng:' + lng + ' lat:' + lat);
|
|
|
+ } else {
|
|
|
+ alert('failed'+this.getStatus());
|
|
|
+ }
|
|
|
+ },{enableHighAccuracy: true})
|
|
|
+ }
|
|
|
+
|
|
|
+ // 执行定位
|
|
|
+ getLocation();
|
|
|
+
|
|
|
+ // 查看商品图片
|
|
|
+ $(document).ready(function () {
|
|
|
+ $('.fancybox').fancybox({
|
|
|
+ openEffect: 'elastic',
|
|
|
+ closeEffect: 'elastic'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ </script>
|
|
|
+ <!-- END PAGE LEVEL PLUGINS -->
|
|
|
+ <!-- BEGIN THEME GLOBAL SCRIPTS -->
|
|
|
+ <script src="/assets/global/scripts/app.min.js" type="text/javascript"></script>
|
|
|
+ <!-- END THEME GLOBAL SCRIPTS -->
|
|
|
+ <!-- BEGIN THEME LAYOUT SCRIPTS -->
|
|
|
+ <script src="/assets/layouts/layout4/scripts/layout.min.js" type="text/javascript"></script>
|
|
|
+ <!-- END THEME LAYOUT SCRIPTS -->
|
|
|
</body>
|
|
|
|
|
|
</html>
|