|
| 1 | +<!--******************************************************************** |
| 2 | +* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved. |
| 3 | +*********************************************************************--> |
| 4 | +<!DOCTYPE html> |
| 5 | +<html> |
| 6 | + <head> |
| 7 | + <meta charset="utf-8" /> |
| 8 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 9 | + <title data-i18n="resources.title_examplesComponent"></title> |
| 10 | + <link rel="shortcut icon" type="image/x-icon" href="../../web/img/favicon.ico" /> |
| 11 | + <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" /> |
| 12 | + <script |
| 13 | + type="text/javascript" |
| 14 | + include="jquery,bootstrap,template,admin-lte,jquery.scrollto,i18n,lazyload" |
| 15 | + src="../js/include-web.js" |
| 16 | + ></script> |
| 17 | + <link rel="stylesheet" href="../css/common.css" /> |
| 18 | + <link rel="stylesheet" href="../css/header.css" /> |
| 19 | + <link rel="stylesheet" href="../css/sideBar.css" /> |
| 20 | + <link rel="stylesheet" href="../css/examples.css" /> |
| 21 | + <script type="text/javascript" src="../js/utils.js"></script> |
| 22 | + <style> |
| 23 | + /* 删除头部和侧边栏 */ |
| 24 | + header { |
| 25 | + display: none; |
| 26 | + } |
| 27 | + aside { |
| 28 | + display: none; |
| 29 | + } |
| 30 | + .content-wrapper { |
| 31 | + margin: 0px; |
| 32 | + } |
| 33 | + .examples-container { |
| 34 | + margin-top: 0px; |
| 35 | + } |
| 36 | + #charts-list { |
| 37 | + padding: 5px; |
| 38 | + } |
| 39 | + .category, |
| 40 | + .box.box-default, |
| 41 | + .box-body { |
| 42 | + padding: 0; |
| 43 | + } |
| 44 | + .box-header { |
| 45 | + padding: 2px; |
| 46 | + } |
| 47 | + .col-xs-6 { |
| 48 | + padding: 0 5px 2px; |
| 49 | + } |
| 50 | + .category-title { |
| 51 | + font-size: 18px; |
| 52 | + } |
| 53 | + .box-header > .fa, |
| 54 | + .box-header > .glyphicon, |
| 55 | + .box-header > .ion, |
| 56 | + .box-header .box-title { |
| 57 | + font-size: 15px; |
| 58 | + margin-left: -15px; |
| 59 | + } |
| 60 | + </style> |
| 61 | + </head> |
| 62 | + <body class="hold-transition skin-blue sidebar-mini" data-spy="scroll" data-target="#scrollSpy"> |
| 63 | + <!-- ./wrapper --> |
| 64 | + <div class="wrapper"></div> |
| 65 | + <script> |
| 66 | + $('.wrapper').load('../template/example.html', function() { |
| 67 | + var navigation = { |
| 68 | + nav: { |
| 69 | + title: 'SuperMap iClient 10i', |
| 70 | + path: '../../web/', |
| 71 | + isLocal: window.isLocal |
| 72 | + } |
| 73 | + }; |
| 74 | + utils.loadTemplate('.icl-header', '../template/header.html', navigation); |
| 75 | + $body = $('body'); |
| 76 | + |
| 77 | + $body.append("<script type='text/javascript' src='./config.js'><\/script>"); |
| 78 | + $body.append("<script type='text/javascript' src='../js/localization.js'><\/script>"); |
| 79 | + $body.append("<script type='text/javascript' src='../js/common.js'><\/script>"); |
| 80 | + $body.append("<script type='text/javascript' src='../js/sidebar.js'><\/script>"); |
| 81 | + $body.append("<script type='text/javascript' src='../js/example.js'><\/script>"); |
| 82 | + $body.append("<script type='text/javascript' src='../js/wechat.js'><\/script>"); |
| 83 | + }); |
| 84 | + </script> |
| 85 | + <!-- ./wrapper end--> |
| 86 | + </body> |
| 87 | +</html> |
0 commit comments