index.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>cos-js-sdk-v5</title>
  9. <style>
  10. body { font-family: "Microsoft YaHei";}
  11. .page { min-width:1000px; margin:0 auto; padding: 0 50px;}
  12. .main-wrap { float: left; width: 100%; }
  13. .main { margin-right: 700px; margin-bottom: 20px; }
  14. .siderbar { float: left; width: 600px; margin-left: -600px; margin-bottom: 20px; padding-top: 60px }
  15. .result { line-height:1.3;font-size: 13px;font-family:monospace;border:1px solid #006eff;margin:0;height:200px;overflow:auto;box-sizing:border-box;padding:5px;}
  16. h1 { font-weight: normal; color:#333;}
  17. a { color: #006eff; background-color: transparent; padding: 8px 16px; line-height: 1.3; display: inline-block; text-align: center; margin: 0 8px 8px 0; border: 1px solid #006eff; font-size: 14px; text-decoration: none; }
  18. a:hover { color: #fff; background-color: #006eff; }
  19. hr {border: 0; border-top: 1px solid #006eff;}
  20. </style>
  21. </head>
  22. <body>
  23. <div class="page">
  24. <h1>cos-js-sdk-v5</h1>
  25. <div class="main-wrap">
  26. <div class="main"></div>
  27. </div>
  28. <div class="siderbar">
  29. <pre class="result"></pre>
  30. </div>
  31. </div>
  32. <script src="../dist/cos-js-sdk-v5.js"></script>
  33. <script src="./demo.js"></script>
  34. </body>
  35. </html>