style: 详情样式调整

This commit is contained in:
@changcode
2022-02-18 18:10:26 +08:00
parent 2cda8b45d4
commit 2dffe2c902
2 changed files with 3 additions and 3 deletions

View File

@@ -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