style: 详情样式调整
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
padding: 6px 15px;
|
||||
margin: 0 12px 0 0;
|
||||
text-align: center;
|
||||
min-width: 210px;
|
||||
white-space: nowrap;
|
||||
height: 32px;
|
||||
line-height: 1.5;
|
||||
background-color: #EFF6FE;
|
||||
|
||||
@@ -42,8 +42,8 @@ export default {
|
||||
data.map((item, index) => {
|
||||
if (this.$refs[value + index]) {
|
||||
// 每条数据的宽度
|
||||
const width = this.$refs[value + index].offsetWidth + 35
|
||||
if (width > 35 && width !== 0) {
|
||||
const width = this.$refs[value + index].offsetWidth + 44
|
||||
if (width > 44 && width !== 0) {
|
||||
sum += width
|
||||
if (flag && sum >= relatedServerWidth && num === 1) {
|
||||
flag = false
|
||||
|
||||
Reference in New Issue
Block a user