优化(ui): 放大细码与表格等字体提升可读性
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -58,10 +58,10 @@ export default {
|
||||
return getFineCodeTableWidth(this.columns);
|
||||
},
|
||||
tableScrollHeight() {
|
||||
const rowHeight = 56;
|
||||
const headerHeight = 56;
|
||||
const rowHeight = 68;
|
||||
const headerHeight = 68;
|
||||
const total = headerHeight + this.list.length * rowHeight;
|
||||
return `${Math.min(Math.max(total, 112), 480)}rpx`;
|
||||
return `${Math.min(Math.max(total, 136), 520)}rpx`;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
@@ -91,7 +91,7 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
.popupTitle {
|
||||
font-size: 32rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-bottom: 20rpx;
|
||||
@@ -102,7 +102,7 @@ export default {
|
||||
text-align: center;
|
||||
color: #999;
|
||||
padding: 40rpx 0;
|
||||
font-size: 28rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.tableScroll {
|
||||
width: 100%;
|
||||
@@ -131,8 +131,8 @@ export default {
|
||||
}
|
||||
.tableCell {
|
||||
flex-shrink: 0;
|
||||
padding: 12rpx 8rpx;
|
||||
font-size: 22rpx;
|
||||
padding: 16rpx 10rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
border-right: 1rpx solid #e1e1e1;
|
||||
@@ -152,7 +152,7 @@ export default {
|
||||
}
|
||||
.tableTip {
|
||||
margin-top: 16rpx;
|
||||
font-size: 22rpx;
|
||||
font-size: 26rpx;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
|
||||
Reference in New Issue
Block a user