index.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <html lang="zh-cn">
  2. <head>
  3. <meta charset="UTF-8">
  4. <title class="title">[文件管理器]</title>
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <style type="text/css">
  7. .content {background: transparent;}
  8. .fixed {position: fixed;bottom: 0;left: 0;right: 0;width: 100%;}
  9. .content .mask {top: 0;background: rgba(0,0,0,.4);z-index: 90;}
  10. .content .file-content {z-index: 91;height: 60px;background: #fff;text-align: center;}
  11. .btn {position: relative;}
  12. .btn .file {position: absolute;z-index: 93;left: 0;right: 0;top: 0;bottom: 0;height: 60px;width: 100%;opacity: 0;}
  13. .btn-bg {margin-top: 10px;background: #0066CC;color: #fff;width: 80%;height: 40px;border: 0;border-radius: 5px;}
  14. .tis {top: 0;z-index: 95;display: none;justify-content: center;align-items: center;}
  15. .tis .tis-content {background: #fff;width: 60%;border-radius: 10px;padding: 20px 0;}
  16. .tis .tis-content img {width: 50px;height: 50px;}
  17. .tis-progress {margin: 10px 0;color: #999;}
  18. .cancel-btn {margin-top: 30px;height: 30px;line-height: 1;padding: 0 2em;background: #e3e3e3;color: #898989;border: 0;border-radius: 5px;}
  19. </style>
  20. </head>
  21. <body>
  22. <div class="content">
  23. <div class="fixed mask"></div>
  24. <div align="center" class="fixed tis">
  25. <div class="tis-content">
  26. <div>
  27. <img src="../../static/logo.png" >
  28. </div>
  29. <div class="tis-progress">
  30. 努力上传中..
  31. </div>
  32. <div class="cancel">
  33. <button type="button" class="cancel-btn">取消上传</button>
  34. </div>
  35. </div>
  36. </div>
  37. <div class="fixed file-content">
  38. <div class="btn">
  39. <button type="button" class="btn-bg">打开文件管理器</button>
  40. <input class="file" type="file" />
  41. </div>
  42. </div>
  43. </div>
  44. <script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
  45. <script src="js/h5-uploader.js" type="text/javascript" charset="utf-8"></script>
  46. </body>
  47. </html>