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