123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Cache-Control" content="no-cache" />
- <meta http-equiv="Expires" content="0" />
- <title>背景图片</title>
- <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <script>document.write("<link href='css/frame_mgn.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style type="text/css">
- .upload-file-single {
- position: absolute;
- width: 0;
- height: 0;
- left: 0;
- top: 0;
- opacity: 0;
- font-size: 0;
- filter: alpha(opacity=0);
- }
- </style>
- </head>
- <body ng-controller="backimgMgn as ctl" id="app" ng-cloak>
- <div class="loading" ng-if="ctl.loading">
- <div class="loading-msg">
- <h3>数据加载中,请等待</h3>
- <div class="spinner">
- <div class="bounce1"></div>
- <div class="bounce2"></div>
- <div class="bounce3"></div>
- </div>
- </div>
- </div>
- <div class="sp-page-mgn">
- <div class="sp-page-tab">
- <a href="frame_mgn.html"><span style="font-weight: 900; "><i class="icon-th-large-outline"></i> 框架管理</span></a>
- <a href="desktop_mgn.html"><span style="font-weight: 900; "><i class="icon-desktop-2"></i> 桌面管理</span></a>
- <a href="backimg_mgn.html"><span class="pageTabActive" style="font-weight: 900; "><i class="icon-picture-1"></i> 背景图片</span></a>
- <div class="sp-pull-right">
-
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openUpload()">
- <i class="icon-upload-2 sp-mr-5"></i>上传图片
- </a>
- </div>
- </div>
- <div class="sp-page sp-mt-10">
- <div class="sp-col-100">
- <div class="sp-page" ng-if="ctl.frameArray.length>0" style="max-height:500px; overflow-y:auto;">
- <div class="sp-col-20" style="width: 386px; margin:10px;" ng-repeat="item in ctl.frameArray">
- <div class="sp-page-col" style="width: 256px; height: 144px;">
- <img ng-src="{{item.IMAGESMALL}}" style="width:100%; height:144px; float:left;" />
- </div>
- <div class="sp-page-col" style="width:100px; height:144px;">
- <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>
- <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>
- <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>
- </div>
-
-
- </div>
- </div>
- <div class="sp-page sp-mt-30" ng-if="ctl.frameArray.length<1">
- <div class="sp-lh-50 sp-text-center">暂无数据!</div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="layer_uploadImg" data-title="上传图片" style="width: 760px;">
- <div class="sp-layer-body">
- <div class="sp-page">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td style="width:100px;">选择图片</td>
- <td>
- <span class="sp-upload">
- <img class="sp-upload-img" data-url="" ng-src="{{ctl.info.photo1}}" alt="" style="width: 200px; height: 160px;" />
- <input type="file" id="fileupload" ng-click="ctl.upload()" class="sp-upload-file-img" />
- </span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-lh-30 sp-text-center sp-color-red sp-fs-16" ng-if="ctl.uploading">正在上传,请稍等...</div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-sm sp-radius" ng-click="ctl.closeImgLayer()">
- <i class="fa fa-close"></i> 关 闭
- </a>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-1.8.3.min.js"></script>
- <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
- <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
- <script src="../../apiurljs.js"></script>
- <script src="../../js/sm4.js"></script>
- <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script>document.write('<scri' + 'pt src="js/backimg_mgn.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- <script src="../../AFrontEnd/js/special/spngvld.js"></script>
- <!--附件-->
- <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
- </body>
- </html>
|