backimg_mgn.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Pragma" content="no-cache" />
  6. <meta http-equiv="Cache-Control" content="no-cache" />
  7. <meta http-equiv="Expires" content="0" />
  8. <title>背景图片</title>
  9. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  11. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  13. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='css/frame_mgn.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <style type="text/css">
  16. .upload-file-single {
  17. position: absolute;
  18. width: 0;
  19. height: 0;
  20. left: 0;
  21. top: 0;
  22. opacity: 0;
  23. font-size: 0;
  24. filter: alpha(opacity=0);
  25. }
  26. </style>
  27. </head>
  28. <body ng-controller="backimgMgn as ctl" id="app" ng-cloak>
  29. <div class="loading" ng-if="ctl.loading">
  30. <div class="loading-msg">
  31. <h3>数据加载中,请等待</h3>
  32. <div class="spinner">
  33. <div class="bounce1"></div>
  34. <div class="bounce2"></div>
  35. <div class="bounce3"></div>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="sp-page-mgn">
  40. <div class="sp-page-tab">
  41. <a href="frame_mgn.html"><span style="font-weight: 900; "><i class="icon-th-large-outline"></i> 框架管理</span></a>
  42. <a href="desktop_mgn.html"><span style="font-weight: 900; "><i class="icon-desktop-2"></i> 桌面管理</span></a>
  43. <a href="backimg_mgn.html"><span class="pageTabActive" style="font-weight: 900; "><i class="icon-picture-1"></i> 背景图片</span></a>
  44. <div class="sp-pull-right">
  45. <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openUpload()">
  46. <i class="icon-upload-2 sp-mr-5"></i>上传图片
  47. </a>
  48. </div>
  49. </div>
  50. <div class="sp-page sp-mt-10">
  51. <div class="sp-col-100">
  52. <div class="sp-page" ng-if="ctl.frameArray.length>0" style="max-height:500px; overflow-y:auto;">
  53. <div class="sp-col-20" style="width: 386px; margin:10px;" ng-repeat="item in ctl.frameArray">
  54. <div class="sp-page-col" style="width: 256px; height: 144px;">
  55. <img ng-src="{{item.IMAGESMALL}}" style="width:100%; height:144px; float:left;" />
  56. </div>
  57. <div class="sp-page-col" style="width:100px; height:144px;">
  58. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-click="ctl.btnDelImg(item,index)">删除</button></div>
  59. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-disabled="{{item.indexnum==1}}" ng-click="ctl.btnMoveUp(item,item.indexnum)">上移</button></div>
  60. <div class="sp-page sp-text-center sp-mt-5"><button class="sp-btn-default-outline sp-btn-radius" ng-disabled="{{item.indexnum==ctl.frameArray.length}}" ng-click="ctl.btnMoveDown(item,item.indexnum)">下移</button></div>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="sp-page sp-mt-30" ng-if="ctl.frameArray.length<1">
  65. <div class="sp-lh-50 sp-text-center">暂无数据!</div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <div class="sp-layer" id="layer_uploadImg" data-title="上传图片" style="width: 760px;">
  71. <div class="sp-layer-body">
  72. <div class="sp-page">
  73. <table class="sp-grid-job">
  74. <tbody>
  75. <tr>
  76. <td style="width:100px;">选择图片</td>
  77. <td>
  78. <span class="sp-upload">
  79. <img class="sp-upload-img" data-url="" ng-src="{{ctl.info.photo1}}" alt="" style="width: 200px; height: 160px;" />
  80. <input type="file" id="fileupload" ng-click="ctl.upload()" class="sp-upload-file-img" />
  81. </span>
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </div>
  87. <div class="sp-lh-30 sp-text-center sp-color-red sp-fs-16" ng-if="ctl.uploading">正在上传,请稍等...</div>
  88. <div class="sp-page sp-text-center sp-pt-10">
  89. <a class="sp-btn-blue sp-sm sp-radius" ng-click="ctl.closeImgLayer()">
  90. <i class="fa fa-close"></i>&nbsp;关 闭
  91. </a>
  92. </div>
  93. </div>
  94. </div>
  95. <script src="../../AFrontEnd/js/jquery/jquery-1.8.3.min.js"></script>
  96. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  97. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  98. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  99. <script src="../../apiurljs.js"></script>
  100. <script src="../../js/sm4.js"></script>
  101. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  102. <script>document.write('<scri' + 'pt src="js/backimg_mgn.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  103. <script src="../../AFrontEnd/js/special/spng.js"></script>
  104. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  105. <!--附件-->
  106. <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  107. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  108. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  109. </body>
  110. </html>