Commit 24dbcb07 by 前端

Merge branch 'xuyl_dev_v2.6.0' into 'v2.6.0'

更新样式修复代码

See merge request !130
2 parents 61b8294f 6f016ad6
...@@ -187,6 +187,7 @@ ...@@ -187,6 +187,7 @@
width: 16px; width: 16px;
height: 16px; height: 16px;
vertical-align: middle; vertical-align: middle;
padding-right: 8px;
} }
.headPortrait { .headPortrait {
......
...@@ -394,7 +394,7 @@ export default { ...@@ -394,7 +394,7 @@ export default {
isFiveDisplay: '', isFiveDisplay: '',
screenWidth: null, screenWidth: null,
displayNum: '', //展示的数目 displayNum: '', //展示的数目
closeFlag: false, //展开收起 closeFlag: false, //展开收起 显示收起的时候为true
isAddScrm: true, isAddScrm: true,
crowdType: 3, crowdType: 3,
isCloseShowNumTag: false, isCloseShowNumTag: false,
...@@ -455,13 +455,19 @@ export default { ...@@ -455,13 +455,19 @@ export default {
screenWidth: { screenWidth: {
handler: function(val) { handler: function(val) {
if (val >= 1440) { if (val >= 1440) {
this.backupNum = this.displayNum = 5 if (!this.closeFlag) {
this.displayNum = 5
}
this.isFourDisplay = false this.isFourDisplay = false
this.isFiveDisplay = true this.isFiveDisplay = true
this.backupNum = 5
} else { } else {
this.backupNum = this.displayNum = 4 if (!this.closeFlag) {
this.displayNum = 4
}
this.isFourDisplay = true this.isFourDisplay = true
this.isFiveDisplay = false this.isFiveDisplay = false
this.backupNum = 4
} }
}, },
deep: true deep: true
...@@ -1203,6 +1209,9 @@ export default { ...@@ -1203,6 +1209,9 @@ export default {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
padding-left: 16px; padding-left: 16px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
.itemBottom { .itemBottom {
...@@ -1271,6 +1280,9 @@ export default { ...@@ -1271,6 +1280,9 @@ export default {
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
padding-left: 16px; padding-left: 16px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
.itemBottom { .itemBottom {
......
...@@ -319,11 +319,17 @@ export default { ...@@ -319,11 +319,17 @@ export default {
screenWidth: { screenWidth: {
handler: function(val) { handler: function(val) {
if (val >= 1440) { if (val >= 1440) {
this.displayNumCopy = this.displayNum = 5 if (!this.closeFlag) {
this.displayNum = 5
}
this.displayNumCopy = 5
this.isBigMarketItem = false this.isBigMarketItem = false
this.isSecondBigMarketItem = true this.isSecondBigMarketItem = true
} else { } else {
this.displayNumCopy = this.displayNum = 4 if (!this.closeFlag) {
this.displayNum = 4
}
this.displayNumCopy = 4
this.isBigMarketItem = true this.isBigMarketItem = true
this.isSecondBigMarketItem = false this.isSecondBigMarketItem = false
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!