소스 검색

modal可移动

MaiXinRong 3 년 전
부모
커밋
403213f596
4개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      app/public/css/main.css
  2. 4 0
      app/public/js/global.js
  3. 1 1
      config/config.default.js
  4. 1 1
      config/config.uat.js

+ 2 - 1
app/public/css/main.css

@@ -1055,7 +1055,8 @@ label{
   font-size:100%;
 }
 .modal-header{
-  padding:.5rem 1rem
+  padding:.5rem 1rem;
+  cursor: move;
 }
 .modal-title{
   font-size:16px;

+ 4 - 0
app/public/js/global.js

@@ -1151,3 +1151,7 @@ function hpackArrBack(data) {
     });
     return result;
 }
+
+$(document).ready(function () {
+  $('.modal').draggable({handle: '.modal-header'});
+});

+ 1 - 1
config/config.default.js

@@ -230,7 +230,7 @@ module.exports = appInfo => {
         },
     };
 
-    config.fujianOssPath = 'https://jiliang-saas-oss.smartcost.com.cn/';
+    config.fujianOssPath = 'https://jiliang-saas-oss-cdn.smartcost.com.cn/';
     config.fujianOssFolder = '';
 
     config.syncUrl = 'http://sync.jl.smartcost.com.cn/';

+ 1 - 1
config/config.uat.js

@@ -81,7 +81,7 @@ module.exports = appInfo => {
         },
     };
 
-    config.fujianOssPath = 'https://jiliang-qa-oss.smartcost.com.cn/uat/';
+    config.fujianOssPath = 'https://jiliang-qa-oss-cdn.smartcost.com.cn/uat/';
     config.fujianOssFolder = 'uat/';
 
     config.syncUrl = 'https://jluat-sync.smartcost.com.cn/';