提交 ec12c1f0 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'feature-appmarketv2' into 'develop'

应用市场横向滚动条不显示调整

See merge request o2oa/o2oa!1587
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
<div class="o2_appmarket_recommendRightTopMask"></div> <div class="o2_appmarket_recommendRightTopMask"></div>
<div class="o2_appmarket_recommendRightTitle" data-o2-element="recommendRightTopTitle"></div> <div class="o2_appmarket_recommendRightTitle" data-o2-element="recommendRightTopTitle"></div>
</div> </div>
<div style="clear:both;"></div>
<div class="o2_appmarket_recommendRightBottom" data-o2-element="rightBottomCoverNode"> <div class="o2_appmarket_recommendRightBottom" data-o2-element="rightBottomCoverNode">
<div class="o2_appmarket_recommendRightBottomPic" data-o2-element="recommendRightBottomPic"></div> <div class="o2_appmarket_recommendRightBottomPic" data-o2-element="recommendRightBottomPic"></div>
<div class="o2_appmarket_recommendRightBottomMask"></div> <div class="o2_appmarket_recommendRightBottomMask"></div>
......
.o2_appmarket_content { .o2_appmarket_content {
margin: 40px 20px 0px 40px; margin: 40px 0px 0px 40px;
width:100%;
min-width: 1280px; min-width: 1280px;
min-height: 700px; min-height: 700px;
font-size: 14px; font-size: 14px;
...@@ -22,7 +21,7 @@ ...@@ -22,7 +21,7 @@
} }
.o2_appmarket_recommendLeft { .o2_appmarket_recommendLeft {
float: left; float: left;
width:65%; width:63%;
height:100%; height:100%;
border-radius:16px; border-radius:16px;
border:1px solid rgba(151,151,151,1); border:1px solid rgba(151,151,151,1);
...@@ -65,11 +64,9 @@ ...@@ -65,11 +64,9 @@
} }
.o2_appmarket_recommendRight { .o2_appmarket_recommendRight {
float: left;
height: 100%; height: 100%;
width: 35%; margin-left:64%;
margin-left:10px; margin-right:40px;
margin-right:30px;
} }
.o2_appmarket_recommendRightTop { .o2_appmarket_recommendRightTop {
height: 49%; height: 49%;
......
...@@ -192,7 +192,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent.Applications= new Class({ ...@@ -192,7 +192,7 @@ MWF.xApplication.AppMarketV2.ApplicationsContent.Applications= new Class({
//this.content.appCategory_count.empty(); //this.content.appCategory_count.empty();
//new Element("div",{"text":this.content.currentcategory.name+"("+this.content.currentcategory.count+")"}).inject(this.content.appCategory_count); //new Element("div",{"text":this.content.currentcategory.name+"("+this.content.currentcategory.count+")"}).inject(this.content.appCategory_count);
var appsdiv = this.content.appList; var appsdiv = this.content.appList;
var appsdivwidth= appsdiv.clientWidth-70; var appsdivwidth= appsdiv.clientWidth-40;
//appwidth = (appsdivwidth-200)/7; //appwidth = (appsdivwidth-200)/7;
rowappnum = parseInt(appsdivwidth/240); rowappnum = parseInt(appsdivwidth/240);
rowappmargin = (appsdivwidth/240-rowappnum) * 240 / (rowappnum-1); rowappmargin = (appsdivwidth/240-rowappnum) * 240 / (rowappnum-1);
......
...@@ -83,11 +83,11 @@ MWF.xApplication.AppMarketV2.RecommendContent.Recommend= new Class({ ...@@ -83,11 +83,11 @@ MWF.xApplication.AppMarketV2.RecommendContent.Recommend= new Class({
}, },
loadItems: function(data){ loadItems: function(data){
debugger; debugger;
var recommendWidth = this.content.topRecommendContent.clientWidth; //var recommendWidth = this.content.topRecommendContent.clientWidth;
var recommendLeftWidth = (recommendWidth - 80-10)*0.65; //var recommendLeftWidth = (recommendWidth - 80-10)*0.65;
var recommendRightWidth = (recommendWidth - 80-10)*0.35; //var recommendRightWidth = (recommendWidth - 80-10)*0.35;
this.content.leftCoverNode.setStyle("width",recommendLeftWidth+"px"); //this.content.leftCoverNode.setStyle("width",recommendLeftWidth+"px");
this.content.rightCoverNode.setStyle("width",recommendRightWidth+"px"); //this.content.rightCoverNode.setStyle("width",recommendRightWidth+"px");
data.each(function(d, i){ data.each(function(d, i){
this.loadItem(d, i); this.loadItem(d, i);
}.bind(this)); }.bind(this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册