如果content取的的事當前頁面元素內容時,type類型應該為1
layer.open({
type: 1,
title: '內容區域',
content: $('#DIV_EditUserInfo'), // 設置跳轉的div,跳轉到對應的頁面
area: ["920px", "250px"],
});
如果content取的的路徑,或者某個頁面,type類型應該為2
layer.open({
type: 2,
title: "內容區域",
content: 'UserInfoEdit.html?actionType=new', // 設置跳轉的url,跳轉到對應的頁面
area: ["1500px", "100%"],
});