|
@@ -7,7 +7,7 @@ $(function () {
|
|
|
loadSize("main", function() {
|
|
|
refreshSubSpread();
|
|
|
});
|
|
|
-
|
|
|
+ $("#header-menu").removeAttr('style');
|
|
|
projectInfoObj.showProjectInfo();
|
|
|
projectObj.checkMainSpread();
|
|
|
projectObj.loadProjectData();
|
|
@@ -79,12 +79,12 @@ function slideResize(rootElement, callback) {
|
|
|
// 判断拖动范围不能超出
|
|
|
topChangeHeight = topContentHeight + moveHeight;
|
|
|
topChangeHeight = topChangeHeight < 170 ? 170 : topChangeHeight;
|
|
|
- topChangeHeight = topChangeHeight > 700 ? 700 : topChangeHeight;
|
|
|
+ topChangeHeight = topChangeHeight > 700 ? 709 : topChangeHeight;
|
|
|
topContentEle.children(".main-data-top").height(topChangeHeight);
|
|
|
|
|
|
bottomChangeHeight = bottomContentHeight - moveHeight;
|
|
|
bottomChangeHeight = bottomChangeHeight < 170 ? 170 : bottomChangeHeight;
|
|
|
- bottomChangeHeight = bottomChangeHeight > 700 ? 700 : bottomChangeHeight;
|
|
|
+ bottomChangeHeight = bottomChangeHeight > 700 ? 709 : bottomChangeHeight;
|
|
|
bottomContentEle.children().find(".main-data-bottom").height(bottomChangeHeight - navHeight);
|
|
|
}
|
|
|
});
|
|
@@ -96,6 +96,8 @@ function slideResize(rootElement, callback) {
|
|
|
drag = false;
|
|
|
// 存入本地缓存
|
|
|
const id = rootElement.attr('id');
|
|
|
+ topChangeHeight = topChangeHeight >= 700 ? 709 : topChangeHeight;
|
|
|
+ bottomChangeHeight = bottomChangeHeight >= 700 ? 709 : bottomChangeHeight;
|
|
|
setLocalCache('topHeight:' + id, topChangeHeight);
|
|
|
setLocalCache('bottomHeight:' + id, bottomChangeHeight);
|
|
|
}
|
|
@@ -123,6 +125,6 @@ function loadSize(tag, callback) {
|
|
|
bottomHeight = parseFloat(bottomHeight);
|
|
|
$("#"+ tag +" .main-data-top").height(topHeight);
|
|
|
$("#"+ tag +" .main-data-bottom").height(bottomHeight - navHeight);
|
|
|
- $("#"+ tag +" .bottom-content").height(bottomHeight);
|
|
|
+ // $("#"+ tag +" .bottom-content").height(bottomHeight);
|
|
|
callback();
|
|
|
}
|