diff --git a/src/pages/index/index.ux b/src/pages/index/index.ux index 231c271..af3e6ed 100644 --- a/src/pages/index/index.ux +++ b/src/pages/index/index.ux @@ -26,8 +26,8 @@ {{$item.think}} {{$item.collapsed ? $item.preview : $item.text}} - 展开 ▾ - 收起 ▴ + 展开 ▾ + 收起 ▴
@@ -290,9 +290,9 @@ export default { } else { this.fontValue = Math.round(14 + (v / 100) * (22 - 14)) } - const lv = Math.round((this.fontValue - 14) / 4) - this.fontLevel = Math.max(0, Math.min(2, lv)) - this.fontLabel = ['小', '中', '大'][this.fontLevel] + const lv = Math.round((this.fontValue - 14) / 2) + this.fontLevel = Math.max(0, Math.min(4, lv)) + this.fontLabel = ['最小', '小', '中', '大', '特大'][this.fontLevel] }, confirmFont() { @@ -551,6 +551,7 @@ export default { .chat-scroll { flex: 1; width: 100%; + flex-direction: column; } .chat-img { @@ -562,6 +563,7 @@ export default { .chat-msg { width: 100%; + flex-direction: column; margin-bottom: 6px; padding: 7px 9px; border-radius: 10px; @@ -732,6 +734,8 @@ export default { .fl0 { font-size: 15px; line-height: 21px; } .fl1 { font-size: 17px; line-height: 25px; } .fl2 { font-size: 19px; line-height: 28px; } +.fl3 { font-size: 21px; line-height: 31px; } +.fl4 { font-size: 23px; line-height: 34px; } /* ===== 字体大小弹窗 ===== */ .popup {