diff --git a/src/pages/index/index.ux b/src/pages/index/index.ux index 7342ccb..8863eac 100644 --- a/src/pages/index/index.ux +++ b/src/pages/index/index.ux @@ -20,18 +20,20 @@ -
-
- 💭 思考… -
- {{$item.think}} - {{$item.collapsed ? $item.preview : $item.text}} - 展开 ▾ - 收起 ▴ - -
- - +
+
+
+ 💭 思考… +
+ {{$item.think}} + {{$item.collapsed ? $item.preview : $item.text}} + 展开 ▾ + 收起 ▴ + +
+ + +
@@ -667,25 +669,35 @@ export default { margin-top: 4px; } +.msg-row { + width: 100%; + flex-direction: row; + margin-bottom: 6px; +} + +.row-user { + justify-content: flex-end; +} + +.row-assistant { + justify-content: flex-start; +} + .chat-msg { width: auto; max-width: 84%; flex-direction: column; - margin-bottom: 6px; padding: 7px 10px; border-radius: 12px; } .msg-user { - align-self: flex-end; - margin-left: auto; margin-right: 12px; background-color: rgba(51, 180, 255, 0.20); border: 1px solid rgba(120, 200, 255, 0.30); } .msg-assistant { - align-self: flex-start; margin-left: 12px; margin-right: 12px; background-color: rgba(58, 62, 70, 0.55);