diff --git a/src/pages/index/index.ux b/src/pages/index/index.ux index eef79f5..a700c47 100644 --- a/src/pages/index/index.ux +++ b/src/pages/index/index.ux @@ -1,14 +1,138 @@ @@ -18,18 +142,154 @@ export default { width: 100%; height: 100%; flex-direction: column; - justify-content: center; - align-items: center; background-color: #0b1220; } -.title { - color: #e6f0ff; - font-size: 34px; - font-weight: bold; + +.swiper { + flex: 1; + width: 100%; + indicator-size: 0px; } -.status { - color: #7d8fb0; + +.page-item { + width: 100%; + height: 100%; + padding: 12px; + box-sizing: border-box; +} + +.left-page, +.right-page { + flex-direction: column; + align-items: flex-start; +} + +.center-page { + flex-direction: column; + justify-content: center; + align-items: center; +} + +.page-title { + color: #e6f0ff; + font-size: 24px; + font-weight: bold; + margin-bottom: 12px; +} + +.page-hint { + color: #6b7a99; + font-size: 16px; + margin-top: 20px; +} + +.session-list { + width: 100%; + flex-direction: column; +} + +.session-row { + width: 100%; + height: 44px; + flex-direction: row; + justify-content: space-between; + align-items: center; + margin-bottom: 8px; + padding: 0 10px; + border-radius: 10px; + background-color: #152238; +} + +.session-title { + color: #dbe8ff; + font-size: 17px; +} + +.session-dot { + color: #33b4ff; + font-size: 16px; +} + +.mascot { + width: 180px; + height: 180px; +} + +.status-text { + color: #e6f0ff; font-size: 18px; - margin-top: 12px; + margin-top: 14px; +} + +.session-hint { + color: #7d8fb0; + font-size: 14px; + margin-top: 4px; +} + +.center-actions { + flex-direction: row; + margin-top: 18px; + gap: 12px; +} + +.btn { + width: 100px; + height: 40px; + border-radius: 20px; + background-color: #33b4ff; + color: #08131f; + font-size: 16px; + text-align: center; +} + +.btn-ghost { + background-color: #1c2c47; + color: #dbe8ff; +} + +.setting-label { + color: #8fa4c9; + font-size: 14px; + margin-top: 8px; +} + +.setting-input { + width: 100%; + height: 38px; + border-radius: 8px; + background-color: #152238; + color: #e6f0ff; + font-size: 15px; + padding: 0 8px; + margin-bottom: 4px; +} + +.conn-text { + color: #6b7a99; + font-size: 14px; + margin-top: 8px; +} + +.dots { + flex-direction: row; + justify-content: center; + align-items: center; + height: 14px; + margin-top: 4px; + gap: 8px; +} + +.dot { + width: 7px; + height: 7px; + border-radius: 4px; + background-color: rgba(255, 255, 255, 0.28); +} + +.dot-active { + width: 22px; + border-radius: 4px; + background-color: #33b4ff; }